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