Home
last modified time | relevance | path

Searched refs:getActivePresetIndex (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/framework/api/
Dsystem-lint-baseline.txt58 UnflaggedApi: android.bluetooth.BluetoothHapClient#getActivePresetIndex(android.bluetooth.Bluetooth…
59 …ged with @FlaggedApi: method android.bluetooth.BluetoothHapClient.getActivePresetIndex(android.blu…
Dsystem-current.txt321 …CT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getActivePresetIndex(@NonNull an…
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsHearingAidsPresetsControllerTest.java235 when(mHapClientProfile.getActivePresetIndex(mDevice)).thenReturn(PRESET_INDEX_UNAVAILABLE); in refresh_invalidActivePresetIndex_summaryIsNull()
247 when(mHapClientProfile.getActivePresetIndex(mDevice)).thenReturn(TEST_PRESET_INDEX); in refresh_validActivePresetIndex_summaryIsNotNull()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientTest.java462 mService.getActivePresetIndex(mDevice)); in testCallsForNotConnectedDevice()
617 int presetIndex = mServiceBinder.getActivePresetIndex(mDevice, mAttributionSource); in testGetActivePresetIndex()
641 mService.getActivePresetIndex(mDevice2)); in testGetPresetInfoAndActivePresetInfo()
648 Assert.assertEquals(0x01, mService.getActivePresetIndex(mDevice2)); in testGetPresetInfoAndActivePresetInfo()
767 Assert.assertEquals(0x01, mService.getActivePresetIndex(mDevice)); in testStackEventOnPresetSelected()
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothHapClient.aidl44 int getActivePresetIndex(in BluetoothDevice device, in AttributionSource attributionSource); in getActivePresetIndex() method
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java544 public int getActivePresetIndex(BluetoothDevice device) { in getActivePresetIndex() method in HapClientService
556 int index = getActivePresetIndex(device); in getActivePresetInfo()
1320 public int getActivePresetIndex(BluetoothDevice device, AttributionSource source) { in getActivePresetIndex() method in HapClientService.BluetoothHapClientBinder
1330 return service.getActivePresetIndex(device); in getActivePresetIndex()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHapClient.java874 public int getActivePresetIndex(@NonNull BluetoothDevice device) { in getActivePresetIndex() method in BluetoothHapClient
881 return service.getActivePresetIndex(device, mAttributionSource); in getActivePresetIndex()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsHearingAidsPresetsController.java168 int activePresetIndex = mHapClientProfile.getActivePresetIndex( in refresh()