Searched refs:forAoap (Results 1 – 1 of 1) sorted by relevance
266 UsbDevice device, Intent intent, boolean forAoap) { in getDeviceMatches() argument272 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() argument328 + 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()