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.java266 UsbDevice device, Intent intent, boolean forAoap) { in getDeviceMatches() argument
272 if (forAoap && !hasAoapPermission(packageName)) { in getDeviceMatches()
279 intent.getAction(), device, forAoap); in getDeviceMatches()
290 if (aoapService != null || !forAoap) { in getDeviceMatches()
325 boolean forAoap) { in packageMatches() argument
328 + forAoap); in packageMatches()
330 String filterTagName = forAoap ? "usb-aoap-accessory" : "usb-device"; in packageMatches()
341 UsbDeviceFilter filter = UsbDeviceFilter.read(parser, forAoap); in packageMatches()
342 if (forAoap || filter.matches(device)) { in packageMatches()