Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDebuggingSecondaryUserActivity.java64 boolean connected = intent.getBooleanExtra(UsbManager.USB_CONNECTED, false); in onReceive()
DUsbDebuggingActivity.java130 boolean connected = intent.getBooleanExtra(UsbManager.USB_CONNECTED, false); in onReceive()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java194 assertTrue(mUsbHandler.mBroadcastedIntent.getBooleanExtra(UsbManager.USB_CONNECTED, false)); in enableAdb()
289 assertTrue(mUsbHandler.mBroadcastedIntent.getBooleanExtra(UsbManager.USB_CONNECTED, false)); in configuredSendsBroadcast()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java169 public static final String USB_CONNECTED = "connected"; field in UsbManager
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java24 import static android.hardware.usb.UsbManager.USB_CONNECTED;
952 final boolean usbConnected = intent.getBooleanExtra(USB_CONNECTED, false); in handleUsbAction()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java21 import static android.hardware.usb.UsbManager.USB_CONNECTED;
646 intent.putExtra(USB_CONNECTED, connected); in sendUsbBroadcast()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java708 intent.putExtra(UsbManager.USB_CONNECTED, mConnected); in updateUsbStateBroadcastIfNeeded()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java5107 final boolean state = intent.getBooleanExtra(UsbManager.USB_CONNECTED, false); in registerUsbStateReceiver()
5117 UsbManager.USB_CONNECTED, false); in registerUsbStateReceiver()
/frameworks/base/api/
Dsystem-current.txt3284 field public static final String USB_CONNECTED = "connected";
/frameworks/base/non-updatable-api/
Dsystem-current.txt3284 field public static final String USB_CONNECTED = "connected";