Lines Matching refs:callAudioState
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
947 if ((callAudioState.getSupportedRouteMask() & CallAudioState.ROUTE_BLUETOOTH) in addSpeakerAction()
952 if (callAudioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in addSpeakerAction()
954 } else if ((callAudioState.getRoute() & CallAudioState.ROUTE_WIRED_OR_EARPIECE) != 0) { in addSpeakerAction()