Searched refs:AudioContext (Results 1 – 10 of 10) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeTest.java | 46 import com.android.car.audio.CarAudioContext.AudioContext; 60 @AudioContext int suggestedContext = CarVolume.getSuggestedAudioContext(new ArrayList<>(), in getSuggestedAudioContext_withNoConfigurationsAndIdleTelephony_returnsDefault() 72 @AudioContext int suggestedContext = CarVolume.getSuggestedAudioContext(configurations, in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext() 80 @AudioContext int suggestedContext = CarVolume.getSuggestedAudioContext(new ArrayList<>(), in getSuggestedAudioContext_withCallStateOffHook_returnsCallContext() 88 @AudioContext int suggestedContext = CarVolume.getSuggestedAudioContext(new ArrayList<>(), in getSuggestedAudioContext_withCallStateRinging_returnsCallRingContext() 102 @AudioContext int suggestedContext = CarVolume.getSuggestedAudioContext(configurations, in getSuggestedAudioContext_withConfigurations_returnsHighestPriorityContext() 116 @AudioContext int suggestedContext = CarVolume.getSuggestedAudioContext(configurations, in getSuggestedAudioContext_ignoresInactiveConfigurations() 129 @AudioContext int suggestedContext = CarVolume.getSuggestedAudioContext(configurations, in getSuggestedAudioContext_withLowerPriorityConfigurationsAndCall_returnsCall() 141 @AudioContext int suggestedContext = CarVolume.getSuggestedAudioContext(configurations, in getSuggestedAudioContext_withNavigationConfigurationAndCall_returnsNavigation() 153 @AudioContext int suggestedContext = CarVolume.getSuggestedAudioContext(configurations, in getSuggestedAudioContext_withUnprioritizedUsage_returnsDefault()
|
D | CarAudioContextTest.java | 31 import com.android.car.audio.CarAudioContext.AudioContext; 74 for (@AudioContext int audioContext : CarAudioContext.CONTEXTS) { in getUsagesForContext_returnsUniqueValuesForAllContexts()
|
D | FocusInteractionTest.java | 19 import static com.android.car.audio.CarAudioContext.AudioContext; 274 private FocusEntry newMockFocusEntryWithContext(@AudioContext int audioContext) { in newMockFocusEntryWithContext()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioContext.java | 214 @AudioContext int audioContext = CONTEXT_TO_USAGES.keyAt(i); 225 static void preconditionCheckAudioContext(@AudioContext int audioContext) { in preconditionCheckAudioContext() 230 static @AttributeUsage int[] getUsagesForContext(@AudioContext int carAudioContext) { in getUsagesForContext() 239 static @AudioContext int getContextForUsage(@AttributeUsage int audioUsage) { in getContextForUsage() 243 static String toString(@AudioContext int audioContext) { in toString() 267 public @interface AudioContext { annotation in CarAudioContext
|
D | CarAudioZonesHelper.java | 26 import com.android.car.audio.CarAudioContext.AudioContext; 106 private static boolean isLegacyContext(@AudioContext int audioContext) { in isLegacyContext() 114 for (@AudioContext int audioContext : CarAudioContext.CONTEXTS) { 122 for (@AudioContext int audioContext : NON_LEGACY_CONTEXTS) { in bindNonLegacyContexts() 418 @AudioContext int carAudioContext = parseCarAudioContext( in parseVolumeGroupContexts() 455 private static @AudioContext int parseCarAudioContext(String context) { in parseCarAudioContext() 459 private void validateCarAudioContextSupport(@AudioContext int audioContext) { in validateCarAudioContextSupport()
|
D | CarVolume.java | 29 import com.android.car.audio.CarAudioContext.AudioContext; 70 static @AudioContext int getSuggestedAudioContext( in getSuggestedAudioContext() 89 @AudioContext int context = CarAudioContext.getContextForUsage(usage); in getSuggestedAudioContext()
|
D | FocusEntry.java | 27 import com.android.car.audio.CarAudioContext.AudioContext; 42 FocusEntry(@NonNull AudioFocusInfo audioFocusInfo, @AudioContext int context, in FocusEntry() 52 @AudioContext
|
D | FocusInteraction.java | 33 import com.android.car.audio.CarAudioContext.AudioContext; 323 public @FocusRequestResult int evaluateRequest(@AudioContext int requestedContext, in evaluateRequest() 326 @AudioContext int holderContext = focusHolder.getAudioContext(); in evaluateRequest()
|
D | CarAudioService.java | 65 import com.android.car.audio.CarAudioContext.AudioContext; 103 static final @AudioContext int DEFAULT_AUDIO_CONTEXT = CarAudioContext.getContextForUsage( 142 @AudioContext int suggestedContext = getSuggestedAudioContext(); 799 @AudioContext int audioContext = CarAudioContext.getContextForUsage(usage); in getVolumeGroupIdForUsage() 804 private int getVolumeGroupIdForAudioContextLocked(int zoneId, @AudioContext int audioContext) { in getVolumeGroupIdForAudioContextLocked() 831 for (@AudioContext int context : contexts) { in getUsagesForVolumeGroupId() 1100 private @AudioContext int getSuggestedAudioContext() { in getSuggestedAudioContext()
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | AudioControlWrapperV1.java | 119 public int getBusForContext(@CarAudioContext.AudioContext int audioContext) { in getBusForContext()
|