Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioDynamicRouting.java183 private static AudioFormat createMixFormatFromDevice(CarAudioDeviceInfo mirrorDevice) { in createMixFormatFromDevice() argument
185 .setSampleRate(mirrorDevice.getSampleRate()) in createMixFormatFromDevice()
186 .setEncoding(mirrorDevice.getEncodingFormat()) in createMixFormatFromDevice()
187 .setChannelMask(mirrorDevice.getChannelCount()) in createMixFormatFromDevice()
DCarAudioService.java1509 AudioDeviceAttributes mirrorDevice = in handleEnableAudioMirrorForZones() local
1511 if (mirrorDevice == null) { in handleEnableAudioMirrorForZones()
1579 if (!setupAudioRoutingForUserInMirrorDeviceLocked(audioZoneIdsToAdd, mirrorDevice)) { in handleEnableAudioMirrorForZones()
1603 sendMirrorInfoToAudioHal(mirrorDevice.getAddress(), audioZoneIdsToAdd); in handleEnableAudioMirrorForZones()
1652 AudioDeviceAttributes mirrorDevice =
1654 if (mirrorDevice == null) {
1710 mirrorDevice.getAddress());
1712 getAudioMirroringOffCommand(mirrorDevice.getAddress()));
1777 AudioDeviceAttributes mirrorDevice) {
1784 boolean enabled = setupMirrorDeviceForUserIdLocked(userId, audioZone, mirrorDevice);
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioDynamicRoutingTest.java255 AudioDeviceInfo mirrorDevice = Mockito.mock(AudioDeviceInfo.class); in setupAudioDynamicRoutingForMirrorDevice() local
257 /* canBeRoutedWithDynamicPolicyMix= */ true, mirrorDevice); in setupAudioDynamicRoutingForMirrorDevice()
259 new AudioDeviceInfo[]{mirrorDevice}); in setupAudioDynamicRoutingForMirrorDevice()