Searched refs:callAudioState (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailAudioManager.java | 39 private CallAudioState callAudioState; field in VoicemailAudioManager 49 callAudioState = getInitialAudioState(); in VoicemailAudioManager() 51 "VoicemailAudioManager.VoicemailAudioManager", "Initial audioState = " + callAudioState); in VoicemailAudioManager() 85 int newRoute = callAudioState.getRoute(); // start out with existing route in onWiredHeadsetPluggedInChanged() 176 int newRoute = selectWiredOrEarpiece(route, callAudioState.getSupportedRouteMask()); in setAudioRoute() 179 if ((callAudioState.getSupportedRouteMask() | newRoute) == 0) { in setAudioRoute() 190 new CallAudioState(false /* muted */, newRoute, callAudioState.getSupportedRouteMask())); in setAudioRoute() 226 private void setSystemAudioState(CallAudioState callAudioState) { in setSystemAudioState() argument 227 CallAudioState oldAudioState = this.callAudioState; in setSystemAudioState() 228 this.callAudioState = callAudioState; in setSystemAudioState() [all …]
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/ |
D | UiCallManagerTest.java | 128 CallAudioState callAudioState = new CallAudioState(true, in testGetMuted_isMuted() local 130 when(mMockInCallService.getCallAudioState()).thenReturn(callAudioState); in testGetMuted_isMuted() 162 CallAudioState callAudioState = new CallAudioState( in testGetSupportedAudioRouteMask() local 164 when(mMockInCallService.getCallAudioState()).thenReturn(callAudioState); in testGetSupportedAudioRouteMask() 188 CallAudioState callAudioState = new CallAudioState( in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll() local 190 when(mMockInCallService.getCallAudioState()).thenReturn(callAudioState); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll() 202 CallAudioState callAudioState = new CallAudioState( in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker() local 204 when(mMockInCallService.getCallAudioState()).thenReturn(callAudioState); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker() 245 CallAudioState callAudioState = new CallAudioState( in scoStateToAudioRoute() local 247 when(mMockInCallService.getCallAudioState()).thenReturn(callAudioState); in scoStateToAudioRoute()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | StatusBarNotifier.java | 279 final CallAudioState callAudioState = AudioModeProvider.getInstance().getAudioState(); in buildAndSendNotification() local 324 callAudioState)) { in buildAndSendNotification() 401 createIncomingCallNotification(call, callState, callAudioState, builder); in buildAndSendNotification() 440 DialerCall call, int state, CallAudioState callAudioState, Notification.Builder builder) { in createIncomingCallNotification() argument 448 addSpeakerAction(builder, callAudioState); in createIncomingCallNotification() 488 CallAudioState callAudioState) { in checkForChangeAndSaveData() argument 513 || !Objects.equals(savedCallAudioState, callAudioState); in checkForChangeAndSaveData() 526 !Objects.equals(savedCallAudioState, callAudioState), in checkForChangeAndSaveData() 545 savedCallAudioState = callAudioState; in checkForChangeAndSaveData() 946 private void addSpeakerAction(Notification.Builder builder, CallAudioState callAudioState) { in addSpeakerAction() argument [all …]
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ |
D | TestDialerApplication.java | 70 CallAudioState callAudioState = mock(CallAudioState.class); in setupInCallServiceImpl() local 71 when(callAudioState.getRoute()).thenReturn(CallAudioState.ROUTE_BLUETOOTH); in setupInCallServiceImpl() 72 when(inCallService.getCallAudioState()).thenReturn(callAudioState); in setupInCallServiceImpl()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | InCallServiceImpl.java | 82 void onCallAudioStateChanged(CallAudioState callAudioState); in onCallAudioStateChanged() argument
|