Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java34 import static com.android.car.audio.CarAudioContext.VOICE_COMMAND;
140 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext()
146 assertThat(suggestedContext).isEqualTo(VOICE_COMMAND); in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext()
234 assertThat(suggestedContext).isEqualTo(VOICE_COMMAND); in getSuggestedAudioContext_withHalActiveUsage_returnsHalActive()
263 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsHalActive()
297 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withStillActiveContext_returnsPrevActiveContext()
308 assertThat(suggestedContext).isEqualTo(VOICE_COMMAND); in getSuggestedAudioContext_withStillActiveContext_returnsPrevActiveContext()
314 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withStillActiveContext_retPrevActiveContextMultipleTimes()
327 assertThat(suggestedContext).isEqualTo(VOICE_COMMAND); in getSuggestedAudioContext_withStillActiveContext_retPrevActiveContextMultipleTimes()
334 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withActContextAndNewHigherPrioContext_returnPrevActContext()
[all …]
DCarVolumeGroupMutingTest.java23 import static com.android.car.audio.CarAudioContext.VOICE_COMMAND;
80 mVoiceCarVolumeGroup = groupWithContextAndAddress(VOICE_COMMAND, PRIMARY_VOICE_ADDRESS); in setUp()
412 .addDeviceAddressAndContexts(VOICE_COMMAND, PRIMARY_VOICE_ADDRESS) in generateMutingInfoFromZone_withMutedMultiDeviceGroup_returnsAllDevicesMuted()
430 .addDeviceAddressAndContexts(VOICE_COMMAND, PRIMARY_VOICE_ADDRESS) in generateMutingInfoFromZone_withUnMutedMultiDeviceGroup_returnsAllDevicesUnMuted()
447 .addDeviceAddressAndContexts(VOICE_COMMAND, PRIMARY_VOICE_ADDRESS) in generateMutingInfoFromZone_mutingRestricted_mutesAllNonCriticalDevices()
465 .addDeviceAddressAndContexts(VOICE_COMMAND, PRIMARY_VOICE_ADDRESS) in generateMutingInfoFromZone_mutingRestricted_setsAllCriticalGroupsToTheirState()
DCarAudioPolicyVolumeCallbackTest.java29 import static com.android.car.audio.CarAudioContext.VOICE_COMMAND;
76 .thenReturn(VOICE_COMMAND); in setUp()
DCarAudioPlaybackCallbackTest.java25 import static com.android.car.audio.CarAudioContext.VOICE_COMMAND;
494 .addDeviceAddressAndContexts(VOICE_COMMAND, PRIMARY_VOICE_ADDRESS) in generatePrimaryZone()
DCarAudioContextTest.java140 .that(isCriticalAudioContext(CarAudioContext.VOICE_COMMAND)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioContext.java60 static final int VOICE_COMMAND = 3; field in CarAudioContext
108 VOICE_COMMAND,
125 CONTEXT_NAMES.append(VOICE_COMMAND, "VOICE_COMMAND"); in CONTEXT_NAMES.append() argument
152 CONTEXT_TO_USAGES.put(VOICE_COMMAND, in CONTEXT_TO_USAGES.put() argument
280 VOICE_COMMAND,
DCarDuckingUtils.java31 import static com.android.car.audio.CarAudioContext.VOICE_COMMAND;
62 sContextsToDuck.append(VOICE_COMMAND, new int[]{ in sContextsToDuck.append() argument
91 VOICE_COMMAND, in sContextsToDuck.append() argument
DCarVolume.java56 CarAudioContext.VOICE_COMMAND,
73 CarAudioContext.VOICE_COMMAND,
DCarAudioZonesHelper.java79 CONTEXT_NAME_MAP.put("voice_command", CarAudioContext.VOICE_COMMAND);
99 CarAudioContext.VOICE_COMMAND,
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZoneTest.java30 import static com.android.car.audio.CarAudioContext.VOICE_COMMAND;
86 .addDeviceAddressAndContexts(VOICE_COMMAND, VOICE_ADDRESS).build(); in setUp()
159 .addDeviceAddressAndContexts(VOICE_COMMAND, ASSISTANT_ADDRESS) in findActiveContextsFromPlaybackConfigurations_withMultiDevices_returnsContexts()
172 assertThat(activeContexts).containsExactly(VOICE_COMMAND, ALARM); in findActiveContextsFromPlaybackConfigurations_withMultiDevices_returnsContexts()
179 .addDeviceAddressAndContexts(VOICE_COMMAND, ASSISTANT_ADDRESS) in findActiveContextsFromPlaybackConfigurations_deviceWithMultiContext_returnsContext()
202 .addDeviceAddressAndContexts(VOICE_COMMAND, ASSISTANT_ADDRESS) in findActiveContextsFromPlaybackConfigurations_withNonMatchingContext_returnsContext()
220 .addDeviceAddressAndContexts(VOICE_COMMAND, ASSISTANT_ADDRESS) in findActiveContextsFromPlaybackConfigurations_withMultiGroupMatch_returnsContexts()
DCarAudioZonesHelperLegacyTest.java135 CarAudioContext.VOICE_COMMAND, CarAudioContext.CALL_RING, CarAudioContext.CALL, in loadAudioZones_associatesLegacyContextsWithCorrectBuses()