Home
last modified time | relevance | path

Searched refs:getContextForAttributes (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioContextTest.java180 .that(carAudioContextUsingCoreRouting.getContextForAttributes( in getContextForAudioAttribute_usingCoreRouting()
184 .that(carAudioContextUsingCoreRouting.getContextForAttributes( in getContextForAudioAttribute_usingCoreRouting()
213 .that(TEST_CAR_AUDIO_CONTEXT.getContextForAttributes(attributes)) in getContextForAudioAttributes_forAttributeWithValidUsage_returnsContext()
220 .that(TEST_CAR_AUDIO_CONTEXT.getContextForAttributes(TEST_INVALID_ATTRIBUTE)) in getContextForAudioAttributes_forAttributesWithInvalidUsage_returnsInvalidContext()
DCarVolumeTest.java183 .getContextForAttributes(TEST_ASSISTANT_ATTRIBUTE)); in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java220 int currentContext = mCarAudioContext.getContextForAttributes( in findActiveContextWithHighestPriority()
286 .getContextForAttributes(activeAttributes.valueAt(index))); in isAnyContextActive()
DCarAudioFocus.java264 int requestedContext = mCarAudioContext.getContextForAttributes(afi.getAttributes()); in evaluateFocusRequestLocked()
269 int delayedRequestedContext = mCarAudioContext.getContextForAttributes( in evaluateFocusRequestLocked()
DCarAudioContext.java553 @AudioContext int getContextForAttributes(AudioAttributes attributes) { in getContextForAttributes() method in CarAudioContext
DCarVolumeGroup.java987 return mContextToAddress.contains(mCarAudioContext.getContextForAttributes( in hasAudioAttributes()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java636 .containsExactly(TEST_CAR_AUDIO_CONTEXT.getContextForAttributes(CarAudioContext in loadAudioZones_parsesContexts()
686 .containsExactly(TEST_CAR_AUDIO_CONTEXT.getContextForAttributes(CarAudioContext in loadAudioZones_versionTwoParsesContexts()