Home
last modified time | relevance | path

Searched refs:isPluggedIn (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/app/voicemail/
DWiredHeadsetManager.java30 private boolean isPluggedIn; field in WiredHeadsetManager
39 isPluggedIn = audioManager.isWiredHeadsetOn(); in WiredHeadsetManager()
46 boolean isPluggedIn() { in isPluggedIn() method in WiredHeadsetManager
47 return isPluggedIn; in isPluggedIn()
60 private void onHeadsetPluggedInChanged(boolean isPluggedIn) { in onHeadsetPluggedInChanged() argument
61 if (this.isPluggedIn != isPluggedIn) { in onHeadsetPluggedInChanged()
64 "onHeadsetPluggedInChanged, mIsPluggedIn: " + this.isPluggedIn + " -> " + isPluggedIn); in onHeadsetPluggedInChanged()
65 boolean oldIsPluggedIn = this.isPluggedIn; in onHeadsetPluggedInChanged()
66 this.isPluggedIn = isPluggedIn; in onHeadsetPluggedInChanged()
68 listener.onWiredHeadsetPluggedInChanged(oldIsPluggedIn, this.isPluggedIn); in onHeadsetPluggedInChanged()
[all …]
DVoicemailAudioManager.java110 return wiredHeadsetManager.isPluggedIn(); in isWiredHeadsetPluggedIn()
201 if (wiredHeadsetManager.isPluggedIn()) { in calculateSupportedRoutes()
/packages/services/Telecomm/src/com/android/server/telecom/
DWiredHeadsetManager.java63 final boolean isPluggedIn = isWiredHeadsetPluggedIn(); in updateHeadsetStatus()
66 isPluggedIn); in updateHeadsetStatus()
67 onHeadsetPluggedInChanged(isPluggedIn); in updateHeadsetStatus()
100 public boolean isPluggedIn() { in isPluggedIn() method in WiredHeadsetManager
106 boolean isPluggedIn = false; in isWiredHeadsetPluggedIn()
113 isPluggedIn = true; in isWiredHeadsetPluggedIn()
115 if (isPluggedIn) { in isWiredHeadsetPluggedIn()
119 return isPluggedIn; in isWiredHeadsetPluggedIn()
122 private void onHeadsetPluggedInChanged(boolean isPluggedIn) { in onHeadsetPluggedInChanged() argument
123 if (mIsPluggedIn != isPluggedIn) { in onHeadsetPluggedInChanged()
[all …]
DTtyManager.java75 if (isTtySupported() && mWiredHeadsetManager.isPluggedIn()) { in updateCurrentTtyMode()
DCallAudioRouteStateMachine.java1726 if (mWiredHeadsetManager.isPluggedIn()) { in calculateSupportedRoutes()
DCallsManager.java2398 !mWiredHeadsetManager.isPluggedIn() &&
2412 !mWiredHeadsetManager.isPluggedIn() &&
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java589 when(mockWiredHeadsetManager.isPluggedIn()).thenReturn( in initializationTestHelper()