Home
last modified time | relevance | path

Searched refs:substring (Results 1 – 25 of 104) sorted by relevance

12345

/cts/tools/dasm/src/dasm/
DUtils.java50 return new Integer(str.substring(1)); in stringToNumber()
53 return (Utils.stringToSmallestInteger(str.substring(2), 16)); in stringToNumber()
108 result[0] = signature.substring(0, mpos); in getClassMethodSignatureFromString()
109 result[1] = signature.substring(mpos + 1, sigpos); in getClassMethodSignatureFromString()
110 result[2] = signature.substring(sigpos); in getClassMethodSignatureFromString()
131 result[0] = name.substring(0, pos); in getClassFieldFromString()
132 result[1] = name.substring(pos + 1); in getClassFieldFromString()
147 result[0] = name.substring(0, sigpos); in getMethodSignatureFromString()
148 result[1] = convertDotsToSlashes(name.substring(sigpos)); in getMethodSignatureFromString()
DScanner.java293 String s = str.substring(1); in next_token()
304 s = s.substring(1); in next_token()
307 s = s.substring(2); in next_token()
/cts/tools/cfassembler/src/dxconvext/
DClassFileParser.java66 String pckPath = fileName.substring(srcDir.length() + 1); in process()
68 String pck = pckPath.substring(0, pckPath.lastIndexOf("/")); in process()
70 String cName = pckPath.substring(pck.length() + 1); in process()
71 cName = cName.substring(0, cName.lastIndexOf(".")); in process()
82 String outFile = absSrcFilePath.substring(0, absSrcFilePath in process()
107 String className = fixedPathName.substring(0, fixedPathName.lastIndexOf(".")); in processFileBytes()
271 return path.substring(index + 3); in fixPath()
275 return path.substring(2); in fixPath()
DClassFileAssembler.java98 String classO = firstLine.substring(hdr.length()).trim(); in run()
103 String mkdir = tFile.substring(0, tFile.lastIndexOf("/")); in run()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java158 String blockMode = fileName.substring(0, 3); in runTestsForKatFile()
160 blockMode = fileName.substring(0, 4); in runTestsForKatFile()
194 section = line.substring(1, line.length() - 1); in runTestsForKatFile()
207 String name = line.substring(0, delimiterIndex).trim(); in runTestsForKatFile()
208 String value = line.substring(delimiterIndex + 1).trim(); in runTestsForKatFile()
240 String name = line.substring(0, delimiterIndex).trim(); in runTestsForKatFile()
241 String value = line.substring(delimiterIndex + 1).trim(); in runTestsForKatFile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DPowerTestHostLink.java159 clientRequest = clientRequest.substring(0, total); in run()
212 final String sensor = request.substring(REQUEST_SENSOR_AVAILABILITY.length()); in processClientRequest()
231 String sensorList = request.substring(REQUEST_SENSOR_ON.length()).trim(); in processClientRequest()
234 String sensorList = request.substring(REQUEST_SENSOR_ON.length()).trim(); in processClientRequest()
237 final String message = request.substring(REQUEST_SHOW_MESSAGE.length()); in processClientRequest()
241 String message = request.substring(REQUEST_USER_RESPONSE.length()); in processClientRequest()
245 String testResult = request.substring(REQUEST_SET_TEST_RESULT.length()); in processClientRequest()
248 String command = request.substring(REQUEST_RAISE.length()); in processClientRequest()
252 final String message = request.substring(7 + testName.length()); in processClientRequest()
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java66 abiName = arg.substring(ABI.length()); in main()
68 for (String include : arg.substring(INCLUDE.length()).split(",")) { in main()
72 for (String exclude : arg.substring(EXCLUDE.length()).split(",")) { in main()
76 loadFilters(arg.substring(INCLUDE_FILE.length()), includes); in main()
78 loadFilters(arg.substring(EXCLUDE_FILE.length()), excludes); in main()
128 String packageName = index < 0 ? "" : className.substring(0, index); in shouldCollect()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiPackage.java89 String packageName = superClassName.substring(0, superClassName.lastIndexOf('.')); in resolveSuperClasses()
90 String className = superClassName.substring( in resolveSuperClasses()
DApiConstructor.java66 coveredWithModule = coveredWithModule.substring(0, coveredWithModule.length() - 4); in setCovered()
DApiClass.java219 apiType.startsWith(testType.substring(0, testType.indexOf("["))); in compareType()
242 return type.length() == 3 && isGenericType(type.substring(0, 1)) && isArrayType(type); in isGenericArrayType()
/cts/tools/dex-tools/src/dex/reader/
DTypeFormatter.java69 return typeName.substring(1, typeName.length() - 1).replace( in format()
72 return format(typeName.substring(1)) + "[]"; in format()
/cts/tools/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java183 packageName = packageName.substring(packageName.lastIndexOf('.'));
309 String pName = fqcn.substring(0, lastDotPos);
310 String classOnlyName = fqcn.substring(lastDotPos + 1);
382 comment = "Normal #" + method.substring(5);
385 comment = "Boundary #" + method.substring(5);
388 comment = "Exception #" + method.substring(5);
391 comment = "Verifier #" + method.substring(7);
443 details = details.substring(0, 1).toUpperCase()
444 + details.substring(1);
646 String opcodeName = classOnlyName.substring(5);
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DComponentNameUtils.java36 ? className.substring(packageName.length()) : className); in buildComponentName()
/cts/tests/tests/os/src/android/os/cts/
DSecurityPatchTest.java98 declaredYear = Integer.parseInt(buildSecurityPatch.substring(0,4)); in testSecurityPatchDate()
99 declaredMonth = Integer.parseInt(buildSecurityPatch.substring(5,7)); in testSecurityPatchDate()
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java83 return Integer.parseInt(output.substring(output.lastIndexOf(" ")).trim()); in createRestrictedProfile()
106 return Integer.parseInt(output.substring(output.lastIndexOf(" ")).trim()); in createUser()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DProcessStatsDumpsysTest.java68 checkProcStateOutput(procstats.substring(0, sep24h), /*checkAvg=*/ true); in testProcstatsOutput()
71 checkProcStateOutput(procstats.substring(sep24h, sep3h), /*checkAvg=*/ false); in testProcstatsOutput()
74 checkProcStateOutput(procstats.substring(sep3h), /*checkAvg=*/ false); in testProcstatsOutput()
328 return line.substring(prefix.length()); in findLine()
347 sum += assertInteger(parts[i].substring(m.end(0))); in getTagValueSum()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DUtils.java39 return auth.substring(end + 1); in getAuthorityWithoutUserId()
/cts/tests/tests/text/src/android/text/method/cts/
DEditorState.java99 sb.append(token.substring(1, token.length() - 1)); in setByString()
101 final int codePoint = Integer.parseInt(token.substring(2), 16); in setByString()
/cts/tests/tests/selinux/selinuxTargetSdk/src/android/selinuxtargetsdk/cts/
DSELinuxTargetSdkTest.java53 context.substring(0, expected.length()), in testTargetSdkValue()
/cts/tools/utils/
DDescriptionGenerator.java373 String name = dotIndex == -1 ? suiteName : suiteName.substring(0, dotIndex); in appendSuiteToElement()
385 testSuite.mName = suiteName.substring(dotIndex + 1, suiteName.length()); in appendSuiteToElement()
438 setAttribute(caseNode, ATTRIBUTE_ABIS, abis.substring(1, abis.length() - 1)); in appendTestCases()
493 String name = suiteName.substring(0, dotIndex); in appendSuiteToElementImpl()
499 suiteName = suiteName.substring(dotIndex + 1, suiteName.length()); in appendSuiteToElementImpl()
602 description = description.substring(1, description.length() -1); in getAnnotationDescription()
/cts/libs/vogar-expect/src/vogar/
DOutcome.java111 return split == -1 ? "defaultpackage" : outcomeName.substring(0, split); in getSuiteName()
119 return split == -1 ? outcomeName : outcomeName.substring(split + 1); in getTestName()
/cts/tests/tests/security/src/android/security/cts/
DHwRngTest.java162 key = line.substring(0, delimiterIndex); in parseUeventFile()
163 value = line.substring(delimiterIndex + 1); in parseUeventFile()
/cts/common/util/tests/src/com/android/compatibility/common/util/
DReportLogTest.java120 assertEquals("Expected source to be trimmed", source.substring(source.length() - 200), in testLimits_source()
135 assertEquals("Expected message to be trimmed", message.substring(0, 200), in testLimits_message()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DValidateTestsAbi.java160 String base = subSet.get(0).substring(0, subSet.get(0).length() - 2); in testBinariesAbis()
162 assertEquals(base, subSet.get(j).substring(0, subSet.get(j).length() - 2)); in testBinariesAbis()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DUSBDeviceInfoHelper.java87 ? productName.substring(kUSBPrefix.length()) in extractDeviceName()

12345