Searched defs:accessory (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/libs/usb/src/com/android/future/usb/ |
D | UsbManager.java | 94 android.hardware.usb.UsbAccessory accessory = in getAccessory() local 111 android.hardware.usb.UsbAccessory accessory = mService.getCurrentAccessory(); in getAccessoryList() local 129 public ParcelFileDescriptor openAccessory(UsbAccessory accessory) { in openAccessory() 150 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() 175 public void requestPermission(UsbAccessory accessory, PendingIntent pi) { in requestPermission()
|
D | UsbAccessory.java | 31 /* package */ UsbAccessory(android.hardware.usb.UsbAccessory accessory) { in UsbAccessory() 106 UsbAccessory accessory = (UsbAccessory)obj; in equals() local
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | SourceActivity.java | 82 UsbAccessory accessory = in onCreate() local 116 private void onAccessoryAttached(UsbAccessory accessory) { in onAccessoryAttached() 123 private void onAccessoryDetached(UsbAccessory accessory) { in onAccessoryDetached() 130 private void connect(UsbAccessory accessory) { in connect() 193 private static boolean isSink(UsbAccessory accessory) { in isSink() 216 UsbAccessory accessory = intent.<UsbAccessory>getParcelableExtra( in onReceive() local
|
/frameworks/base/core/java/android/hardware/usb/ |
D | IUsbManager.aidl | 42 ParcelFileDescriptor openAccessory(in UsbAccessory accessory); in openAccessory() 52 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId); in setAccessoryPackage() 58 boolean hasAccessoryPermission(in UsbAccessory accessory); in hasAccessoryPermission() 70 void requestAccessoryPermission(in UsbAccessory accessory, String packageName, in requestAccessoryPermission() 77 void grantAccessoryPermission(in UsbAccessory accessory, int uid); in grantAccessoryPermission()
|
D | UsbManager.java | 288 UsbAccessory accessory = mService.getCurrentAccessory(); in getAccessoryList() local 306 public ParcelFileDescriptor openAccessory(UsbAccessory accessory) { in openAccessory() 342 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() 395 public void requestPermission(UsbAccessory accessory, PendingIntent pi) { in requestPermission()
|
D | UsbAccessory.java | 164 UsbAccessory accessory = (UsbAccessory)obj; in equals() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbDisconnectedReceiver.java | 43 public UsbDisconnectedReceiver(Activity activity, UsbAccessory accessory) { in UsbDisconnectedReceiver() 60 UsbAccessory accessory = in onReceive() local
|
/frameworks/base/services/java/com/android/server/usb/ |
D | UsbService.java | 154 public ParcelFileDescriptor openAccessory(UsbAccessory accessory) { in openAccessory() 169 public void setAccessoryPackage(UsbAccessory accessory, String packageName, int userId) { in setAccessoryPackage() 181 public boolean hasAccessoryPermission(UsbAccessory accessory) { in hasAccessoryPermission() 194 UsbAccessory accessory, String packageName, PendingIntent pi) { in requestAccessoryPermission() 207 public void grantAccessoryPermission(UsbAccessory accessory, int uid) { in grantAccessoryPermission()
|
D | UsbSettingsManager.java | 269 public AccessoryFilter(UsbAccessory accessory) { in AccessoryFilter() 338 UsbAccessory accessory = (UsbAccessory)obj; in equals() local 541 UsbDevice device, UsbAccessory accessory) { in packageMatchesLocked() 592 UsbAccessory accessory, Intent intent) { in getAccessoryMatchesLocked() 637 public void accessoryAttached(UsbAccessory accessory) { in accessoryAttached() 654 public void accessoryDetached(UsbAccessory accessory) { in accessoryDetached() 665 String defaultPackage, UsbDevice device, UsbAccessory accessory) { in resolveActivity() 869 public boolean hasPermission(UsbAccessory accessory) { in hasPermission() 889 public void checkPermission(UsbAccessory accessory) { in checkPermission() 945 public void requestPermission(UsbAccessory accessory, String packageName, PendingIntent pi) { in requestPermission() [all …]
|
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/ |
D | AccessoryChat.java | 103 UsbAccessory accessory = (accessories == null ? null : accessories[0]); in onResume() local 139 private void openAccessory(UsbAccessory accessory) { in openAccessory()
|