Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 60) sorted by relevance

123

/tools/metalava/src/main/java/com/android/tools/metalava/
DOptions.kt752 val path = getValue(args, ++index) in <lambda>()
757 val path = getValue(args, ++index) in <lambda>()
773 val listString = getValue(args, ++index) in <lambda>()
783 subtractApi = stringToExistingFile(getValue(args, ++index)) in <lambda>()
789 getValue(args, ++index) in <lambda>()
795 getValue(args, ++index) in <lambda>()
800 val nextArg = getValue(args, ++index) in <lambda>()
810 validateNullabilityFromList = stringToExistingFile(getValue(args, ++index)) in <lambda>()
815 nullabilityWarningsTxt = stringToNewFile(getValue(args, ++index)) in <lambda>()
819 … "-sdkvalues", ARG_SDK_VALUES -> sdkValueDir = stringToNewDir(getValue(args, ++index)) in <lambda>()
[all …]
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java68 assertEquals("1.0", manifest.getMainAttributes().getValue("Manifest-Version")); in signEmptyJar()
69 assertEquals("Me", manifest.getMainAttributes().getValue("Created-By")); in signEmptyJar()
70 assertEquals("Me", manifest.getMainAttributes().getValue("Built-By")); in signEmptyJar()
97 assertEquals("1.0", manifest.getMainAttributes().getValue("Manifest-Version")); in signJarWithPrexistingSimpleTextFilePre18()
98 assertEquals("Merry", manifest.getMainAttributes().getValue("Built-By")); in signJarWithPrexistingSimpleTextFilePre18()
99 assertEquals("Christmas", manifest.getMainAttributes().getValue("Created-By")); in signJarWithPrexistingSimpleTextFilePre18()
104 assertEquals("OOQgIEXBissIvva3ydRoaXk29Rk=", attrs.getValue("SHA1-Digest")); in signJarWithPrexistingSimpleTextFilePre18()
111 assertEquals("1.0", signature.getMainAttributes().getValue("Signature-Version")); in signJarWithPrexistingSimpleTextFilePre18()
112 assertEquals("1.0 (Android)", signature.getMainAttributes().getValue("Created-By")); in signJarWithPrexistingSimpleTextFilePre18()
119 signature.getMainAttributes().getValue("SHA1-Digest-Manifest")); in signJarWithPrexistingSimpleTextFilePre18()
[all …]
/tools/platform-compat/java/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandler.java119 String expected = property.getValue().stringifyValue(); in handleAnnotation()
129 if (property.getValue().getElementValueType() != ElementValue.PRIMITIVE_INT) { in handleAnnotation()
132 property.getValue().getElementValueType()); in handleAnnotation()
136 maxTargetSdk = ((SimpleElementValue) property.getValue()).getValueInt(); in handleAnnotation()
139 implicitMemberSignature = property.getValue().stringifyValue(); in handleAnnotation()
153 publicAlternativesString = property.getValue().stringifyValue(); in handleAnnotation()
156 if (property.getValue().getElementValueType() != ElementValue.PRIMITIVE_LONG) { in handleAnnotation()
159 property.getValue().getElementValueType()); in handleAnnotation()
162 trackingBug = ((SimpleElementValue) property.getValue()).getValueLong(); in handleAnnotation()
/tools/platform-compat/javatest/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandlerTest.java103 assertThat(greylist.getValue()).isEqualTo("La/b/Class;->method()V"); in testGreylistMethod()
124 assertThat(greylist.getValue()).isEqualTo("La/b/Class;-><init>()V"); in testGreylistConstructor()
145 assertThat(greylist.getValue()).isEqualTo("La/b/Class;->i:I"); in testGreylistField()
166 assertThat(greylist.getValue()).isEqualTo("La/b/EnumClass;->values()[La/b/EnumClass;"); in testGreylistImplicit()
187 assertThat(format.getValue()) in testGreylistImplicit_Invalid_MissingOnClass()
208 assertThat(format.getValue()) in testGreylistImplicit_Invalid_PresentOnMember()
230 assertThat(greylist.getValue()).isEqualTo("La/b/Class;->method()V"); in testGreylistMethodExpectedSignature()
271 assertThat(greylist.getValue()).isEqualTo("La/b/Class$Inner;->method()V"); in testGreylistInnerClassMethod()
309 assertThat(greylist.getValue()).isEqualTo("La/b/Class;->method(Ljava/lang/String;)V"); in testMethodArgGenerics()
449 assertThat(greylist.getValue()).isEqualTo("La/b/Class;->method(Ljava/lang/String;)V"); in testPublicBridgeExcluded()
[all …]
/tools/aadevtools/avd/
Dcreate_avd.sh41 getValue() { function
135 getValue "DEVICE_PROFILE_NAME" "d:id" "${DEVICE_XML}"
136 getValue "MANUFACTURER" "d:manufacturer" "${DEVICE_XML}"
137 getValue "ORIENTATION" "d:screen-orientation" "${DEVICE_XML}"
138 getValue "TAG_ID" "d:tag-id" "${DEVICE_XML}"
139 getValue "SKIN" "d:skin" "${DEVICE_XML}"
Dpatch_all_avds.sh46 getValue() { function
81 getValue "MY_AVD_ID" "AvdId" $config_file
83 getValue "MY_TAG_ID" "tag.id" $config_file
Dset_avds_force_cold_boot.sh45 getValue() { function
87 getValue "myAvdId" "AvdId" $config_file
89 getValue "myAvdTagId" "tag.id" $config_file
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/
DGameQualificationTest.java98 intent.putExtra(argument.getKey(), argument.getValue()); in startApp()
101 boolean value = Boolean.valueOf(argument.getValue()); in startApp()
106 byte value = Byte.valueOf(argument.getValue()); in startApp()
111 int value = Integer.valueOf(argument.getValue()); in startApp()
116 long value = Long.valueOf(argument.getValue()); in startApp()
121 float value = Float.valueOf(argument.getValue()); in startApp()
126 double value = Double.valueOf(argument.getValue()); in startApp()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DHistogram.java112 cumulative += entry.getValue(); in plotAscii()
123 float percentage = entry.getValue() * 100f / total; in plotAscii()
126 ? (entry.getValue() * maxBarLength + maxCount - 1) / maxCount in plotAscii()
127 : entry.getValue(); in plotAscii()
134 entry.getValue(), in plotAscii()
/tools/loganalysis/src/com/android/loganalysis/util/
DRegexTrie.java211 wildcardValue = child.getValue().getValue(); in recursiveRetrieve()
226 return child.getValue().recursiveRetrieve(captures, nextKeys); in recursiveRetrieve()
284 private V getValue() { in getValue() method in RegexTrie
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/reporter/
DGameQualificationResultReporter.java161 sb.append(String.format("\n%s Metrics:\n%s\n", entry.getKey(), entry.getValue())); in getInvocationSummary()
188 sb.append(entry.getValue().getStatus().name()); in getInvocationSummary()
277 if (mSuppressPassedTest && TestStatus.PASSED.equals(entry.getValue().getStatus())) { in getTestRunSummary()
280 sb.append(getTestSummary(entry.getKey(), entry.getValue())); in getTestRunSummary()
306 MetricSummary metrics = entry.getValue(); in createPerformanceReport()
/tools/apksig/src/main/java/com/android/apksig/internal/jar/
DManifestWriter.java45 String manifestVersion = attributes.getValue(Attributes.Name.MANIFEST_VERSION); in writeMainSection()
113 String attrValue = attribute.getValue().toString(); in getAttributesSortedByName()
123 String attrValue = attribute.getValue(); in writeAttributes()
DManifestParser.java280 public String getValue() { in getValue() method in ManifestParser.Attribute
308 sectionName = firstAttr.getValue(); in Section()
357 return attr.getValue(); in getAttributeValue()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAsn1Utils.java46 return bigIntegerToInt(((ASN1Integer) asn1Value).getValue()); in getIntegerFromAsn1()
48 return bigIntegerToInt(((ASN1Enumerated) asn1Value).getValue()); in getIntegerFromAsn1()
57 return bigIntegerToLong(((ASN1Integer) asn1Value).getValue()); in getLongFromAsn1()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/stamp/
DV2SourceStampSigner.java151 digests.add(Pair.of(digest.getKey().getId(), digest.getValue())); in getSignedDigestsFor()
197 result.putInt(4 + stampAttribute.getValue().length); in encodeStampAttributes()
199 result.put(stampAttribute.getValue()); in encodeStampAttributes()
DV2SourceStampVerifier.java136 getApkDigests(signatureSchemeApkContentDigest.getValue()); in getSignatureSchemeDigests()
149 digests.add(Pair.of(apkContentDigest.getKey().getId(), apkContentDigest.getValue())); in getApkDigests()
/tools/platform-compat/java/com/android/annotationvisitor/
DRepeatedAnnotationHandler.java52 Preconditions.checkArgument(value.getValue() instanceof ArrayElementValue); in handleAnnotation()
53 ArrayElementValue array = (ArrayElementValue) value.getValue(); in handleAnnotation()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiClass.java213 ApiElement method = entry.getValue(); in removeOverridingMethods()
277 ApiElement value = entry.getValue(); in inlineFromHiddenSuperClasses()
284 ApiElement value = entry.getValue(); in inlineFromHiddenSuperClasses()
/tools/loganalysis/src/com/android/loganalysis/item/
DMemoryHealthItem.java90 out.put(entry.getKey(), processToJson(entry.getValue())); in mapToJson()
102 out.put(entry.getKey(), entry.getValue()); in processToJson()
DGenericItem.java42 setAttribute(entry.getKey(), entry.getValue()); in GenericItem()
154 final Object attribute = entry.getValue(); in toJson()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/sign/
DManifestGenerationExtension.java196 String currentVersion = mainAttributes.getValue(ManifestAttributes.MANIFEST_VERSION); in rebuildManifest()
222 String current = mainAttributes.getValue(attribute); in setMainAttribute()
/tools/test/graphicsbenchmark/performance_tests/helper/test/com/android/game/qualification/
DGameCoreConfigurationXmlParserTest.java164 assertEquals("value1", args.get(0).getValue()); in testApkWithArguments()
167 assertEquals("value2", args.get(1).getValue()); in testApkWithArguments()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java250 Field field = fieldEntry.getValue(); in setOptionValue()
343 Field field = fieldEntry.getValue(); in setOptionMapValue()
517 final OptionFieldsForName optionFields = optionPair.getValue(); in getUnsetMandatoryOptions()
525 final Field field = fieldEntry.getValue(); in getUnsetMandatoryOptions()
/tools/platform-compat/java/android/compat/testing/
DClasspaths.java144 if (!resultEntry.getValue().getStatus().equals(TestStatus.PASSED)) { in runDeviceTests()
147 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DSignatureConverter.java230 .map(e -> (String) e.getValue().getValue()) in verifyExpectedSignature()

123