Home
last modified time | relevance | path

Searched refs:Scanner (Results 1 – 25 of 47) sorted by relevance

12

/cts/hostsidetests/monkey/src/com/android/cts/monkey/
DSeedTest.java19 import java.util.Scanner;
38 Scanner s1 = new Scanner(out1); in assertOutputs()
39 Scanner s2 = new Scanner(out2); in assertOutputs()
54 private String getNextLine(Scanner sc) { in getNextLine()
DMonkeyTest.java22 import java.util.Scanner;
45 Scanner s = new Scanner(logs); in assertIsUserAMonkey()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DRootProcessScanner.java23 import java.util.Scanner;
106 Scanner scanner = null; in isKernelProcess()
108 scanner = new Scanner(statm); in isKernelProcess()
149 Scanner scanner = null; in isRootProcess()
151 scanner = new Scanner(status); in isRootProcess()
190 private static void findToken(Scanner scanner, String token) { in findToken()
207 private static boolean hasRootId(Scanner scanner) { in hasRootId()
218 Scanner scanner = new Scanner(status); in getProcessName()
DGLESSurfaceView.java24 import java.util.Scanner;
79 Scanner scanner = new Scanner(extensions); in onSurfaceCreated()
DDeviceInfoInstrument.java48 import java.util.Scanner;
357 Scanner scanner = new Scanner(df.getInputStream()); in getPartitions()
424 Scanner scanner = null; in getProperty()
427 scanner = new Scanner(process.getInputStream()); in getProperty()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostTest.java22 import java.util.Scanner;
76 Scanner in = new Scanner(logs); in testLogcat()
DSampleHostJUnit4Test.java29 import java.util.Scanner;
101 Scanner in = new Scanner(logs); in testLogcat()
/cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/
DTrustedVoiceHostTest.java23 import java.util.Scanner;
94 Scanner in = null; in testUnlock()
109 in = new Scanner(logs); in testUnlock()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DPropertyDeviceInfo.java24 import java.util.Scanner;
47 Scanner scanner = null; in collectRoProperties()
50 scanner = new Scanner(getprop.getInputStream()); in collectRoProperties()
DStorageDeviceInfo.java26 import java.util.Scanner;
66 Scanner scanner = new Scanner(df.getInputStream()); in scanPartitions()
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java26 import java.util.Scanner;
96 Scanner in = new Scanner(logs); in testAbiIs32bit()
/cts/hostsidetests/backup/src/android/cts/backup/
DBaseBackupHostSideTest.java31 import java.util.Scanner;
124 Scanner in = new Scanner(backupnowOutput); in assertBackupIsSuccessful()
147 Scanner in = new Scanner(backupnowOutput); in assertBackupIsNotAllowed()
/cts/tests/tests/selinux/common/src/android/security/
DSELinuxTargetSdkTestBase.java7 import java.util.Scanner;
34 Scanner scanner = null; in getProperty()
37 scanner = new Scanner(process.getInputStream()); in getProperty()
/cts/tests/tests/os/src/android/os/cts/
DBuildTest.java34 import java.util.Scanner;
115 Scanner scanner = null; in getProperty()
118 scanner = new Scanner(process.getInputStream()); in getProperty()
135 Scanner scanner = null; in assertProperty()
137 scanner = new Scanner(process.getInputStream()); in assertProperty()
158 Scanner scanner = null; in assertNoPropertySet()
160 scanner = new Scanner(process.getInputStream()); in assertNoPropertySet()
DNoExecutePermissionTest.java23 import java.util.Scanner;
/cts/hostsidetests/sustainedperf/src/android/SustainedPerformance/cts/
DSustainedPerformanceHostTest.java28 import java.util.Scanner;
120 Scanner in = new Scanner(logs); in analyzeResults()
181 Scanner in = new Scanner(logs); in testShader()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DPropertyUtil.java27 import java.util.Scanner;
153 Scanner scanner = null; in getProperty()
156 scanner = new Scanner(process.getInputStream()); in getProperty()
/cts/hostsidetests/os/src/android/os/cts/
DOsHostTests.java35 import java.util.Scanner;
115 Scanner scanner = new Scanner(logs); in testIntentFilterHostValidation()
DProcfsHostTests.java26 import java.util.Scanner;
168 Scanner in = new Scanner(logs); in startTestApp()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java33 import java.util.Scanner;
113 Scanner in = new Scanner(logs); in testInputUpdated()
/cts/hostsidetests/security/src/android/security/cts/
DAdbUtils.java34 import java.util.Scanner;
118 Scanner s = new Scanner(cmdOut).useDelimiter("\\D+"); in enableLibcMallocDebug()
/cts/tests/tests/media/src/android/media/cts/
DUtils.java34 import java.util.Scanner;
55 try (Scanner scanner = new Scanner(is).useDelimiter("\\A")) { in convertStreamToString()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersNoAppCrashesTest.java35 import java.util.Scanner;
123 Scanner in = new Scanner(logs); in waitForUserSwitchComplete()
/cts/tests/tests/provider/src/android/provider/cts/
DSettings_SystemTest.java31 import java.util.Scanner;
86 try (Scanner scanner = new Scanner(is).useDelimiter("\\A")) { in convertStreamToString()
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java52 import java.util.Scanner;
170 try (Scanner s = new Scanner(is).useDelimiter("\\A")) { in convertStreamToString()

12