/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallAudioRouteTransitionTests.java | 230 speakerphoneOn = params.initialRoute == CallAudioState.ROUTE_SPEAKER; in setupMocksForParams() 275 mParams.initialRoute, (mParams.availableRoutes | CallAudioState.ROUTE_SPEAKER), in testActiveTransition() 341 mParams.expectedAvailableRoutes | CallAudioState.ROUTE_SPEAKER, in testActiveTransition() 367 mParams.initialRoute == CallAudioState.ROUTE_SPEAKER); in testQuiescentTransition() 372 mParams.initialRoute, (mParams.availableRoutes | CallAudioState.ROUTE_SPEAKER), in testQuiescentTransition() 393 mParams.expectedAvailableRoutes | CallAudioState.ROUTE_SPEAKER, in testQuiescentTransition() 428 CallAudioState.ROUTE_SPEAKER, // initialRoute in testParametersCollection() 476 CallAudioState.ROUTE_SPEAKER, // initialRoute in testParametersCollection() 481 CallAudioState.ROUTE_SPEAKER, // expectedRoute in testParametersCollection() 488 CallAudioState.ROUTE_SPEAKER, // initialRoute in testParametersCollection() [all …]
|
D | CallAudioRouteStateMachineTest.java | 176 CallAudioState initState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testSpeakerPersistence() 177 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER); in testSpeakerPersistence() 185 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testSpeakerPersistence() 502 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER); in testInitializationWithEarpieceNoHeadsetNoBluetooth() 510 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testInitializationWithEarpieceAndHeadsetNoBluetooth() 518 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER in testInitializationWithEarpieceAndHeadsetAndBluetooth() 527 CallAudioState.ROUTE_EARPIECE | CallAudioState.ROUTE_SPEAKER in testInitializationWithEarpieceAndBluetoothNoHeadset() 535 CallAudioState expectedState = new CallAudioState(false, CallAudioState.ROUTE_SPEAKER, in testInitializationWithNoEarpieceNoHeadsetNoBluetooth() 536 CallAudioState.ROUTE_SPEAKER); in testInitializationWithNoEarpieceNoHeadsetNoBluetooth() 544 CallAudioState.ROUTE_WIRED_HEADSET | CallAudioState.ROUTE_SPEAKER); in testInitializationWithHeadsetNoBluetoothNoEarpiece() [all …]
|
D | VideoCallTests.java | 78 verifyAudioRoute(CallAudioState.ROUTE_SPEAKER); in testAutoSpeakerphoneIncomingBidirectional() 95 verifyAudioRoute(CallAudioState.ROUTE_SPEAKER); in testAutoSpeakerphoneIncomingReceiveOnly() 110 verifyAudioRoute(CallAudioState.ROUTE_SPEAKER); in testAutoSpeakerphoneOutgoingBidirectional() 126 verifyAudioRoute(CallAudioState.ROUTE_SPEAKER); in testAutoSpeakerphoneOutgoingTransmitOnly()
|
D | AnalyticsTests.java | 378 mInCallServiceFixtureX.getInCallAdapter().setAudioRoute(CallAudioState.ROUTE_SPEAKER, null); 387 audioRoutes.add(CallAudioState.ROUTE_SPEAKER);
|
D | BasicCallTests.java | 609 mInCallServiceFixtureX.mInCallAdapter.setAudioRoute(CallAudioState.ROUTE_SPEAKER, null); in testAudioManagerOperations() 1069 connection.setAudioRoute(CallAudioState.ROUTE_SPEAKER); in testDisconnectSelfManaged()
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailAudioManager.java | 91 newRoute = CallAudioState.ROUTE_SPEAKER; in onWiredHeadsetPluggedInChanged() 97 voicemailPlaybackPresenter.setSpeakerphoneOn(newRoute == CallAudioState.ROUTE_SPEAKER); in onWiredHeadsetPluggedInChanged() 106 setAudioRoute(on ? CallAudioState.ROUTE_SPEAKER : CallAudioState.ROUTE_WIRED_OR_EARPIECE); in setSpeakerphoneOn() 188 wasSpeakerOn = newRoute == CallAudioState.ROUTE_SPEAKER; in setAudioRoute() 200 int routeMask = CallAudioState.ROUTE_SPEAKER; in calculateSupportedRoutes() 235 if (this.callAudioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in setSystemAudioState()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallAudioRouteStateMachine.java | 108 public static final int ROUTE_SPEAKER = CallAudioState.ROUTE_SPEAKER; field in CallAudioRouteStateMachine 171 put(CallAudioState.ROUTE_SPEAKER, LogUtils.Events.AUDIO_ROUTE_SPEAKER); 1113 CallAudioState newState = new CallAudioState(mIsMuted, ROUTE_SPEAKER, in enter() 1275 return CallAudioState.ROUTE_SPEAKER; in getRouteCode() 1471 mStateNameToRouteCode.put(mQuiescentSpeakerRoute.getName(), ROUTE_SPEAKER); in createStates() local 1476 mStateNameToRouteCode.put(mActiveSpeakerRoute.getName(), ROUTE_SPEAKER); in createStates() local 1481 mRouteCodeToQuiescentState.put(ROUTE_SPEAKER, mQuiescentSpeakerRoute); in createStates() 1516 mStatusBarNotifier.notifySpeakerphone(initState.getRoute() == CallAudioState.ROUTE_SPEAKER); in initialize() 1724 int routeMask = CallAudioState.ROUTE_SPEAKER; in calculateSupportedRoutes() 1778 route = ROUTE_SPEAKER; in getInitialAudioState() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/speakerbuttonlogic/ |
D | SpeakerButtonInfo.java | 56 } else if ((audioState.getRoute() & CallAudioState.ROUTE_SPEAKER) in SpeakerButtonInfo() 57 == CallAudioState.ROUTE_SPEAKER) { in SpeakerButtonInfo() 73 isChecked = audioState.getRoute() == CallAudioState.ROUTE_SPEAKER; in SpeakerButtonInfo()
|
/packages/apps/Dialer/java/com/android/incallui/video/impl/ |
D | SpeakerButtonController.java | 83 } else if ((audioState.getRoute() & CallAudioState.ROUTE_SPEAKER) in setAudioState() 84 == CallAudioState.ROUTE_SPEAKER) { in setAudioState() 97 isChecked = audioState.getRoute() == CallAudioState.ROUTE_SPEAKER; in setAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/rtt/impl/ |
D | AudioSelectMenu.java | 63 initItem(speakerButton, CallAudioState.ROUTE_SPEAKER, audioState); in AudioSelectMenu() 82 speakerButton.setChecked(audioState.getRoute() == CallAudioState.ROUTE_SPEAKER); in setAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ReturnToCallActionReceiver.java | 92 if (audioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in toggleSpeaker() 100 newRoute = CallAudioState.ROUTE_SPEAKER; in toggleSpeaker()
|
D | CallButtonPresenter.java | 209 if (audioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in toggleSpeakerphone() 217 newRoute = CallAudioState.ROUTE_SPEAKER; in toggleSpeakerphone()
|
D | AudioRouteSelectorActivity.java | 56 } else if (audioRoute == CallAudioState.ROUTE_SPEAKER) { in onAudioRouteSelected()
|
D | ProximitySensor.java | 222 || CallAudioState.ROUTE_SPEAKER == audioRoute in updateProximitySensorMode()
|
D | NotificationBroadcastReceiver.java | 104 TelecomAdapter.getInstance().setAudioRoute(CallAudioState.ROUTE_SPEAKER); in onReceive()
|
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/ |
D | CarModeInCallUI.java | 166 CarModeInCallServiceImpl.sInstance.setAudioRoute(CallAudioState.ROUTE_SPEAKER); in onCreate() 186 case CallAudioState.ROUTE_SPEAKER: in updateCallAudioState()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | UiCallManager.java | 203 } else if ((supportedAudioRouteMask & CallAudioState.ROUTE_SPEAKER) != 0) { in getSupportedAudioRoute() 204 audioRouteList.add(CallAudioState.ROUTE_SPEAKER); in getSupportedAudioRoute()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/telecom/ |
D | UiCallManagerTest.java | 275 true, CallAudioState.ROUTE_BLUETOOTH, CallAudioState.ROUTE_SPEAKER); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker() 281 .isEqualTo(CallAudioState.ROUTE_SPEAKER); in testGetSupportedAudioRoute_supportedAudioRouteMaskIsRouteSpeaker()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | SelfManagedCallListAdapter.java | 92 connection.setAudioRoute(CallAudioState.ROUTE_SPEAKER); 180 case CallAudioState.ROUTE_SPEAKER: in getView()
|
D | TestInCallUI.java | 199 TestInCallServiceImpl.sInstance.setAudioRoute(CallAudioState.ROUTE_SPEAKER); in onCreate() 260 case CallAudioState.ROUTE_SPEAKER: in updateCallAudioState()
|
/packages/apps/Dialer/java/com/android/incallui/audiomode/ |
D | AudioModeProvider.java | 33 | CallAudioState.ROUTE_SPEAKER;
|
/packages/apps/Dialer/java/com/android/incallui/audioroute/ |
D | AudioRouteSelectorDialogFragment.java | 127 CallAudioState.ROUTE_SPEAKER, in onCreateView()
|
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragmentTest.java | 233 mAudioRouteList.add(CallAudioState.ROUTE_SPEAKER); in addFragment()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragment.java | 74 .put(CallAudioState.ROUTE_SPEAKER, new AudioRouteInfo(
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
D | DialerCall.java | 1603 if (audioState.getRoute() == CallAudioState.ROUTE_SPEAKER) { in onUpgradedToVideo() 1607 TelecomAdapter.getInstance().setAudioRoute(CallAudioState.ROUTE_SPEAKER); in onUpgradedToVideo()
|