aboutsummaryrefslogtreecommitdiff
path: root/framework/java
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | [framework] Migration of hidden APIs to System APIsMd Shahriar Hossain Sajib2022-01-273-32/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 199827901 Tag: #compatibility Test: IOP, BCST, GTS Merged-In: Ib0a205bc575e4cc3cf97eac539cd303acd878134 Change-Id: Ib0a205bc575e4cc3cf97eac539cd303acd878134
* | | | Merge "hap: Add initial implementation"Patty Huang2022-01-273-0/+1229
|\ \ \ \
| * | | | hap: Add initial implementationJakub Tyszkowski2022-01-273-0/+1229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements Hearing Access Profile client. Bug: 150670922 Tag: #feature Test: atest BluetoothInstrumentationTests bluetooth_has_test bluetooth_has_test Sponsor: jpawlowski@ Change-Id: If3cc9f2146d08326800eb922d7e2f795cf110e7d
* | | | | Introduce LE audio broadcast system APIsJack He2022-01-2713-1148/+3049
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename BluetoothLeBroadcastSourceInfo to BluetoothLeBroadcastReceiveState so that it matches the name in the Bluetooth specification * Added callbacks to BluetoothLeBroadcast so that caller that wait for asynchronouze operations with reason code in the hope to reduce potential race conditions * Allow multiple broadcast to be set up on the same deivce if the device supports it * Added ScanFilter to searchForSources() method and removed selectSources() method for BluetoothLeBroadcastAssistant so that the Bluetooth stack can automatically handle periodic sync after a Broadcast source is found and only do this for a limited number of devices * Added structural APIs to store Broadcast Source and Group information * Added unknown address type in BluetoothDevice Bug: 208222281 Test: make Tag: #feature Ignore-AOSP-First: Merge conflict in master Change-Id: If4c3af658b5bc1283d76e5d1899485a487ab7626
* | | | Merge "leaudio: Improve Volume Control API"Patty Huang2022-01-271-7/+116
|\ \ \ \
| * | | | leaudio: Improve Volume Control APIŁukasz Rymanowski2022-01-271-7/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the Le Audio device absolute volume is set via BluetoothLeAudio.setVolume API. LeAudioService knows which group is the active group and using BluetoothVolumeControl.setVolumeGroup() API apply absolute volume. Each LeAudio device is a part of the group. In order to support audio balance between e.g. left and right earbud setVolumeOffset should be use per each device. This change also allows user to register for the callback which will be invoked when the volume offset changes on the remote device. Bug: 150670922 Tag: #feature Sponsor: @jpawlowski Test: atest BluetoothInstrumentationTests Change-Id: I3692e45d285d55d946ae0de187aa1d5261f825b8
* | | | | Merge "Add getRemoteLeDevice to specify ADDRESS_TYPE"Rahul Sabnis2022-01-272-6/+46
|\ \ \ \ \
| * | | | | Add getRemoteLeDevice to specify ADDRESS_TYPEMyles Watson2022-01-272-6/+46
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 215724286 Test: cts Tag: #feature Change-Id: Id6415cf5f0236a82cb294538c22b5dc22555a6ff
* | | | | Merge "Add API to set the codec preference for specific device"Patty Huang2022-01-273-0/+287
|\ \ \ \ \
| * | | | | Add API to set the codec preference for specific devicePatty2022-01-273-0/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the APIs that would use in developer optin for setting the codec config preference and getiting the codec status. Expose the APIs first, some of the implementations will be done later. Add equals function to BluetoothLeAudioCodecConfig for comparison usage Tag: #feature Bug: 216276721 Bug: 150670922 Test: atest BluetoothInstrumentationTests Change-Id: Iaa9b7b1278f06228b7a22a1c61668b879b6f3dc9
* | | | | | Merge "LE Scanner: Add AD TYPE filter APIs"Chienyuan Huang2022-01-272-22/+153
|\ \ \ \ \ \
| * | | | | | LE Scanner: Add AD TYPE filter APIsChienyuan2022-01-272-22/+153
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 206906726 Test: build pass Tag: #feature Change-Id: I2d1911b0ba6d5b7ef4e32400ec557182330dd0bb
* | | | | | Merge "Add API to get identity address"Chienyuan Huang2022-01-271-0/+27
|\ \ \ \ \ \
| * | | | | | Add API to get identity addressChienyuan2022-01-271-0/+27
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 197044261 Bug: 216305555 Test: build pass Tag: #feature Change-Id: Ia62e9e3ee8934b3afc5e98d41caf40ddb5e47fc5
* | | | | | Merge "Revert "Place owners block on"" am: c18507adec am: 550f838176 am: ↵Rahul Sabnis2022-01-271-0/+3
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 35738bd64f am: fec5d60b25 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1962083 Change-Id: I89836cf900c91314bb189ea94d2d01dc98b0e72d
| * | | | | Merge "Revert "Place owners block on"" am: c18507adec am: 550f838176 am: ↵Rahul Sabnis2022-01-271-0/+3
| |\ \ \ \ \ | | | |_|/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 35738bd64f Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1962083 Change-Id: I696ece4bf127e4a34639bd7974691267da16b0ea
| | * | | | Merge "Revert "Place owners block on""Rahul Sabnis2022-01-271-0/+3
| | |\ \ \ \
| | | * | | | Revert "Place owners block on"Rahul Sabnis2022-01-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6744e0bac83f6cded547ca130656e8928a6eae32. Tag: #feature Bug: 196026708 Test: Manual Reason for revert: Migration of Bluetooth API txt files complete Change-Id: I19722216faa3f4530b9eadf43d732f3d91e9f558
| * | | | | | Merge "Moving over core/api/*txt files" am: 268d01fbd6 am: 232de1de64 am: ↵Rahul Sabnis2022-01-271-5/+6
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 811aa14b2c Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1960689 Change-Id: I46d1c61a44fb88f1ee8c158139c73b85743c8a91
| | * | | | | Merge "Moving over core/api/*txt files"Rahul Sabnis2022-01-271-5/+6
| | |\ \ \ \ \
| | | * | | | | Moving over core/api/*txt filesRoopa Sattiraju2022-01-261-5/+6
| | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 196026708 Test: Compile merged-In: I9cc8086b3e98bfa821b402250dcb9b233178d4b6 Change-Id: I9cc8086b3e98bfa821b402250dcb9b233178d4b6
* | | | | | | Merge "Introduces mechanism for background rfcomm servers"Tadvana Canakapalli2022-01-273-0/+238
|\ \ \ \ \ \ \
| * | | | | | | Introduces mechanism for background rfcomm serverstadvana2022-01-263-0/+238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a mechanism in the AdapterService which allows it to register RFCOMM listeners requested by a BluetoothAdapter. This is so that applications can request the framework to listen for incoming RFCOMM connections in the background. Apps can request that the bluetooth manager, via a BluetoothAdapter, listen on a specific service record, and then transact incoming socket connections after receiving a notification of availability via a PendingIntent. Tag: #feature Test: Run the CTS Bluetooth Rfcomm Handoff service Test. This requires two devices. Bug: 186494155 Ignore-AOSP-First: Need to commit to downstream first in order to resolve a merge conflict. Change-Id: Ia0c71969e691e6353f22fe3b7dae4a7500230e03
* | | | | | | | Merge "Periodic sync and PAST implementation" am: 0a91622046 am: e90c9f8652 ↵Treehugger Robot2022-01-272-0/+92
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | / / / | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | am: c808a4e4ba am: 4f5abb7911 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1908371 Change-Id: Ic60391cdc080de43db9e91095ed0583840f77bb9
| * | | | | | Merge "Periodic sync and PAST implementation" am: 0a91622046 am: e90c9f8652 ↵Treehugger Robot2022-01-272-0/+92
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: c808a4e4ba Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1908371 Change-Id: I7540b7dab74756c665e8a110fa2d5b8be4ae0ed5
| | * | | | | Merge "Periodic sync and PAST implementation"Treehugger Robot2022-01-272-0/+92
| | |\ \ \ \ \ | | | |_|/ / / | | |/| | | |
| | | * | | | Periodic sync and PAST implementationSubramanian Srinivasan2022-01-242-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 208222454 Test: compile Tag: #feature sponsor: siyuanh@ Change-Id: I443958d5fd61fe00f7de5c755aca98c5087b9a1d
* | | | | | | Merge changes from topic "am-6bf9095fa9904037aa05612d7eac11ce"Rahul Sabnis2022-01-261-3/+0
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Merge changes I5812ef2f,I1c981819,I118c291c am: 85e410c5c2 am: 524a7d13cc am: d5331ace96 am: 0a6d1f908c [automerger skipped] Removes unnecessary owners file in am: e9c0c8859d am: 7dcaeea942 am: 380ec27fc8 am: 5919daa05a -s ours [automerger skipped] Removes access for owners from parent files in am: 0befb7b225 am: 125de6120b am: 4238ca8a06 am: 2b5ce85ce9 -s ours
| * | | | | | Merge changes I5812ef2f,I1c981819,I118c291c am: 85e410c5c2 am: 524a7d13cc ↵Rahul Sabnis2022-01-261-3/+0
| |\| | | | | | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: d5331ace96 am: 0a6d1f908c Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/16723280 Tag: #feature Bug: 196026708 Test: Manual Change-Id: I2889913689f13d38e8cfde509a8a8a58e791ea19
| | * | | | Merge changes I5812ef2f,I1c981819,I118c291c am: 85e410c5c2 am: 524a7d13cc ↵Rahul Sabnis2022-01-261-4/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: d5331ace96 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1960688 Tag: #feature Bug: 196026708 Test: Manual Change-Id: Id164260bb5b16b05593a410126b07299f88ed2ba
| | | * | | Place owners block onRahul Sabnis2022-01-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages/modules/Bluetooth/framework/java/android/bluetooth for API txt file migration Tag: #feature Bug: 196026708 Test: Manual Change-Id: I5812ef2fe193eaa36a73be085f5a2642e89a14f7
| | * | | | Removes unnecessary owners file in am: e9c0c8859d am: 7dcaeea942 am: 380ec27fc8Rahul Sabnis2022-01-261-4/+0
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1960687 Change-Id: I517c8613fe07f36afee0dc65691d000383c506ae
| | | * | | Removes unnecessary owners file inRahul Sabnis2022-01-251-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages/modules/Bluetooth/framework/java/android/bluetooth/le. Tag: #feature Bug: 196026708 Test: Manual Merged-In: I1c981819cb1e9b03d585ec36026ca10f5108b3a9 Change-Id: I1c981819cb1e9b03d585ec36026ca10f5108b3a9
| | * | | | Removes access for owners from parent files in am: 0befb7b225 am: 125de6120b ↵Rahul Sabnis2022-01-261-0/+2
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 4238ca8a06 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1960686 Change-Id: I612c3182e74db527684b5995bd1615a0ad3dabd9
| | | * | | Removes access for owners from parent files inRahul Sabnis2022-01-251-0/+2
| | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages/modules/Bluetooth/framework/java/android/bluetooth. Tag: #feature Bug: 196026708 Test: Manual Merged-In: I118c291c83335aa60c4d1b106a24844f58400886 Change-Id: I118c291c83335aa60c4d1b106a24844f58400886
* | | / | [framework] Migration of hidden APIs to System APIsMd Shahriar Hossain Sajib2022-01-263-33/+94
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | Bug: 199827901 Tag: #compatibility Test: IOP, BCST, GTS Change-Id: Ib0a205bc575e4cc3cf97eac539cd303acd878134
* | | | Revert "Add an OWNERS block to"Roopa Sattiraju2022-01-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1028a713f8fd6ea86d3664d503aeb255230d3535. Reason for revert: Core/api/*.txt files migrated over. Bug: 196026708 Tag: #feature Test: Manual Change-Id: Id698a4d61775eb01a85eaee3c882dac2b4432d4f
* | | | Moving over core/api/*txt filesRoopa Sattiraju2022-01-251-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 196026708 Test: Compile Change-Id: I9cc8086b3e98bfa821b402250dcb9b233178d4b6
* | | | Merge "Removes unnecessary owners file in ↵Rahul Sabnis2022-01-251-4/+0
|\ \ \ \ | | | | | | | | | | | | | | | packages/modules/Bluetooth/framework/java/android/bluetooth/le."
| * | | | Removes unnecessary owners file inRahul Sabnis2022-01-251-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages/modules/Bluetooth/framework/java/android/bluetooth/le. Change-Id: I1c981819cb1e9b03d585ec36026ca10f5108b3a9 Tag: #feature Bug: 196026708 Test: Manual
* | | | | Merge "Removes access for owners from parent files in ↵Rahul Sabnis2022-01-251-0/+2
|\| | | | | | | | | | | | | | | | | | | packages/modules/Bluetooth/framework/java/android/bluetooth."
| * | | | Removes access for owners from parent files inRahul Sabnis2022-01-251-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages/modules/Bluetooth/framework/java/android/bluetooth. Tag: #feature Bug: 196026708 Test: Manual Change-Id: I118c291c83335aa60c4d1b106a24844f58400886
* | | | | Merge "Add an OWNERS block to ↵Rahul Sabnis2022-01-251-3/+0
|\| | | | | | | | | | | | | | | | | | | packages/modules/Bluetooth/framework/java/android/bluetooth."
| * | | | Add an OWNERS block toRoopa Sattiraju2022-01-251-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | packages/modules/Bluetooth/framework/java/android/bluetooth. Put an owners block to freeze code movement during core/api/*txt migration to packages/modules/Bluetooth BUG: 196026708 Test: TH Change-Id: Id44eb43a134ced7fe8ecd64cfae7cbab39ff157c
* | | | | Merge "Add new extra EXTRA_TRANSPORT for acl connection state broadcasts to ↵Rahul Sabnis2022-01-251-4/+12
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | identify whether the connection is over LE or BR/EDR" am: 94339d1b2b am: 7162d3d7d9 am: d1cdfb8bf5 am: 3293528b8a Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1959744 Change-Id: I14775eb3b3c950e270db724c237a6a241a5f283e
| * | | Merge "Add new extra EXTRA_TRANSPORT for acl connection state broadcasts to ↵Rahul Sabnis2022-01-251-4/+12
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identify whether the connection is over LE or BR/EDR" am: 94339d1b2b am: 7162d3d7d9 am: d1cdfb8bf5 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1959744 Change-Id: I83a13396bb0285cae2fd8a89aad864245fd0e002
| | * | Merge "Add new extra EXTRA_TRANSPORT for acl connection state broadcasts to ↵Rahul Sabnis2022-01-251-4/+12
| | |\ \ | | | | | | | | | | | | | | | identify whether the connection is over LE or BR/EDR"
| | | * | Add new extra EXTRA_TRANSPORT for acl connection state broadcasts toRahul Sabnis2022-01-241-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identify whether the connection is over LE or BR/EDR Tag: #feature Bug: 213956674 Test: Manual Change-Id: I0b00351c6f9597abd46cb6d6717eee8507333b1c
* | | | | Merge "Adding system API to set the BindeCallsStats Consumer."Etienne Ruffieux2022-01-251-1/+32
|\ \ \ \ \
| * | | | | Adding system API to set the BindeCallsStats Consumer.Etienne Ruffieux2022-01-241-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Bug: 195146428 Test: build Change-Id: Id7a27eaedfaebfa0748a948ee04d1227ddb9f979