Searched refs:getInvalidContext (Results 1 – 9 of 9) sorted by relevance
127 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()
323 int contextId = CarAudioContext.getInvalidContext() + 1; in parseCarAudioContexts()1014 CarAudioContext.getInvalidContext());
742 static @AudioContext int getInvalidContext() { in getInvalidContext() method in CarAudioContext
3436 return CarAudioContext.getInvalidContext();
221 .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 CarAudioContextTest795 .that(CarAudioContext.getInvalidContext()).isEqualTo(INVALID_CONTEXT_ID); in getInvalidContext()
266 .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()
225 when(mockZone.getAddressForContext(CarAudioContext.getInvalidContext())) in generateAudioZoneMock()
471 () -> mTestAudioZone.getAddressForContext(CarAudioContext.getInvalidContext())); in getAddressForContext_throwsOnInvalidContext()
1728 .isEqualTo(CarAudioContext.getInvalidContext()); in getSuggestedAudioContextForZone_inInvalidZone()