Home
last modified time | relevance | path

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

/frameworks/base/tests/UsbManagerTests/lib/src/com/android/server/usblib/
DUsbManagerTestLib.java61 private long getCurrentFunctions() { in getCurrentFunctions() method in UsbManagerTestLib
62 return mUsbManagerMock.getCurrentFunctions(); in getCurrentFunctions()
70 return mUsbManagerSys.getCurrentFunctions(); in getCurrentFunctionsSys()
79 assertEquals("CurrentFunctions mismatched: ", functions, getCurrentFunctions()); in testSetGetCurrentFunctions_Matched()
84 when(mMockUsbService.getCurrentFunctions()).thenReturn(functions); in testGetCurrentFunctionsMock_Matched()
86 assertEquals("CurrentFunctions mismatched: ", functions, getCurrentFunctions()); in testGetCurrentFunctionsMock_Matched()
112 getCurrentFunctions(); in testGetCurrentFunctionsEx()
114 verify(mMockUsbService).getCurrentFunctions(); in testGetCurrentFunctionsEx()
/frameworks/base/core/java/android/hardware/usb/
DIUsbManager.aidl138 long getCurrentFunctions(); in getCurrentFunctions() method
DUsbManager.java1233 public long getCurrentFunctions() { in getCurrentFunctions() method in UsbManager
1235 return mService.getCurrentFunctions(); in getCurrentFunctions()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DUsbCommand.java112 UsbManager.usbFunctionsToString(usbMgr.getCurrentFunctions())); in run()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java683 return (getCurrentFunctions() & UsbManager.usbFunctionsFromString(function)) != 0; in isFunctionEnabled()
688 public long getCurrentFunctions() { in getCurrentFunctions() method in UsbService
691 return mDeviceManager.getCurrentFunctions(); in getCurrentFunctions()
DUsbDeviceManager.java459 long functions = getCurrentFunctions(); in resetAccessoryHandshakeTimeoutHandler()
2490 public long getCurrentFunctions() { in getCurrentFunctions() method in UsbDeviceManager
/frameworks/base/core/api/
Dsystem-current.txt6791 …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