Home
last modified time | relevance | path

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

12345

/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.java56 mCurrentPackageName = CurrentXmlHandler.getValue(attributes, "name"); in startElement()
59 mCurrentClassName = CurrentXmlHandler.getValue(attributes, "name"); in startElement()
63 mCurrentMethodName = CurrentXmlHandler.getValue(attributes, "name"); in startElement()
64 mCurrentMethodReturnType = CurrentXmlHandler.getValue(attributes, "return"); in startElement()
67 mCurrentParameterTypes.add(CurrentXmlHandler.getValue(attributes, "type")); in startElement()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DEventBasicVerificationTest.java58 assertEquals(true, stats.getValue(EventBasicVerification.PASSED_KEY)); in testVerify()
59 assertEquals(20, (long) stats.getValue(SensorStats.EVENT_COUNT_KEY)); in testVerify()
60 assertEquals(false, stats.getValue(SensorStats.WRONG_SENSOR_KEY)); in testVerify()
72 assertEquals(false, stats.getValue(EventBasicVerification.PASSED_KEY)); in testVerify()
73 assertEquals(5, (long) stats.getValue(SensorStats.EVENT_COUNT_KEY)); in testVerify()
74 assertEquals(false, stats.getValue(SensorStats.WRONG_SENSOR_KEY)); in testVerify()
88 assertEquals(false, stats.getValue(EventBasicVerification.PASSED_KEY)); in testVerify()
90 assertEquals(0, (long) stats.getValue(SensorStats.EVENT_COUNT_KEY)); in testVerify()
91 assertEquals(true, stats.getValue(SensorStats.WRONG_SENSOR_KEY)); in testVerify()
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()
DTimestampClockSourceVerificationTest.java182 assertEquals(pass, stats.getValue(TimestampClockSourceVerification.PASSED_KEY)); in runVerification()
183 … assertEquals(indices.length, stats.getValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_COUNT_KEY)); in runVerification()
184 if (0 != (Integer) stats.getValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_COUNT_KEY)) { in runVerification()
185 assertNotNull(stats.getValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_POSITIONS_KEY)); in runVerification()
188 …int[] actualIndices = (int[]) stats.getValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_POSITIONS_KE… in runVerification()
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()
/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.java289 return getValue(new ValueGetter<Boolean>() { in canZoomIn()
298 return getValue(new ValueGetter<Boolean>() {
307 return getValue(new ValueGetter<Boolean>() {
316 return getValue(new ValueGetter<Boolean>() {
352 return getValue(new ValueGetter<WebMessagePort[]>() {
593 return getValue(new ValueGetter<String>() {
602 return getValue(new ValueGetter<WebSettings>() {
611 return getValue(new ValueGetter<WebBackForwardList>() {
620 return getValue(new ValueGetter<Bitmap>() {
629 return getValue(new ValueGetter<String>() {
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DPeripheralProfile.java155 attribs.mChannelCounts = parseIntList(xmlAtts.getValue(kAttr_ChanCounts)); in parseProfileAttributes()
156 attribs.mChannelPositionMasks = parseIntList(xmlAtts.getValue(kAttr_ChanPosMasks)); in parseProfileAttributes()
157 attribs.mChannelIndexMasks = parseIntList(xmlAtts.getValue(kAttr_ChanIndexMasks)); in parseProfileAttributes()
158 attribs.mEncodings = parseIntList(xmlAtts.getValue(kAttr_Encodings)); in parseProfileAttributes()
159 attribs.mSampleRates = parseIntList(xmlAtts.getValue(kAttr_SampleRates)); in parseProfileAttributes()
164 buttonAttributes.mHasBtnA = Integer.parseInt(xmlAtts.getValue(kAttr_HasBtnA)) == 1; in parseProfileButtons()
165 buttonAttributes.mHasBtnB = Integer.parseInt(xmlAtts.getValue(kAttr_HasBtnB)) == 1; in parseProfileButtons()
166 buttonAttributes.mHasBtnC = Integer.parseInt(xmlAtts.getValue(kAttr_HasBtnC)) == 1; in parseProfileButtons()
167 buttonAttributes.mHasBtnD = Integer.parseInt(xmlAtts.getValue(kAttr_HasBtnD)) == 1; in parseProfileButtons()
176 mProfileName = atts.getValue(kAttr_ProfileName); in startElement()
[all …]
/cts/tests/tests/text/src/android/text/cts/
DAnnotationTest.java52 assertEquals(VALUE1, mAnnotation.getValue()); in testGetValue()
54 assertEquals(VALUE2, mAnnotation.getValue()); in testGetValue()
82 assertEquals(out.getValue(), mAnnotation.getValue()); in testWriteToParcel()
/cts/tests/tests/widget/src/android/widget/cts/
DGridLayoutTest.java62 abstract int getValue(View v); in getValue() method in GridLayoutTest.Alignment
73 int getValue(View v) {
79 int getValue(View v) {
85 int getValue(View v) {
91 int getValue(View v) {
100 int getValue(View v) {
106 int getValue(View v) {
112 int getValue(View v) {
118 int getValue(View v) {
124 int getValue(View v) {
[all …]
DNumberPickerTest.java276 assertEquals(21, mNumberPicker.getValue()); in testAccessValue()
279 assertEquals(20, mNumberPicker.getValue()); in testAccessValue()
282 assertEquals(22, mNumberPicker.getValue()); in testAccessValue()
286 assertEquals(20, mNumberPicker.getValue()); in testAccessValue()
289 assertEquals(22, mNumberPicker.getValue()); in testAccessValue()
318 assertEquals(7, mNumberPicker.getValue()); in testInteractionWithSwipeDown()
333 assertEquals(6, mNumberPicker.getValue()); in testInteractionWithSwipeDown()
367 assertEquals(11, mNumberPicker.getValue()); in testInteractionWithSwipeUp()
382 assertEquals(12, mNumberPicker.getValue()); in testInteractionWithSwipeUp()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputConnectionWrapperTest.java79 assertEquals(1, completionInfoCaptor.getValue().getId()); in testInputConnectionWrapper()
80 assertEquals(1, completionInfoCaptor.getValue().getPosition()); in testInputConnectionWrapper()
81 assertEquals("testText", completionInfoCaptor.getValue().getText()); in testInputConnectionWrapper()
87 assertEquals(0, correctionInfoCaptor.getValue().getOffset()); in testInputConnectionWrapper()
88 assertEquals("oldText", correctionInfoCaptor.getValue().getOldText()); in testInputConnectionWrapper()
89 assertEquals("newText", correctionInfoCaptor.getValue().getNewText()); in testInputConnectionWrapper()
134 assertEquals(KeyEvent.ACTION_DOWN, keyEventCaptor.getValue().getAction()); in testInputConnectionWrapper()
135 assertEquals(KeyEvent.KEYCODE_0, keyEventCaptor.getValue().getKeyCode()); in testInputConnectionWrapper()
/cts/tests/tests/animation/src/android/animation/cts/
DKeyframeTest.java60 assertEquals(keyFrame.getValue(),10); in testOfIntValue()
67 assertEquals(9.0f, (float) keyFrame.getValue(), 0.0f); in testOfFloatValue()
82 assertEquals(keyFrame.getValue(), value); in testOfObjectValue()
113 Float actualValue = (Float) keyFrame.getValue(); in testSetValue()
/cts/common/util/src/com/android/compatibility/common/util/
DTestStatus.java35 public String getValue() { in getValue() method in TestStatus
49 if (value.compareToIgnoreCase(status.getValue()) == 0) { in getStatus()
/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/tests/tests/transition/src/android/transition/cts/
DTransitionManagerTest.java64 assertEquals(TestTransition.class, transitionArgumentCaptor.getValue().getClass()); in testBeginDelayedTransition()
65 assertTrue(mTransition != transitionArgumentCaptor.getValue()); in testBeginDelayedTransition()
120 assertEquals(TestTransition.class, transitionArgumentCaptor.getValue().getClass()); in testGo()
121 assertTrue(mTransition != transitionArgumentCaptor.getValue()); in testGo()
166 assertEquals(TestTransition.class, transitionArgumentCaptor.getValue().getClass()); in testSetTransition1()
167 assertTrue(mTransition != transitionArgumentCaptor.getValue()); in testSetTransition1()
205 assertEquals(TestTransition.class, transitionArgumentCaptor.getValue().getClass()); in testSetTransition2()
206 assertTrue(mTransition != transitionArgumentCaptor.getValue()); in testSetTransition2()
/cts/tests/app/src/android/app/cts/
DFragmentReceiveResultTest.java60 final String data = captor.getValue() in testStartActivityForResultOk()
72 final String data = captor.getValue() in testStartActivityForResultCanceled()
84 final String data = captor.getValue() in testStartIntentSenderForResultOk()
96 final String data = captor.getValue() in testStartIntentSenderForResultCanceled()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DSubPlan.java154 String includeString = attributes.getValue(INCLUDE_ATTR); in startElement()
155 String excludeString = attributes.getValue(EXCLUDE_ATTR); in startElement()
160 String abiString = attributes.getValue(ABI_ATTR); in startElement()
161 String nameString = attributes.getValue(NAME_ATTR); in startElement()
/cts/common/util/tests/src/com/android/compatibility/common/util/
DDynamicConfigTest.java88 assertEquals("Wrong Config", config.getValue("test-config-1"), "test config 1"); in testCorrectConfig()
89 assertEquals("Wrong Config", config.getValue("test-config-2"), "testconfig2"); in testCorrectConfig()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DGlesStubActivity.java216 abstract public Object getValue(); in getValue() method in GlesStubActivity.ImplementationVariable
240 public Object getValue() { in getValue() method in GlesStubActivity.IntVectorValue
264 public Object getValue() { in getValue() method in GlesStubActivity.DynamicIntVectorValue
287 public Object getValue() { in getValue() method in GlesStubActivity.FloatVectorValue
309 public Object getValue() { in getValue() method in GlesStubActivity.LongVectorValue
328 public Object getValue() { in getValue() method in GlesStubActivity.StringValue
459 Object value = variables[i].getValue(); in collectImplementationVariables()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentTransitionTest.java286 assertEquals(1, names.getValue().size()); in callStartEndWithSharedElements()
287 assertEquals(1, views.getValue().size()); in callStartEndWithSharedElements()
288 assertNull(snapshots.getValue()); in callStartEndWithSharedElements()
289 assertEquals("blueSquare", names.getValue().get(0)); in callStartEndWithSharedElements()
290 assertEquals(startBlue, views.getValue().get(0)); in callStartEndWithSharedElements()
296 assertEquals(1, names.getValue().size()); in callStartEndWithSharedElements()
297 assertEquals(1, views.getValue().size()); in callStartEndWithSharedElements()
298 assertNull(snapshots.getValue()); in callStartEndWithSharedElements()
299 assertEquals("blueSquare", names.getValue().get(0)); in callStartEndWithSharedElements()
300 assertEquals(endBlue, views.getValue().get(0)); in callStartEndWithSharedElements()
[all …]

12345