Age | Commit message (Collapse) | Author |
|
Change-Id: I0474d4c5321a9bca5e519669c5e7f8eb3aee821d
|
|
* Supported roles are Call Gateway and Unicast Media Server
* Broadcast roles depend on runtime flag
* Also implemented a simple unit test
* Use objects factory in LeAudioService
Bug: 150670922
Bug: 229045392
Sponsor: @jpawlowski
Test: atest BluetoothInstrumantationTests
Change-Id: I91d6febda6ae080a5f6027312ec34e2e598d2a68
Merged-In: I91d6febda6ae080a5f6027312ec34e2e598d2a68
(cherry picked from commit 97d8ebdca766f4d5ee542ba55956059689e58c4c)
|
|
Change-Id: Ie8206e8b9c11c3fd55b7adddac5c782ad92c9da4
|
|
the AVRCP_CONTROLLER constant was wrongly using the uuid for AVRCP."
|
|
AVRCP_CONTROLLER constant was wrongly using the uuid for AVRCP.
Tag: #feature
Bug: 203092714
Test: Manual
Change-Id: I9433bb9c92445535262c672eb6bdfd33b87d3eb4
|
|
Change-Id: Id71ac466dbfe3707fe2e544ce22b1da8f474ec2b
|
|
This profile provides the battery level characteristic
of the BLE device.
Settings.Global."settings_bluetooth_battery" or
"sys.fflag.override.settings_bluetooth_battery" should be set
to enable the feature. (or the ProfileService doesn't start)
Bug: 193631822
Tag: #feature
Test: atest BatteryStateMachineTest BatteryServiceTest
DatabaseManagerTest AdapterServiceTest
&& manually with BLE keyboard as well
Change-Id: I5459218a3362e97f37128aa6bdf286ccbdbc8761
|
|
* changes:
hap: Support multiple callbacks per App
hap: Refactor service to match the new API
|
|
sponsor: siyuanh@
Test: compile
Tag: #feature
Bug: 208223966
Change-Id: Ifa4be661b69a1a20aedfb55d1bd7a528739a6489
|
|
Bug: 150670922
Bug: 216639668
Fixes: 216639668
Tag: #feature
Test: atest BluetoothInstrumentationTests
Sponsor: jpawlowski@
Change-Id: I4b1ecf818a9b9bd75b1d17abeadfcea7c3c2548b
|
|
Change-Id: Ibe4916c42b096976ac917991cf0c73f02512f3d4
|
|
Change-Id: I202f5093bbd13b381ea11f969fee6154ba91fa11
|
|
Implementation will be provided by the upcoming patch.
Tag: #feature
Test: compilation
Bug: 150670922
Sponsor: jpawlowski@
Change-Id: Ice1949eb2ea9ffd20753b0fd953dee7c81fba012
|
|
Bug: 150670922
Test: compilation
Merged-In: I35684ecec50c3db757331b6384c2579f5a28a70a
Change-Id: I35684ecec50c3db757331b6384c2579f5a28a70a
|
|
Bug: 150670922
Test: compilation
Change-Id: I35684ecec50c3db757331b6384c2579f5a28a70a
|
|
Enable device group based on CAP for testing, the uuid value would be changed after
the specification published.
Bug: 150670922
Bug: 178981521
Test: pair with the LE audio coordinated set, and make sure it works
Change-Id: Ia3d0dbe496dec822fee8ae6465b81688b9e9440c
|
|
Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: Manual
Change-Id: I69a9cb6a341d42eff3e5ae92d9c99ab5fa3bf9a3
|
|
Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: Manual
Change-Id: I7e553bd9ffec52c1a2f70e80a194ad7214fe905a
|
|
am: 30e401f95a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1807297
Change-Id: I707c1fdd5831763a3bcdfa819e61ea3b01707110
|
|
Bug: 150670922
Tag: #feature
Test: compilation
Sponsor: jpawlowski@
Change-Id: I331fe270b75f306d57a15933ab4afa2e48c8bf50
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1683328
Change-Id: I50a17e3b0a1d0da3794db7704585a7d1df3af14e
|
|
Tag: #feature
Bug: 150670922
Sponsor: jpawlowski@
Test: compilation
Change-Id: Icabed06e6b1973ecee9cd1d6eeec80c6d2a9d72e
|
|
This change adds a "BluetoothPermissionChecker" that ensures that
all Bluetooth permission annotations are consistent. In addition, it
verifies that all Bluetooth public APIs have been audited to be
permission protected where relevant.
We've currently standardized on saying that APIs that return device
or Bluetooth state information (without sharing details about any
particular remote Bluetooth device) do not need to be permission
protected.
This change is only annotations and has no behavior changes.
Bug: 183626724
Test: ./build/soong/soong_ui.bash --make-mode Bluetooth RUN_ERROR_PRONE=true
Change-Id: Ie80b15b058359bf1e9a6ee881b89cb3e5b584ca1
|
|
Sponsor: jpawlowski@
Test: compilation
Bug: 159786353
Tag: #feature
Change-Id: I14116848411026ceab0ee15098687bf821e74d38
|
|
Submitted on behalf of a third-party: Samsung System LSI
License rights, if any, to the submission are granted solely by the
copyright owner of such submission under its applicable intellectual
property.
Copyright (C) 2015 Samsung System LSI
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Third Party code includes additions/modifications from Qualcomm Innovation Center, Inc.
Call BluetoothDevice.sdpSearch(BluetoothUuid.DIP) to search DIP information,
and receive intent BluetoothDevice.ACTION_SDP_RECORD to get SdpDipRecord from
BluetoothDevice.EXTRA_SDP_RECORD
Bug: 141666056
Test: atest BluetoothInstrumentationTests
Sponsor: alainv@
Tag: #feature
Change-Id: I82d0979b77d28ec36fde6616622d216a28310b4a
|
|
Actual value will will be added in the future. We already have to
reference it in the source.
Bug: 150670922
Test: compilation
Tag: #feature
Sponsor: jpawlowski@
Change-Id: I3ba1e0e1136346e469952568f5a409cf32b898be
|
|
Existing annotations in libcore/ and frameworks/ will deleted after the migration. This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Change-Id: I6ab53570aca580fbee1fcc927871caa09780f58f
Merged-In: I6ab53570aca580fbee1fcc927871caa09780f58f
|
|
Bug: 143245929
Test: Manual
Change-Id: I5519a379a2bb5d56fe25745d8bdeaa5cf52d9e92
|
|
Members modified herein are suspected to be false positives: i.e. things
that were added to the greylist in P, but subsequent data analysis
suggests that they are not, in fact, used after all.
Add a maxTargetSdk=P to these APIs. This is lower-risk that simply
removing these things from the greylist, as none of out data sources are
perfect nor complete.
For APIs that are not supported yet by annotations, move them to
hiddenapi-greylist-max-p.txt instead which has the same effect.
Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.
Bug: 115609023
Test: m
Change-Id: Ia937d8c41512e7f1b6e7f67b9104c1878b5cc3a0
Merged-In: I020a9c09672ebcae64c5357abc4993e07e744687
|
|
For packages:
android.bluetooth.le
android.bluetooth
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Change-Id: Ifcf24c0617acd7facc0e03f30a95c3a6b09b205c
Merged-In: I88a1311e27c5f9a5f9d1035db76034f86f650efc
|
|
Test: manual
Bug: 64038649
Change-Id: Iab748db944df3bba8927973d0a55d95514b9f8ed
|
|
This is implementation of Hearing Aid Profile that will in future
be connected to Bluetooth Manager - see TODOs in BluetoothHearingAid.java
Bug: 69623109
Test: compilation. Manual test with HA.
Change-Id: I79643ea1e14e9df7f5771169359c964a60c56618
|
|
A new defined method of uuidToBytes is used to convert
Bluetooth uuid to bytes in the case of BLE advertising.
But the most significant 16 bits of a 32-bit uuid
will be cleared after the and operations with
0X0000FFFF00000000L in the function of
getServiceIdentifierFromParcelUuid.
0XFFFFFFFF00000000L should be used as bit mask.
Change-Id: I83e22ffbecd718540e644289fee12bf9c3b66305
Test: Advertise with payload contains 32-bit uuid
|
|
* Manual style corrections with IDE assistance
* Variable name refactors are done through IDE
* Corrected general style errors such as:
- "final private var" -> "private final var"
- "&&", "+", "||" should not be at the end of line
- Non-static private variable should be like "mVar"
- Private static variable should be like "sVar"
- Code file should always end with newline
- Inherited methods should be annotated with @Override
and no @hide tags
- Public methods should always have a JavaDoc entry
- "int[] array" is preferred over "int array[]"
- private methods should be accessed without "this."
when there is no name collisions.
- "boolean ? true : false" -> boolean
- "boolean ? false : true" -> !boolean
- "boolean == true" OR "boolean != false" -> boolean
- "boolean != true" OR "boolean == false" -> !boolean
Bug: 63596319
Test: make checkbuild, no functional changes
Change-Id: Iabdc2be912a32dd63a53213d175cf1bfef268ccd
|
|
* Automatic style corrections through IDE
Bug: 63596319
Test: make checkbuild, no manual changes, no functional changes
Change-Id: I2397d55abc34c9b7a9b748bec6137778df3421a7
|
|
Bug: 30622771
Test: sl4a ConcurrentBleAdvertisingTest
Change-Id: I7f646d1d357c51b82efc504a0e65d868ad363ddb
|
|
Change-Id: I6c634aa38d31a7b5a98c9089840557257fd58209
|
|
Bug: 18140961
Change-Id: I9cbeb7129b1d30aa7a195ed83821d4a5634283ed
|
|
Change-Id: I92e8bab560b2083e9f4855d28b3f54f2120ef628
|
|
Bluetooth UUIDs. Added unit tests.
Change-Id: I4ecf0ede02561a5e9815acf8a5a1309d5756b887
|
|
Change-Id: Id9d2f566b6d9ed0fffe73b67efad2e3d045360b4
Conflicts:
core/java/android/bluetooth/BluetoothAdapter.java
core/java/android/bluetooth/BluetoothGatt.java
|
|
- fixed review comments (internal+google)
- corrected tabs/spaces
- Add connection id header for obex client operations
- added support for implementing ProfileService class
Change-Id: Idab8b4fa54a0f31bec4ffa263a69a9850a07f858
Bug:10692365
|
|
bug:8330048
Change-Id: I600563d81dec1638dc35e31e19f61d6c04f09ae8
|
|
bug:10116530
Change-Id: I57d022005bcff5bc3e56438a81ac92566f957744
|
|
This helps Settings app to enable just the Headset service.
Change-Id: Ia9c39467df1e83d665e377313e16e6c54991f6d6
|
|
Change-Id: I90c24edfd133ac9fa89c3467383cd61fa23954c6
|
|
Change-Id: Id6d5fb1922facc7013abc29214d3e1141995b767
|
|
Add device class constant for PROFILE_HID and check for
Device.Major.PERIPHERAL when checking for class matches.
Change UUID for HID support.
Fix bug in BluetoothService.
Change-Id: Ie5361257d90fd749249e915824564bc3d79fb95d
|
|
Change-Id: I52e965a6537bce02c751ba26fe7b44dd03832510
|
|
Hide listenUsingRfcommOn(int channel)
Add listenUsingRfcomm(String name, ParcelUuid uuid)
The new API automatically finds a free RFCOMM channel and registers an SDP
record with the given uuid and name. The SDP record is automatically
removed when the socket is closed, or if the application dies.
Apps are prevented from registering SDP records with the uuid of system
Bluetooth profiles, such as A2DP, HFP and OPP.
Apps are prevented from removing SDP records that they did not create. This is
tracked by pid.
TODO: Provide an API for the connecting app to look up an SDP record.
Bug: 2158900
DrNo: eastham
Joke: "What did the dog say to the tree? bark."
Change-Id: Ia92f51c34615a7270a403255ad2b8faa98c4a3f5
|