/packages/modules/adb/client/ |
D | usb_linux.cpp | 96 for (usb_handle* usb : g_usb_handles) { in is_known_device() 97 if (usb->path == dev_name) { in is_known_device() 99 usb->mark = true; in is_known_device() 109 for (usb_handle* usb : g_usb_handles) { in kick_disconnected_devices() 110 if (!usb->mark) { in kick_disconnected_devices() 111 usb_kick(usb); in kick_disconnected_devices() 113 usb->mark = false; in kick_disconnected_devices() 561 for (usb_handle* usb: g_usb_handles) { in register_device() 562 if (usb->path == dev_name) { in register_device() 569 std::unique_ptr<usb_handle> usb(new usb_handle); in register_device() local [all …]
|
D | transport_usb.cpp | 100 static int remote_read(apacket* p, usb_handle* usb) { in remote_read() argument 101 int n = UsbReadMessage(usb, &p->msg); in remote_read() 111 n = UsbReadPayload(usb, p); in remote_read() 129 static int remote_read(apacket* p, usb_handle* usb) { in remote_read() argument 130 if (usb_read(usb, &p->msg, sizeof(amessage)) != sizeof(amessage)) { in remote_read() 142 if (usb_read(usb, &p->payload[0], p->payload.size()) != in remote_read()
|
D | usb_osx.cpp | 80 for (auto& usb : g_usb_handles) { in IsKnownDevice() local 81 if (usb->devpath == devpath) { in IsKnownDevice() 83 usb->mark = true; in IsKnownDevice() 94 for (auto& usb : g_usb_handles) { in KickDisconnectedDevices() local 95 if (!usb->mark) { in KickDisconnectedDevices() 96 usb_kick_locked(usb.get()); in KickDisconnectedDevices() 98 usb->mark = false; in KickDisconnectedDevices()
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbBackend.java | 16 package com.android.settings.connecteddevice.usb; 18 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; 19 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_NONE; 20 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE; 21 import static android.service.usb.UsbPortStatusProto.DATA_ROLE_HOST; 22 import static android.service.usb.UsbPortStatusProto.DATA_ROLE_NONE; 23 import static android.service.usb.UsbPortStatusProto.POWER_ROLE_SINK; 28 import android.hardware.usb.UsbManager; 29 import android.hardware.usb.UsbPort; 30 import android.hardware.usb.UsbPortStatus;
|
D | ConnectedUsbDeviceUpdater.java | 16 package com.android.settings.connecteddevice.usb; 18 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; 19 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 20 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE; 25 import android.hardware.usb.UsbManager;
|
D | UsbDetailsPowerRoleController.java | 17 package com.android.settings.connecteddevice.usb; 19 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_NONE; 20 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 21 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;
|
D | UsbDetailsDataRoleController.java | 17 package com.android.settings.connecteddevice.usb; 19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; 20 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_HOST; 21 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_NONE;
|
D | UsbDetailsTranscodeMtpController.java | 17 package com.android.settings.connecteddevice.usb; 19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; 22 import android.hardware.usb.UsbManager;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbConnectionBroadcastReceiverTest.java | 16 package com.android.settings.connecteddevice.usb; 18 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_DETECTION_NOT_SUPPORTED; 19 import static android.hardware.usb.UsbPortStatus.CONTAMINANT_PROTECTION_NONE; 20 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; 21 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_NONE; 22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_NONE; 23 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 31 import android.hardware.usb.UsbManager; 32 import android.hardware.usb.UsbPortStatus;
|
D | UsbBackendTest.java | 17 package com.android.settings.connecteddevice.usb; 19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; 20 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_HOST; 21 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE; 34 import android.hardware.usb.UsbManager; 35 import android.hardware.usb.UsbPort; 36 import android.hardware.usb.UsbPortStatus;
|
D | ConnectedUsbDeviceUpdaterTest.java | 16 package com.android.settings.connecteddevice.usb; 18 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; 19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_NONE; 20 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_NONE; 21 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 34 import android.hardware.usb.UsbManager;
|
D | UsbDetailsPowerRoleControllerTest.java | 17 package com.android.settings.connecteddevice.usb; 19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; 20 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_HOST; 21 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_NONE; 22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_NONE; 23 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 24 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE; 34 import android.hardware.usb.UsbManager;
|
D | UsbDetailsDataRoleControllerTest.java | 17 package com.android.settings.connecteddevice.usb; 19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; 20 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_HOST; 21 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_NONE; 22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_NONE; 23 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 32 import android.hardware.usb.UsbManager;
|
D | UsbDetailsHeaderControllerTest.java | 17 package com.android.settings.connecteddevice.usb; 19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_DEVICE; 20 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 28 import android.hardware.usb.UsbManager; 29 import android.hardware.usb.UsbPort;
|
D | UsbDetailsTranscodeMtpControllerTest.java | 17 package com.android.settings.connecteddevice.usb; 19 import static android.hardware.usb.UsbPortStatus.DATA_ROLE_NONE; 20 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_NONE; 27 import android.hardware.usb.UsbManager;
|
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
D | SpeedMeasurementController.java | 16 package com.google.android.car.usb.aoap.host; 19 import android.hardware.usb.UsbConstants; 20 import android.hardware.usb.UsbDevice; 21 import android.hardware.usb.UsbDeviceConnection; 22 import android.hardware.usb.UsbEndpoint; 23 import android.hardware.usb.UsbInterface; 24 import android.hardware.usb.UsbRequest;
|
D | UsbAoapHostActivity.java | 16 package com.google.android.car.usb.aoap.host; 23 import android.hardware.usb.UsbDevice; 24 import android.hardware.usb.UsbDeviceConnection; 25 import android.hardware.usb.UsbManager;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpClient.java | 25 import android.hardware.usb.UsbConstants; 26 import android.hardware.usb.UsbDevice; 27 import android.hardware.usb.UsbDeviceConnection; 28 import android.hardware.usb.UsbInterface; 29 import android.hardware.usb.UsbManager;
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbUtil.java | 16 package android.car.usb.handler; 20 import android.hardware.usb.UsbDevice; 21 import android.hardware.usb.UsbDeviceConnection; 22 import android.hardware.usb.UsbManager;
|
D | BootUsbScanner.java | 1 package android.car.usb.handler; 6 import android.hardware.usb.UsbDevice; 7 import android.hardware.usb.UsbManager;
|
D | AoapInterface.java | 14 package android.car.usb.handler; 17 import android.hardware.usb.UsbConstants; 18 import android.hardware.usb.UsbDevice; 19 import android.hardware.usb.UsbDeviceConnection;
|
D | BootUsbService.java | 16 package android.car.usb.handler; 24 import android.hardware.usb.UsbDevice; 25 import android.hardware.usb.UsbManager;
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | MtpClient.java | 25 import android.hardware.usb.UsbConstants; 26 import android.hardware.usb.UsbDevice; 27 import android.hardware.usb.UsbDeviceConnection; 28 import android.hardware.usb.UsbInterface; 29 import android.hardware.usb.UsbManager;
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpManager.java | 21 import android.hardware.usb.UsbConstants; 22 import android.hardware.usb.UsbDevice; 23 import android.hardware.usb.UsbDeviceConnection; 24 import android.hardware.usb.UsbInterface; 25 import android.hardware.usb.UsbManager;
|
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | TestUtil.java | 19 import android.hardware.usb.UsbDevice; 20 import android.hardware.usb.UsbDeviceConnection; 21 import android.hardware.usb.UsbManager;
|