Home
last modified time | relevance | path

Searched refs:isModeChangeSupported (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/UsbManagerTests/src/android/hardware/usb/
DUsbPortTest.java62 public void testIsModeSupported(@TestParameter boolean isModeChangeSupported) in testIsModeSupported() argument
65 when(mMockUsbService.isModeChangeSupported(testPortId)).thenReturn(isModeChangeSupported); in testIsModeSupported()
74 assertThat(usbPort.isModeChangeSupported()).isEqualTo(isModeChangeSupported); in testIsModeSupported()
/frameworks/base/core/java/android/hardware/usb/
DIUsbManager.aidl191 boolean isModeChangeSupported(in String portId); in isModeChangeSupported() method
DUsbPort.java389 public boolean isModeChangeSupported() { in isModeChangeSupported() method in UsbPort
390 return mUsbManager.isModeChangeSupported(this); in isModeChangeSupported()
DUsbManager.java1483 boolean isModeChangeSupported(UsbPort port) { in isModeChangeSupported() method in UsbManager
1485 return mService.isModeChangeSupported(port.getId()); in isModeChangeSupported()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbService.java821 public boolean isModeChangeSupported(String portId) { in isModeChangeSupported() method in UsbService
827 return mPortManager != null ? mPortManager.isModeChangeSupported(portId) : false; in isModeChangeSupported()
DUsbPortManager.java324 public boolean isModeChangeSupported(String portId) { in isModeChangeSupported() method in UsbPortManager
/frameworks/base/core/api/
Dtest-current.txt1896 …@RequiresPermission(android.Manifest.permission.MANAGE_USB) public boolean isModeChangeSupported();