/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/ |
D | RootProcessScanner.java | 106 Scanner scanner = null; in isKernelProcess() local 108 scanner = new Scanner(statm); in isKernelProcess() 112 if (scanner.nextInt() != 0) { in isKernelProcess() 117 if (scanner.hasNext()) { in isKernelProcess() 124 if (scanner != null) { in isKernelProcess() 125 scanner.close(); in isKernelProcess() 149 Scanner scanner = null; in isRootProcess() local 151 scanner = new Scanner(status); in isRootProcess() 153 findToken(scanner, "Name:"); in isRootProcess() 154 String name = scanner.next(); in isRootProcess() [all …]
|
D | GLESSurfaceView.java | 79 Scanner scanner = new Scanner(extensions); in onSurfaceCreated() local 80 scanner.useDelimiter(" "); in onSurfaceCreated() 81 while (scanner.hasNext()) { in onSurfaceCreated() 82 String ext = scanner.next(); in onSurfaceCreated() 91 scanner.close(); in onSurfaceCreated()
|
D | DeviceInfoInstrument.java | 342 Scanner scanner = new Scanner(df.getInputStream()); in getPartitions() local 344 while (scanner.hasNextLine()) { in getPartitions() 345 builder.append(scanner.nextLine()).append(';'); in getPartitions() 349 scanner.close(); in getPartitions() 409 Scanner scanner = null; in getProperty() local 412 scanner = new Scanner(process.getInputStream()); in getProperty() 413 line = scanner.nextLine(); in getProperty() 415 if (scanner != null) { in getProperty() 416 scanner.close(); in getProperty()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BuildTest.java | 111 Scanner scanner = null; in getProperty() local 114 scanner = new Scanner(process.getInputStream()); in getProperty() 115 line = scanner.nextLine(); in getProperty() 117 if (scanner != null) { in getProperty() 118 scanner.close(); in getProperty() 131 Scanner scanner = null; in assertProperty() local 133 scanner = new Scanner(process.getInputStream()); in assertProperty() 134 String line = scanner.nextLine(); in assertProperty() 136 assertFalse(scanner.hasNext()); in assertProperty() 138 if (scanner != null) { in assertProperty() [all …]
|
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
D | TestListParser.java | 38 Scanner scanner = null; in parse() local 40 scanner = new Scanner(input); in parse() 41 while(scanner.hasNextLine()) { in parse() 42 String line = scanner.nextLine(); in parse() 63 if (scanner != null) { in parse() 64 scanner.close(); in parse()
|
/cts/tools/cts-native-scanner/tests/ |
D | Android.mk | 22 LOCAL_MODULE := cts-native-scanner-tests 24 LOCAL_JAVA_LIBRARIES := tradefed-prebuilt cts-native-scanner
|
/cts/build/ |
D | config.mk | 21 CTS_NATIVE_TEST_SCANNER := $(HOST_OUT_EXECUTABLES)/cts-native-scanner 22 CTS_JAVA_TEST_SCANNER := $(HOST_OUT_EXECUTABLES)/cts-java-scanner 23 CTS_JAVA_TEST_SCANNER_DOCLET := $(HOST_OUT_JAVA_LIBRARIES)/cts-java-scanner-doclet.jar
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Utils.java | 39 try (Scanner scanner = new Scanner(is).useDelimiter("\\A")) { in convertStreamToString() argument 40 return scanner.hasNext() ? scanner.next() : ""; in convertStreamToString()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ListeningPortsTest.java | 267 Scanner scanner = null; in parse() local 269 scanner = new Scanner(procFile); in parse() 270 while (scanner.hasNextLine()) { in parse() 271 String line = scanner.nextLine().trim(); in parse() 291 if (scanner != null) { in parse() 292 scanner.close(); in parse()
|
/cts/tools/cts-native-scanner/src/com/android/cts/nativescanner/ |
D | CtsNativeScanner.java | 56 TestScanner scanner = new TestScanner(reader, testSuite); in main() local 57 for (String name : scanner.getTestNames()) { in main()
|
/cts/common/host-side/native-scanner/tests/src/com/android/compatibility/common/scanner/ |
D | NativeScannerTest.java | 17 package com.android.compatibility.common.scanner; 19 import com.android.compatibility.common.scanner.NativeScanner;
|
/cts/common/host-side/native-scanner/ |
D | MANIFEST.mf | 2 Main-Class: com.android.compatibility.common.scanner.NativeScanner
|
D | Android.mk | 43 LOCAL_MODULE := compatibility-native-scanner-tests_v2
|
/cts/common/host-side/java-scanner/ |
D | MANIFEST.mf | 2 Main-Class: com.android.compatibility.common.scanner.JavaScanner
|
D | Android.mk | 43 LOCAL_MODULE := compatibility-java-scanner-tests_v2
|
/cts/tools/cts-native-scanner/src/ |
D | Android.mk | 25 LOCAL_MODULE := cts-native-scanner
|
/cts/tools/cts-java-scanner/src/ |
D | Android.mk | 25 LOCAL_MODULE := cts-java-scanner
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
D | BackupTestActivity.java | 154 Scanner scanner = null; in loadFile() local 156 scanner = new Scanner(new File(getFilesDir(), fileName)); in loadFile() 157 while (scanner.hasNext()) { in loadFile() 158 contents.append(scanner.nextLine()); in loadFile() 160 scanner.close(); in loadFile() 164 if (scanner != null) { in loadFile() 165 scanner.close(); in loadFile()
|
/cts/tools/cts-java-scanner-doclet/ |
D | Android.mk | 18 LOCAL_MODULE := cts-java-scanner-doclet
|
/cts/tools/cts-native-scanner/ |
D | Android.mk | 26 LOCAL_MODULE := cts-native-scanner
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | Settings_SystemTest.java | 86 try (Scanner scanner = new Scanner(is).useDelimiter("\\A")) { in convertStreamToString() argument 87 return scanner.hasNext() ? scanner.next() : ""; in convertStreamToString()
|
/cts/tools/cts-java-scanner/ |
D | Android.mk | 26 LOCAL_MODULE := cts-java-scanner
|
/cts/tools/cts-java-scanner/etc/ |
D | cts-java-scanner | 46 exec java $javaOpts -jar $libdir/cts-java-scanner.jar "$@"
|
/cts/tools/cts-native-scanner/etc/ |
D | cts-native-scanner | 46 exec java $javaOpts -jar $libdir/cts-native-scanner.jar "$@"
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | BuildDalvikSuite.java | 643 Scanner scanner = new Scanner(methodSource); 650 token = scanner.findWithinHorizon(pattern, methodSource.length()); 662 MatchResult result = scanner.match(); 705 Scanner scanner; 707 scanner = new Scanner(f); 715 String token = scanner.findWithinHorizon(methodPattern, (int) f.length()); 721 MatchResult result = scanner.match(); 803 if (scanner != null) { 804 scanner.close();
|