Home
last modified time | relevance | path

Searched refs:getInvalidContext (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java127 mLastActiveContext = CarAudioContext.getInvalidContext(); in CarVolume()
183 setAudioContextStillActive(CarAudioContext.getInvalidContext()); in resetSelectedVolumeContext()
262 return CarAudioContext.getInvalidContext(); in getNextBestDefaultContext()
332 return CarAudioContext.getInvalidContext(); in getAudioContextStillActive()
336 return CarAudioContext.getInvalidContext(); in getAudioContextStillActive()
DCarAudioZonesHelper.java323 int contextId = CarAudioContext.getInvalidContext() + 1; in parseCarAudioContexts()
1014 CarAudioContext.getInvalidContext());
DCarAudioContext.java742 static @AudioContext int getInvalidContext() { in getInvalidContext() method in CarAudioContext
DCarAudioService.java3436 return CarAudioContext.getInvalidContext();
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioContextTest.java221 .isEqualTo(CarAudioContext.getInvalidContext()); in getContextForAudioAttributes_forAttributesWithInvalidUsage_returnsInvalidContext()
644 .that(TEST_CAR_AUDIO_CONTEXT.toString(CarAudioContext.getInvalidContext())) in toString_forNonSystemSoundsContexts_returnsStrings()
713 .doesNotContain(CarAudioContext.getInvalidContext()); in getAllContextIds_failsForInvalid()
770 allContextIds.add(CarAudioContext.getInvalidContext()); in getAllContextsInfo()
784 allContextIds.add(CarAudioContext.getInvalidContext()); in getAllContextsInfo_sameSizeAsGetAllContextsIds()
793 public void getInvalidContext() { in getInvalidContext() method in CarAudioContextTest
795 .that(CarAudioContext.getInvalidContext()).isEqualTo(INVALID_CONTEXT_ID); in getInvalidContext()
DCarVolumeTest.java266 .getAudioAttributeFromUsage(CarAudioContext.getInvalidContext())); in getSuggestedAudioContext_withUnprioritizedAttribute_returnsDefault()
537 .that(nextDefault).isEqualTo(CarAudioContext.getInvalidContext()); in getSuggestedAudioContext_withV2AndAllContextsInactive_returnsInvalidContext()
547 .that(nextDefault).isEqualTo(CarAudioContext.getInvalidContext()); in getSuggestedAudioContext_withV1AndAllContextsInactive_returnsInvalidContext()
DCarDuckingUtilsTest.java225 when(mockZone.getAddressForContext(CarAudioContext.getInvalidContext())) in generateAudioZoneMock()
DCarAudioZoneUnitTest.java471 () -> mTestAudioZone.getAddressForContext(CarAudioContext.getInvalidContext())); in getAddressForContext_throwsOnInvalidContext()
DCarAudioServiceUnitTest.java1728 .isEqualTo(CarAudioContext.getInvalidContext()); in getSuggestedAudioContextForZone_inInvalidZone()