Searched refs:mCarVolumeCallbackHandler (Results 1 – 2 of 2) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioServiceUnitTest.java | 475 private CarVolumeCallbackHandler mCarVolumeCallbackHandler; field in CarAudioServiceUnitTest 1585 reset(mCarVolumeCallbackHandler); in setGroupVolume_verifyNoCallbacks() 1590 verify(mCarVolumeCallbackHandler, never()).onGroupMuteChange(anyInt(), anyInt(), anyInt()); in setGroupVolume_verifyNoCallbacks() 1598 reset(mCarVolumeCallbackHandler); in setGroupVolume_afterSetVolumeGroupMute() 1603 verify(mCarVolumeCallbackHandler).onGroupMuteChange(PRIMARY_AUDIO_ZONE, in setGroupVolume_afterSetVolumeGroupMute() 1616 reset(mCarVolumeCallbackHandler); in setGroupVolume_withVolumeGroupMutingDisabled_doesnotThrowException() 1622 verify(mCarVolumeCallbackHandler).onVolumeGroupChange(eq(PRIMARY_AUDIO_ZONE), in setGroupVolume_withVolumeGroupMutingDisabled_doesnotThrowException() 1624 verify(mCarVolumeCallbackHandler, never()).onGroupMuteChange(anyInt(), anyInt(), anyInt()); in setGroupVolume_withVolumeGroupMutingDisabled_doesnotThrowException() 2613 verify(mCarVolumeCallbackHandler).registerCallback(mVolumeCallbackBinder, uid, true); in registerVolumeCallback_verifyCallbackHandler() 2623 verify(mCarVolumeCallbackHandler).unregisterCallback(mVolumeCallbackBinder, uid); in unregisterVolumeCallback_verifyCallbackHandler() [all …]
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioService.java | 348 private final CarVolumeCallbackHandler mCarVolumeCallbackHandler; field in CarAudioService 431 mCarVolumeCallbackHandler = carVolumeCallbackHandler; in CarAudioService() 548 mCarVolumeCallbackHandler.release(); in release() 1038 mCarVolumeCallbackHandler.onVolumeGroupChange(zoneId, groupId, callbackFlags); in callbackGroupVolumeChange() 1042 mCarVolumeCallbackHandler.onGroupMuteChange(zoneId, groupId, flags); in callbackGroupMuteChanged() 1053 mCarVolumeCallbackHandler.onMasterMuteChanged(zoneId, flags); in callbackMasterMuteChange() 2990 mCarVolumeCallbackHandler.checkAndRepriotize(uid, false); 3005 mCarVolumeCallbackHandler.checkAndRepriotize(uid, true); 3014 mCarVolumeCallbackHandler.registerCallback(binder, uid, 3023 mCarVolumeCallbackHandler.unregisterCallback(binder, Binder.getCallingUid()); [all …]
|