Searched refs:callAudioState (Results 1 – 6 of 6) 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/robotests/src/com/android/car/dialer/telecom/ |
D | UiCallManagerTest.java | 175 CallAudioState callAudioState = new CallAudioState(true, in testGetMuted_isMuted() local 177 when(mMockInCallService.getCallAudioState()).thenReturn(callAudioState); in testGetMuted_isMuted() 213 CallAudioState callAudioState = new CallAudioState( in testGetSupportedAudioRouteMask() local 215 when(mMockInCallService.getCallAudioState()).thenReturn(callAudioState); in testGetSupportedAudioRouteMask() 259 CallAudioState callAudioState = new CallAudioState( in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll() local 261 when(mMockInCallService.getCallAudioState()).thenReturn(callAudioState); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteAll() 274 CallAudioState callAudioState = new CallAudioState( in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker() local 276 when(mMockInCallService.getCallAudioState()).thenReturn(callAudioState); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker()
|
/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 | 58 CallAudioState callAudioState = mock(CallAudioState.class); in setupInCallServiceImpl() local 59 when(callAudioState.getRoute()).thenReturn(CallAudioState.ROUTE_BLUETOOTH); in setupInCallServiceImpl() 60 when(inCallService.getCallAudioState()).thenReturn(callAudioState); in setupInCallServiceImpl()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | InCallViewModel.java | 272 public void onCallAudioStateChanged(CallAudioState callAudioState) { in onCallAudioStateChanged() argument 273 L.i(TAG, "onCallAudioStateChanged %s %s", callAudioState, this); in onCallAudioStateChanged() 274 mCallAudioStateLiveData.setValue(callAudioState); in onCallAudioStateChanged()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | InCallServiceImpl.java | 68 void onCallAudioStateChanged(CallAudioState callAudioState); in onCallAudioStateChanged() argument
|