Searched refs:mAccessory (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbResolverActivity.java | 46 private UsbAccessory mAccessory; field in UsbResolverActivity 77 mAccessory = (UsbAccessory)target.getParcelableExtra(UsbManager.EXTRA_ACCESSORY); in onCreate() 78 if (mAccessory == null) { in onCreate() 83 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mAccessory); in onCreate() 113 } else if (mAccessory != null) { in onTargetSelected() 115 service.grantAccessoryPermission(mAccessory, uid); in onTargetSelected() 118 service.setAccessoryPackage(mAccessory, ri.activityInfo.packageName, userId); in onTargetSelected() 120 service.setAccessoryPackage(mAccessory, null, userId); in onTargetSelected()
|
D | UsbConfirmActivity.java | 53 private UsbAccessory mAccessory; field in UsbConfirmActivity 64 mAccessory = (UsbAccessory)intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY); in onCreate() 75 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mAccessory); in onCreate() 135 } else if (mAccessory != null) { in onClick() 137 intent.putExtra(UsbManager.EXTRA_ACCESSORY, mAccessory); in onClick() 140 service.grantAccessoryPermission(mAccessory, uid); in onClick() 144 mAccessory, mResolveInfo.activityInfo.packageName, userId); in onClick() 146 service.setAccessoryPackage(mAccessory, null, userId); in onClick()
|
D | UsbPermissionActivity.java | 54 private UsbAccessory mAccessory; field in UsbPermissionActivity 67 mAccessory = (UsbAccessory)intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY); in onCreate() 88 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mAccessory); in onCreate() 135 if (mAccessory != null) { in onDestroy() 136 intent.putExtra(UsbManager.EXTRA_ACCESSORY, mAccessory); in onDestroy() 138 service.grantAccessoryPermission(mAccessory, mUid); in onDestroy() 141 service.setAccessoryPackage(mAccessory, mPackageName, userId); in onDestroy()
|
D | UsbDisconnectedReceiver.java | 33 private UsbAccessory mAccessory; field in UsbDisconnectedReceiver 45 mAccessory = accessory; in UsbDisconnectedReceiver() 62 if (accessory != null && accessory.equals(mAccessory)) { in onReceive()
|
D | UsbAccessoryUriActivity.java | 45 private UsbAccessory mAccessory; field in UsbAccessoryUriActivity 53 mAccessory = (UsbAccessory)intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY); in onCreate() 71 ap.mTitle = mAccessory.getDescription(); in onCreate()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | SourceActivity.java | 53 private UsbAccessory mAccessory; field in SourceActivity 125 if (mConnected && accessory.equals(mAccessory)) { in onAccessoryDetached() 162 mAccessory = accessory; in connect() 169 mLogger.log("Disconnecting from accessory: " + mAccessory); in disconnect() 174 mAccessory = null; in disconnect()
|
/frameworks/base/docs/html/guide/topics/connectivity/usb/ |
D | accessory.jd | 404 UsbAccessory mAccessory; 413 mFileDescriptor = mUsbManager.openAccessory(mAccessory);
|