Searched refs:mUsbDevice (Results 1 – 4 of 4) sorted by relevance
61 private UsbDevice mUsbDevice = null; field in UsbHostManagementActivity80 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 …]
45 private UsbDevice mUsbDevice; field in UsbAoapHostTestActivity63 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()
98 private UsbDevice mUsbDevice; field in UsbProfileGroupSettingsManagerTest176 mUsbProfileGroupSettingsManager.deviceAttached(mUsbDevice); in testDeviceAttached_foregroundActivityWithManifestField_resolveActivityNotCalled()185 mUsbProfileGroupSettingsManager.deviceAttached(mUsbDevice); in testDeviceAttached_noForegroundActivity_resolveActivityCalled()197 mUsbProfileGroupSettingsManager.deviceAttached(mUsbDevice); in testDeviceAttached_noForegroundActivityWithUsbPermission_resolveActivityCalled()206 mUsbProfileGroupSettingsManager.deviceAttached(mUsbDevice); in testDeviceAttached_restricUsbOverlayPropertyDisabled_resolveActivityCalled()215 mUsbProfileGroupSettingsManager.deviceAttached(mUsbDevice); in testDeviceAttached_flagFalse_resolveActivityCalled()226 mUsbProfileGroupSettingsManager.deviceAttached(mUsbDevice); in testDeviceAttached_setupNotCompleteAndNoBlockingActivities_resolveActivityNotCalled()
66 private UsbDevice mUsbDevice; field in UsbDirectMidiDevice200 mUsbDevice = usbDevice; in UsbDirectMidiDevice()217 if (mUsbDevice.getConfigurationCount() > 0) { in UsbDirectMidiDevice()222 UsbConfiguration usbConfiguration = mUsbDevice.getConfiguration(0); in UsbDirectMidiDevice()235 if (mUsbDevice.getConfigurationCount() > 1) { in UsbDirectMidiDevice()237 + mUsbDevice.getConfigurationCount()); in UsbDirectMidiDevice()299 UsbDeviceConnection connection = manager.openDevice(mUsbDevice); in calculateDefaultMidiProtocol()354 UsbDeviceConnection connection = manager.openDevice(mUsbDevice); in openLocked()684 String manufacturer = mUsbDevice.getManufacturerName(); in register()685 String product = mUsbDevice.getProductName(); in register()[all …]