/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | CurrentXmlHandler.java | 67 mCurrentPackageName = getValue(attributes, "name"); in startElement() 79 mCurrentClassName = getValue(attributes, "name"); in startElement() 81 String superClass = attributes.getValue("extends"); in startElement() 87 mCurrentInterfaceName = attributes.getValue("name"); in startElement() 93 mCurrentMethodName = getValue(attributes, "name"); in startElement() 94 mCurrentMethodReturnType = getValue(attributes, "return"); in startElement() 96 mCurrentMethodVisibility = getValue(attributes, "visibility"); in startElement() 101 mCurrentParameterTypes.add(getValue(attributes, "type")); in startElement() 138 static String getValue(Attributes attributes, String key) { in getValue() method in CurrentXmlHandler 140 return attributes.getValue(key) in getValue() [all …]
|
D | TestModuleConfigHandler.java | 63 if (null != attributes.getValue(DESCRIPTION_TAG)) { in startElement() 64 mFileMetadata.setDescription(attributes.getValue(DESCRIPTION_TAG)); in startElement() 70 mTestCase.setTestClass(attributes.getValue(CLASS_TAG)); in startElement() 73 mTargetPreparer.setTestClass(attributes.getValue(CLASS_TAG)); in startElement() 76 option.setName(attributes.getValue(NAME_TAG)); in startElement() 77 option.setValue(attributes.getValue(VALUE_TAG)); in startElement() 78 String keyStr = attributes.getValue(KEY_TAG); in startElement() 85 mModuleName = option.getValue(); in startElement()
|
D | CtsReportHandler.java | 59 mTestSuiteBld.setName(attributes.getValue(NAME_TAG)); in startElement() 60 mTestPackageBld.setName(attributes.getValue(NAME_TAG)); in startElement() 62 if (null != attributes.getValue(NAME_TAG)) { in startElement() 63 mTestPackageBld.setAbi(attributes.getValue(ABI_TAG)); in startElement() 67 mTestCaseBld.setName(attributes.getValue(NAME_TAG)); in startElement() 71 testBld.setName(attributes.getValue(NAME_TAG)); in startElement() 72 testBld.setResult(attributes.getValue(RESULT_TAG)); in startElement()
|
D | DexDepsXmlHandler.java | 54 mCurrentPackageName = CurrentXmlHandler.getValue(attributes, "name"); in startElement() 57 mCurrentClassName = CurrentXmlHandler.getValue(attributes, "name"); in startElement() 61 mCurrentMethodName = CurrentXmlHandler.getValue(attributes, "name"); in startElement() 64 mCurrentParameterTypes.add(CurrentXmlHandler.getValue(attributes, "type")); in startElement()
|
D | TestSuiteContentReport.java | 174 localName, attributes.getValue(NAME_TAG), attributes.getValue(VALUE_TAG)); in startElement() 175 if (EXCLUDE_FILTER_TAG.equals(attributes.getValue(NAME_TAG))) { in startElement() 176 String kfFilter = attributes.getValue(VALUE_TAG).replace(' ', '.'); in startElement() 352 rtHit = rtHit + opt.getValue() + " "; in printTestSuiteContent() 354 pkg = pkg + opt.getValue() + " "; in printTestSuiteContent() 356 jar = jar + opt.getValue() + " "; in printTestSuiteContent() 358 ntdPath = ntdPath + opt.getValue() + " "; in printTestSuiteContent() 360 module = module + opt.getValue() + " "; in printTestSuiteContent() 374 testFile = testFile + opt.getValue() + " "; in printTestSuiteContent() 376 pushList = pushList + opt.getValue() + " "; in printTestSuiteContent()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | UrlQuerySanitizerTest.java | 59 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/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | EventBasicVerificationTest.java | 58 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()
|
D | EventGapVerificationTest.java | 85 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()
|
D | EventOrderingVerificationTest.java | 101 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()
|
D | TimestampClockSourceVerificationTest.java | 182 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()
|
D | InitialValueVerificationTest.java | 117 assertEquals(passed, stats.getValue(InitialValueVerification.PASSED_KEY)); in verifyStats() 118 float[] actualInitialMeans = (float[]) stats.getValue(SensorStats.INITIAL_MEAN_KEY); in verifyStats() 119 float[] actualLaterMeans = (float[]) stats.getValue(SensorStats.LATER_MEAN_KEY); in verifyStats()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | TestModuleConfigHandler.java | 66 if (null != attributes.getValue(DESCRIPTION_TAG)) { in startElement() 67 mTestModuleConfig.setDescription(attributes.getValue(DESCRIPTION_TAG)); in startElement() 74 mTestCase.setTestClass(attributes.getValue(CLASS_TAG)); in startElement() 78 mTargetPreparer.setTestClass(attributes.getValue(CLASS_TAG)); in startElement() 82 option.setName(attributes.getValue(NAME_TAG)); in startElement() 83 option.setValue(attributes.getValue(VALUE_TAG)); in startElement() 84 String keyStr = attributes.getValue(KEY_TAG); in startElement() 92 mTestModuleConfig.addTestJars(option.getValue()); in startElement() 95 mModuleName = option.getValue(); in startElement() 101 mTestModuleConfig.addTestFileNames(option.getValue()); in startElement()
|
D | XmlHandler.java | 92 mPermissionsBuilder.setName(attributes.getValue(NAME_TAG)); in startElement() 98 eleBuilder.setValue(attributes.getValue(GID_TAG)); in startElement() 104 mPermissionsBuilder.setName(attributes.getValue(NAME_TAG)); in startElement() 105 String uid = attributes.getValue(UID_TAG); in startElement() 115 mPermissionsBuilder.setName(attributes.getValue(NAME_TAG)); in startElement() 116 String file = attributes.getValue(FILE_TAG); in startElement() 126 mPermissionsBuilder.setName(attributes.getValue(PACKAGE_TAG)); in startElement() 130 mPermissionsBuilder.setName(attributes.getValue(PACKAGE_TAG)); in startElement() 134 mPermissionsBuilder.setName(attributes.getValue(PACKAGE_TAG)); in startElement() 138 mPermissionsBuilder.setName(attributes.getValue(NAME_TAG)); in startElement() [all …]
|
D | DexParser.java | 194 elementBuilder.setValue(getEncodedValueString(ele.getValue())); in getAnnotationList() 205 return String.format("0x%X", ((ByteEncodedValue) encodedValue).getValue()); in getEncodedValueString() 207 return String.format("%d", ((ShortEncodedValue) encodedValue).getValue()); in getEncodedValueString() 209 return String.format("%c", ((CharEncodedValue) encodedValue).getValue()); in getEncodedValueString() 211 return String.format("%d", ((IntEncodedValue) encodedValue).getValue()); in getEncodedValueString() 213 return String.format("%d", ((LongEncodedValue) encodedValue).getValue()); in getEncodedValueString() 215 return String.format("%f", ((FloatEncodedValue) encodedValue).getValue()); in getEncodedValueString() 217 return String.format("%f", ((DoubleEncodedValue) encodedValue).getValue()); in getEncodedValueString() 219 return ((StringEncodedValue) encodedValue).getValue(); in getEncodedValueString() 223 return Boolean.toString(((BooleanEncodedValue) encodedValue).getValue()); in getEncodedValueString() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
D | PeripheralProfile.java | 159 attribs.mChannelCounts = parseIntList(xmlAtts.getValue(kAttr_ChanCounts)); in parseProfileAttributes() 160 attribs.mChannelPositionMasks = parseIntList(xmlAtts.getValue(kAttr_ChanPosMasks)); in parseProfileAttributes() 161 attribs.mChannelIndexMasks = parseIntList(xmlAtts.getValue(kAttr_ChanIndexMasks)); in parseProfileAttributes() 162 attribs.mEncodings = parseIntList(xmlAtts.getValue(kAttr_Encodings)); in parseProfileAttributes() 163 attribs.mSampleRates = parseIntList(xmlAtts.getValue(kAttr_SampleRates)); in parseProfileAttributes() 168 buttonAttributes.mHasBtnA = Integer.parseInt(xmlAtts.getValue(kAttr_HasBtnA)) == 1; in parseProfileButtons() 169 buttonAttributes.mHasBtnB = Integer.parseInt(xmlAtts.getValue(kAttr_HasBtnB)) == 1; in parseProfileButtons() 170 buttonAttributes.mHasBtnC = Integer.parseInt(xmlAtts.getValue(kAttr_HasBtnC)) == 1; in parseProfileButtons() 179 mProfileName = atts.getValue(kAttr_ProfileName); in startElement() 180 mProfileDescription = atts.getValue(kAttr_ProfileDescription); in startElement() [all …]
|
/cts/tests/tests/location/src/android/location/cts/asn1/base/ |
D | Asn1Choice.java | 49 int getValue() { 75 protected abstract Asn1Object getValue(); in getValue() method in Asn1Choice 124 valueLen = getValue().getBerValueLength(); in getBerValueLength() 126 valueLen = getValue().getBerLength(); in getBerValueLength() 130 return getValue().getBerLength(); in getBerValueLength() 142 Asn1Object value = getValue(); in encodeBerValue() 163 Asn1Object element = getValue(); in decodeBerValue() 226 Asn1Object value = getValue(); in encodePerImpl()
|
D | Asn1Tag.java | 107 buf.put((byte) (getValue() | CONSTRUCTED_BIT)); in writeTag() 109 buf.put((byte) getValue()); in writeTag() 128 int getValue() { in getValue() method in Asn1Tag 129 return (tagClass.getValue() << 6) + tagNumber; in getValue()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | GridLayoutTest.java | 63 abstract int getValue(View v); in getValue() method in GridLayoutTest.Alignment 74 int getValue(View v) { 80 int getValue(View v) { 86 int getValue(View v) { 92 int getValue(View v) { 101 int getValue(View v) { 107 int getValue(View v) { 113 int getValue(View v) { 119 int getValue(View v) { 125 int getValue(View v) { [all …]
|
D | NumberPickerTest.java | 300 assertEquals(21, mNumberPicker.getValue()); in testAccessValue() 304 assertEquals(20, mNumberPicker.getValue()); in testAccessValue() 311 assertEquals(22, mNumberPicker.getValue()); in testAccessValue() 315 assertEquals(20, mNumberPicker.getValue()); in testAccessValue() 318 assertEquals(22, mNumberPicker.getValue()); in testAccessValue() 356 assertEquals(7, mNumberPicker.getValue()); in testInteractionWithSwipeDown() 377 assertEquals(6, mNumberPicker.getValue()); in testInteractionWithSwipeDown() 419 assertEquals(11, mNumberPicker.getValue()); in testInteractionWithSwipeUp() 446 assertEquals(12, mNumberPicker.getValue()); in testInteractionWithSwipeUp()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputConnectionWrapperTest.java | 80 assertEquals(1, completionInfoCaptor.getValue().getId()); in testInputConnectionWrapper() 81 assertEquals(1, completionInfoCaptor.getValue().getPosition()); in testInputConnectionWrapper() 82 assertEquals("testText", completionInfoCaptor.getValue().getText()); in testInputConnectionWrapper() 88 assertEquals(0, correctionInfoCaptor.getValue().getOffset()); in testInputConnectionWrapper() 89 assertEquals("oldText", correctionInfoCaptor.getValue().getOldText()); in testInputConnectionWrapper() 90 assertEquals("newText", correctionInfoCaptor.getValue().getNewText()); in testInputConnectionWrapper() 135 assertEquals(KeyEvent.ACTION_DOWN, keyEventCaptor.getValue().getAction()); in testInputConnectionWrapper() 136 assertEquals(KeyEvent.KEYCODE_0, keyEventCaptor.getValue().getKeyCode()); in testInputConnectionWrapper()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | AnnotationTest.java | 53 assertEquals(VALUE1, mAnnotation.getValue()); in testGetValue() 55 assertEquals(VALUE2, mAnnotation.getValue()); in testGetValue() 83 assertEquals(out.getValue(), mAnnotation.getValue()); in testWriteToParcel()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | KeyframeTest.java | 61 assertEquals(keyFrame.getValue(),10); in testOfIntValue() 68 assertEquals(9.0f, (float) keyFrame.getValue(), 0.0f); in testOfFloatValue() 83 assertEquals(keyFrame.getValue(), value); in testOfObjectValue() 114 Float actualValue = (Float) keyFrame.getValue(); in testSetValue()
|
/cts/tests/app/src/android/app/cts/ |
D | FragmentReceiveResultTest.java | 60 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/tests/tests/transition/src/android/transition/cts/ |
D | TransitionManagerTest.java | 67 assertEquals(TestTransition.class, transitionArgumentCaptor.getValue().getClass()); in testBeginDelayedTransition() 68 assertTrue(mTransition != transitionArgumentCaptor.getValue()); in testBeginDelayedTransition() 160 assertEquals(TestTransition.class, transitionArgumentCaptor.getValue().getClass()); in testGo() 161 assertTrue(mTransition != transitionArgumentCaptor.getValue()); in testGo() 209 assertEquals(TestTransition.class, transitionArgumentCaptor.getValue().getClass()); in testSetTransition1() 210 assertTrue(mTransition != transitionArgumentCaptor.getValue()); in testSetTransition1() 248 assertEquals(TestTransition.class, transitionArgumentCaptor.getValue().getClass()); in testSetTransition2() 249 assertTrue(mTransition != transitionArgumentCaptor.getValue()); in testSetTransition2()
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTransitionTest.java | 287 assertEquals(1, names.getValue().size()); in callStartEndWithSharedElements() 288 assertEquals(1, views.getValue().size()); in callStartEndWithSharedElements() 289 assertNull(snapshots.getValue()); in callStartEndWithSharedElements() 290 assertEquals("blueSquare", names.getValue().get(0)); in callStartEndWithSharedElements() 291 assertEquals(startBlue, views.getValue().get(0)); in callStartEndWithSharedElements() 297 assertEquals(1, names.getValue().size()); in callStartEndWithSharedElements() 298 assertEquals(1, views.getValue().size()); in callStartEndWithSharedElements() 299 assertNull(snapshots.getValue()); in callStartEndWithSharedElements() 300 assertEquals("blueSquare", names.getValue().get(0)); in callStartEndWithSharedElements() 301 assertEquals(endBlue, views.getValue().get(0)); in callStartEndWithSharedElements() [all …]
|