Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DHearingAidProfile.java298 public int getDeviceMode(@NonNull BluetoothDevice device) { in getDeviceMode() method in HearingAidProfile
305 return mService.getDeviceMode(device); in getDeviceMode()
DHearingAidStatsLogUtils.java111 final int deviceMode = device.getDeviceMode(); in logHearingAidInfo()
DHearingAidDeviceManager.java404 .setAshaDeviceMode(asha.getDeviceMode(cachedDevice.getDevice())) in generateHearingAidInfo()
DLocalBluetoothProfileManager.java360 .setAshaDeviceMode(getHearingAidProfile().getDeviceMode(device)) in onReceiveInternal()
DCachedBluetoothDevice.java437 public int getDeviceMode() { in getDeviceMode() method in CachedBluetoothDevice
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java173 when(mHearingAidProfile.getDeviceMode(mDevice1)).thenReturn(MODE_BINAURAL); in initHearingAidDeviceIfNeeded_asha_validHiSyncId_setHearingAidInfo()
181 assertThat(mCachedDevice1.getDeviceMode()).isEqualTo( in initHearingAidDeviceIfNeeded_asha_validHiSyncId_setHearingAidInfo()
266 assertThat(mCachedDevice1.getDeviceMode()).isEqualTo( in initHearingAidDeviceIfNeeded_leAudio_validInfo_setHearingAidInfo()
466 when(mHearingAidProfile.getDeviceMode(mDevice1)).thenReturn(MODE_BINAURAL); in updateHearingAidsDevices_asha_validHiSyncId_setHearingAidInfo()
473 assertThat(mCachedDevice1.getDeviceMode()).isEqualTo( in updateHearingAidsDevices_asha_validHiSyncId_setHearingAidInfo()
500 assertThat(mCachedDevice1.getDeviceMode()).isEqualTo( in updateHearingAidsDevices_leAudio_validInfo_setHearingAidInfo()