Home
last modified time | relevance | path

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

1234

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCurrentXmlHandler.java65 mCurrentPackageName = getValue(attributes, "name"); in startElement()
76 mCurrentClassName = getValue(attributes, "name"); in startElement()
78 String superClass = attributes.getValue("extends"); in startElement()
91 mCurrentMethodName = getValue(attributes, "name"); in startElement()
92 mCurrentMethodReturnType = getValue(attributes, "return"); in startElement()
94 mCurrentMethodVisibility = getValue(attributes, "visibility"); in startElement()
99 mCurrentParameterTypes.add(getValue(attributes, "type")); in startElement()
136 static String getValue(Attributes attributes, String key) { in getValue() method in CurrentXmlHandler
138 return attributes.getValue(key) in getValue()
144 return "deprecated".equals(attributes.getValue("deprecated")); in isDeprecated()
[all …]
DDexDepsXmlHandler.java53 mCurrentPackageName = CurrentXmlHandler.getValue(attributes, "name"); in startElement()
56 mCurrentClassName = CurrentXmlHandler.getValue(attributes, "name"); in startElement()
60 mCurrentMethodName = CurrentXmlHandler.getValue(attributes, "name"); in startElement()
61 mCurrentMethodReturnType = CurrentXmlHandler.getValue(attributes, "return"); in startElement()
64 mCurrentParameterTypes.add(CurrentXmlHandler.getValue(attributes, "type")); in startElement()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPackageXmlParser.java79 final String appPackageName = attributes.getValue("appPackageName"); in startElement()
80 final String testPackageNameSpace = attributes.getValue("appNameSpace"); in startElement()
81 final String packageName = attributes.getValue("name"); in startElement()
82 final String runnerName = attributes.getValue("runner"); in startElement()
83 final String jarPath = attributes.getValue("jarPath"); in startElement()
84 final String javaPackageFilter = attributes.getValue("javaPackageFilter"); in startElement()
85 final String targetBinaryName = attributes.getValue("targetBinaryName"); in startElement()
86 final String targetNameSpace = attributes.getValue("targetNameSpace"); in startElement()
87 final String runTimeArgs = attributes.getValue("runtimeArgs"); in startElement()
112 String packageSegment = attributes.getValue("name"); in startElement()
[all …]
DTestPlan.java71 attributes.getValue(EXCLUDE_ATTR), attributes.getValue(INCLUDE_ATTR)); in startElement()
72 final String entryNameValue = attributes.getValue(NAME_ATTR); in startElement()
73 final String entryAbiValue = attributes.getValue(ABI_ATTR); in startElement()
229 serializeFilter(serializer, packageEntry.getValue()); in serialize()
/cts/tests/tests/net/src/android/net/cts/
DUrlQuerySanitizerTest.java59 assertEquals(bookName, uqs.getValue(book)); in testUrlQuerySanitizer()
60 assertEquals(bookPrice, uqs.getValue(price)); in testUrlQuerySanitizer()
61 assertNull(uqs.getValue(notExistPar)); in testUrlQuerySanitizer()
68 assertEquals(bookName, uqs.getValue(book)); in testUrlQuerySanitizer()
71 assertEquals(bookPrice, uqs.getValue(price)); in testUrlQuerySanitizer()
73 assertNull(uqs.getValue(notExistPar)); in testUrlQuerySanitizer()
83 assertEquals(EXPECTED_UNDERLINE_NAME, uqs.getValue(NAME)); in testUrlQuerySanitizer()
84 assertEquals(EXPECTED_AGE, uqs.getValue(AGE)); in testUrlQuerySanitizer()
85 assertEquals(EXPECTED_HEIGHT, uqs.getValue(HEIGHT)); in testUrlQuerySanitizer()
86 assertNull(uqs.getValue(notExistPar)); in testUrlQuerySanitizer()
[all …]
/cts/libs/deviceutillegacy/src/android/webkit/cts/
DWebViewOnUiThread.java251 return getValue(new ValueGetter<Boolean>() { in canZoomIn()
260 return getValue(new ValueGetter<Boolean>() {
269 return getValue(new ValueGetter<Boolean>() {
278 return getValue(new ValueGetter<Boolean>() {
314 return getValue(new ValueGetter<WebMessagePort[]>() {
555 return getValue(new ValueGetter<String>() {
564 return getValue(new ValueGetter<WebSettings>() {
573 return getValue(new ValueGetter<WebBackForwardList>() {
582 return getValue(new ValueGetter<Bitmap>() {
591 return getValue(new ValueGetter<String>() {
[all …]
/cts/tests/tests/text/src/android/text/cts/
DAnnotationTest.java47 assertEquals(VALUE1, mAnnotation.getValue()); in testGetValue()
49 assertEquals(VALUE2, mAnnotation.getValue()); in testGetValue()
74 assertEquals(out.getValue(), mAnnotation.getValue()); in testWriteToParcel()
/cts/tests/tests/widget/src/android/widget/cts/
DGridLayoutTest.java49 abstract int getValue(View v); in getValue() method in GridLayoutTest.Alignment
60 int getValue(View v) {
66 int getValue(View v) {
72 int getValue(View v) {
78 int getValue(View v) {
87 int getValue(View v) {
93 int getValue(View v) {
99 int getValue(View v) {
105 int getValue(View v) {
111 int getValue(View v) {
[all …]
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DEventGapVerificationTest.java85 assertEquals(pass, stats.getValue(EventGapVerification.PASSED_KEY)); in runVerification()
86 assertEquals(indices.length, stats.getValue(SensorStats.EVENT_GAP_COUNT_KEY)); in runVerification()
87 assertNotNull(stats.getValue(SensorStats.EVENT_GAP_POSITIONS_KEY)); in runVerification()
88 int[] actualIndices = (int[]) stats.getValue(SensorStats.EVENT_GAP_POSITIONS_KEY); in runVerification()
DEventOrderingVerificationTest.java101 assertEquals(passed, stats.getValue(EventOrderingVerification.PASSED_KEY)); in verifyStats()
102 assertEquals(count, stats.getValue(SensorStats.EVENT_OUT_OF_ORDER_COUNT_KEY)); in verifyStats()
103 assertNotNull(stats.getValue(SensorStats.EVENT_OUT_OF_ORDER_POSITIONS_KEY)); in verifyStats()
107 int[] primitiveIndices = (int[]) stats.getValue( in getIndices()
DMagnitudeVerificationTest.java65 assertEquals(pass, stats.getValue(MagnitudeVerification.PASSED_KEY)); in runStats()
66 assertEquals(magnitude, (Float) stats.getValue(SensorStats.MAGNITUDE_KEY), 0.01); in runStats()
DStandardDeviationVerificationTest.java78 assertEquals(pass, stats.getValue(StandardDeviationVerification.PASSED_KEY)); in runVerification()
79 float[] actual = (float[]) stats.getValue(SensorStats.STANDARD_DEVIATION_KEY); in runVerification()
DFrequencyVerificationTest.java94 assertEquals(passed, stats.getValue(FrequencyVerification.PASSED_KEY)); in verifyStats()
95 assertEquals(frequency, stats.getValue(SensorStats.FREQUENCY_KEY)); in verifyStats()
DMeanVerificationTest.java107 assertEquals(passed, stats.getValue(MeanVerification.PASSED_KEY)); in verifyStats()
108 float[] actual = (float[]) stats.getValue(SensorStats.MEAN_KEY); in verifyStats()
/cts/tests/tests/animation/src/android/animation/cts/
DKeyframeTest.java47 assertEquals(keyFrame.getValue(),10); in testOfIntValue()
53 assertEquals(keyFrame.getValue(),9.0f); in testOfFloatValue()
66 assertEquals(keyFrame.getValue(), value); in testOfObjectValue()
93 Float actualValue = (Float)keyFrame.getValue(); in testSetValue()
DPropertyValuesHolderTest.java141 assertEquals("Keyframe should get the value from the target", emptyKeyframe1.getValue(), in testResetValues()
153 … assertEquals("Keyframe should get the value from the target", emptyKeyframe2.getValue(), 100f); in testResetValues()
160 assertEquals(emptyKeyframe1.getValue(), initialY); in testResetValues()
167 fullKeyframe.getValue(), 333f); in testResetValues()
175 … assertEquals("Keyframe should get the updated Y value", emptyKeyframe1.getValue(), updatedY); in testResetValues()
183 + " reset", fullKeyframe.getValue(), 333f); in testResetValues()
197 + " of the same class", emptyKeyframe1.getValue(), updatedY); in testResetValues()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DCtsTestStatus.java37 String getValue() { in getValue() method in CtsTestStatus
51 if (value.compareToIgnoreCase(status.getValue()) == 0) { in getStatus()
/cts/tools/signature-tools/src/signature/model/impl/
DSigAnnotationElement.java38 public Object getValue() { in getValue() method in SigAnnotationElement
51 builder.append(getValue()); in toString()
/cts/tools/dex-tools/src/dex/reader/
DDexEncodedValueImpl.java277 public Object getValue() { in getValue() method in DexEncodedValueImpl
286 if (getValue() instanceof List<?>) { in toString()
287 List<?> values = (List<?>) getValue(); in toString()
290 builder.append(val.getValue()); in toString()
294 builder.append(getValue()); in toString()
DDexEncodedAnnotationImpl.java63 public List<DexAnnotationAttribute> getValue() { in getValue() method in DexEncodedAnnotationImpl
73 return getTypeName() + ":" + getValue(); in toString()
/cts/tools/dex-tools/src/dex/structure/
DDexEncodedValue.java37 Object getValue(); in getValue() method
DDexEncodedAnnotation.java24 List<DexAnnotationAttribute> getValue(); in getValue() method
/cts/tools/signature-tools/src/signature/model/
DIAnnotationElement.java40 Object getValue(); in getValue() method
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorStats.java102 public synchronized Object getValue(String key) { in getValue() method in SensorStats
117 for (Entry<String, Object> valueEntry : statsEntry.getValue().flatten().entrySet()) { in flatten()
119 flattenedMap.put(key, valueEntry.getValue()); in flatten()
/cts/tools/dex-tools/test/dex/reader/
DDexFileReaderTests.java225 Object value = dexAnnotationValue.getEncodedValue().getValue(); in testG0()
229 builder.append(((DexEncodedValue)o).getValue()); in testG0()
250 Object value = dexAnnotationValue.getEncodedValue().getValue(); in testG1()
254 builder.append(((DexEncodedValue)o).getValue()); in testG1()
303 …<DexEncodedValue> values = (List<DexEncodedValue>) dexAnnotationValue.getEncodedValue().getValue(); in testOuter0()
306 innerTypeNames.add((String) value.getValue()); in testOuter0()

1234