Home
last modified time | relevance | path

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

/frameworks/base/tests/UsbManagerTests/lib/src/com/android/server/usblib/
DUsbManagerTestLib.java92 private long getCurrentFunctions() { in getCurrentFunctions() method in UsbManagerTestLib
93 return mUsbManagerMock.getCurrentFunctions(); in getCurrentFunctions()
101 return mUsbManagerSys.getCurrentFunctions(); in getCurrentFunctionsSys()
138 assertEquals("CurrentFunctions mismatched: ", functions, getCurrentFunctions()); in testSetGetCurrentFunctions_Matched()
143 when(mMockUsbService.getCurrentFunctions()).thenReturn(functions); in testGetCurrentFunctionsMock_Matched()
145 assertEquals("CurrentFunctions mismatched: ", functions, getCurrentFunctions()); in testGetCurrentFunctionsMock_Matched()
171 getCurrentFunctions(); in testGetCurrentFunctionsEx()
173 verify(mMockUsbService).getCurrentFunctions(); in testGetCurrentFunctionsEx()
/frameworks/base/core/java/android/hardware/usb/
DIUsbManager.aidl141 long getCurrentFunctions(); in getCurrentFunctions() method
DUsbManager.java1527 public long getCurrentFunctions() { in getCurrentFunctions() method in UsbManager
1529 return mService.getCurrentFunctions(); in getCurrentFunctions()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DUsbCommand.java117 UsbManager.usbFunctionsToString(usbMgr.getCurrentFunctions())); in run()
/frameworks/base/services/profcollect/src/com/android/server/profcollect/
DProfcollectForwardingService.java182 sAdbActive = ((usbManager.getCurrentFunctions() & UsbManager.FUNCTION_ADB) == 1); in onBootPhase()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java711 return (getCurrentFunctions() & UsbManager.usbFunctionsFromString(function)) != 0; in isFunctionEnabled()
721 public long getCurrentFunctions() { in getCurrentFunctions() method in UsbService
724 return mDeviceManager.getCurrentFunctions(); in getCurrentFunctions()
DUsbDeviceManager.java521 long functions = getCurrentFunctions(); in resetAccessoryHandshakeTimeoutHandler()
2600 public long getCurrentFunctions() { in getCurrentFunctions() method in UsbDeviceManager
/frameworks/base/core/api/
Dsystem-current.txt7165 …thod @RequiresPermission(android.Manifest.permission.MANAGE_USB) public long getCurrentFunctions();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt22243 Landroid/hardware/usb/IUsbManager$Stub$Proxy;->getCurrentFunctions()J
22303 Landroid/hardware/usb/IUsbManager;->getCurrentFunctions()J
22418 Landroid/hardware/usb/UsbManager;->getCurrentFunctions()J