Searched refs:isPluggedIn (Results 1 – 7 of 7) sorted by relevance
30 private boolean isPluggedIn; field in WiredHeadsetManager39 isPluggedIn = audioManager.isWiredHeadsetOn(); in WiredHeadsetManager()46 boolean isPluggedIn() { in isPluggedIn() method in WiredHeadsetManager47 return isPluggedIn; in isPluggedIn()60 private void onHeadsetPluggedInChanged(boolean isPluggedIn) { in onHeadsetPluggedInChanged() argument61 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 …]
110 return wiredHeadsetManager.isPluggedIn(); in isWiredHeadsetPluggedIn()201 if (wiredHeadsetManager.isPluggedIn()) { in calculateSupportedRoutes()
63 final boolean isPluggedIn = isWiredHeadsetPluggedIn(); in updateHeadsetStatus()66 isPluggedIn); in updateHeadsetStatus()67 onHeadsetPluggedInChanged(isPluggedIn); in updateHeadsetStatus()100 public boolean isPluggedIn() { in isPluggedIn() method in WiredHeadsetManager106 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() argument123 if (mIsPluggedIn != isPluggedIn) { in onHeadsetPluggedInChanged()[all …]
75 if (isTtySupported() && mWiredHeadsetManager.isPluggedIn()) { in updateCurrentTtyMode()
1726 if (mWiredHeadsetManager.isPluggedIn()) { in calculateSupportedRoutes()
2398 !mWiredHeadsetManager.isPluggedIn() &&2412 !mWiredHeadsetManager.isPluggedIn() &&
589 when(mockWiredHeadsetManager.isPluggedIn()).thenReturn( in initializationTestHelper()