OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mUsbDevice
(Results
1 - 9
of
9
) sorted by null
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DeviceManagerFuncTest.java
28
private ITestDevice
mUsbDevice
;
33
mUsbDevice
= getDevice();
47
ITestDevice tcpDevice = deviceManager.reconnectDeviceToTcp(
mUsbDevice
);
56
mUsbDevice
.waitForDeviceAvailable(30 * 1000);
81
ITestDevice tcpDevice = deviceManager.reconnectDeviceToTcp(
mUsbDevice
);
91
mUsbDevice
.waitForDeviceAvailable();
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
MtpManagerTest.java
42
UsbDevice
mUsbDevice
;
48
mUsbDevice
= TestUtil.setupMtpDevice(getInstrumentation(), mUsbManager, mManager);
53
mManager.closeDevice(
mUsbDevice
.getDeviceId());
69
mManager.readEvent(
mUsbDevice
.getDeviceId(), signal);
108
MtpEvent event = mManager.readEvent(
mUsbDevice
.getDeviceId(), signal);
120
if (record.deviceId ==
mUsbDevice
.getDeviceId()) {
129
mUsbDevice
.getDeviceId(), storageId, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN)) {
130
if (mManager.getObjectInfo(
mUsbDevice
.getDeviceId(), handle)
132
mManager.deleteDocument(
mUsbDevice
.getDeviceId(), handle);
144
mUsbDevice
.getDeviceId()
[
all
...]
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
UsbHostManagementActivity.java
61
private UsbDevice
mUsbDevice
= null;
80
mUsbDevice
= intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE);
83
if (
mUsbDevice
== null) {
86
mUsbDevice
= devices.getLast();
89
updateDevice(
mUsbDevice
);
99
if (
mUsbDevice
== null) {
102
startAoap(
mUsbDevice
);
108
if (
mUsbDevice
== null) {
111
startAoapActivity(
mUsbDevice
);
117
if (
mUsbDevice
== null)
[
all
...]
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/
FastbootTransportUsb.c
30
STATIC USB_DEVICE_PROTOCOL *
mUsbDevice
;
38
STATIC USB_DEVICE_PROTOCOL *
mUsbDevice
;
179
return
mUsbDevice
->Start (&mDeviceDescriptor, (VOID **) &Responses, DataReceived, DataSent);
210
return
mUsbDevice
->Send(1, BufferSize, Buffer);
266
Status = gBS->LocateProtocol (&gUsbDeviceProtocolGuid, NULL, (VOID **) &
mUsbDevice
);
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
UsbAoapHostTestActivity.java
45
private UsbDevice
mUsbDevice
;
63
mUsbDevice
= intent.getParcelableExtra(UsbManager.EXTRA_DEVICE);
64
mUsbConnection = mUsbManager.openDevice(
mUsbDevice
);
65
mReaderThread = new ReaderThread(
mUsbDevice
, mUsbConnection);
159
if (isDevicesMatching(
mUsbDevice
, device)) {
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/
UsbAoapHostActivity.java
47
private UsbDevice
mUsbDevice
;
68
mUsbDevice
= intent.getParcelableExtra(UsbManager.EXTRA_DEVICE);
69
mUsbConnection = mUsbManager.openDevice(
mUsbDevice
);
79
new SpeedMeasurementController(this,
mUsbDevice
, mUsbConnection, this);
149
if (isDevicesMatching(
mUsbDevice
, device)) {
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/mtp/
MtpHostTestActivity.java
111
private UsbDevice
mUsbDevice
;
234
mUsbDevice
= device;
238
if (!mUsbManager.hasPermission(
mUsbDevice
)) {
250
mUsbDevice
,
255
assertTrue(mUsbManager.hasPermission(
mUsbDevice
));
258
final UsbDeviceConnection connection = mUsbManager.openDevice(
mUsbDevice
);
262
for (int i = 0; i <
mUsbDevice
.getInterfaceCount(); i++) {
263
connection.claimInterface(
mUsbDevice
.getInterface(i), true);
264
connection.releaseInterface(
mUsbDevice
.getInterface(i));
266
mMtpDevice = new MtpDevice(
mUsbDevice
);
[
all
...]
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Isp1761UsbDxe/
Isp1761UsbDxe.c
602
USB_DEVICE_PROTOCOL
mUsbDevice
= {
633
&
mUsbDevice
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Usb/DwUsbDxe/
DwUsbDxe.c
757
USB_DEVICE_PROTOCOL
mUsbDevice
= {
789
&
mUsbDevice
Completed in 464 milliseconds