Searched refs:getActivePresetIndex (Results 1 – 6 of 6) sorted by relevance
64 mPresetCallback.onPresetInfoUpdated(getAllPresetInfo(), getActivePresetIndex()); in onServiceConnected()83 mPresetCallback.onPresetInfoUpdated(getAllPresetInfo(), getActivePresetIndex()); in onPresetSelected()98 mPresetCallback.onPresetInfoUpdated(getAllPresetInfo(), getActivePresetIndex()); in onPresetInfoChanged()231 public int getActivePresetIndex() { in getActivePresetIndex() method in HearingDevicesPresetsController235 return mHapClientProfile.getActivePresetIndex(mActiveHearingDevice.getDevice()); in getActivePresetIndex()
130 final int activePresetIndex = mPresetsController.getActivePresetIndex();226 final int activePresetIndex = mPresetsController.getActivePresetIndex(); in onActiveDeviceChanged()350 final int activePresetIndex = mPresetsController.getActivePresetIndex(); in setupPresetSpinner()
332 when(mService.getActivePresetIndex(mBluetoothDevice)).thenReturn(TEST_PRESET_INDEX); in getActivePresetIndex_verifyIsCalledAndReturnCorrectValue()335 final int activeIndex = mProfile.getActivePresetIndex(mBluetoothDevice); in getActivePresetIndex_verifyIsCalledAndReturnCorrectValue()337 verify(mService).getActivePresetIndex(mBluetoothDevice); in getActivePresetIndex_verifyIsCalledAndReturnCorrectValue()
784 when(mHapClientProfile.getActivePresetIndex(mDevice1)).thenReturn(PRESET_INDEX_1); in syncDeviceWithinSet_synchronized_differentPresetIndex_shouldNotSync()785 when(mHapClientProfile.getActivePresetIndex(mDevice2)).thenReturn(PRESET_INDEX_2); in syncDeviceWithinSet_synchronized_differentPresetIndex_shouldNotSync()800 when(mHapClientProfile.getActivePresetIndex(mDevice1)).thenReturn(PRESET_INDEX_1); in syncDeviceWithinSet_unsynchronized_samePresetIndex_shouldNotSync()801 when(mHapClientProfile.getActivePresetIndex(mDevice2)).thenReturn(PRESET_INDEX_1); in syncDeviceWithinSet_unsynchronized_samePresetIndex_shouldNotSync()816 when(mHapClientProfile.getActivePresetIndex(mDevice1)).thenReturn(PRESET_INDEX_1); in syncDeviceWithinSet_unsynchronized_differentPresetIndex_shouldSync()817 when(mHapClientProfile.getActivePresetIndex(mDevice2)).thenReturn(PRESET_INDEX_2); in syncDeviceWithinSet_unsynchronized_differentPresetIndex_shouldSync()
311 public int getActivePresetIndex(@NonNull BluetoothDevice device) { in getActivePresetIndex() method in HapClientProfile316 return mService.getActivePresetIndex(device); in getActivePresetIndex()
288 int mainPresetIndex = hap.getActivePresetIndex(mainDevice.getDevice()); in syncDeviceIfNeeded()289 int presetIndex = hap.getActivePresetIndex(device.getDevice()); in syncDeviceIfNeeded()