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 | 434 .isAnyContextActive(activeContexts, activePlaybackContexts, CALL_STATE_IDLE, in isAnyContextActive_withOneConfigurationAndMatchedContext_returnsTrue() 444 .isAnyContextActive(activeContexts, activePlaybackContexts, CALL_STATE_IDLE, in isAnyContextActive_withOneConfigurationAndMismatchedContext_returnsFalse() 454 .isAnyContextActive(activeContexts, activePlaybackContexts, CALL_STATE_IDLE, in isAnyContextActive_withOneConfigurationAndMultipleContexts_returnsTrue() 464 .isAnyContextActive(activeContexts, activePlaybackContexts, CALL_STATE_IDLE, in isAnyContextActive_withOneConfigurationAndMultipleContexts_returnsFalse() 475 .isAnyContextActive(activeContexts, activePlaybackContexts, CALL_STATE_IDLE, in isAnyContextActive_withActiveHalUsagesAndMatchedContext_returnsTrue() 486 .isAnyContextActive(activeContexts, activePlaybackContexts, CALL_STATE_IDLE, in isAnyContextActive_withActiveHalUsagesAndMismatchedContext_returnsFalse() 497 .isAnyContextActive(activeContexts, activePlaybackContexts, CALL_STATE_OFFHOOK, in isAnyContextActive_withActiveCallAndMatchedContext_returnsTrue() 508 .isAnyContextActive(activeContexts, activePlaybackContexts, CALL_STATE_OFFHOOK, in isAnyContextActive_withActiveCallAndMismatchedContext_returnsFalse() 519 () -> CarVolume.isAnyContextActive(activeContexts, in isAnyContextActive_withNullContexts_fails() 530 () -> CarVolume.isAnyContextActive(activeContexts, in isAnyContextActive_withEmptyContexts_fails() [all …]
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolume.java | 187 public static boolean isAnyContextActive(@NonNull @AudioContext int [] contexts, in isAnyContextActive() method in CarVolume
|
D | CarAudioService.java | 943 return CarVolume.isAnyContextActive(getContextsForVolumeGroupId(zoneId, groupId), in isPlaybackOnVolumeGroupActive()
|