Home
last modified time | relevance | path

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

12

/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()
DHiddenapiFlagsWriter.java38 mOutput.println(row.getKey() + "," + row.getValue()); in close()
/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/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/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/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()
DSignatureFileWriter.java37 String signatureVersion = attributes.getValue(Attributes.Name.SIGNATURE_VERSION); in writeMainSection()
/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/platform-compat/java/com/android/annotationvisitor/
DRepeatedAnnotationHandler.java52 Preconditions.checkArgument(value.getValue() instanceof ArrayElementValue); in handleAnnotation()
53 ArrayElementValue array = (ArrayElementValue) value.getValue(); in handleAnnotation()
DAnnotationHandler.java38 content.put(prop.getNameString(), prop.getValue().stringifyValue()); in stringifyAnnotationProperties()
/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/apk/stamp/
DV2SourceStampSigner.java150 digests.add(Pair.of(digest.getKey().getId(), digest.getValue())); in getSignedDigestsFor()
196 result.putInt(4 + stampAttribute.getValue().length); in encodeStampAttributes()
198 result.put(stampAttribute.getValue()); in encodeStampAttributes()
/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/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/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/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/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DGPFlags.java103 public long getValue() { in getValue() method in GPFlags
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java193 builder.enabledAfter((Integer)(Objects.requireNonNull(sdkValue).getValue())); in createChange()
196 builder.enabledSince((Integer)(Objects.requireNonNull(sdkValue).getValue())); in createChange()
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DSignatureConverter.java230 .map(e -> (String) e.getValue().getValue()) in verifyExpectedSignature()
/tools/platform-compat/javatest/com/android/annotationvisitor/
DRepeatedAnnotationHandlerTest.java90 classes.add(annotation.getElementValuePairs()[0].getValue().stringifyValue()); in handleAnnotation()
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DApkInfo.java52 public String getValue() { in getValue() method in ApkInfo.Argument

12