Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 654) sorted by relevance

12345678910>>...27

/cts/common/host-side/util/tests/src/com/android/compatibility/common/util/
DDynamicConfigHandlerTest.java105 assertEquals("override-config-val-1", configMap.get("override-config-1").get(0)); in testDynamicConfigHandler()
106 assertTrue(configMap.get("override-config-list-1") in testDynamicConfigHandler()
108 assertTrue(configMap.get("override-config-list-1") in testDynamicConfigHandler()
110 assertTrue(configMap.get("override-config-list-3").size() == 0); in testDynamicConfigHandler()
112 assertEquals("test config 1", configMap.get("test-config-1").get(0)); in testDynamicConfigHandler()
113 assertTrue(configMap.get("config-list").contains("config2")); in testDynamicConfigHandler()
115 assertEquals("override-config-val-2", configMap.get("override-config-2").get(0)); in testDynamicConfigHandler()
116 assertEquals(1, configMap.get("override-config-list-2").size()); in testDynamicConfigHandler()
117 assertTrue(configMap.get("override-config-list-2") in testDynamicConfigHandler()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_decoder_source.cpp87 …int err = AMediaExtractor_setDataSourceFd(mEx.get(), sourceFileFd, sourceFileOffset, sourceFileSiz… in setDataSourceFd()
95 int numtracks = AMediaExtractor_getTrackCount(mEx.get()); in setDataSourceFd()
97 AMediaFormat *format = AMediaExtractor_getTrackFormat(mEx.get(), i); in setDataSourceFd()
127 int t = AMediaExtractor_getSampleTrackIndex(mEx.get()); in run()
140 ssize_t bufidx = AMediaCodec_dequeueInputBuffer(mDec.get(), 5000); in run()
143 uint8_t *buf = AMediaCodec_getInputBuffer(mDec.get(), bufidx, &bufsize); in run()
144 int sampleSize = AMediaExtractor_readSampleData(mEx.get(), buf, bufsize); in run()
156 AMediaCodec_queueInputBuffer(mDec.get(), bufidx, 0, sampleSize, timeStampUs, flags); in run()
158 AMediaExtractor_advance(mEx.get()); in run()
163 int status = AMediaCodec_dequeueOutputBuffer(mDec.get(), &info, 1000); in run()
[all …]
/cts/tests/tests/util/src/android/util/cts/
DEventLogTest.java57 assertEquals(ANSWER_TAG, events.get(0).getTag()); in testWriteEvent()
58 assertEquals(12345, events.get(0).getData()); in testWriteEvent()
59 assertEquals(23456L, events.get(1).getData()); in testWriteEvent()
60 assertEquals(42.4242f, events.get(2).getData()); in testWriteEvent()
61 assertEquals("Test", events.get(3).getData()); in testWriteEvent()
63 Object[] arr = (Object[]) events.get(4).getData(); in testWriteEvent()
95 String val0 = (String) events.get(0).getData(); in testWriteEventWithOversizeValueLimitElision()
96 assertNull("getData on object 0 raised a WTF", events.get(0).getLastError()); in testWriteEventWithOversizeValueLimitElision()
100 Object[] arr1 = (Object[]) events.get(1).getData(); in testWriteEventWithOversizeValueLimitElision()
101 assertNull("getData on object 1 raised a WTF", events.get(1).getLastError()); in testWriteEventWithOversizeValueLimitElision()
[all …]
DPropertyTest.java44 assertEquals(getFloatProp(), RAW_FLOAT_PROP.get(this), 0f); in testProperty()
45 assertEquals(getPointProp(), RAW_POINT_PROP.get(this)); in testProperty()
48 assertEquals(mFloatValue, RAW_FLOAT_PROP.get(this), 0f); in testProperty()
51 assertEquals(testPointValue, RAW_POINT_PROP.get(this)); in testProperty()
57 assertEquals(getFloatProp(), FLOAT_PROP.get(this), 0f); in testFloatProperty()
60 assertEquals(5f, FLOAT_PROP.get(this), 0f); in testFloatProperty()
63 assertEquals(10f, FLOAT_PROP.get(this), 0f); in testFloatProperty()
69 assertEquals(getIntProp(), INT_PROP.get(this).intValue()); in testIntProperty()
72 assertEquals(5, INT_PROP.get(this).intValue()); in testIntProperty()
75 assertEquals(10, INT_PROP.get(this).intValue()); in testIntProperty()
[all …]
DSparseLongArrayTest.java54 assertEquals(i, sparseArray.get(KEYS[i])); in testSparseArrayWithDefaultCapacity()
65 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
68 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
72 sparseArray.get(NON_EXISTED_KEY, VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
73 assertEquals(0L, sparseArray.get(NON_EXISTED_KEY)); // the default value is 0 in testSparseArrayWithDefaultCapacity()
84 assertEquals(VALUES[1], sparseArray.get(KEYS[1])); in testSparseArrayWithDefaultCapacity()
88 sparseArray.get(KEYS[1], VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
92 assertEquals(VALUES[2], sparseArray.get(KEYS[2])); in testSparseArrayWithDefaultCapacity()
96 sparseArray.get(KEYS[2], VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
116 assertEquals(VALUES[i], sparseArray.get(KEYS[i])); in testSparseArrayWithSpecifiedCapacity()
[all …]
DSparseIntArrayTest.java48 assertEquals(VALUES[i], sparseIntArray.get(KEYS[i])); in testSparseIntArrayWithDefaultCapacity()
59 assertEquals(oldValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithDefaultCapacity()
62 assertEquals(newValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithDefaultCapacity()
66 sparseIntArray.get(NON_EXISTED_KEY, VALUE_FOR_NON_EXISTED_KEY)); in testSparseIntArrayWithDefaultCapacity()
67 assertEquals(0, sparseIntArray.get(NON_EXISTED_KEY)); // the default value is 0 in testSparseIntArrayWithDefaultCapacity()
77 assertEquals(VALUES[1], sparseIntArray.get(KEYS[1])); in testSparseIntArrayWithDefaultCapacity()
81 sparseIntArray.get(KEYS[1], VALUE_FOR_NON_EXISTED_KEY)); in testSparseIntArrayWithDefaultCapacity()
98 assertEquals(VALUES[i], sparseIntArray.get(KEYS[i])); in testSparseIntArrayWithSpecifiedCapacity()
108 assertEquals(oldValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithSpecifiedCapacity()
111 assertEquals(newValue, sparseIntArray.get(existKey)); in testSparseIntArrayWithSpecifiedCapacity()
[all …]
DLongSparseArrayTest.java56 assertEquals(new Integer(i), sparseArray.get(KEYS[i])); in testSparseArrayWithDefaultCapacity()
67 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
70 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
74 sparseArray.get(NON_EXISTED_KEY, VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
75 assertNull(sparseArray.get(NON_EXISTED_KEY)); // the default value is null in testSparseArrayWithDefaultCapacity()
90 assertEquals(VALUES[1], sparseArray.get(KEYS[1])); in testSparseArrayWithDefaultCapacity()
94 sparseArray.get(KEYS[1], VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
98 assertEquals(VALUES[2], sparseArray.get(KEYS[2])); in testSparseArrayWithDefaultCapacity()
102 sparseArray.get(KEYS[2], VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
122 assertEquals(VALUES[i], sparseArray.get(KEYS[i])); in testSparseArrayWithSpecifiedCapacity()
[all …]
DSparseArrayTest.java53 assertEquals(new Integer(i), sparseArray.get(KEYS[i])); in testSparseArrayWithDefaultCapacity()
64 assertEquals(oldValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
67 assertEquals(newValue, sparseArray.get(existKey)); in testSparseArrayWithDefaultCapacity()
71 sparseArray.get(NON_EXISTED_KEY, VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
72 assertNull(sparseArray.get(NON_EXISTED_KEY)); // the default value is null in testSparseArrayWithDefaultCapacity()
87 assertEquals(VALUES[1], sparseArray.get(KEYS[1])); in testSparseArrayWithDefaultCapacity()
91 sparseArray.get(KEYS[1], VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
95 assertEquals(VALUES[2], sparseArray.get(KEYS[2])); in testSparseArrayWithDefaultCapacity()
99 sparseArray.get(KEYS[2], VALUE_FOR_NON_EXISTED_KEY)); in testSparseArrayWithDefaultCapacity()
119 assertEquals(VALUES[i], sparseArray.get(KEYS[i])); in testSparseArrayWithSpecifiedCapacity()
[all …]
DSparseBooleanArrayTest.java49 assertEquals(VALUES[i], sparseBooleanArray.get(KEYS[i])); in testSparseBooleanArrayWithDefaultCapacity()
66 assertEquals(oldValue, sparseBooleanArray.get(existKey)); in testSparseBooleanArrayWithDefaultCapacity()
69 assertEquals(newValue, sparseBooleanArray.get(existKey)); in testSparseBooleanArrayWithDefaultCapacity()
73 sparseBooleanArray.get(NON_EXISTED_KEY, VALUE_FOR_NON_EXISTED_KEY)); in testSparseBooleanArrayWithDefaultCapacity()
74 assertEquals(false, sparseBooleanArray.get(NON_EXISTED_KEY)); // the default value is false in testSparseBooleanArrayWithDefaultCapacity()
85 assertEquals(VALUES[1], sparseBooleanArray.get(KEYS[1])); in testSparseBooleanArrayWithDefaultCapacity()
89 sparseBooleanArray.get(KEYS[1], VALUE_FOR_NON_EXISTED_KEY)); in testSparseBooleanArrayWithDefaultCapacity()
106 assertEquals(VALUES[i], sparseBooleanArray.get(KEYS[i])); in testSparseBooleanArrayWithSpecifiedCapacity()
123 assertEquals(oldValue, sparseBooleanArray.get(existKey)); in testSparseBooleanArrayWithSpecifiedCapacity()
126 assertEquals(newValue, sparseBooleanArray.get(existKey)); in testSparseBooleanArrayWithSpecifiedCapacity()
[all …]
/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/
DJvmtiTaggingTest.java75 if (weak.get() != null) { in testTaggingGC()
100 exp2.add(l.get(1), 1).add(l.get(11), 1).add(l.get(2), 2).add(l.get(12), 2).add(l.get(3), 3) in testGetTaggedObjects()
101 .add(l.get(13), 3).add(l.get(4), 4).add(l.get(14), 4).add(l.get(5), 5) in testGetTaggedObjects()
102 .add(l.get(15), 5).add(l.get(6), 6).add(l.get(16), 6).add(l.get(7), 7) in testGetTaggedObjects()
103 .add(l.get(17), 7).add(l.get(8), 8).add(l.get(18), 8).add(l.get(9), 9) in testGetTaggedObjects()
104 .add(l.get(19), 9); in testGetTaggedObjects()
108 exp3.add(l.get(2), 2).add(l.get(12), 2).add(l.get(5), 5).add(l.get(15), 5); in testGetTaggedObjects()
120 exp5.add(l.get(i), 0); in testGetTaggedObjects()
169 Pair p1 = expectations.get(i); in check()
170 Pair p2 = tmp.get(i); in check()
/cts/tests/tests/graphics/src/android/graphics/cts/
DColorSpaceTest.java75 ColorSpace colorSpace = ColorSpace.get(named); in testNamedColorSpaces()
144 ColorSpace cs = ColorSpace.get(ColorSpace.Named.SRGB); in testRanges()
162 cs = ColorSpace.get(ColorSpace.Named.CIE_LAB); in testRanges()
180 cs = ColorSpace.get(ColorSpace.Named.CIE_XYZ); in testRanges()
305 assertEquals(3, ColorSpace.get(ColorSpace.Named.SRGB).getComponentCount()); in testGetComponentCount()
306 assertEquals(3, ColorSpace.get(ColorSpace.Named.LINEAR_SRGB).getComponentCount()); in testGetComponentCount()
307 assertEquals(3, ColorSpace.get(ColorSpace.Named.EXTENDED_SRGB).getComponentCount()); in testGetComponentCount()
308 assertEquals(3, ColorSpace.get(ColorSpace.Named.LINEAR_EXTENDED_SRGB).getComponentCount()); in testGetComponentCount()
309 assertEquals(3, ColorSpace.get(ColorSpace.Named.DISPLAY_P3).getComponentCount()); in testGetComponentCount()
310 assertEquals(3, ColorSpace.get(ColorSpace.Named.CIE_LAB).getComponentCount()); in testGetComponentCount()
[all …]
DColor_ColorLongTest.java48 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testRed()
56 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testGreen()
64 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testBlue()
72 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testAlpha()
80 ColorSpace srgb = ColorSpace.get(Named.SRGB); in testColorSpace()
81 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testColorSpace()
94 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testIsSrgb()
105 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testIsWideGamut()
116 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testIsInColorSpace()
124 ColorSpace p3 = ColorSpace.get(Named.DISPLAY_P3); in testValueOf()
[all …]
DBitmapColorSpaceTest.java66 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in createWithColorSpace()
76 ColorSpace.get(ColorSpace.Named.ADOBE_RGB)); in createWithColorSpace()
79 assertSame(ColorSpace.get(ColorSpace.Named.ADOBE_RGB), cs); in createWithColorSpace()
84 assertSame(ColorSpace.get(ColorSpace.Named.LINEAR_EXTENDED_SRGB), cs); in createWithColorSpace()
87 ColorSpace.get(ColorSpace.Named.ADOBE_RGB)); in createWithColorSpace()
90 assertSame(ColorSpace.get(ColorSpace.Named.LINEAR_EXTENDED_SRGB), cs); in createWithColorSpace()
98 ColorSpace.get(ColorSpace.Named.ADOBE_RGB)); in createWithColorSpace()
109 ColorSpace.get(ColorSpace.Named.ADOBE_RGB)); in createWithColorSpace()
120 ColorSpace.get(ColorSpace.Named.ADOBE_RGB)); in createWithColorSpace()
128 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB); in createDefaultColorSpace()
[all …]
/cts/suite/audio_quality/lib/src/task/
DTaskProcess.cpp42 if (mSp.get() == NULL) { in run()
65 if (ptrs.get() == NULL) { in prepareParams()
70 bzero(ptrs.get(), N * sizeof(void_ptr)); in prepareParams()
72 if (values.get() == NULL) { in prepareParams()
77 if (buffers.get() == NULL) { in prepareParams()
82 void_ptr* voidPtrs = ptrs.get(); in prepareParams()
83 UniqueValue* valuesPtr = values.get(); in prepareParams()
84 UniqueBuffer* buffersPtr = buffers.get(); in prepareParams()
97 if (buffer.get() == NULL) { in prepareParams()
102 *(buffer.get()) = getTestCase()->findBuffer(list[i].getParamString()); in prepareParams()
[all …]
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DClientTest.java98 assertThat(resolveInfo.get(0).activityInfo.packageName, in testQuery()
100 assertThat(resolveInfo.get(0).activityInfo.name, in testQuery()
102 assertThat(resolveInfo.get(0).isInstantAppAvailable, in testQuery()
104 assertThat(resolveInfo.get(1).activityInfo.packageName, in testQuery()
106 assertThat(resolveInfo.get(1).activityInfo.name, in testQuery()
108 assertThat(resolveInfo.get(1).isInstantAppAvailable, in testQuery()
123 assertThat(resolveInfo.get(0).activityInfo.packageName, in testQuery()
125 assertThat(resolveInfo.get(0).activityInfo.name, in testQuery()
127 assertThat(resolveInfo.get(0).isInstantAppAvailable, in testQuery()
129 assertThat(resolveInfo.get(1).activityInfo.packageName, in testQuery()
[all …]
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DJitterVerificationTest.java78 assertEquals(1, deltaValues.get(0).longValue()); in testCalculateDelta()
79 assertEquals(1, deltaValues.get(1).longValue()); in testCalculateDelta()
80 assertEquals(1, deltaValues.get(2).longValue()); in testCalculateDelta()
81 assertEquals(1, deltaValues.get(3).longValue()); in testCalculateDelta()
87 assertEquals(0, deltaValues.get(0).longValue()); in testCalculateDelta()
88 assertEquals(2, deltaValues.get(1).longValue()); in testCalculateDelta()
89 assertEquals(2, deltaValues.get(2).longValue()); in testCalculateDelta()
90 assertEquals(0, deltaValues.get(3).longValue()); in testCalculateDelta()
96 assertEquals(1, deltaValues.get(0).longValue()); in testCalculateDelta()
97 assertEquals(3, deltaValues.get(1).longValue()); in testCalculateDelta()
[all …]
DJitterVerification.java81 int thresholdPercent = DEFAULTS.get(sensorType, -1); in getDefault()
119 (double)(percentileValues.get(1) - percentileValues.get(0)) / mThresholdNs; in verify()
122 (double)(percentileValues.get(1) - percentileValues.get(0)) / in verify()
136 percentileValues.get(0), percentileValues.get(1), in verify()
137 percentileValues.get(1) - percentileValues.get(0), in verify()
165 deltas.add(mTimestamps.get(i) - mTimestamps.get(i - 1)); in getDeltaValues()
/cts/tests/tests/view/src/android/view/cts/
DKeyboardShortcutGroupTest.java102 assertEquals("Additional item", group.getItems().get(newSize - 1).getLabel()); in testAddItem()
116 assertEquals(TEST_ITEMS.get(0).getLabel(), result.getItems().get(0).getLabel()); in testWriteToParcelAndRead()
117 assertEquals(TEST_ITEMS.get(1).getLabel(), result.getItems().get(1).getLabel()); in testWriteToParcelAndRead()
118 assertEquals(TEST_ITEMS.get(0).getKeycode(), result.getItems().get(0).getKeycode()); in testWriteToParcelAndRead()
119 assertEquals(TEST_ITEMS.get(1).getKeycode(), result.getItems().get(1).getKeycode()); in testWriteToParcelAndRead()
120 assertEquals(TEST_ITEMS.get(0).getModifiers(), result.getItems().get(0).getModifiers()); in testWriteToParcelAndRead()
121 assertEquals(TEST_ITEMS.get(1).getModifiers(), result.getItems().get(1).getModifiers()); in testWriteToParcelAndRead()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationSetTest.java95 assertEquals(SHORT_CHILD_DURATION, children.get(0).getDuration()); in testInitialize()
96 assertEquals(MEDIUM_CHILD_DURATION, children.get(1).getDuration()); in testInitialize()
97 assertEquals(LONG_CHILD_DURATION, children.get(2).getDuration()); in testInitialize()
104 assertEquals(ANIMATIONSET_DURATION, children.get(0).getDuration()); in testInitialize()
105 assertEquals(ANIMATIONSET_DURATION, children.get(1).getDuration()); in testInitialize()
106 assertEquals(ANIMATIONSET_DURATION, children.get(2).getDuration()); in testInitialize()
133 children.get(0).setFillAfter(true); in testSetFillAfter()
134 children.get(1).setFillAfter(false); in testSetFillAfter()
141 assertTrue(children.get(i).getFillAfter()); in testSetFillAfter()
151 children.get(0).setFillBefore(true); in testSetFillBefore()
[all …]
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java66 return mBuildInfo.getBuildAttributes().get(RETRY_COMMAND_LINE_ARGS); in getCommandLineArgs()
70 return mBuildInfo.getBuildAttributes().get(COMMAND_LINE_ARGS); in getCommandLineArgs()
75 return mBuildInfo.getBuildAttributes().get(COMMAND_LINE_ARGS); in getRecentCommandLineArgs()
79 return mBuildInfo.getBuildAttributes().get(SUITE_BUILD); in getSuiteBuild()
83 return mBuildInfo.getBuildAttributes().get(SUITE_NAME); in getSuiteName()
87 return mBuildInfo.getBuildAttributes().get(SUITE_FULL_NAME); in getSuiteFullName()
91 return mBuildInfo.getBuildAttributes().get(SUITE_VERSION); in getSuiteVersion()
95 return mBuildInfo.getBuildAttributes().get(SUITE_PLAN); in getSuitePlan()
99 return mBuildInfo.getBuildAttributes().get(DYNAMIC_CONFIG_OVERRIDE_URL); in getDynamicConfigUrl()
103 return Long.parseLong(mBuildInfo.getBuildAttributes().get(START_TIME_MS)); in getStartTime()
[all …]
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvTrackInfoTest.java45 assertEquals(bundle.get("testTrue"), info.getExtra().get("testTrue")); in testAudioTrackInfoOp()
58 assertEquals(bundle.get("testTrue"), infoFromParcel.getExtra().get("testTrue")); in testAudioTrackInfoOp()
86 assertEquals(bundle.get("testTrue"), info.getExtra().get("testTrue")); in testVideoTrackInfoOp()
102 assertEquals(bundle.get("testTrue"), infoFromParcel.getExtra().get("testTrue")); in testVideoTrackInfoOp()
120 assertEquals(bundle.get("testTrue"), info.getExtra().get("testTrue")); in testSubtitleTrackInfoOp()
131 assertEquals(bundle.get("testTrue"), infoFromParcel.getExtra().get("testTrue")); in testSubtitleTrackInfoOp()
/cts/tests/app/src/android/app/cts/
DActivityKeyboardShortcutsTest.java83 assertEquals(1, data.get(0).getItems().size()); in testOnProvideKeyboardShortcuts()
85 data.get(0).getItems().get(0).getLabel()); in testOnProvideKeyboardShortcuts()
87 data.get(0).getItems().get(0).getBaseCharacter()); in testOnProvideKeyboardShortcuts()
88 assertEquals(KeyEvent.META_CTRL_ON, data.get(0).getItems().get(0).getModifiers()); in testOnProvideKeyboardShortcuts()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStatsTest.java57 assertEquals(0, (int) (Integer) flattened.get("value0")); in testFlatten()
58 assertEquals(1, (int) (Integer) flattened.get("value1")); in testFlatten()
59 assertEquals(2, (int) (Integer) flattened.get("stats0__value2")); in testFlatten()
60 assertEquals(3, (int) (Integer) flattened.get("stats0__value3")); in testFlatten()
61 assertEquals(4, (int) (Integer) flattened.get("stats0__stats1__value4")); in testFlatten()
62 assertEquals(5, (int) (Integer) flattened.get("stats0__stats1__value5")); in testFlatten()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DComplexMovementPath.java149 Waypoint currentWaypoint = referencePath.get(0); in addRingsToPath()
158 currentWaypoint = referencePath.get(referencePath.indexOf(currentWaypoint) + 1); in addRingsToPath()
174 referencePath.get(referencePath.indexOf(waypoint) - 1).getCoordinates()); in createRing()
211 referencePath.get(currentLocation).getCoordinates(), in calculateRingLocationOnPath()
212 referencePath.get(currentLocation + 1).getCoordinates()); in calculateRingLocationOnPath()
214 return referencePath.get(currentLocation); in calculateRingLocationOnPath()
279 if (mRings.get(i).getPathNumber() == mCurrentLap) { in hasRingBeenEntered()
280 xDifference = Math.abs(mRings.get(i).getLocation()[X] - location[X]); in hasRingBeenEntered()
281 yDifference = Math.abs(mRings.get(i).getLocation()[Y] - location[Y]); in hasRingBeenEntered()
282 zDifference = Math.abs(mRings.get(i).getLocation()[Z] - location[Z]); in hasRingBeenEntered()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DBurstCaptureRawTest.java235 long resultExposure = result.get(CaptureResult.SENSOR_EXPOSURE_TIME); in execute()
236 int resultSensitivity = result.get(CaptureResult.SENSOR_SENSITIVITY); in execute()
237 long desiredExposure = rawRequestList.get(i).get( in execute()
239 int desiredSensitivity = rawRequestList.get(i).get( in execute()
310 long resultExposure = result.get(CaptureResult.SENSOR_EXPOSURE_TIME); in execute()
311 int resultSensitivity = result.get(CaptureResult.SENSOR_SENSITIVITY); in execute()
312 int resultEdgeMode = result.get(CaptureResult.EDGE_MODE); in execute()
313 int resultNoiseReductionMode = result.get( in execute()
315 long desiredExposure = rawRequestList.get(i).get( in execute()
317 int desiredSensitivity = rawRequestList.get(i).get( in execute()
[all …]

12345678910>>...27