Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java462 private boolean mHostConnected; field in UsbDeviceManager.UsbHandler
728 intent.putExtra(UsbManager.USB_HOST_CONNECTED, mHostConnected); in updateUsbStateBroadcastIfNeeded()
836 boolean prevHostConnected = mHostConnected; in handleMessage()
839 mHostConnected = status.getCurrentDataRole() == UsbPort.DATA_ROLE_HOST; in handleMessage()
860 if (mHostConnected || prevHostConnected) { in handleMessage()
1106 } else if (mHostConnected && mSinkPower && mUsbCharging) { in updateUsbNotification()
1301 dump.write("host_connected", UsbHandlerProto.HOST_CONNECTED, mHostConnected); in dump()