/frameworks/rs/script_api/ |
D | Specification.cpp | 141 bool isReturn, Scanner* scanner) { in parseParameterDefinition() argument 165 scanner->error(lineNumber) << "Should have a name.\n"; in parseParameterDefinition() 171 scanner->error(lineNumber) << "Should have a name.\n"; in parseParameterDefinition() 188 scanner->error(lineNumber) << "Incorrect range " << testOption << "\n"; in parseParameterDefinition() 196 scanner->error(lineNumber) << "Incorrect testOption " << testOption << "\n"; in parseParameterDefinition() 203 scanner->error(lineNumber) << "Incorrect testOption " << testOption << "\n"; in parseParameterDefinition() 210 scanner->error(lineNumber) << "Unrecognized testOption " << testOption << "\n"; in parseParameterDefinition() 222 scanner->error(lineNumber) << "range(,) is only supported for floating point\n"; in parseParameterDefinition() 227 bool VersionInfo::scan(Scanner* scanner, unsigned int maxApiLevel) { in scan() argument 228 if (scanner->findOptionalTag("version:")) { in scan() [all …]
|
D | Specification.h | 121 Scanner* scanner); 142 bool scan(Scanner* scanner, unsigned int maxApiLevel); 180 void scanDocumentationTags(Scanner* scanner, bool firstOccurence, const SpecFile* specFile); 243 void addParameter(ParameterEntry* entry, Scanner* scanner); 244 void addReturn(ParameterEntry* entry, Scanner* scanner); 255 void scanVersionInfo(Scanner* scanner); 278 …static void scanConstantSpecification(Scanner* scanner, SpecFile* specFile, unsigned int maxApiLev… 325 … static void scanTypeSpecification(Scanner* scanner, SpecFile* specFile, unsigned int maxApiLevel); 403 void createPermutations(Function* function, Scanner* scanner); 429 void parseTest(Scanner* scanner); [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | TextGraphReader.java | 200 PatternScanner scanner = new PatternScanner(graphString, ignorePattern); in parseString() local 209 while (!scanner.atEnd()) { in parseString() 212 String curCommand = scanner.eat(commandPattern, "<command>"); in parseString() 234 String packageName = scanner.eat(packageNamePattern, "<package-name>"); in parseString() 241 String libraryName = scanner.eat(libraryNamePattern, "<library-name>"); in parseString() 248 curClassName = scanner.eat(wordPattern, "<class-name>"); in parseString() 253 String curFilterName = scanner.eat(wordPattern, "<filter-name>"); in parseString() 260 scanner.eat(curlyOpenPattern, "{"); in parseString() 265 KeyValueMap params = readKeyValueAssignments(scanner, curlyClosePattern); in parseString() 272 scanner.eat(curlyClosePattern, "}"); in parseString() [all …]
|
/frameworks/base/core/java/com/android/internal/content/om/ |
D | OverlayConfigParser.java | 195 @NonNull OverlayPartition partition, @Nullable OverlayScanner scanner) { in getConfigurations() argument 200 if (scanner != null) { in getConfigurations() 201 scanner.scanDir(partition.getOverlayFolder()); in getConfigurations() 210 readConfigFile(configFile, scanner, parsingContext); in getConfigurations() 214 private static void readConfigFile(@NonNull File configFile, @Nullable OverlayScanner scanner, in readConfigFile() argument 234 parseMerge(configFile, parser, scanner, parsingContext); in readConfigFile() 237 parseOverlay(configFile, parser, scanner, parsingContext); in readConfigFile() 261 @Nullable OverlayScanner scanner, @NonNull ParsingContext parsingContext) { in parseMerge() argument 307 readConfigFile(includedConfigFile, scanner, parsingContext); in parseMerge() 333 @Nullable OverlayScanner scanner, @NonNull ParsingContext parsingContext) { in parseOverlay() argument [all …]
|
D | OverlayConfig.java | 124 final OverlayScanner scanner = (scannerFactory == null) ? null : scannerFactory.get(); in OverlayConfig() local 126 OverlayConfigParser.getConfigurations(partition, scanner); in OverlayConfig() 139 partitionOverlayInfos = new ArrayList<>(scanner.getAllParsedInfos()); in OverlayConfig()
|
/frameworks/compile/mclinker/lib/Script/ |
D | ScriptReader.cpp | 51 ScriptScanner scanner(&in); in readScript() local 54 scanner, in readScript()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | FontFamily_Delegate.java | 175 Scanner scanner = null; in setFontLocation() local 177 scanner = new Scanner(allFonts); in setFontLocation() 178 while (scanner.hasNext()) { in setFontLocation() 179 String name = scanner.next(); in setFontLocation() 190 if (scanner != null) { in setFontLocation() 191 scanner.close(); in setFontLocation()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/ |
D | OverlayConfigIterationRule.java | 118 OverlayScanner scanner = Mockito.spy(new OverlayScanner()); in apply() 121 doReturn(overlay.getValue()).when(scanner) in apply() 124 return scanner; in apply()
|
D | OverlayConfigTest.java | 593 final OverlayScanner scanner = new OverlayScanner(); in testGetOverlayInfo() local 594 scanner.scanDir(partitionDir); in testGetOverlayInfo() 596 final OverlayScanner.ParsedOverlayInfo info = scanner.getParsedInfo(TEST_APK_PACKAGE_NAME); in testGetOverlayInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
D | KeyboardUI.java | 332 BluetoothLeScanner scanner = mLocalBluetoothAdapter.getBluetoothLeScanner(); in startScanning() local 341 scanner.startScan(Arrays.asList(filter), settings, mScanCallback); in startScanning() 349 BluetoothLeScanner scanner = mLocalBluetoothAdapter.getBluetoothLeScanner(); in stopScanning() local 350 if (scanner != null) { in stopScanning() 351 scanner.stopScan(mScanCallback); in stopScanning()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/ |
D | AAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java | 111 ClassPathScanner scanner = new ClassPathScanner(mContext.getPackageCodePath()); in getClassNamesFromClassPath() local 127 return scanner.getClassPathEntries(filter); in getClassNamesFromClassPath()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 830 Scanner scanner = null; in updateMidiFunction() local 832 scanner = new Scanner(new File(MIDI_ALSA_PATH)); in updateMidiFunction() 833 mMidiCard = scanner.nextInt(); in updateMidiFunction() 834 mMidiDevice = scanner.nextInt(); in updateMidiFunction() 839 if (scanner != null) { in updateMidiFunction() 840 scanner.close(); in updateMidiFunction()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothAdapter.java | 3759 BluetoothLeScanner scanner = getBluetoothLeScanner(); in startLeScan() local 3760 if (scanner == null) { in startLeScan() 3826 scanner.startScan(filters, settings, scanCallback); in startLeScan() 3853 BluetoothLeScanner scanner = getBluetoothLeScanner(); in stopLeScan() local 3854 if (scanner == null) { in stopLeScan() 3865 scanner.stopScan(scanCallback); in stopLeScan()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 1439 BluetoothLeScanner scanner = mBluetoothAdapter.getBluetoothLeScanner(); 1440 if (scanner == null) { 1443 scanner.startScan(
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 2877 Scanner scanner = new Scanner(fIs, "UTF-8"); in addSubtitleSource() 2878 String contents = scanner.useDelimiter("\\A").next(); in addSubtitleSource() 2882 scanner.close(); in addSubtitleSource()
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 1305 // TODO: Consider also tracking per-scanner-id. 1812 …* frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.j…
|