Home
last modified time | relevance | path

Searched refs:scanner (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/rs/script_api/
DSpecification.cpp141 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 …]
DSpecification.h121 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/
DTextGraphReader.java200 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/compile/mclinker/lib/Script/
DScriptReader.cpp51 ScriptScanner scanner(&in); in readScript() local
54 scanner, in readScript()
/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java181 Scanner scanner = null; in setFontLocation() local
183 scanner = new Scanner(allFonts); in setFontLocation()
184 while (scanner.hasNext()) { in setFontLocation()
185 String name = scanner.next(); in setFontLocation()
196 if (scanner != null) { in setFontLocation()
197 scanner.close(); in setFontLocation()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DPresetKnownBandsChannelHelper.java17 package com.android.server.wifi.scanner;
DWifiScanningService.java17 package com.android.server.wifi.scanner;
DWificondChannelHelper.java17 package com.android.server.wifi.scanner;
DWifiScannerImpl.java17 package com.android.server.wifi.scanner;
DHalWifiScannerImpl.java17 package com.android.server.wifi.scanner;
DScanScheduleUtil.java17 package com.android.server.wifi.scanner;
DWificondScannerImpl.java17 package com.android.server.wifi.scanner;
33 import com.android.server.wifi.scanner.ChannelHelper.ChannelCollection;
DChannelHelper.java17 package com.android.server.wifi.scanner;
DKnownBandsChannelHelper.java17 package com.android.server.wifi.scanner;
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java328 BluetoothLeScanner scanner = mLocalBluetoothAdapter.getBluetoothLeScanner(); in startScanning() local
337 scanner.startScan(Arrays.asList(filter), settings, mScanCallback); in startScanning()
345 BluetoothLeScanner scanner = mLocalBluetoothAdapter.getBluetoothLeScanner(); in stopScanning() local
346 if (scanner != null) { in stopScanning()
347 scanner.stopScan(mScanCallback); in stopScanning()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DHalWifiScannerTest.java17 package com.android.server.wifi.scanner;
DWificondScannerTest.java17 package com.android.server.wifi.scanner;
34 import com.android.server.wifi.scanner.ChannelHelper.ChannelCollection;
DWificondPnoScannerTest.java17 package com.android.server.wifi.scanner;
40 import com.android.server.wifi.scanner.ChannelHelper.ChannelCollection;
DChannelHelperTest.java17 package com.android.server.wifi.scanner;
DBaseWifiScannerImplTest.java17 package com.android.server.wifi.scanner;
44 import com.android.server.wifi.scanner.ChannelHelper.ChannelCollection;
DScanScheduleUtilFilterTest.java17 package com.android.server.wifi.scanner;
/frameworks/base/packages/SystemUI/tests/src/com/android/
DAAAPlusPlusVerifySysuiRequiredTestPropertiesTest.java112 ClassPathScanner scanner = new ClassPathScanner(mContext.getPackageCodePath()); in getClassNamesFromClassPath() local
127 return scanner.getClassPathEntries(filter); in getClassNamesFromClassPath()
/frameworks/base/core/java/android/bluetooth/
DBluetoothAdapter.java2935 BluetoothLeScanner scanner = getBluetoothLeScanner(); in startLeScan() local
2936 if (scanner == null) { in startLeScan()
3001 scanner.startScan(filters, settings, scanCallback); in startLeScan()
3026 BluetoothLeScanner scanner = getBluetoothLeScanner(); in stopLeScan() local
3027 if (scanner == null) { in stopLeScan()
3038 scanner.stopScan(scanCallback); in stopLeScan()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java199 WifiScanner scanner = mock(WifiScanner.class); in mockWifiScanner() local
203 doNothing().when(scanner).registerScanListener(allSingleScanListenerCaptor.capture()); in mockWifiScanner()
213 }}).when(scanner).startBackgroundScan(anyObject(), anyObject(), anyObject()); in mockWifiScanner()
228 }}).when(scanner).startScan(anyObject(), anyObject(), anyObject()); in mockWifiScanner()
246 }}).when(scanner).startDisconnectedPnoScan(anyObject(), anyObject(), anyObject()); in mockWifiScanner()
252 }}).when(scanner).startConnectedPnoScan(anyObject(), anyObject(), anyObject()); in mockWifiScanner()
254 return scanner; in mockWifiScanner()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java745 Scanner scanner = null; in updateMidiFunction() local
747 scanner = new Scanner(new File(MIDI_ALSA_PATH)); in updateMidiFunction()
748 mMidiCard = scanner.nextInt(); in updateMidiFunction()
749 mMidiDevice = scanner.nextInt(); in updateMidiFunction()
754 if (scanner != null) { in updateMidiFunction()
755 scanner.close(); in updateMidiFunction()

12