Home
last modified time | relevance | path

Searched defs:accessory (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/libs/usb/src/com/android/future/usb/
DUsbManager.java94 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()
DUsbAccessory.java31 /* 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/
DSourceActivity.java82 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/tests/UsbHostExternalManagmentTest/AoapTestDevice/src/com/android/hardware/usb/aoapdevicetest/
DUsbAoapDeviceTestActivity.java65 UsbAccessory accessory = in onCreate() local
94 private void onAccessoryAttached(UsbAccessory accessory) { in onAccessoryAttached()
117 private void onAccessoryDetached(UsbAccessory accessory) { in onAccessoryDetached()
162 UsbAccessory accessory = intent.getParcelableExtra(UsbManager.EXTRA_ACCESSORY); in onReceive() local
/frameworks/base/core/java/android/hardware/usb/
DIUsbManager.aidl48 ParcelFileDescriptor openAccessory(in UsbAccessory accessory); in openAccessory()
58 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId); in setAccessoryPackage()
64 …void addAccessoryPackagesToPreferenceDenied(in UsbAccessory accessory, in String[] packageNames, i… in addAccessoryPackagesToPreferenceDenied()
78 …void setAccessoryPersistentPermission(in UsbAccessory accessory, int uid, in UserHandle user, bool… in setAccessoryPersistentPermission()
91 boolean hasAccessoryPermission(in UsbAccessory accessory); in hasAccessoryPermission()
97 boolean hasAccessoryPermissionWithIdentity(in UsbAccessory accessory, int pid, int uid); in hasAccessoryPermissionWithIdentity()
109 void requestAccessoryPermission(in UsbAccessory accessory, String packageName, in requestAccessoryPermission()
118 void grantAccessoryPermission(in UsbAccessory accessory, int uid); in grantAccessoryPermission()
DAccessoryFilter.java54 public AccessoryFilter(UsbAccessory accessory) { in AccessoryFilter()
115 public boolean contains(AccessoryFilter accessory) { in contains()
136 UsbAccessory accessory = (UsbAccessory)obj; in equals() local
DUsbAccessory.java191 UsbAccessory accessory = (UsbAccessory)obj; in equals() local
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java139 void removeAccessoryPermissions(@NonNull UsbAccessory accessory) { in removeAccessoryPermissions()
180 void grantAccessoryPermission(@NonNull UsbAccessory accessory, int uid) { in grantAccessoryPermission()
249 boolean hasPermission(@NonNull UsbAccessory accessory, int pid, int uid) { in hasPermission()
300 void setAccessoryPersistentPermission(@NonNull UsbAccessory accessory, int uid, in setAccessoryPersistentPermission()
525 @Nullable UsbAccessory accessory, in requestPermissionDialog()
579 UsbAccessory accessory = mAccessoryPermissionMap.keyAt(mappingsIdx); in dump() local
682 public void checkPermission(UsbAccessory accessory, int pid, int uid) { in checkPermission()
690 @Nullable UsbAccessory accessory, in requestPermissionDialog()
751 public void requestPermission(UsbAccessory accessory, String packageName, PendingIntent pi, in requestPermission()
DUsbHandlerManager.java57 void showUsbAccessoryUriActivity(@NonNull UsbAccessory accessory, in showUsbAccessoryUriActivity()
86 @Nullable UsbAccessory accessory) { in confirmUsbHandler()
DUsbService.java359 public ParcelFileDescriptor openAccessory(UsbAccessory accessory) { in openAccessory()
409 public void setAccessoryPackage(UsbAccessory accessory, String packageName, int userId) { in setAccessoryPackage()
444 public void addAccessoryPackagesToPreferenceDenied(UsbAccessory accessory, in addAccessoryPackagesToPreferenceDenied()
480 public void removeAccessoryPackagesFromPreferenceDenied(UsbAccessory accessory, in removeAccessoryPackagesFromPreferenceDenied()
515 public void setAccessoryPersistentPermission(UsbAccessory accessory, int uid, in setAccessoryPersistentPermission()
556 public boolean hasAccessoryPermission(UsbAccessory accessory) { in hasAccessoryPermission()
571 public boolean hasAccessoryPermissionWithIdentity(UsbAccessory accessory, int pid, int uid) { in hasAccessoryPermissionWithIdentity()
594 UsbAccessory accessory, String packageName, PendingIntent pi) { in requestAccessoryPermission()
623 public void grantAccessoryPermission(UsbAccessory accessory, int uid) { in grantAccessoryPermission()
DUsbProfileGroupSettingsManager.java715 UsbAccessory accessory) { in packageMatchesLocked()
898 UsbAccessory accessory, Intent intent) { in getAccessoryMatchesLocked()
1056 public void accessoryAttached(UsbAccessory accessory) { in accessoryAttached()
1086 @Nullable UsbAccessory accessory) { in resolveActivity()
1392 void addAccessoryPackagesToDenied(@NonNull UsbAccessory accessory, in addAccessoryPackagesToDenied()
1467 void removeAccessoryPackagesFromDenied(@NonNull UsbAccessory accessory, in removeAccessoryPackagesFromDenied()
1504 void setAccessoryPackage(@NonNull UsbAccessory accessory, @Nullable String packageName, in setAccessoryPackage()
DUsbPermissionManager.java107 void usbAccessoryRemoved(@NonNull UsbAccessory accessory) { in usbAccessoryRemoved()
DUsbUserSettingsManager.java140 boolean canBeDefault(@NonNull UsbAccessory accessory, String packageName) { in canBeDefault()
DUsbDeviceManager.java264 String accessory = event.get("ACCESSORY"); in onUEvent() local
2474 public ParcelFileDescriptor openAccessory(UsbAccessory accessory, in openAccessory()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDisconnectedReceiver.java43 public UsbDisconnectedReceiver(Activity activity, UsbAccessory accessory) { in UsbDisconnectedReceiver()
60 UsbAccessory accessory = in onReceive() local
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
DAccessoryChat.java105 UsbAccessory accessory = (accessories == null ? null : accessories[0]); in onResume() local
141 private void openAccessory(UsbAccessory accessory) { in openAccessory()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java53 long id, @NonNull UsbAccessory accessory) { in writeAccessory()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...