Home
last modified time | relevance | path

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

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java637 setEnabledFunctions(mCurrentFunctions, true); in setAdbEnabled()
682 setEnabledFunctions(UsbManager.FUNCTION_NONE, false); in notifyAccessoryModeExit()
786 setEnabledFunctions(mScreenUnlockedFunctions, false); in setScreenUnlockedFunctions()
826 setEnabledFunctions(UsbManager.FUNCTION_NONE, false); in handleMessage()
908 setEnabledFunctions(functions, false); in handleMessage()
934 setEnabledFunctions(UsbManager.FUNCTION_NONE, false); in handleMessage()
947 setEnabledFunctions(UsbManager.FUNCTION_NONE, true); in handleMessage()
988 setEnabledFunctions(UsbManager.FUNCTION_NONE, false); in handleMessage()
1014 setEnabledFunctions(UsbManager.FUNCTION_NONE, false); in finishBoot()
1332 protected abstract void setEnabledFunctions(long functions, boolean forceRestart); in setEnabledFunctions() method in UsbDeviceManager.UsbHandler
[all …]
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java101 protected void setEnabledFunctions(long functions, boolean force) { in setEnabledFunctions() method in UsbHandlerTest.MockUsbHandler