Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tests/UsbManagerTests/lib/src/com/android/server/usblib/
H A 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()
/aosp14/frameworks/base/core/java/android/hardware/usb/
H A DIUsbManager.aidl132 long getCurrentFunctions(); in getCurrentFunctions() method
H A DUsbManager.java1228 public long getCurrentFunctions() { in getCurrentFunctions() method in UsbManager
1230 return mService.getCurrentFunctions(); in getCurrentFunctions()
/aosp14/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DUsbCommand.java112 UsbManager.usbFunctionsToString(usbMgr.getCurrentFunctions())); in run()
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbService.java643 return (getCurrentFunctions() & UsbManager.usbFunctionsFromString(function)) != 0; in isFunctionEnabled()
647 public long getCurrentFunctions() { in getCurrentFunctions() method in UsbService
650 return mDeviceManager.getCurrentFunctions(); in getCurrentFunctions()
H A DUsbDeviceManager.java452 long functions = getCurrentFunctions(); in resetAccessoryHandshakeTimeoutHandler()
2364 public long getCurrentFunctions() { in getCurrentFunctions() method in UsbDeviceManager
/aosp14/frameworks/base/core/api/
H A Dsystem-current.txt6044 …thod @RequiresPermission(android.Manifest.permission.MANAGE_USB) public long getCurrentFunctions();
/aosp14/frameworks/base/boot/hiddenapi/
H A 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