/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/ |
D | CecMessage.java | 39 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/ |
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/cts-api-coverage/src/com/android/cts/ctsprofiles/ |
D | Utils.java | 29 String className = classSignature.substring(splitPos + 1); in getPackageClass() 32 packageName = classSignature.substring(0, splitPos); in getPackageClass() 45 packageName = packageClass.substring(0, splitPos); in getPackageClassFromASM() 47 String className = packageClass.substring(splitPos + 1); in getPackageClassFromASM()
|
/cts/common/device-side/bedstead/testapisreflection/src/processor/main/java/com/android/bedstead/testapisreflection/processor/ |
D | TypeUtils.java | 76 String rawType = "kotlin." + kotlinType.substring(0, kotlinType.indexOf("<")); in convertToKotlinCompatibleType() 78 "kotlin." + kotlinType.substring( in convertToKotlinCompatibleType() 121 TypeMirror typeArgs = typeForString(typeName.substring( in typeForString() 129 typeForString(typeName.substring(0, typeName.length() - 2), types, elements)); in typeForString() 173 return fullyQualifiedName.substring(0, fullyQualifiedName.lastIndexOf(".")); in typePackageName() 177 return clazz.substring(clazz.lastIndexOf(".") + 1); in typeSimpleName() 183 .substring(clazz.lastIndexOf(".")); in parameterizedTypeWrapperName()
|
D | MethodSignature.java | 74 String frameworkClass = apiString.substring(0, apiString.indexOf(",")); in forApiString() 75 String method = apiString.substring(apiString.indexOf(",") + 1); in forApiString() 79 String name = methodParts[3].substring(0, methodParts[3].indexOf("(")); in forApiString() 86 String name = methodParts[2].substring(0, methodParts[2].indexOf("(")); in forApiString() 102 String params = method.substring(method.indexOf("(") + 1, method.indexOf(")")) in parameterTypes()
|
/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() 106 String className = fixedPathName.substring(0, fixedPathName.lastIndexOf(".")); in processFileBytes() 265 return path.substring(index + 3); in fixPath() 269 return path.substring(2); in fixPath()
|
/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/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/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()
|
/cts/tests/app/shared/src/android/app/cts/ |
D | NotificationTemplateTestBase.kt | 140 substring: String in <lambda>() 142 findViewWithTextContaining(substring) in <lambda>() 143 ?: throw RuntimeException("Unable to find view with text containing: $substring") in <lambda>() 156 substring: String in <lambda>() 160 (it.text?.toString() ?: "").contains(substring) in <lambda>() 165 else -> throw RuntimeException("Found multiple views with text containing: $substring") in <lambda>()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AESCipherNistCavpKatTest.java | 196 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/hostsidetests/statsdatom/src/android/cts/statsdatom/sizecompatrestartbutton/ |
D | SizeCompatRestartButtonStatsTests.java | 163 String substring = s.substring(physicalSize.length()); in getDisplayRealSize() local 164 if (!substring.isEmpty()) { in getDisplayRealSize() 165 return Pair.create(Integer.parseInt(substring.split("x")[0]), in getDisplayRealSize() 166 Integer.parseInt(substring.split("x")[1])); in getDisplayRealSize()
|
/cts/tests/tests/carrierapi/targetprep/device/src/android/carrierapi/cts/targetprep/ |
D | ApduScriptUtil.java | 324 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/hostsidetests/car_builtin/src/android/car/cts/builtin/pm/ |
D | ComponentEnabledStateCommand.java | 65 mCurrentState = mCommandReturn.substring(GET_STATE_RETURN_HEADER.length()).trim(); in parseCommandReturn() 73 mNewState = mCommandReturn.substring(NEW_STATE_RETURN_HEADER.length()).trim(); in parseCommandReturn()
|
/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | DumpSysTest.kt | 125 dump.substring(headerIndex0, headerIndex1), in dumpCurrentState() 126 dump.substring(headerIndex1, headerIndex2), in dumpCurrentState() 127 dump.substring(headerIndex2) in dumpCurrentState()
|
/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/ |
D | Logcat.java | 80 return log.substring(Math.max(0, log.length() - 500)); in dump() 196 String methodName = className.substring(methodNameSeparator + 1); in extractStackTraceElement() 197 className = className.substring(0, methodNameSeparator); in extractStackTraceElement() 200 elementParts[1].substring( in extractStackTraceElement()
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/info/ |
D | ClassInfo.java | 64 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/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | ComponentNameUtils.java | 36 ? className.substring(packageName.length()) : className); in buildComponentName()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appcompatstate/ |
D | AppCompatStateStatsTests.java | 277 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/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | PermissionDeviceInfo.java | 75 String packageName = line.substring("Package: ".length()); in collectSignaturePermissionAllowlist() 80 String permissionName = line.substring("Permission: ".length()); in collectSignaturePermissionAllowlist()
|
/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/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()
|