Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsHearingAidsPresetsControllerTest.java157 when(mHapClientProfile.getHapGroup(mDevice)).thenReturn(TEST_HAP_GROUP_ID); in onPreferenceChange_supportGroupOperation_validGroupId_verifySelectPresetForGroup()
168 when(mHapClientProfile.getHapGroup(mDevice)).thenReturn(TEST_HAP_GROUP_ID); in onPreferenceChange_notSupportGroupOperation_verifySelectPreset()
179 when(mHapClientProfile.getHapGroup(mDevice)).thenReturn(GROUP_ID_INVALID); in onPreferenceChange_invalidGroupId_verifySelectPreset()
257 when(mHapClientProfile.getHapGroup(mDevice)).thenReturn(TEST_HAP_GROUP_ID); in onPresetSelectionForGroupFailed_selectPresetIsCalled()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsHearingAidsPresetsController.java122 int hapGroupId = mHapClientProfile.getHapGroup(mCachedDevice.getDevice()); in onPreferenceChange()
213 if (hapGroupId == mHapClientProfile.getHapGroup(mCachedDevice.getDevice())) { in onPresetSelectionForGroupFailed()
252 if (hapGroupId == mHapClientProfile.getHapGroup(mCachedDevice.getDevice())) { in onSetPresetNameForGroupFailed()
/packages/modules/Bluetooth/framework/api/
Dsystem-lint-baseline.txt60 UnflaggedApi: android.bluetooth.BluetoothHapClient#getHapGroup(android.bluetooth.BluetoothDevice):
61 … flagged with @FlaggedApi: method android.bluetooth.BluetoothHapClient.getHapGroup(android.bluetoo…
Dsystem-current.txt328 …CONNECT, android.Manifest.permission.BLUETOOTH_PRIVILEGED}) public int getHapGroup(@NonNull androi…
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothHapClient.aidl42 int getHapGroup(in BluetoothDevice device, in AttributionSource attributionSource); in getHapGroup() method
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java524 public int getHapGroup(BluetoothDevice device) { in getHapGroup() method in HapClientService
1349 public int getHapGroup(BluetoothDevice device, AttributionSource source) { in getHapGroup() method in HapClientService.BluetoothHapClientBinder
1359 return service.getHapGroup(device); in getHapGroup()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientTest.java486 Assert.assertEquals(2, mService.getHapGroup(mDevice)); in testGetHapGroupCoordinatedOps()
487 Assert.assertEquals(3, mService.getHapGroup(mDevice3)); in testGetHapGroupCoordinatedOps()
490 int hapGroup = mServiceBinder.getHapGroup(mDevice2, mAttributionSource); in testGetHapGroupCoordinatedOps()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHapClient.java844 public int getHapGroup(@NonNull BluetoothDevice device) { in getHapGroup() method in BluetoothHapClient
851 return service.getHapGroup(device, mAttributionSource); in getHapGroup()