Home
last modified time | relevance | path

Searched refs:selectPreset (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/hearingaid/
DHearingDevicesPresetsController.java194 public void selectPreset(int presetIndex) { in selectPreset() method in HearingDevicesPresetsController
260 mHapClientProfile.selectPreset(mActiveHearingDevice.getDevice(), presetIndex); in selectPresetIndependently()
266 mHapClientProfile.selectPreset(subDevice.getDevice(), presetIndex); in selectPresetIndependently()
273 mHapClientProfile.selectPreset(memberDevice.getDevice(), presetIndex); in selectPresetIndependently()
DHearingDevicesDialogDelegate.java339 mPresetsController.selectPreset( in setupPresetSpinner()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHapClientProfile.java349 public void selectPreset(@NonNull BluetoothDevice device, int presetIndex) { in selectPreset() method in HapClientProfile
354 mService.selectPreset(device, presetIndex); in selectPreset()
DHearingAidDeviceManager.java296 hap.selectPreset(device.getDevice(), mainPresetIndex); in syncDeviceIfNeeded()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHapClientProfileTest.java363 mProfile.selectPreset(mBluetoothDevice, TEST_PRESET_INDEX); in selectPreset_verifyIsCalled()
365 verify(mService).selectPreset(mBluetoothDevice, TEST_PRESET_INDEX); in selectPreset_verifyIsCalled()
DHearingAidDeviceManagerTest.java795 verify(mHapClientProfile, never()).selectPreset(any(), anyInt()); in syncDeviceWithinSet_synchronized_differentPresetIndex_shouldNotSync()
811 verify(mHapClientProfile, never()).selectPreset(any(), anyInt()); in syncDeviceWithinSet_unsynchronized_samePresetIndex_shouldNotSync()
827 verify(mHapClientProfile).selectPreset(mDevice2, PRESET_INDEX_1); in syncDeviceWithinSet_unsynchronized_differentPresetIndex_shouldSync()