/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | CecMessage.java | 34 params.append(":" + rawParams.substring(position, endPosition)); in formatParams() 73 String params = getNibbles(message).substring(4); in getAsciiString() 77 builder.append((char) hexStringToInt(params.substring(i - 2, i))); in getAsciiString() 84 return getNibbles(message).substring(4); in getParamsAsString() 89 return hexStringToInt(getNibbles(message).substring(4)); in getParams() 96 return hexStringToInt(getNibbles(message).substring(paramStart, end)); in getParams() 106 return hexStringToInt(getNibbles(message).substring(4).substring(start, end)); in getParams() 113 String param = getNibbles(message).substring(0, 1); in getSource() 119 String param = getNibbles(message).substring(1, 2); in getDestination() 125 String param = getNibbles(message).substring(2, 4); in getOperand()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | DexMethod.java | 79 return signature.substring(1, paren); in parseSignature() 82 return signature.substring(paren + 1, length); in parseSignature() 92 typeSequence = typeSequence.substring(type.length()); in parseDexTypeList() 105 typeList = typeList.substring(1); in firstDexTypeFromList() 118 type = typeList.substring(0, 1); in firstDexTypeFromList() 120 type = typeList.substring(0, typeList.indexOf(";") + 1); in firstDexTypeFromList()
|
D | DexMember.java | 70 type = type.substring(1); in dexToJavaType() 93 javaType = type.substring(1, type.length() - 1).replace('/', '.'); in dexToJavaType() 125 ? type.substring(1, type.length() - 1).replace('/', '.') in typeToClass()
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileParser.java | 66 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()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | RcParser.java | 70 String file = service.getFile().substring(1); in getDependencies() 80 String file = importRc.substring(1); in getDependencies() 165 serviceBld.setClazz(sTrimLine.substring(OPTION_CLASS.length())); in parseService() 167 serviceBld.setUser(sTrimLine.substring(OPTION_USER.length())); in parseService() 169 serviceBld.setGroup(sTrimLine.substring(OPTION_GROUP.length())); in parseService() 171 serviceBld.setGroup(sTrimLine.substring(OPTION_WRITEPID.length())); in parseService()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/ |
D | Asn1UTCTime.java | 181 result = result.substring(0, result.length() - 1); in retrieveResult() 197 year = Integer.parseInt(result.substring(0, yearLength)); in retrieveResult() 206 month = Integer.parseInt(result.substring(yearLength, yearLength + 2)); in retrieveResult() 207 day = Integer.parseInt(result.substring(yearLength + 2, yearLength + 4)); in retrieveResult() 208 hour = Integer.parseInt(result.substring(yearLength + 4, yearLength + 6)); in retrieveResult() 209 minute = Integer.parseInt(result.substring(yearLength + 6, yearLength + 8)); in retrieveResult() 211 second = Integer.parseInt(result.substring(yearLength + 8, yearLength + 10)); in retrieveResult()
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | ComponentNameUtils.java | 36 ? className.substring(packageName.length()) : className); in buildComponentName() 46 return componentName.substring(0, componentName.indexOf('/')); in retrievePackageName()
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildDalvikSuite.java | 90 String pName = fqcn.substring(0, lastDotPos); in handleTest() 91 String classOnlyName = fqcn.substring(lastDotPos + 1); in handleTest() 136 comment = "Normal #" + method.substring(5); in handleTest() 139 comment = "Boundary #" + method.substring(5); in handleTest() 142 comment = "Exception #" + method.substring(5); in handleTest() 145 comment = "Verifier #" + method.substring(7); in handleTest() 197 details = details.substring(0, 1).toUpperCase() in handleTest() 198 + details.substring(1); in handleTest()
|
D | BuildCTSHostSources.java | 145 String lastPackageComponent = modPackage.substring(lastDot + 1); in openCTSHostFileFor() 148 modPackage = modPackage.substring(0, lastDot); in openCTSHostFileFor() 202 String pName = fqcn.substring(0, lastDotPos); in handleTest() 203 String classOnlyName = fqcn.substring(lastDotPos + 1); in handleTest()
|
D | BuildCTSMainsSources.java | 76 String pName = fqcn.substring(0, lastDotPos); in handleTest() 77 String classOnlyName = fqcn.substring(lastDotPos + 1); in handleTest()
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/info/ |
D | ClassInfo.java | 56 return name.substring(dollar + 1); // strip the package name in getSimpleName() 61 return name.substring(dot + 1); // strip the package name in getSimpleName()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AESCipherNistCavpKatTest.java | 158 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/hostsidetests/securitybulletin/src/android/security/cts/ |
D | RegexUtils.java | 73 String substring = input.substring(matcher.start(), matcher.end()); in assertFind() local 76 fail("Pattern found: '" + pattern + "' -> '" + substring + "' for input:\n..." + in assertFind() 95 return input.substring(start, end); in getInputContext()
|
D | Poc16_12.java | 44 return result.substring(index + pattern.length()); in testPocCVE_2016_8406()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 159 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/hostsidetests/hdmicec/app/src/com/android/server/hdmi/ |
D | SadConfigurationReaderTest.java | 91 Log.i(TAG, audioCodecFormatsString.substring(1, audioCodecFormatsString.length() - 1)); in parseSadConfigXML() 93 .substring(1, shortAudioDescriptorsString.length() - 1)); in parseSadConfigXML()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SecurityPatchTest.java | 82 declaredYear = Integer.parseInt(buildSecurityPatch.substring(0,4)); in testSecurityPatchDate() 83 declaredMonth = Integer.parseInt(buildSecurityPatch.substring(5,7)); in testSecurityPatchDate()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | FcpTemplate.java | 100 String value = fcpResponse.substring(index * 2, (index + length) * 2); in parseFcpTemplate() 105 String status = fcpResponse.substring(fcpResponse.length() - 4); in parseFcpTemplate()
|
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | CpmsFrameworkLayerStateInfo.java | 310 val = Integer.parseInt(tokens[4].trim().substring(tokens[4].length() - 1)); in getIntData() 314 val = Integer.parseInt(mLines[mIdx].substring(strLen - 1).trim()); in getIntData() 325 val = mLines[mIdx].trim().substring(header.length()).trim(); in getStringData() 401 compStr = mLines[mIdx].substring(startHdr.length()); in getChangedComponents() 403 compStr = mLines[mIdx].substring(startHdr.length(), idx); in getChangedComponents() 404 mLines[mIdx] = mLines[mIdx].substring(idx); in getChangedComponents() 411 return Boolean.parseBoolean(mLines[mIdx].trim().substring(header.length()).trim()); in getBooleanData()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/ |
D | Apis.java | 104 String packageName = className.substring(0, separatorPosition); 105 String simpleClassName = className.substring(separatorPosition + 1); 139 methodLine = methodLine.substring(7, methodLine.length() - 1);
|
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/ |
D | DalvikTestRunner.java | 82 abiName = arg.substring(ABI.length()); in createConfig() 84 for (String include : arg.substring(INCLUDE.length()).split(",")) { in createConfig() 88 for (String exclude : arg.substring(EXCLUDE.length()).split(",")) { in createConfig() 92 loadFilters(arg.substring(INCLUDE_FILE.length()), config.includes); in createConfig() 94 loadFilters(arg.substring(EXCLUDE_FILE.length()), config.excludes); in createConfig() 156 String packageName = index < 0 ? "" : className.substring(0, index); in packageFilterApplies()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ComponentNameUtils.java | 50 return pos >= 0 ? className.substring(pos + 1) : className; in getLogTag()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | Utils.java | 39 return auth.substring(end + 1); in getAuthorityWithoutUserId()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | ApiPackage.java | 106 String packageName = fullClassName.substring(0, delimiterIndex); in findClass() 107 String className = fullClassName.substring(delimiterIndex + 1); in findClass()
|
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | ProcessStatsDumpsysTest.java | 71 checkProcStateOutput(procstats.substring(0, sep24h), /*checkAvg=*/ true); in testProcstatsOutput() 74 checkProcStateOutput(procstats.substring(sep24h, sep3h), /*checkAvg=*/ false); in testProcstatsOutput() 77 checkProcStateOutput(procstats.substring(sep3h), /*checkAvg=*/ false); in testProcstatsOutput() 331 return line.substring(prefix.length()); in findLine() 350 sum += assertInteger(parts[i].substring(m.end(0))); in getTagValueSum()
|