Home
last modified time | relevance | path

Searched refs:getUsbHalVersion (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/hal/port/
DUsbPortHal.java147 public @UsbHalVersion int getUsbHalVersion() throws RemoteException; in getUsbHalVersion() method
DUsbPortHidl.java91 public @UsbHalVersion int getUsbHalVersion() throws RemoteException { in getUsbHalVersion() method in UsbPortHidl
339 halVersion = getUsbHalVersion(); in enableUsbData()
DUsbPortAidl.java129 public @UsbHalVersion int getUsbHalVersion() throws RemoteException { in getUsbHalVersion() method in UsbPortAidl
/frameworks/base/core/java/android/hardware/usb/
DIUsbManager.aidl173 int getUsbHalVersion(); in getUsbHalVersion() method
DUsbManager.java1339 public @UsbHalVersion int getUsbHalVersion() { in getUsbHalVersion() method in UsbManager
1341 return mService.getUsbHalVersion(); in getUsbHalVersion()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DUsbCommand.java151 int version = usbMgr.getUsbHalVersion(); in run()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java498 public int getUsbHalVersion() { in getUsbHalVersion() method in UsbPortManager
501 return mUsbPortHal.getUsbHalVersion(); in getUsbHalVersion()
955 dump.write("usb_hal_version", UsbPortManagerProto.HAL_VERSION, getUsbHalVersion()); in dump()
DUsbService.java888 public int getUsbHalVersion() { in getUsbHalVersion() method in UsbService
894 return mPortManager.getUsbHalVersion(); in getUsbHalVersion()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java8135 when(getServices().usbManager.getUsbHalVersion()).thenReturn(UsbManager.USB_HAL_V1_3); in testSetUsbDataSignalingEnabled_asDeviceOwner()
8147 when(getServices().usbManager.getUsbHalVersion()).thenReturn(UsbManager.USB_HAL_V1_3); in testIsUsbDataSignalingEnabledForUser()
8162 when(getServices().usbManager.getUsbHalVersion()).thenReturn(UsbManager.USB_HAL_V1_3); in testSetUsbDataSignalingEnabled_asPoOfOrgOwnedDevice()
8173 when(getServices().usbManager.getUsbHalVersion()).thenReturn(UsbManager.USB_HAL_V1_3); in testCanUsbDataSignalingBeDisabled_canBeDisabled()
8181 when(getServices().usbManager.getUsbHalVersion()).thenReturn(UsbManager.USB_HAL_V1_2); in testCanUsbDataSignalingBeDisabled_cannotBeDisabled()
8192 when(getServices().usbManager.getUsbHalVersion()).thenReturn(UsbManager.USB_HAL_V1_3); in testSetUsbDataSignalingEnabled_noChangeToActiveAdmin()
/frameworks/base/core/api/
Dmodule-lib-current.txt148 … method @RequiresPermission(android.Manifest.permission.MANAGE_USB) public int getUsbHalVersion();
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java22417 && context.getSystemService(UsbManager.class).getUsbHalVersion()
/frameworks/base/services/
Dart-wear-profile24251 PLcom/android/server/usb/UsbPortManager;->getUsbHalVersion()I
24279 PLcom/android/server/usb/UsbService;->getUsbHalVersion()I