aboutsummaryrefslogtreecommitdiff
path: root/framework/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-13.0.0_r52' of ↵George Zacharia2023-07-022-1/+4
|\ | | | | | | | | | | | | | | https://android.googlesource.com/platform/packages/modules/Bluetooth into t13.0 Android 13.0.0 Release 52 (TQ3A.230605.012) Change-Id: I379845946815b7c623f83a1d33036ae615f090fb
| * FrameworkBluetoothTests: Remove certificateDavid Duarte2023-01-122-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | The certificate was not needed as we don't share the uid of Bluetooth Test: TreeHugger Bug: 265213364 Ignore-AOSP-First: Will cherry-pick to AOSP Change-Id: I7399254ad435b171de4539189690e98796a27ee1 Merged-In: I7399254ad435b171de4539189690e98796a27ee1 (cherry picked from commit d95b5e1e47006593603032ecd0e8f39b04fac5bd)
* | Merge tag 'android-13.0.0_r35' into t13.0Semavi Ulusoy2023-03-2011-1/+1068
|\| | | | | | | | | | | Android 13.0.0 release 35 Change-Id: Ia1d05dce3dc3cefcf9ae72a724e7967d11061093
| * Add BluetoothAudioConfigTestÖmer Faruk Yılmaz2022-12-121-0/+107
| | | | | | | | | | | | | | | | Bug: 237467631 Test: atest BluetoothAudioConfigTest Change-Id: Ie224c8040732c3b6000e8f1e330d16ab5c03b92e (cherry picked from commit 309d178c71ac5b30ad511a59c6a0f4ab295f33d5) Merged-In: Ie224c8040732c3b6000e8f1e330d16ab5c03b92e
| * Add BluetoothActivityEnergyInfoTestSungsoo Lim2022-12-011-0/+152
| | | | | | | | | | | | | | | | Bug: 237467631 Test: atest BluetoothActivityEnergyInfoTest Change-Id: I2f0379b1fcc30fe3e63809a91b3c418dfcec7d84 (cherry picked from commit 1eb6b0ae4a320954ec93c2ee2cae10a45c2e4876) Merged-In: I2f0379b1fcc30fe3e63809a91b3c418dfcec7d84
| * Add SdpSapsRecordTestÖmer Faruk Yılmaz2022-11-251-0/+100
| | | | | | | | | | | | | | | | Bug: 237467631 Test: atest SdpSapsRecordTest Change-Id: I03fd3bae22f3b04e86fc9323f9c6a92626ed2e0b (cherry picked from commit d7eca365eacab20b882d9dd8d679542181bef222) Merged-In: I03fd3bae22f3b04e86fc9323f9c6a92626ed2e0b
| * Add SdpRecordTestÖmer Faruk Yılmaz2022-11-251-0/+91
| | | | | | | | | | | | | | | | Bug: 237467631 Test: atest SdpRecordTest Change-Id: I50442625bfca966cccb7c0e9aa7281f43b820b4a (cherry picked from commit b99eeb5de2810fcbf51fea67e1f10e0a825c1ba2) Merged-In: I50442625bfca966cccb7c0e9aa7281f43b820b4a
| * Add SdpOppOpsRecordTestÖmer Faruk Yılmaz2022-11-251-0/+125
| | | | | | | | | | | | | | | | Bug: 237467631 Test: atest SdpOppOpsRecordTest Change-Id: Id6694355a2dae8db95f1f3e8a8df743745b5aefd (cherry picked from commit 1161ca67d8bc26ae0c73deb15d28cbb3d5187d59) Merged-In: Id6694355a2dae8db95f1f3e8a8df743745b5aefd
| * Add SdpDipRecordTestÖmer Faruk Yılmaz2022-11-251-0/+100
| | | | | | | | | | | | | | | | Bug: 237467631 Test: atest SdpDipRecordTest Change-Id: Iede73c2bf612b148471bd9bc1d11b70552100f84 (cherry picked from commit 3503b292f6a74ba771a5ce62ba8a7b1efaedc61b) Merged-In: Iede73c2bf612b148471bd9bc1d11b70552100f84
| * Add SdpPseRecordTestÖmer Faruk Yılmaz2022-11-251-0/+130
| | | | | | | | | | | | | | | | Bug: 237467631 Test: atest SdpPseRecordTest Change-Id: Ie47b5f2d7ebc4de9f357a1aae732c107ea1c32e7 (cherry picked from commit 86a11bc9fcd224800306a9a71c97e6d6196de9f5) Merged-In: Ie47b5f2d7ebc4de9f357a1aae732c107ea1c32e7
| * Add SdpMnsRecordTestÖmer Faruk Yılmaz2022-11-251-0/+120
| | | | | | | | | | | | | | | | Bug: 237467631 Test: atest SdpMnsRecordTest Change-Id: I3c06eb71d76548b78dbd0f35b4bcd2bdbb216572 (cherry picked from commit a23b61bb3bb360f83cb91bf96841d17c3d246caf) Merged-In: I3c06eb71d76548b78dbd0f35b4bcd2bdbb216572
| * Add com.google.android.btservices as mainline-module-package-nameDavid Duarte2022-11-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | The Google Bluetooth apex package name as been renamed to com.google.android.btservices so allow tests to run on mts against that package as well Bug: 258943608 Test: None Ignore-AOSP-First: Will cherry-pick to AOSP Change-Id: I9dcacbb031456223937ffc118683706338d5330a
| * Add additional SdpMasRecordTestÖmer Faruk Yılmaz2022-11-211-0/+78
| | | | | | | | | | | | | | | | Bug: 237467631 Test: atest SdpMasRecordTest Change-Id: I186b40a0e9c0c3f5bbfa24f36c9cf5d24e504bbd (cherry picked from commit 2bb4ecbe0c7508c11639d242bc8080c1b38caf73) Merged-In: I186b40a0e9c0c3f5bbfa24f36c9cf5d24e504bbd
| * Add SdpMasRecordTestÖmer Faruk Yılmaz2022-11-212-0/+63
| | | | | | | | | | | | | | | | Bug: 237467631 Test: atest SdpMasRecordTest Change-Id: Ie8475890073b4007b9a67014138b54f1e26f83dc (cherry picked from commit cb96ba36e8566443ba9740f0f5cff695e73884a1) Merged-In: Ie8475890073b4007b9a67014138b54f1e26f83dc
| * Make the btservices apex updatable.Oriol Prieto Gasco2022-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Also, use the new name "com.android.btservices" Bug: 237556594 Test: TH Ignore-AOSP-First: LSC Merged-In: If2443eadfc457da6e040ea3425ed1d5b6f73177a Change-Id: If2443eadfc457da6e040ea3425ed1d5b6f73177a (cherry picked from commit 4c187daf61c768f53eeb2f0666dd9cf663518647)
* | fixup! bluetooth: abandon app local certificateMichael Bestas2022-12-092-2/+2
|/ | | | Change-Id: I426ff8b51f68147fdbf645cab8b6f9eec3a70dde
* Add support for Opus in BT Java ServiceOmer Osman2022-08-101-3/+7
| | | | | | | | | | | | This CL adds Opus to the BluetoothCodecConfig, and sets the codec as the default low latency codec. Bug: 226441860 Test: A2dpCodecConfigTest BluetoothCodecConfigTest A2dpStateMachineTest Tag: #feature Ignore-AOSP-First: TM QPR1 Feature Change-Id: Id94a7f8fab1a7f5e0199d757a70ff19010694fff
* Fixed service / framework test suites broken after migrationEtienne Ruffieux2022-08-0521-1080/+760
| | | | | | | | | | | | | | | | | Bluetooth/service and Bluetooth/framework test suites were broken after the migration of the files from frameworks. The Bluetooth/framework test suite is split between stress tests that require a physical Bluetooth device to run and the unit tests that test the framework hidden APIs. Both framework unit tests and service tests are signed and can be added to the MTS. Test: atest GoogleFrameworkBluetoothTests Test: atest GoogleServiceBluetoothTests Bug: 232577476 Tag: #feature Ignore-AOSP-First: Module only Change-Id: Ibdb20c650db2483c4569d979da5e024e0e95284c
* Merge "Tests to verify matching of Eddystone E2EE-EID beacons." am: ↵Jeff Sharkey2022-04-191-0/+18
|\ | | | | | | | | | | | | | | | | 0e8f01bff8 am: 6e684f08cc am: 642cdba2fe Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2062915 Change-Id: I0daf7c3da3cee402b863122f98ccadc88758122b Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * Merge "Tests to verify matching of Eddystone E2EE-EID beacons." am: 0e8f01bff8Jeff Sharkey2022-04-151-0/+18
| |\ | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2062915 Change-Id: If58a74932001fa68c67b655255290ac0092380aa Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| | * Tests to verify matching of Eddystone E2EE-EID beacons.Jeff Sharkey2022-04-131-0/+18
| | | | | | | | | | | | | | | | | | Bug: 229127809 Test: atest packages/modules/Bluetooth/framework/tests/src/android/bluetooth/le/ScanRecordTest.java Change-Id: Ib403b780655171c5214e2e6baf079f34a56f3926
* | | MTS Setup for BluetoothRoopa Sattiraju2022-04-131-0/+6
| | | | | | | | | | | | | | | | | | Bug: 228634553 Test: Build and m mts && mts-tradefed run mts -m BluetoothTests. Change-Id: I193fbf04760b20c3085ab89274b462984658e9aa
* | | Merge "Removed getMaxCodecType and made getcodecName static" am: 1b685804ab ↵Etienne Ruffieux2022-02-251-7/+7
|\| | | | | | | | | | | | | | | | | | | | | | | am: 370cfcff40 am: 16329a19ef Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1976746 Change-Id: Ib7ead8b05e5bdc6cd01d185212970b9d20d95882
| * | Merge "Removed getMaxCodecType and made getcodecName static" am: 1b685804ab ↵Etienne Ruffieux2022-02-251-7/+7
| |\| | | | | | | | | | | | | | | | | | | | | | am: 370cfcff40 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1976746 Change-Id: I7d2b3c8159e6863d74d9bfeacb6d18ea19e4181a
| | * Removed getMaxCodecType and made getcodecName staticEtienne Ruffieux2022-02-081-7/+7
| | | | | | | | | | | | | | | | | | | | | Bug: 218311980 Test: manual Tag: #feature Change-Id: Ic587d1838bed51bb6d758b14faf0a334ec24e444
| | * Merge "Fixing OWNERS file"Rahul Sabnis2022-01-261-1/+1
| | |\
| | | * Fixing OWNERS fileRoopa Sattiraju2022-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 206121418 Test: Compile Change-Id: I0fb34e46e462dea7b8be2e1cb510c9b747beb632
* | | | Add Service and Framework jar changes wrt to the apexRoopa Sattiraju2022-02-141-2/+14
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 217736913 Test: Compile and bringup on the phone Change-Id: Ieb4f882dc90dbd6309751cf86809f1c2d6588147
* | | | Merge "Add new callback to notify Tethering when PAN is ready" am: ↵Mark Chien2022-01-211-2/+20
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d5958e940 am: 9a930eb9a4 am: e182bdecc5 am: 9b1779a53f Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1882486 Change-Id: Icd96058dc0e33fa1c51df4c373024d649c58a246
| * | | Merge "Add new callback to notify Tethering when PAN is ready" am: ↵Mark Chien2022-01-211-2/+20
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d5958e940 am: 9a930eb9a4 am: e182bdecc5 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1882486 Change-Id: Id6bf8d086fb4355c076b4702ddf2ddb38dca9dca
| | * | | Merge "Add new callback to notify Tethering when PAN is ready" am: ↵Mark Chien2022-01-211-2/+20
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3d5958e940 am: 9a930eb9a4 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1882486 Change-Id: I444e994e282ac419298c8f84e56e9082895f994e
| | | * | Merge "Add new callback to notify Tethering when PAN is ready"Mark Chien2022-01-211-2/+20
| | | |\ \
| | | | * | Add new callback to notify Tethering when PAN is readyEtienne Ruffieux2022-01-191-2/+20
| | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to remove hidden networking APIs we need to add a new way to communicate between Tethering and Bluetooth. Tag: #feature Bug: 190438212 Test: Manual Change-Id: I939c46ef341573f4fc351ae886cf2c8251655e43
* | | | | Merge changes from topic "a2dp_lc3_framework" am: 6bf2e5078b am: 94cbf0e2f4 ↵Treehugger Robot2022-01-201-50/+74
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 6ed762bc2c am: a5ada062c6 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1952560 Change-Id: I5a2df8e2fc7dfa68e1700ab729d76ae078915ae3
| * | | | Merge changes from topic "a2dp_lc3_framework" am: 6bf2e5078b am: 94cbf0e2f4 ↵Treehugger Robot2022-01-201-50/+74
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 6ed762bc2c Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1952560 Change-Id: Id68ae2213daa239d5e4c31debad871571ea9d638
| | * | | Merge changes from topic "a2dp_lc3_framework" am: 6bf2e5078b am: 94cbf0e2f4Treehugger Robot2022-01-201-50/+74
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1952560 Change-Id: Icac6cae830c94573dc992971671034eefb219c6d
| | | * | Add framework support of LC3 codecTed Wang2022-01-191-50/+74
| | | |/ | | | | | | | | | | | | | | | | | | | | Bug: 203621600 Test: atest BluetoothCodecConfigTest Change-Id: Ibacc8b39c4d916f69befca139604ed94c627c103
| | * | Merge changes from topic "migrate-aosp-bt" am: a1aa6390a9 am: 726224a864Roopa Sattiraju2022-01-191-6/+1
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1953299 Merged-In: If51a7d232501d15a50e69d25875f0de9df490314 Change-Id: I1ca9aaf1e756eeadd5552b48c21023e60aedf5aa
| | | * Migrating BT files into packages/modules/BluetoothRoopa Sattiraju2022-01-181-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 206121418 Test: Compile Merged-In: If51a7d232501d15a50e69d25875f0de9df490314 Change-Id: If51a7d232501d15a50e69d25875f0de9df490314
| | * | Merge history of Bluetooth API from frameworks/base am: 633e571fb7 am: ↵Roopa Sattiraju2022-01-201-1/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | 7cf0852cd3 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1953301 Merged-In: I7261e9b61296a49c8f8c374a9596ad0b5d749dd0 Change-Id: Iedc4fb96b765a1f6d692af7d4df97523b9769221
| * / Migrating BT files into packages/modules/BluetoothRoopa Sattiraju2022-01-181-6/+1
| |/ | | | | | | | | | | | | Bug: 206121418 Test: Compile Merged-In: If51a7d232501d15a50e69d25875f0de9df490314 Change-Id: If51a7d232501d15a50e69d25875f0de9df490314
* | Migrating BT files into packages/modules/BluetoothRoopa Sattiraju2022-01-171-6/+1
| | | | | | | | | | | | Bug: 206121418 Test: Compile Change-Id: If51a7d232501d15a50e69d25875f0de9df490314
* | Merge changes from topic "parse_audio_config_for_le_device" am: df3619505d ↵Treehugger Robot2021-12-081-1/+0
|\| | | | | | | | | | | | | | | am: f33d67841b am: 1f48d53428 am: 037d51272b Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1909755 Change-Id: Ie0c7f41c48ca4fcfa522142d99fbab003bbdad04
| * Merge changes from topic "parse_audio_config_for_le_device"Treehugger Robot2021-12-081-0/+58
| |\ | | | | | | | | | | | | | | | * changes: Remove unnecessary test case Parse audio config codec capability for LE devices
| | * Remove unnecessary test casePatty2021-12-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Tag: #refactor Bug: 203535499 Bug: 150670922 Test: atest BluetoothLeAudioCodecConfigTest BluetoothInstrumentationTests Change-Id: I5f3301c96990becca0f8baa0a5e61502c411e83c
| | * Parse audio config codec capability for LE devicesPatty2021-12-021-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Rename function getHwOffloadEncodingFormatsSupportedForA2DP to getHwOffloadFormatsSupportedForBluetoothMedia 2. Add audio format for LC3 3. Add public class BluetoothLeAudioCodecConfig to store the codec for LE audio 4. Add test case for BluetoothLeAudioCodecConfig Tag: #feature Bug: 203535499 Bug: 150670922 Test: atest BluetoothLeAudioCodecConfigTest BluetoothInstrumentationTests Change-Id: I5f64d9078ca2c07e13cffd83b879dd95468ed313 Merged-In: I5f64d9078ca2c07e13cffd83b879dd95468ed313
* | | Merge "Make BluetoothCodecConfig and BluetoothCodecStatus public." am: ↵Etienne Ruffieux2021-12-062-141/+168
|\| | | | | | | | | | | | | | | | | | | | | | | 1d98292cc5 am: 6e9d0c82da am: a83546d22f am: 4e35bc0826 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1849460 Change-Id: I3f9eea60be66e06893ddf963e5e8dcf6310ba0e9
| * | Make BluetoothCodecConfig and BluetoothCodecStatus public.Etienne Ruffieux2021-12-032-141/+168
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Made BluetoothCodecConfig and BluetoothCodecStatus public, added Builder to BluetoothCodecConfig, added accessor for SOURCE_CODEC_TYPE_MAX and changed Arrays returns to List. Tag: #feature Bug: 200202780 Bug: 170678351 Test: BluetoothCodecConfigTest & BluetoothCodecStatusTest NoNonSdkCheck: Only user actually requested the changes Change-Id: Ic61b7087f53f45781f7e0eecca8b6d983093a22d
* | Merge "Parse audio config codec capability for LE devices"TreeHugger Robot2021-12-021-0/+59
|\ \
| * | Parse audio config codec capability for LE devicesPatty2021-12-021-0/+59
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Rename function getHwOffloadEncodingFormatsSupportedForA2DP to getHwOffloadFormatsSupportedForBluetoothMedia 2. Add audio format for LC3 3. Add public class BluetoothLeAudioCodecConfig to store the codec for LE audio 4. Add test case for BluetoothLeAudioCodecConfig Tag: #feature Bug: 203535499 CTS-Coverage-Bug: 208786017 Test: atest BluetoothLeAudioCodecConfigTest BluetoothInstrumentationTests Change-Id: I5f64d9078ca2c07e13cffd83b879dd95468ed313