Home
last modified time | relevance | path

Searched refs:isPluggedIn (Results 1 – 8 of 8) 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.java78 if (isTtySupported() && mWiredHeadsetManager.isPluggedIn()) { in updateCurrentTtyMode()
DCallAudioRouteStateMachine.java1754 if (mWiredHeadsetManager.isPluggedIn()) { in calculateSupportedRoutes()
DCallsManager.java2539 !mWiredHeadsetManager.isPluggedIn() &&
2553 !mWiredHeadsetManager.isPluggedIn() &&
/packages/apps/Car/SystemUI/src/com/android/systemui/car/bluetooth/
DCarBatteryController.java258 public boolean isPluggedIn() { in isPluggedIn() method in CarBatteryController
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteStateMachineTest.java670 when(mockWiredHeadsetManager.isPluggedIn()).thenReturn( in initializationTestHelper()