/cts/hostsidetests/services/activityandwindowmanager/util/src/android/server/cts/ |
D | WindowManagerState.java | 230 final String line = mSysDump.pop().trim(); in parseSysDump() local 232 Matcher matcher = sFocusedWindowPattern.matcher(line); in parseSysDump() 234 log(line); in parseSysDump() 241 matcher = sAppErrorFocusedWindowPattern.matcher(line); in parseSysDump() 243 log(line); in parseSysDump() 250 matcher = sWaitingForDebuggerFocusedWindowPattern.matcher(line); in parseSysDump() 252 log(line); in parseSysDump() 259 matcher = sFocusedAppPattern.matcher(line); in parseSysDump() 261 log(line); in parseSysDump() 268 matcher = sAppTransitionStatePattern.matcher(line); in parseSysDump() [all …]
|
D | ActivityManagerState.java | 162 final String line = mSysDump.pop().trim(); in parseSysDump() local 164 Matcher matcher = mFocusedStackPattern.matcher(line); in parseSysDump() 166 log(line); in parseSysDump() 173 matcher = mResumedActivityPattern.matcher(line); in parseSysDump() 175 log(line); in parseSysDump() 181 matcher = mDisplayIdPattern.matcher(line); in parseSysDump() 183 log(line); in parseSysDump() 399 final String line = dump.peek().trim(); in create() local 401 final Matcher matcher = stackIdPattern.matcher(line); in create() 411 log(line); in create() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutLineBreakingTest.java | 119 for (int line = 0; line < breaks.length; line++) { in getBreaks() 120 breaks[line] = staticLayout.getLineEnd(line); in getBreaks() 130 for (int line = 0; line < count; line++) { in debugLayout() 131 int lineStart = staticLayout.getLineStart(line); in debugLayout() 132 int lineEnd = staticLayout.getLineEnd(line); in debugLayout() 133 Log.i("SLLBTest", "Line " + line + " [" + lineStart + ".." + in debugLayout() 151 for (int line = 0; line < lineCount; line++) { in layout() 152 int lineStart = staticLayout.getLineStart(line); in layout() 153 int lineEnd = staticLayout.getLineEnd(line); in layout() 155 if (line == 0) { in layout() [all …]
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AESCipherNistCavpKatTest.java | 172 String line; in runTestsForKatFile() local 179 while ((line = in.readLine()) != null) { in runTestsForKatFile() 181 line = line.trim(); in runTestsForKatFile() 182 if (line.startsWith("#")) { in runTestsForKatFile() 189 if (line.length() == 0) { in runTestsForKatFile() 193 if ((line.startsWith("[")) && (line.endsWith("]"))) { in runTestsForKatFile() 194 section = line.substring(1, line.length() - 1); in runTestsForKatFile() 202 int delimiterIndex = line.indexOf('='); in runTestsForKatFile() 205 + " definition: " + line); in runTestsForKatFile() 207 String name = line.substring(0, delimiterIndex).trim(); in runTestsForKatFile() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | VirtualContainerView.java | 127 final Line line = mLines.get(i); in onDraw() local 128 Log.v(TAG, "Drawing '" + line + "' at " + x + "x" + y); in onDraw() 129 mTextPaint.setColor(line.focused ? mFocusedColor : mUnfocusedColor); in onDraw() 130 final String readOnlyText = line.label.text + ": ["; in onDraw() 131 final String writeText = line.text.text + "]"; in onDraw() 137 line.bounds.set((int) x, (int) (y - mLineLength), in onDraw() 139 Log.d(TAG, "setBounds(" + x + ", " + y + "): " + line.bounds); in onDraw() 153 final Line line = mLines.get(i); in onTouchEvent() local 160 Log.d(TAG, "Changing focus to " + line); in onTouchEvent() 161 mFocusedLine = line; in onTouchEvent() [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ARTBootASLRTest.java | 38 String line; in testARTASLR() local 40 while ((line = bufReader.readLine()) != null) { in testARTASLR() 42 if (line.matches("/system/.*boot\\.art")) { in testARTASLR() 43 fail("found " + line + " from system partition"); in testARTASLR() 44 } else if (line.matches(".*boot\\.art")) { in testARTASLR()
|
D | HwRngTest.java | 151 String line; in parseUeventFile() local 152 while ((line = in.readLine()) != null) { in parseUeventFile() 153 if (line.trim().length() == 0) { in parseUeventFile() 160 int delimiterIndex = line.indexOf('='); in parseUeventFile() 162 key = line.substring(0, delimiterIndex); in parseUeventFile() 163 value = line.substring(delimiterIndex + 1); in parseUeventFile() 165 key = line; in parseUeventFile()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ConnectionStatus.java | 73 for (String line : lines) { in printLines() 74 Log.d(TAG, line); in printLines() 98 String line; in pingTest() local 101 while ((line = reader.readLine()) != null) { in pingTest() 102 lines.add(line); in pingTest() 110 while ((line = reader.readLine()) != null) { in pingTest() 111 lines.add(line); in pingTest()
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
D | ActivityManagerAmStartOptionsTests.java | 121 final String line = lines[i].trim(); in verifyShellOutput() local 122 Matcher matcher = sNotStartedWarningPattern.matcher(line); in verifyShellOutput() 127 matcher = sStatusPattern.matcher(line); in verifyShellOutput() 132 matcher = sActivityPattern.matcher(line); in verifyShellOutput() 158 for (String line : getDeviceLogsForComponent("ActivityManager", logSeparator)) { in verifyLogcat() 159 line = line.trim(); in verifyLogcat() 161 Matcher matcher = sDisplayTimePattern.matcher(line); in verifyLogcat()
|
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | StoragedDumpsysTest.java | 77 String line; in testStoragedOutput() local 79 while ((line = reader.readLine()) != null) { in testStoragedOutput() 80 if (line.isEmpty()) { in testStoragedOutput() 84 if (line.contains(",")) { in testStoragedOutput() 85 parts = line.split(","); in testStoragedOutput() 94 parts = line.split(" "); in testStoragedOutput()
|
D | ProcessStatsDumpsysTest.java | 77 private static String[] commaSplit(String line) { in commaSplit() argument 78 if (line.endsWith(",")) { in commaSplit() 79 line = line + " "; in commaSplit() 81 final String[] values = line.split(","); in commaSplit() 94 String line; in checkProcStateOutput() local 95 while ((line = reader.readLine()) != null) { in checkProcStateOutput() 96 if (line.isEmpty()) { in checkProcStateOutput() 99 CLog.d("Checking line: " + line); in checkProcStateOutput() 101 String[] parts = commaSplit(line); in checkProcStateOutput() 325 for (String line : lines) { in findLine() [all …]
|
/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | GestureTest.java | 50 GestureStroke line = mLineHelper.createLineGesture(); in testGetStrokes() local 51 mGesture.addStroke(line); in testGetStrokes() 53 assertEquals(line, mGesture.getStrokes().get(0)); in testGetStrokes() 62 GestureStroke line = mLineHelper.createLineGesture(); in testGetStrokesCount() local 63 mGesture.addStroke(line); in testGetStrokesCount()
|
/cts/tests/tests/os/jni/ |
D | android_os_cts_NoExecutePermissionTest.cpp | 27 char line[1024]; in isAddressExecutable() local 34 while(fgets(line, sizeof(line), fp) != NULL) { in isAddressExecutable() 38 int scan = sscanf(line, "%" SCNxPTR "-%" SCNxPTR " %9s ", &start, &end, permissions); in isAddressExecutable()
|
/cts/libs/vogar-expect/src/vogar/util/ |
D | Strings.java | 46 String line; in readStream() local 47 while ((line = in.readLine()) != null) { in readStream() 48 result.append(line); in readStream() 63 String line; in readFileLines() local 64 while ((line = in.readLine()) != null) { in readFileLines() 65 list.add(line); in readFileLines()
|
/cts/hostsidetests/multiuser/src/android/host/multiuser/ |
D | CreateUsersNoAppCrashesTest.java | 64 String line = in.nextLine(); in waitForBootCompleted() local 65 if (line.contains("Showing crash dialog for package")) { in waitForBootCompleted() 66 appErrors.add(line); in waitForBootCompleted() 67 … } else if (line.contains("Finished processing BOOT_COMPLETED for u" + targetUserId)) { in waitForBootCompleted()
|
/cts/tests/tests/jni/src/android/jni/cts/ |
D | LinkerNamespacesHelper.java | 69 String line; in runAccessibilityTest() local 70 while ((line = br.readLine()) != null) { in runAccessibilityTest() 71 line = line.trim(); in runAccessibilityTest() 72 if (line.isEmpty() || line.startsWith("#")) { in runAccessibilityTest() 75 vendorLibs.add(line); in runAccessibilityTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | ObjImporter.java | 81 String line; in parse() local 89 while ((line = buffer.readLine()) != null) { in parse() 91 if (line.length() == 0 || line.charAt(0) == '#') in parse() 93 StringTokenizer parts = new StringTokenizer(line, " "); in parse() 110 boolean emptyVt = line.indexOf("//") > -1; in parse() 111 if (emptyVt) line = line.replace("//", "/"); in parse() 113 parts = new StringTokenizer(line); in parse()
|
/cts/suite/audio_quality/test_description/conf/ |
D | detect_usb_audio.py | 42 line = f.readline().strip() 43 if line in product_list: 44 print "___CTS_AUDIO_PASS___ " + line + " " + m.group(1)
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | CharactersStreamSucker.java | 53 String line; in suck() local 56 while ((line = ir.readLine()) != null) { in suck() 57 os.println(line); in suck()
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTest.java | 73 private static void parseLine(String line, FtraceEntryCallback callback) { in parseLine() argument 74 Matcher m = sLineWithTgid.matcher(line); in parseLine() 85 m = sLineWithIrqInfo.matcher(line); in parseLine() 96 m = sLineLegacy.matcher(line); in parseLine() 106 CLog.i("line doesn't match: " + line); in parseLine() 112 String line; in parse() local 113 while ((line = bufferedReader.readLine()) != null) { in parse() 114 FtraceParser.parseLine(line, callback); in parse()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BuildTest.java | 118 String line = ""; in getProperty() local 121 line = scanner.nextLine(); in getProperty() 127 return line; in getProperty() 140 String line = scanner.nextLine(); in assertProperty() local 141 assertEquals(message + " Value found: " + line , expected, line); in assertProperty() 164 String line = scanner.nextLine(); in assertNoPropertySet() local 165 assertFalse(message + "Property found: " + line, in assertNoPropertySet() 166 line.startsWith("[" + property + "]")); in assertNoPropertySet()
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
D | SampleHostTest.java | 78 String line = in.nextLine(); in testLogcat() local 79 if(line.startsWith("I/"+CLASS)) { in testLogcat() 80 testString = line.split(":")[1].trim(); in testLogcat()
|
/cts/tests/camera/libctscamera2jni/ |
D | dng-validate-jni.cpp | 437 std::string line; in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative() local 444 while(std::getline(errorStream, line, '\n')) { in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative() 446 if ( (line.size() > 3) && in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative() 447 (line[0] == line[1]) && in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative() 448 (line[1] == line[2]) && in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative() 449 (line[2] == '*') ) { in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative() 454 ALOGE("**|%s", line.c_str()); in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative() 456 ALOGI(" |%s", line.c_str()); in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative()
|
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
D | ReportLogHostInfoStore.java | 89 String line; in close() local 90 while ((line = jsonReader.readLine()) != null) { in close() 92 metricsWriter.write(line, 0, line.length()); in close()
|
/cts/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 47 for line in lines: 48 if line.startswith("BEGIN_TREBLE_ONLY"): 51 elif line.startswith("END_TREBLE_ONLY"): 56 rule = NeverallowRule(line)
|