/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeTest.java | 170 .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 …]
|
D | CarAudioContextTest.java | 114 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 …]
|
D | CarDuckingUtilsTest.java | 59 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
|
D | CarVolumeGroupMutingTest.java | 68 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
|
D | CarAudioVolumeGroupTest.java | 118 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
|
D | CarHalAudioUtilsTest.java | 85 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute( 88 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext 111 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute( in setUp()
|
D | ZoneAudioPlaybackCallbackTest.java | 84 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
|
D | CarVolumeGroupFactoryTest.java | 59 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute( 62 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
|
D | FocusEntryTest.java | 56 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(
|
D | CarDuckingTest.java | 69 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute( 72 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
|
D | CarAudioZoneUnitTest.java | 134 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);
|
D | CarVolumeGroupUnitTest.java | 113 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()
|
D | CarAudioGainMonitorTest.java | 80 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute( 83 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(CarAudioContext
|
D | CarAudioFocusUnitTest.java | 1683 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()
|
D | CarAudioZoneConfigUnitTest.java | 96 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);
|
D | FocusInteractionTest.java | 374 .getContextForAudioAttribute(audioAttributes), in newMockFocusEntryWithUsage()
|
D | CarAudioPlaybackCallbackTest.java | 75 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_MEDIA_AUDIO_ATTRIBUTE);
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZonesHelperLegacyTest.java | 76 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 …]
|
D | CarAudioDynamicRoutingTest.java | 72 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_MEDIA_ATTRIBUTE); 74 TEST_CAR_AUDIO_CONTEXT.getContextForAudioAttribute(TEST_NAVIGATION_ATTRIBUTE);
|
D | CarAudioZonesHelperTest.java | 156 .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/ |
D | CarVolume.java | 155 int context = mCarAudioContext.getContextForAudioAttribute( in convertAttributesToContexts() 173 contexts.add(mCarAudioContext.getContextForAudioAttribute( in convertAttributesToContextsSet() 228 @AudioContext int context = mCarAudioContext.getContextForAudioAttribute( in findActiveContextWithHighestPriority()
|
D | CarAudioContext.java | 554 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()
|
D | CarHalAudioUtils.java | 73 .getContextForAudioAttribute(audioAttributes); in audioAttributeToMetadata()
|
D | CarAudioZonesHelperLegacy.java | 235 .getContextForAudioAttribute(CAR_DEFAULT_AUDIO_ATTRIBUTE)) { in bindContextToBuilder()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | HalAudioFocusTest.java | 271 .getContextForAudioAttribute(ATTR_MEDIA); in requestAudioFocus_withSameContext_notifiesHalOfExistingRequestStatus() 273 .getContextForAudioAttribute(CoreAudioRoutingUtils.MOVIE_ATTRIBUTES); in requestAudioFocus_withSameContext_notifiesHalOfExistingRequestStatus()
|