Home
last modified time | relevance | path

Searched refs:isSource (Results 1 – 11 of 11) sorted by relevance

/packages/services/Telecomm/src/com/android/server/telecom/metrics/
DAudioRouteStats.java224 private int convertAudioType(AudioRoute route, boolean isSource) { in convertAudioType() argument
228 return isSource ? CALL_AUDIO_ROUTE_STATS__ROUTE_SOURCE__CALL_AUDIO_EARPIECE in convertAudioType()
231 return isSource ? CALL_AUDIO_ROUTE_STATS__ROUTE_SOURCE__CALL_AUDIO_WIRED_HEADSET in convertAudioType()
234 return isSource ? CALL_AUDIO_ROUTE_STATS__ROUTE_SOURCE__CALL_AUDIO_PHONE_SPEAKER in convertAudioType()
237 return isSource ? CALL_AUDIO_ROUTE_STATS__ROUTE_SOURCE__CALL_AUDIO_BLUETOOTH_LE in convertAudioType()
240 if (isSource) { in convertAudioType()
250 return isSource ? CALL_AUDIO_ROUTE_STATS__ROUTE_SOURCE__CALL_AUDIO_HEARING_AID in convertAudioType()
261 return isSource ? CALL_AUDIO_ROUTE_STATS__ROUTE_SOURCE__CALL_AUDIO_UNSPECIFIED in convertAudioType()
/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/audio/
DAudioDeviceInfoBuilder.java60 public AudioDeviceInfoBuilder setIsSource(boolean isSource) { in setIsSource() argument
61 mIsSource = isSource; in setIsSource()
75 when(audioDeviceInfo.isSource()).thenReturn(mIsSource); in build()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DAudioDeviceInfoBuilder.java53 public AudioDeviceInfoBuilder setIsSource(boolean isSource) { in setIsSource() argument
54 mIsSource = isSource; in setIsSource()
65 when(audioDeviceInfo.isSource()).thenReturn(mIsSource); in build()
DAudioPlaybackConfigurationBuilder.java75 when(audioDeviceInfo.isSource()).thenReturn(false); in generateOutAudioDeviceInfo()
DCarAudioDeviceInfoTestUtils.java198 when(inputMock.isSource()).thenReturn(true); in generateInputAudioDeviceInfo()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioUtils.java199 if (info.isSource() && !TextUtils.isEmpty(info.getAddress())) { in generateAddressToInputAudioDeviceInfoMap()
DCarAudioService.java4305 if (infos[c].isSource() || infos[c].getType() == AudioDeviceInfo.TYPE_BUS) {
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java2202 BluetoothDevice device, int type, boolean isSink, boolean isSource) { in handleAudioDeviceAdded() argument
2208 + (" isSource: " + isSource) in handleAudioDeviceAdded()
2218 || (isSource && !device.equals(mActiveAudioInDevice))) { in handleAudioDeviceAdded()
2237 BluetoothDevice device, int type, boolean isSink, boolean isSource) { in handleAudioDeviceRemoved() argument
2243 + (" isSource: " + isSource) in handleAudioDeviceRemoved()
2252 if ((isSource && mActiveAudioInDevice == null) in handleAudioDeviceRemoved()
2304 device, deviceInfo.getType(), deviceInfo.isSink(), deviceInfo.isSource())) { in onAudioDevicesAdded()
2332 device, deviceInfo.getType(), deviceInfo.isSink(), deviceInfo.isSource()); in onAudioDevicesRemoved()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/measurement/
DMeasurementDao.java2512 @NonNull Uri registrant, long eventTime, boolean isSource) throws DatastoreException { in fetchMatchingSourcesTriggersUninstall() argument
2521 getUninstallQuery(isSource, /* isDelete= */ true, registrantMatcher, eventTime); in fetchMatchingSourcesTriggersUninstall()
2523 getUninstallQuery(isSource, /* isDelete= */ false, registrantMatcher, eventTime); in fetchMatchingSourcesTriggersUninstall()
3441 boolean isSource,
3446 isSource
3449 String id = isSource ? SourceContract.ID : MeasurementTables.TriggerContract.ID;
3451 isSource ? SourceContract.REGISTRANT : MeasurementTables.TriggerContract.REGISTRANT;
3453 isSource
3457 isSource
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java494 boolean isSource, in injectAudioDeviceAdded() argument
496 mService.handleAudioDeviceAdded(device, type, isSink, isSource); in injectAudioDeviceAdded()
508 boolean isSource, in injectAudioDeviceRemoved() argument
510 mService.handleAudioDeviceRemoved(device, type, isSink, isSource); in injectAudioDeviceRemoved()
/packages/services/Car/car-lib/src/android/car/media/
DCarAudioManager.java1966 if (info.isSource() && deviceAddressMap.contains(info.getAddress())) { in convertInputDevicesToDeviceInfos()