Home
last modified time | relevance | path

Searched refs:getContextForAudioAttribute (Results 1 – 25 of 30) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java170 .getContextForAudioAttribute(CAR_DEFAULT_AUDIO_ATTRIBUTE)); in getSuggestedAudioContext_withNoActivePlaybackAndIdleTelephony_returnsDefault()
193 .getContextForAudioAttribute(TEST_CALL_ATTRIBUTE)); in getSuggestedAudioContext_withCallStateOffHook_returnsCallContext()
206 .getContextForAudioAttribute(TEST_CALL_RING_ATTRIBUTE)); in getSuggestedAudioContext_withV1AndCallStateRinging_returnsCallRingContext()
220 .getContextForAudioAttribute(TEST_CALL_ATTRIBUTE)); in getSuggestedAudioContext_withActivePlayback_returnsHighestPriorityContext()
234 .getContextForAudioAttribute(TEST_CALL_ATTRIBUTE)); in getSuggestedAudioContext_withLowerPriorityActivePlaybackAndCall_returnsCall()
247 .getContextForAudioAttribute(TEST_NAVIGATION_ATTRIBUTE)); in getSuggestedAudioContext_withV1AndNavigationConfigurationAndCall_returnsNav()
260 .getContextForAudioAttribute(TEST_CALL_ATTRIBUTE)); in getSuggestedAudioContext_withV2AndNavigationConfigurationAndCall_returnsCall()
273 .getContextForAudioAttribute(CAR_DEFAULT_AUDIO_ATTRIBUTE)); in getSuggestedAudioContext_withUnprioritizedAttribute_returnsDefault()
286 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_ASSISTANT_ATTRIBUTE)); in getSuggestedAudioContext_withHalActiveAttribute_returnsHalActive()
300 .getContextForAudioAttribute(CAR_DEFAULT_AUDIO_ATTRIBUTE)); in getSuggestedAudioContext_withHalUnprioritizedAttribute_returnsDefault()
[all …]
DCarAudioContextTest.java114 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_MEDIA_ATTRIBUTE);
116 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_ALARM_ATTRIBUTE);
118 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_CALL_ATTRIBUTE);
120 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_RINGER_ATTRIBUTE);
122 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_EMERGENCY_ATTRIBUTE);
124 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_NAVIGATION_ATTRIBUTE);
126 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_NOTIFICATION_ATTRIBUTE);
128 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_ANNOUNCEMENT_ATTRIBUTE);
130 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_SAFETY_ATTRIBUTE);
132 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_SYSTEM_ATTRIBUTE);
[all …]
DCarDuckingUtilsTest.java59 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
62 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
65 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
68 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
DCarVolumeGroupMutingTest.java68 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
71 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
74 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
77 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
80 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
DCarAudioVolumeGroupTest.java118 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
121 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
124 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
127 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
130 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
133 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
DCarHalAudioUtilsTest.java85 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
88 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
111 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute( in setUp()
DZoneAudioPlaybackCallbackTest.java84 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_MEDIA_AUDIO_ATTRIBUTE);
88 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_NAVIGATION_AUDIO_ATTRIBUTE);
92 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
DCarVolumeGroupFactoryTest.java59 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
62 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
DFocusEntryTest.java56 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
DCarDuckingTest.java69 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
72 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
DCarAudioZoneUnitTest.java134 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_MEDIA_ATTRIBUTE);
137 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_ALARM_ATTRIBUTE);
140 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_ASSISTANT_ATTRIBUTE);
143 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_NAVIGATION_ATTRIBUTE);
DCarVolumeGroupUnitTest.java113 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
116 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
119 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
122 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
125 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
128 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
131 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
2172 int safetyContextId = TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute( in getAddressForContext_withoutContextFound()
DCarAudioGainMonitorTest.java80 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
83 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
DCarAudioFocusUnitTest.java1683 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(mediaAudioAttribute), in onAudioFocusRequest_withOemServiceEnabled_capturesFocusRequest()
1717 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(mediaAudioAttribute), in onAudioFocusRequest_withOemServiceEnabledAndEnabledFadeManager()
1759 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(mediaAudioAttribute), in onAudioFocusRequest_withOemServiceEnabledAndEnableIsolatedFocus()
1803 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(mediaAudioAttribute), in onAudioFocusRequest_withOemServiceEnabled_containsTransientCarAudioFadeConfigs()
1809 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(emergencyAudioAttributes), in onAudioFocusRequest_withOemServiceEnabled_containsTransientCarAudioFadeConfigs()
DCarAudioZoneConfigUnitTest.java96 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_MEDIA_ATTRIBUTE);
99 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_ASSISTANT_ATTRIBUTE);
102 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_NAVIGATION_ATTRIBUTE);
DFocusInteractionTest.java374 .getContextForAudioAttribute(audioAttributes), in newMockFocusEntryWithUsage()
DCarAudioPlaybackCallbackTest.java75 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_MEDIA_AUDIO_ATTRIBUTE);
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperLegacyTest.java76 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
79 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
82 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
85 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
88 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
91 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
94 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
97 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
100 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
103 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
[all …]
DCarAudioDynamicRoutingTest.java72 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_MEDIA_ATTRIBUTE);
74 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_NAVIGATION_ATTRIBUTE);
DCarAudioZonesHelperTest.java156 .getContextForAudioAttribute(CAR_DEFAULT_AUDIO_ATTRIBUTE);
158 .getContextForAudioAttribute(CarAudioContext
161 .getContextForAudioAttribute(CarAudioContext
164 .getContextForAudioAttribute(CarAudioContext
167 .getContextForAudioAttribute(CarAudioContext
/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java155 int context = mCarAudioContext.getContextForAudioAttribute( in convertAttributesToContexts()
173 contexts.add(mCarAudioContext.getContextForAudioAttribute( in convertAttributesToContextsSet()
228 @AudioContext int context = mCarAudioContext.getContextForAudioAttribute( in findActiveContextWithHighestPriority()
DCarAudioContext.java554 return getContextForAudioAttribute(attributes); in getContextForAttributes()
561 public @AudioContext int getContextForAudioAttribute(AudioAttributes attributes) { in getContextForAudioAttribute() method in CarAudioContext
604 ? new AudioAttributesWrapper(attributes, getContextForAudioAttribute(attributes)) in getAudioAttributeWrapperFromAttributes()
612 uniqueContexts.add(getContextForAudioAttribute(audioAttributes.get(index))); in getUniqueContextsForAudioAttributes()
DCarHalAudioUtils.java73 .getContextForAudioAttribute(audioAttributes); in audioAttributeToMetadata()
DCarAudioZonesHelperLegacy.java235 .getContextForAudioAttribute(CAR_DEFAULT_AUDIO_ATTRIBUTE)) { in bindContextToBuilder()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioFocusTest.java271 .getContextForAudioAttribute(ATTR_MEDIA); in requestAudioFocus_withSameContext_notifiesHalOfExistingRequestStatus()
273 .getContextForAudioAttribute(CoreAudioRoutingUtils.MOVIE_ATTRIBUTES); in requestAudioFocus_withSameContext_notifiesHalOfExistingRequestStatus()

12