Home
last modified time | relevance | path

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

/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceHandlerResolver.java261 UsbDevice device, Intent intent, boolean forAoap) { in getDeviceMatches() argument
267 if (forAoap && !hasAoapPermission(packageName)) { in getDeviceMatches()
274 intent.getAction(), device, forAoap); in getDeviceMatches()
285 if (aoapService != null || !forAoap) { in getDeviceMatches()
320 boolean forAoap) { in packageMatches() argument
323 + forAoap); in packageMatches()
325 String filterTagName = forAoap ? "usb-aoap-accessory" : "usb-device"; in packageMatches()
336 UsbDeviceFilter filter = UsbDeviceFilter.read(parser, forAoap); in packageMatches()
337 if (forAoap || filter.matches(device)) { in packageMatches()