Searched refs:isAnyContextActive (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeTest.java | 587 assertThat(mCarVolume.isAnyContextActive(activeContexts, activePlaybackAttributes, in isAnyContextActive_withOneConfigurationAndMatchedContext_returnsTrue() 598 assertThat(mCarVolume.isAnyContextActive(activeContexts, activePlaybackAttributes, in isAnyContextActive_withOneConfigurationAndMismatchedContext_returnsFalse() 612 assertThat(mCarVolume.isAnyContextActive(activeContexts, activePlaybackAttributes, in isAnyContextActive_withOneConfigurationAndMultipleContexts_returnsTrue() 626 assertThat(mCarVolume.isAnyContextActive(activeContexts, activePlaybackAttributes, in isAnyContextActive_withOneConfigurationAndMultipleContexts_returnsFalse() 638 assertThat(mCarVolume.isAnyContextActive(activeContexts, Collections.EMPTY_LIST, in isAnyContextActive_withactiveHalAudioAttributesAndMatchedContext_returnsTrue() 651 assertThat(mCarVolume.isAnyContextActive(activeContexts, Collections.EMPTY_LIST, in isAnyContextActive_withactiveHalAudioAttributesAndMismatchedContext_returnsFalse() 660 assertThat(mCarVolume.isAnyContextActive(activeContexts, Collections.EMPTY_LIST, in isAnyContextActive_withActiveCallAndMatchedContext_returnsTrue() 669 assertThat(mCarVolume.isAnyContextActive(activeContexts, Collections.EMPTY_LIST, in isAnyContextActive_withActiveCallAndMismatchedContext_returnsFalse() 678 () -> mCarVolume.isAnyContextActive(activeContexts, in isAnyContextActive_withNullContexts_fails() 687 () -> mCarVolume.isAnyContextActive(activeContexts, in isAnyContextActive_withEmptyContexts_fails() [all …]
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolume.java | 272 boolean isAnyContextActive(@AudioContext int [] contexts, in isAnyContextActive() method in CarVolume
|
D | CarAudioService.java | 2566 return carVolume.isAnyContextActive(getContextsForVolumeGroupId(zoneId, groupId),
|