OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:usbInterface
(Results
1 - 9
of
9
) sorted by null
/frameworks/base/services/usb/java/com/android/server/usb/
MtpNotificationManager.java
30
import android.hardware.usb.
UsbInterface
;
138
final
UsbInterface
usbInterface
= device.getInterface(i);
139
if ((
usbInterface
.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE &&
140
usbInterface
.getInterfaceSubclass() == SUBCLASS_STILL_IMAGE_CAPTURE &&
141
usbInterface
.getInterfaceProtocol() == PROTOCOL_PTP)) {
144
if (
usbInterface
.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC &&
145
usbInterface
.getInterfaceSubclass() == SUBCLASS_MTP &&
146
usbInterface
.getInterfaceProtocol() == PROTOCOL_MTP &&
147
"MTP".equals(
usbInterface
.getName()))
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
UsbMicrophoneTester.java
24
import android.hardware.usb.
UsbInterface
;
44
UsbInterface
usbInterface
= usbDevice.getInterface(i);
46
sb.append(" Class: " +
usbInterface
.getInterfaceClass() + "\n");
59
UsbInterface
usbInterface
= usbDevice.getInterface(i);
60
if (
usbInterface
.getInterfaceClass() == UsbConstants.USB_CLASS_AUDIO) {
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
UsbUtil.java
20
import android.hardware.usb.
UsbInterface
;
52
UsbInterface
usbInterface
= device.getInterface(i);
53
String interfaceName =
usbInterface
.getName();
54
int interfaceClass =
usbInterface
.getInterfaceClass();
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
MtpManager.java
24
import android.hardware.usb.
UsbInterface
;
298
final
UsbInterface
usbInterface
= device.getInterface(i);
299
if ((
usbInterface
.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE &&
300
usbInterface
.getInterfaceSubclass() == SUBCLASS_STILL_IMAGE_CAPTURE &&
301
usbInterface
.getInterfaceProtocol() == PROTOCOL_PICTURE_TRANSFER)) {
304
if (
usbInterface
.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC &&
305
usbInterface
.getInterfaceSubclass() == SUBCLASS_MTP &&
306
usbInterface
.getInterfaceProtocol() == PROTOCOL_MTP &&
307
"MTP".equals(
usbInterface
.getName()))
[
all
...]
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
UsbUtil.java
23
import android.hardware.usb.
UsbInterface
;
49
UsbInterface
usbInterface
= device.getInterface(i);
50
String interfaceName =
usbInterface
.getName();
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
MtpHostTestActivity.java
32
import android.hardware.usb.
UsbInterface
;
353
final
UsbInterface
usbInterface
= device.getInterface(i);
354
if ((
usbInterface
.getInterfaceClass() == UsbConstants.USB_CLASS_STILL_IMAGE &&
355
usbInterface
.getInterfaceSubclass() == SUBCLASS_STILL_IMAGE_CAPTURE &&
356
usbInterface
.getInterfaceProtocol() == PROTOCOL_PICTURE_TRANSFER)) {
359
if (
usbInterface
.getInterfaceClass() == UsbConstants.USB_SUBCLASS_VENDOR_SPEC &&
360
usbInterface
.getInterfaceSubclass() == SUBCLASS_MTP &&
361
usbInterface
.getInterfaceProtocol() == PROTOCOL_MTP &&
362
"MTP".equals(
usbInterface
.getName()))
[
all
...]
/system/core/adb/client/
usb_osx.cpp
130
io_service_t
usbInterface
;
144
while ((
usbInterface
= IOIteratorNext(iterator))) {
146
kr = IOCreatePlugInInterfaceForService(
usbInterface
,
150
IOObjectRelease(
usbInterface
);
/system/core/fastboot/
usb_osx.cpp
89
io_service_t
usbInterface
;
112
while ((
usbInterface
= IOIteratorNext(iterator))) {
115
usbInterface
,
121
// No longer need the
usbInterface
object now that we have the plugin
122
(void) IOObjectRelease(
usbInterface
);
/external/libusb/libusb/os/
darwin_usb.c
[
all
...]
Completed in 442 milliseconds