Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDebuggingManager.java68 private boolean mAdbEnabled = false; field in UsbDebuggingManager
215 if (mAdbEnabled) in handleMessage()
218 mAdbEnabled = true; in handleMessage()
226 if (!mAdbEnabled) in handleMessage()
229 mAdbEnabled = false; in handleMessage()
DUsbDeviceManager.java491 protected boolean mAdbEnabled; field in UsbDeviceManager.UsbHandler
526 mAdbEnabled = UsbHandlerLegacy.containsFunction(getSystemProperty( in UsbHandler()
628 if (enable != mAdbEnabled) { in setAdbEnabled()
629 mAdbEnabled = enable; in setAdbEnabled()
642 mDebuggingManager.setAdbEnabled(mAdbEnabled); in setAdbEnabled()
797 if (mAdbEnabled) { in getAppliedFunctions()
1020 mDebuggingManager.setAdbEnabled(mAdbEnabled); in finishBoot()
1026 mAdbEnabled ? 1 : 0); in finishBoot()
1186 if (mAdbEnabled && mConnected) { in updateAdbNotification()
1240 if (mAdbEnabled) { in getChargingFunctions()
[all …]
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java194 assertTrue(mUsbHandler.mAdbEnabled); in enableAdb()
217 assertFalse(mUsbHandler.mAdbEnabled); in disableAdb()
241 assertTrue(mUsbHandler.mAdbEnabled); in bootCompletedAdbEnabled()