Home
last modified time | relevance | path

Searched refs:mAudioDeviceInfo (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audiorecorder/
DAudioRecorderTestFragment.java410 private final AudioDeviceInfo mAudioDeviceInfo; field in AudioRecorderTestFragment.AudioDeviceInfoWrapper
413 mAudioDeviceInfo = audioDeviceInfo; in AudioDeviceInfoWrapper()
417 return mAudioDeviceInfo; in getAudioDeviceInfo()
424 .append(typeToString(mAudioDeviceInfo.getType())); in toString()
426 if (!mAudioDeviceInfo.getAddress().isEmpty()) { in toString()
428 builder.append(mAudioDeviceInfo.getAddress()); in toString()
437 if (!mAudioDeviceInfo.getAddress().isEmpty()) { in toStringNoSymbols()
439 builder.append(mAudioDeviceInfo.getAddress().replace("//s", "_")); in toStringNoSymbols()
442 builder.append(typeToString(mAudioDeviceInfo.getType())); in toStringNoSymbols()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/sound/
DAudioRoutesManagerTest.java97 private AudioDeviceInfo mAudioDeviceInfo; field in AudioRoutesManagerTest
113 when(mAudioDeviceInfo.getAddress()).thenReturn(AUDIO_DEVICE_ADDRESS); in init_verifyAudioRouteList()
127 when(mAudioDeviceInfo.getAddress()).thenReturn(AUDIO_DEVICE_ADDRESS); in init_verifyAudioRouteList_repeatAddress()
141 when(mAudioDeviceInfo.getAddress()).thenReturn(AUDIO_DEVICE_ADDRESS); in init_verifyActiveDeviceAddress()
152 when(mAudioDeviceInfo.getAddress()).thenReturn(AUDIO_DEVICE_ADDRESS); in init_verifyAudioRouteItemMap()
213 .thenReturn(mAudioDeviceInfo); in initMocks()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteControllerTest.java107 @Mock AudioDeviceInfo mAudioDeviceInfo; field in CallAudioRouteControllerTest
127 return new AudioRoute(type, bluetoothAddress, mAudioDeviceInfo);
143 .thenReturn(List.of(mAudioDeviceInfo)); in setUp()
144 when(mAudioManager.getCommunicationDevice()).thenReturn(mAudioDeviceInfo); in setUp()
163 when(mAudioDeviceInfo.getAddress()).thenReturn(BT_ADDRESS_1); in setUp()