Searched refs:isPluggedIn (Results 1 – 8 of 8) 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 …]
78 if (isTtySupported() && mWiredHeadsetManager.isPluggedIn()) { in updateCurrentTtyMode()
1754 if (mWiredHeadsetManager.isPluggedIn()) { in calculateSupportedRoutes()
2539 !mWiredHeadsetManager.isPluggedIn() &&2553 !mWiredHeadsetManager.isPluggedIn() &&
258 public boolean isPluggedIn() { in isPluggedIn() method in CarBatteryController
670 when(mockWiredHeadsetManager.isPluggedIn()).thenReturn( in initializationTestHelper()