/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | BatteryStatsDumpsysTest.java | 65 String[] parts = line.split(",", -1); in testBatterystatsOutput() local 66 assertInteger(parts[0]); // old version in testBatterystatsOutput() 67 assertInteger(parts[1]); // UID in testBatterystatsOutput() 68 switch (parts[2]) { // aggregation type in testBatterystatsOutput() 75 fail("malformed stat: " + parts[2]); in testBatterystatsOutput() 77 assertNotNull(parts[3]); in testBatterystatsOutput() 78 seenTags.add(parts[3]); in testBatterystatsOutput() 81 switch (parts[3]) { in testBatterystatsOutput() 83 checkVersion(parts); in testBatterystatsOutput() 86 checkUid(parts); in testBatterystatsOutput() [all …]
|
D | ProcessStatsDumpsysTest.java | 104 String[] parts = commaSplit(line); in checkProcStateOutput() local 105 seenTags.add(parts[0]); in checkProcStateOutput() 107 switch (parts[0]) { in checkProcStateOutput() 109 assertEquals(2, parts.length); in checkProcStateOutput() 110 assertEquals(5, Integer.parseInt(parts[1])); in checkProcStateOutput() 113 checkPeriod(parts); in checkProcStateOutput() 116 checkPkgProc(parts); in checkProcStateOutput() 119 checkPkgPss(parts, checkAvg); in checkProcStateOutput() 125 checkPkgSvc(parts); in checkProcStateOutput() 128 checkPkgKills(parts, checkAvg); in checkProcStateOutput() [all …]
|
D | StoragedDumpsysTest.java | 102 String[] parts; in testStoragedOutput() local 109 parts = line.split(","); in testStoragedOutput() 110 assertTrue(parts.length == 2); in testStoragedOutput() 111 if (!parts[0].isEmpty()) { in testStoragedOutput() 112 assertInteger(parts[0]); in testStoragedOutput() 114 assertInteger(parts[1]); in testStoragedOutput() 118 parts = line.split(" "); in testStoragedOutput() 119 assertTrue(parts.length == 9); in testStoragedOutput() 120 for (int i = 1; i < parts.length; i++) { in testStoragedOutput() 121 assertInteger(parts[i]); in testStoragedOutput() [all …]
|
D | GfxInfoDumpsysTest.java | 93 String[] parts = line.split(","); in validateProfileData() local 94 assertTrue(parts.length >= TIMESTAMP_COUNT); in validateProfileData() 96 numparts[i] = assertInteger(parts[i]); in validateProfileData()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/ |
D | MethodSignature.java | 78 String[] parts = string.split(" ", 2); in forApiString() local 81 visibility = Visibility.valueOf(parts[0].toUpperCase()); in forApiString() 85 string = parts[1]; in forApiString() 86 parts = string.split(" ", 2); in forApiString() 89 while (parts[0].equals("abstract") || parts[0].equals("final") in forApiString() 90 || parts[0].equals("static")) { in forApiString() 92 string = parts[1]; in forApiString() 93 parts = string.split(" ", 2); in forApiString() 96 returnType = typeForString(parts[0], types, elements); in forApiString() 98 string = parts[1]; in forApiString() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Renderer/RenderUtils/ |
D | ObjImporter.java | 93 StringTokenizer parts = new StringTokenizer(line, " "); in parse() local 94 int numTokens = parts.countTokens(); in parse() 98 String type = parts.nextToken(); in parse() 101 vertices.add(Float.parseFloat(parts.nextToken())); in parse() 102 vertices.add(Float.parseFloat(parts.nextToken())); in parse() 103 vertices.add(Float.parseFloat(parts.nextToken())); in parse() 113 parts = new StringTokenizer(line); in parse() 115 parts.nextToken(); in parse() 116 StringTokenizer subParts = new StringTokenizer(parts.nextToken(), "/"); in parse() 125 subParts = new StringTokenizer(parts.nextToken(), "/"); in parse() [all …]
|
/cts/hostsidetests/dumpsys/apps/storagedapp/src/com/android/server/cts/storaged/ |
D | SimpleIOService.java | 45 String[] parts = line.split(":"); in getCgroupCpuset() local 46 if (parts.length >= 3 && parts[1].equals("cpuset")) { in getCgroupCpuset() 47 return parts[2]; in getCgroupCpuset()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AdaptiveIconMaskTest.java | 48 public static void L(String s, Object... parts) { in L() argument 49 Log.d(TAG, (parts.length == 0) ? s : String.format(s, parts)); in L()
|
D | AdaptiveIconDrawableTest.java | 51 public static void L(String s, Object... parts) { in L() argument 52 Log.d(TAG, (parts.length == 0) ? s : String.format(s, parts)); in L()
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileAssembler.java | 185 String[] parts = line.split("\\s+"); in writeClassFile() local 186 for (int i = 0; i < parts.length; i++) { in writeClassFile() 187 String part = parts[i].trim(); in writeClassFile()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BaseDefaultPermissionGrantPolicyTest.java | 149 String[] parts = permissionString.trim().split("\\s+"); in setException() local 150 if (parts.length != 2) { in setException() 154 permissionsMap.put(parts[0], Boolean.valueOf(parts[1])); in setException() 173 String[] parts = permissionString.trim().split("\\s+"); in setExceptionWithMetadata() local 174 if (parts.length != 2) { in setExceptionWithMetadata() 178 permissionsMap.put(parts[0], Boolean.valueOf(parts[1])); in setExceptionWithMetadata()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | FakeCarrierMessagingService.java | 59 public void onSendMultipartTextSms(List<String> parts, int subId, in onSendMultipartTextSms() argument
|
D | SmsManagerTest.java | 651 ArrayList<String> parts = divideMessage(LONG_TEXT); in sendMultipartTextMessageIfSupported() local 652 numPartsSent = parts.size(); in sendMultipartTextMessageIfSupported() 659 sendMultiPartTextMessage(mDestAddr, parts, sentIntents, deliveryIntents, addMessageId); in sendMultipartTextMessageIfSupported() 827 protected void sendMultiPartTextMessage(String destAddr, ArrayList<String> parts, in sendMultiPartTextMessage() argument 832 getSmsManager().sendMultipartTextMessage(destAddr, null, parts, sentIntents, in sendMultiPartTextMessage() 835 getSmsManager().sendMultipartTextMessage(destAddr, null, parts, sentIntents, in sendMultiPartTextMessage() 838 getSmsManager().sendMultipartTextMessage(destAddr, null, parts, sentIntents, in sendMultiPartTextMessage()
|
/cts/tools/utils/cts/ |
D | tools.py | 86 parts = name.split('.') 87 self.root_suite.Add(parts)
|
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/ |
D | DalvikTestRunner.java | 174 String[] parts = fullName.split("[\\(\\)]"); in shouldRun() local 175 String className = parts[1]; in shouldRun() 176 String methodName = String.format("%s#%s", className, parts[0]); in shouldRun()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | DisplayTest.java | 1172 String[] parts = value.split("x"); 1173 assertEquals(2, parts.length); 1174 return new Point(Integer.parseInt(parts[0]), Integer.parseInt(parts[1]));
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 1721 String[] parts = getExternalFilesDir().getAbsolutePath().split("/"); in assertVolumeType() local 1722 assertThat(parts.length).isAtLeast(3); in assertVolumeType() 1723 assertThat(parts[1]).isEqualTo("storage"); in assertVolumeType() 1725 assertThat(parts[2]).isEqualTo("emulated"); in assertVolumeType() 1727 assertThat(parts[2]).isNotEqualTo("emulated"); in assertVolumeType()
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 76 In general, version 2 follows - in the parts that are significant for
|