Home
last modified time | relevance | path

Searched defs:usbManager (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbHostManagementActivity.java82 UsbManager usbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in onCreate() local
154 UsbManager usbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in startAoapActivity() local
168 UsbManager usbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in dumpUsbDevices() local
191 UsbManager usbManager = (UsbManager)getSystemService(Context.USB_SERVICE); in handleUsbDeviceAttached() local
DUsbUtil.java32 public static LinkedList<UsbDevice> findAllPossibleAndroidDevices(UsbManager usbManager) { in findAllPossibleAndroidDevices()
78 public static boolean isDeviceConnected(UsbManager usbManager, UsbDevice device) { in isDeviceConnected()
DUsbDeviceStateController.java61 UsbManager usbManager) { in UsbDeviceStateController()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityServiceConnectionTest.java382 UsbManager usbManager = Mockito.mock(UsbManager.class); in connectUsbBrailleDisplay() local
399 UsbManager usbManager = Mockito.mock(UsbManager.class); in connectUsbBrailleDisplay_throwsForMissingUsbPermission() local
420 UsbManager usbManager = Mockito.mock(UsbManager.class); in connectUsbBrailleDisplay_callsOnConnectionFailedForEmptySerialNumber() local
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DUsbCommand.java88 UsbManager usbManager = context.getSystemService(UsbManager.class); in run() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java68 IUsbManager usbManager, PackageManager pm, Context context) { in getLaunchByDefaultSummary()
81 public static boolean hasUsbDefaults(IUsbManager usbManager, String packageName) { in hasUsbDefaults()
/frameworks/base/services/core/java/com/android/server/display/notifications/
DConnectedDisplayUsbErrorsDetector.java93 final var usbManager = mInjector.getUsbManager(); in registerListener() local
/frameworks/base/core/java/android/hardware/usb/
DParcelableUsbPort.java81 public @NonNull UsbPort getUsbPort(@NonNull UsbManager usbManager) { in getUsbPort()
DUsbPort.java281 public UsbPort(@NonNull UsbManager usbManager, @NonNull String id, int supportedModes, in UsbPort()
292 public UsbPort(@NonNull UsbManager usbManager, @NonNull String id, int supportedModes, in UsbPort()
/frameworks/base/core/java/android/app/
DForegroundServiceTypePolicy.java1269 final UsbManager usbManager = context.getSystemService(UsbManager.class); in checkPermission() local
1295 final UsbManager usbManager = context.getSystemService(UsbManager.class); in checkPermission() local
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityServiceConnection.java749 final UsbManager usbManager = (UsbManager) mContext.getSystemService(Context.USB_SERVICE); in connectUsbBrailleDisplay() local
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java140 public final UsbManager usbManager; field in MockSystemServices
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java768 final UsbManager usbManager = context.getSystemService(UsbManager.class); in containsIncompatibleChargers() local
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java1473 PortInfo(@NonNull UsbManager usbManager, @NonNull String portId, int supportedModes, in PortInfo()