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