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.java221 UsbDevice device, Intent intent, boolean forAoap) { in getDeviceMatches() argument
227 if (forAoap && !hasAoapPermission(packageName)) { in getDeviceMatches()
234 intent.getAction(), device, forAoap); in getDeviceMatches()
245 if (aoapService != null || !forAoap) { in getDeviceMatches()
280 boolean forAoap) { in packageMatches() argument
283 + forAoap); in packageMatches()
285 String filterTagName = forAoap ? "usb-aoap-accessory" : "usb-device"; in packageMatches()
296 UsbDeviceFilter filter = UsbDeviceFilter.read(parser, forAoap); in packageMatches()
297 if (forAoap || filter.matches(device)) { in packageMatches()