Home
last modified time | relevance | path

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

123456789

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DCecMessage.java39 params.append(":" + rawParams.substring(position, endPosition)); in formatParams()
78 String params = getNibbles(message).substring(4); in getAsciiString()
82 builder.append((char) hexStringToInt(params.substring(i - 2, i))); in getAsciiString()
89 return getNibbles(message).substring(4); in getParamsAsString()
94 return hexStringToInt(getNibbles(message).substring(4)); in getParams()
101 return hexStringToInt(getNibbles(message).substring(paramStart, end)); in getParams()
111 return hexStringToInt(getNibbles(message).substring(4).substring(start, end)); in getParams()
118 String param = getNibbles(message).substring(0, 1); in getSource()
124 String param = getNibbles(message).substring(1, 2); in getDestination()
130 String param = getNibbles(message).substring(2, 4); in getOperand()
/cts/tests/signature/lib/common/src/android/signature/cts/
DDexMethod.java79 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()
DDexMember.java70 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/
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()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/base/
DAsn1UTCTime.java181 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/tools/release-parser/src/com/android/cts/releaseparser/
DRcParser.java70 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/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DComponentNameUtils.java36 ? 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/
DBuildDalvikSuite.java90 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()
DBuildCTSHostSources.java145 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()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/sizecompatrestartbutton/
DSizeCompatRestartButtonStatsTests.java155 String substring = s.substring(physicalSize.length()); in getDisplayRealSize() local
156 if (!substring.isEmpty()) { in getDisplayRealSize()
157 return Pair.create(Integer.parseInt(substring.split("x")[0]), in getDisplayRealSize()
158 Integer.parseInt(substring.split("x")[1])); in getDisplayRealSize()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java196 String blockMode = fileName.substring(0, 3); in runTestsForKatFile()
198 blockMode = fileName.substring(0, 4); in runTestsForKatFile()
232 section = line.substring(1, line.length() - 1); in runTestsForKatFile()
245 String name = line.substring(0, delimiterIndex).trim(); in runTestsForKatFile()
246 String value = line.substring(delimiterIndex + 1).trim(); in runTestsForKatFile()
278 String name = line.substring(0, delimiterIndex).trim(); in runTestsForKatFile()
279 String value = line.substring(delimiterIndex + 1).trim(); in runTestsForKatFile()
/cts/tests/tests/carrierapi/targetprep/device/src/android/carrierapi/cts/targetprep/
DApduScriptUtil.java324 responseBuilder.append(response.substring(0, response.length() - 4)); in sendApdus()
325 String lastStatusWords = response.substring(response.length() - 4); in sendApdus()
329 while (ApduResponse.SW1_MORE_RESPONSE.equals(lastStatusWords.substring(0, 2))) { in sendApdus()
330 int moreResponseLength = Integer.parseInt(lastStatusWords.substring(2), 16); in sendApdus()
358 responseBuilder.append(response.substring(0, response.length() - 4)); in sendApdus()
359 lastStatusWords = response.substring(response.length() - 4); in sendApdus()
366 lastStatusWords.substring(0, 2))) { in sendApdus()
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DDumpSysTest.kt116 dump.substring(headerIndex0, headerIndex1), in dumpCurrentState()
117 dump.substring(headerIndex1, headerIndex2), in dumpCurrentState()
118 dump.substring(headerIndex2) in dumpCurrentState()
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/pm/
DComponentEnabledStateCommand.java65 mCurrentState = mCommandReturn.substring(GET_STATE_RETURN_HEADER.length()).trim(); in parseCommandReturn()
73 mNewState = mCommandReturn.substring(NEW_STATE_RETURN_HEADER.length()).trim(); in parseCommandReturn()
/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/
DLogcat.java78 return log.substring(Math.max(0, log.length() - 500)); in dump()
186 String methodName = className.substring(methodNameSeparator + 1); in extractStackTraceElement()
187 className = className.substring(0, methodNameSeparator); in extractStackTraceElement()
190 elementParts[1].substring( in extractStackTraceElement()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/info/
DClassInfo.java64 return name.substring(dollar + 1); // strip the package name in getSimpleName()
69 return name.substring(dot + 1); // strip the package name in getSimpleName()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appcompatstate/
DAppCompatStateStatsTests.java277 String substring = s.substring(physicalSize.length()); in getDisplayRealSize() local
278 if (!substring.isEmpty()) { in getDisplayRealSize()
279 return Pair.create(Integer.parseInt(substring.split("x")[0]), in getDisplayRealSize()
280 Integer.parseInt(substring.split("x")[1])); in getDisplayRealSize()
/cts/tests/tests/os/src/android/os/cts/
DSecurityPatchTest.java82 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/
DFcpTemplate.java100 String value = fcpResponse.substring(index * 2, (index + length) * 2); in parseFcpTemplate()
105 String status = fcpResponse.substring(fcpResponse.length() - 4); in parseFcpTemplate()
/cts/hostsidetests/hdmicec/app/src/com/android/server/hdmi/
DSadConfigurationReaderTest.java91 Log.i(TAG, audioCodecFormatsString.substring(1, audioCodecFormatsString.length() - 1)); in parseSadConfigXML()
93 .substring(1, shortAudioDescriptorsString.length() - 1)); in parseSadConfigXML()
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java82 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/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/
DApis.java105 String packageName = className.substring(0, separatorPosition);
106 String simpleClassName = className.substring(separatorPosition + 1);
140 methodLine = methodLine.substring(7, methodLine.length() - 1);
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DComponentNameUtils.java50 return pos >= 0 ? className.substring(pos + 1) : className; in getLogTag()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DApiPackage.java106 String packageName = fullClassName.substring(0, delimiterIndex); in findClass()
107 String className = fullClassName.substring(delimiterIndex + 1); in findClass()

123456789