Home
last modified time | relevance | path

Searched refs:mUsbDevice (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/
DUsbHostManagementActivity.java61 private UsbDevice mUsbDevice = null; field in UsbHostManagementActivity
80 mUsbDevice = intent.<UsbDevice>getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
83 if (mUsbDevice == null) { in onCreate()
86 mUsbDevice = devices.getLast(); in onCreate()
89 updateDevice(mUsbDevice); in onCreate()
99 if (mUsbDevice == null) { in onCreate()
102 startAoap(mUsbDevice); in onCreate()
108 if (mUsbDevice == null) { in onCreate()
111 startAoapActivity(mUsbDevice); in onCreate()
117 if (mUsbDevice == null) { in onCreate()
[all …]
/frameworks/base/tests/UsbHostExternalManagmentTest/AoapTestHost/src/com/android/hardware/usb/aoaphosttest/
DUsbAoapHostTestActivity.java45 private UsbDevice mUsbDevice; field in UsbAoapHostTestActivity
63 mUsbDevice = intent.getParcelableExtra(UsbManager.EXTRA_DEVICE); in onCreate()
64 mUsbConnection = mUsbManager.openDevice(mUsbDevice); in onCreate()
65 mReaderThread = new ReaderThread(mUsbDevice, mUsbConnection); in onCreate()
159 if (isDevicesMatching(mUsbDevice, device)) { in onReceive()