Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 127) sorted by relevance

123456

/cts/tests/tests/text/src/android/text/format/cts/
DTimeTest.java59 time.set(System.currentTimeMillis()); in testConstructor()
103 time.set(date, month, year); in testSet()
109 anotherTime.set(time); in testSet()
131 time.set(12, 10, 2008); in testGetWeekNumber()
200 time.set(1, 2, 1970); in testIsEpoch()
357 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
369 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
374 local.set(millis); in testNormalize1()
386 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
401 local.set(0, test.minute1, test.hour1, test.day1, test.month1, test.year1); in testNormalize1()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DRegionTest.java135 assertTrue(mRegion.set(oriRegion)); in testSet1()
146 assertTrue(mRegion.set(rect)); in testSet2()
156 assertTrue(mRegion.set(1, 2, 3, 4)); in testSet3()
179 mRegion.set(1, 2, 3, 4); in testIsComplex()
184 mRegion.set(1, 1, 2, 2); in testIsComplex()
195 mRegion.set(rect); in testQuickContains1()
198 mRegion.set(5, 6, 7, 8); in testQuickContains1()
208 mRegion.set(1, 2, 3, 4); in testQuickContains2()
211 mRegion.set(5, 6, 7, 8); in testQuickContains2()
227 mRegion.set(rect2); in testUnion()
[all …]
DRegionIteratorTest.java32 region.set(1, 1, 10, 10); in testNext()
34 rect.set(1, 1, 1, 1); in testNext()
46 rect.set(1, 1, 1, 1); in testNext()
53 region.set(1, 1, 10, 10); in testNext()
54 rect.set(5, 5, 15, 15); in testNext()
73 rect.set(1, 1, 1, 1); in testNext()
80 region.set(1, 1, 10, 10); in testNext()
81 rect.set(5, 5, 15, 15); in testNext()
95 rect.set(1, 1, 1, 1); in testNext()
102 region.set(1, 1, 10, 10); in testNext()
[all …]
DPointFTest.java68 mPointF.set(0.3f, 0.4f); in testSet1()
76 mPointF.set(pointF); in testSet2()
/cts/tests/tests/util/src/android/util/cts/
DArraySetTest.java126 private static <E> void compareSets(HashSet<E> set, ArraySet<E> array) { in compareSets() argument
127 assertEquals("Bad size", set.size(), array.size()); in compareSets()
130 for (E entry : set) { in compareSets()
137 set.contains(entry)); in compareSets()
144 set.contains(entry)); in compareSets()
147 if (set.hashCode() != array.hashCode()) { in compareSets()
148 assertEquals("Set hash codes differ", set.hashCode(), array.hashCode()); in compareSets()
151 assertTrue("HashSet.equals(ArraySet) failed", set.equals(array)); in compareSets()
152 assertTrue("ArraySet.equals(HashSet) failed", array.equals(set)); in compareSets()
154 assertTrue("HashSet.containsAll(ArraySet) failed", set.containsAll(array)); in compareSets()
[all …]
DTimeUtilsTest.java41 c.set(2008, Calendar.OCTOBER, 20, 12, 00, 00); in testUnitedStates()
45 c.set(2009, Calendar.JANUARY, 20, 12, 00, 00); in testUnitedStates()
62 c.set(2008, Calendar.OCTOBER, 20, 12, 00, 00); in testWeirdUnitedStates()
78 c.set(2005, Calendar.OCTOBER, 20, 12, 00, 00); in testOld()
98 c.set(2009, Calendar.JULY, 20, 12, 00, 00); in testWorldWeird()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DScriptGroupTest.java56 m.set(1, 0, 0.2f); in testScriptGroupSingleKernel()
57 m.set(1, 1, 0.9f); in testScriptGroupSingleKernel()
58 m.set(1, 2, 0.2f); in testScriptGroupSingleKernel()
87 m.set(1, 0, 0.2f); in testScriptGroupDisconnectedKernel()
88 m.set(1, 1, 0.9f); in testScriptGroupDisconnectedKernel()
89 m.set(1, 2, 0.2f); in testScriptGroupDisconnectedKernel()
128 m.set(1, 0, 0.2f); in testScriptGroupFieldConnection()
129 m.set(1, 1, 0.9f); in testScriptGroupFieldConnection()
130 m.set(1, 2, 0.2f); in testScriptGroupFieldConnection()
172 m.set(1, 0, 0.2f); in testScriptGroupDisconnectedDAG()
[all …]
DSetObjectTest.java61 filed.set(mItem, 0, true); in testSetObjectElement()
81 filed.set(mItem, 0, true); in testSetObjectType()
104 filed.set(mItem, 0, true); in testSetObjectAllocation()
126 filed.set(mItem, 0, true); in testSetObjectSampler()
148 filed.set(mItem, 0, true); in testSetObjectScript()
DIsObjectTest.java62 filed.set(mItem, 0, true); in testIsObjectElement()
82 filed.set(mItem, 0, true); in testIsObjectType()
106 filed.set(mItem, 0, true); in testIsObjectAllocation()
129 filed.set(mItem, 0, true); in testIsObjectSampler()
151 filed.set(mItem, 0, true); in testIsObjectScript()
DImageProcessingTest.java173 m.set(1, 0, 0.2f); in testColorMatrix()
174 m.set(1, 1, 0.9f); in testColorMatrix()
175 m.set(1, 2, 0.2f); in testColorMatrix()
314 m.set(1, 0, 0.2f); in testScriptGroup()
315 m.set(1, 1, 0.9f); in testScriptGroup()
316 m.set(1, 2, 0.2f); in testScriptGroup()
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DBurstCaptureRawTest.java535 rawBurstBuilder.set(CaptureRequest.CONTROL_AE_MODE, CaptureRequest.CONTROL_AE_MODE_OFF); in createBurstRequest()
536 rawBurstBuilder.set(CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.CONTROL_AWB_MODE_OFF); in createBurstRequest()
537 rawBurstBuilder.set(CaptureRequest.NOISE_REDUCTION_MODE, in createBurstRequest()
539 rawBurstBuilder.set(CaptureRequest.EDGE_MODE, CaptureRequest.EDGE_MODE_OFF); in createBurstRequest()
542 rawBurstBuilder.set(CaptureRequest.SENSOR_FRAME_DURATION, 0L); in createBurstRequest()
571 rawBurstBuilder.set(CaptureRequest.SENSOR_EXPOSURE_TIME, desiredExposure); in createBurstRequest()
572 rawBurstBuilder.set(CaptureRequest.SENSOR_SENSITIVITY, desiredSensitivity); in createBurstRequest()
594 rawBurstBuilder.set(CaptureRequest.CONTROL_AE_MODE, CaptureRequest.CONTROL_AE_MODE_ON); in createBurstRequestWith3A()
595 rawBurstBuilder.set(CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.CONTROL_AWB_MODE_AUTO); in createBurstRequestWith3A()
596 rawBurstBuilder.set(CaptureRequest.NOISE_REDUCTION_MODE, in createBurstRequestWith3A()
[all …]
DCaptureRequestTest.java152 requestBuilder.set(CaptureRequest.BLACK_LEVEL_LOCK, true); in testBlackLevelLock()
213 requestBuilder.set(CaptureRequest.STATISTICS_LENS_SHADING_MAP_MODE, in testLensShadingMap()
225 requestBuilder.set(CaptureRequest.SHADING_MODE, SHADING_MODE_OFF); in testLensShadingMap()
235 requestBuilder.set(CaptureRequest.SHADING_MODE, SHADING_MODE_FAST); in testLensShadingMap()
247 requestBuilder.set(CaptureRequest.SHADING_MODE, SHADING_MODE_HIGH_QUALITY); in testLensShadingMap()
641 requestBuilder.set(CaptureRequest.NOISE_REDUCTION_MODE, mode); in noiseReductionModeTestByCamera()
664 requestBuilder.set(CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_MODE_OFF); in focusDistanceTestByCamera()
671 requestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, testDistances[i]); in focusDistanceTestByCamera()
694 requestBuilder.set(CaptureRequest.LENS_FOCUS_DISTANCE, hyperFocalDistance); in focusDistanceTestByCamera()
768 requestBuilder.set(CaptureRequest.EDGE_MODE, mode); in edgeModesTestByCamera()
[all …]
DBurstCaptureTest.java144 previewBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, in yuvBurstTestByCamera()
146 burstBuilder.set(CaptureRequest.CONTROL_AE_TARGET_FPS_RANGE, in yuvBurstTestByCamera()
148 burstBuilder.set(CaptureRequest.CONTROL_AE_LOCK, true); in yuvBurstTestByCamera()
149 burstBuilder.set(CaptureRequest.CONTROL_AWB_LOCK, true); in yuvBurstTestByCamera()
195 previewBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in yuvBurstTestByCamera()
198 previewBuilder.set(CaptureRequest.CONTROL_AF_TRIGGER, in yuvBurstTestByCamera()
223 previewBuilder.set(CaptureRequest.CONTROL_AE_LOCK, true); in yuvBurstTestByCamera()
224 previewBuilder.set(CaptureRequest.CONTROL_AWB_LOCK, true); in yuvBurstTestByCamera()
DAllocationTest.java147 request.set(CaptureRequest.CONTROL_MODE, CaptureRequest.CONTROL_MODE_OFF); in setManualCaptureRequest()
148 request.set(CaptureRequest.CONTROL_AE_MODE, CaptureRequest.CONTROL_AE_MODE_OFF); in setManualCaptureRequest()
149 request.set(CaptureRequest.CONTROL_AWB_MODE, CaptureRequest.CONTROL_AWB_MODE_OFF); in setManualCaptureRequest()
150 request.set(CaptureRequest.CONTROL_AF_MODE, CaptureRequest.CONTROL_AF_MODE_OFF); in setManualCaptureRequest()
151 request.set(CaptureRequest.CONTROL_EFFECT_MODE, CaptureRequest.CONTROL_EFFECT_MODE_OFF); in setManualCaptureRequest()
152 request.set(CaptureRequest.SENSOR_FRAME_DURATION, 0L); in setManualCaptureRequest()
153 request.set(CaptureRequest.SENSOR_SENSITIVITY, sensitivity); in setManualCaptureRequest()
154 request.set(CaptureRequest.SENSOR_EXPOSURE_TIME, expTimeNs); in setManualCaptureRequest()
155 request.set(CaptureRequest.COLOR_CORRECTION_MODE, in setManualCaptureRequest()
159 request.set(CaptureRequest.COLOR_CORRECTION_TRANSFORM, in setManualCaptureRequest()
[all …]
DStillCaptureTest.java480 previewRequest.set(CaptureRequest.CONTROL_AE_MODE, in takePictureTestByCamera()
482 stillRequest.set(CaptureRequest.CONTROL_AE_MODE, in takePictureTestByCamera()
497 stillRequest.set(CaptureRequest.CONTROL_AF_REGIONS, afRegions); in takePictureTestByCamera()
516 previewRequest.set(CaptureRequest.CONTROL_AF_MODE, currentAfMode); in takePictureTestByCamera()
517 stillRequest.set(CaptureRequest.CONTROL_AF_MODE, currentAfMode); in takePictureTestByCamera()
526 previewRequest.set(CaptureRequest.CONTROL_AWB_REGIONS, awbRegions); in takePictureTestByCamera()
527 stillRequest.set(CaptureRequest.CONTROL_AWB_REGIONS, awbRegions); in takePictureTestByCamera()
539 previewRequest.set(CaptureRequest.CONTROL_AWB_LOCK, true); in takePictureTestByCamera()
561 previewRequest.set(CaptureRequest.CONTROL_AE_REGIONS, aeRegions); in takePictureTestByCamera()
562 stillRequest.set(CaptureRequest.CONTROL_AE_REGIONS, aeRegions); in takePictureTestByCamera()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DDateSorterTest.java47 HashSet<String> set = new HashSet<String>(); in testGetLabel() local
53 assertFalse(set.contains(label)); in testGetLabel()
54 set.add(label); in testGetLabel()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWifiConfigCreator.java147 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in createConfig()
160 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.WPA_PSK); in updateForWPAConfiguration()
167 wifiConf.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in updateForWEPConfiguration()
168 wifiConf.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.OPEN); in updateForWEPConfiguration()
169 wifiConf.allowedAuthAlgorithms.set(WifiConfiguration.AuthAlgorithm.SHARED); in updateForWEPConfiguration()
/cts/tests/tests/content/src/android/content/res/cts/
DTypedArrayTest.java83 final int[] set = new int[1]; in testAttrsMethod() local
84 set[0] = 0; in testAttrsMethod()
87 getColorForState(set, DEFINT)); in testAttrsMethod()
164 final AttributeSet set = parser; in testNonResourceString() local
165 assertEquals(1, set.getAttributeCount()); in testNonResourceString()
166 final TypedArray ta = getContext().getResources().obtainAttributes(set, in testNonResourceString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java944 req.set(CaptureRequest.FLASH_MODE, CaptureRequest.FLASH_MODE_OFF);
945 req.set(CaptureRequest.CONTROL_MODE, CaptureRequest.CONTROL_MODE_AUTO);
946 req.set(CaptureRequest.CONTROL_CAPTURE_INTENT,
948 req.set(CaptureRequest.CONTROL_AE_MODE,
950 req.set(CaptureRequest.CONTROL_AE_EXPOSURE_COMPENSATION, 0);
951 req.set(CaptureRequest.CONTROL_AE_LOCK, false);
952 req.set(CaptureRequest.CONTROL_AE_REGIONS, regionAE);
953 req.set(CaptureRequest.CONTROL_AF_MODE,
955 req.set(CaptureRequest.CONTROL_AF_REGIONS, regionAF);
956 req.set(CaptureRequest.CONTROL_AWB_MODE,
[all …]
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorPeer.java109 public void set(ParcelFileDescriptor pfd) throws RemoteException { in set() method in ParcelFileDescriptorPeer
120 mPeer.set(mRemote); in doSet()
208 set(new IOException("DETACHED")); in onClose()
210 set(e); in onClose()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/src/com/android/cts/splitapp/
DFeatureProvider.java42 touched.set(null, true); in onCreate()
49 value.set(null, getContext().getResources().getString(stringId)); in onCreate()
/cts/tests/tests/text/src/android/text/cts/
DTextPaintTest.java58 textPaint.set(textPaintSrc); in testSet()
67 textPaint.set(null); in testSet()
/cts/apps/CtsVerifier/include/colorchecker/
Dvec3.h63 temp.set(static_cast<float>(mRed) / static_cast<float>(param),
73 temp.set(static_cast<float>(mRed) / static_cast<float>(param.r()),
102 inline void set(const T inputRed, const T inputGreen, const T inputBlue){ in set() function
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimatorInflaterTest.java93 AnimatorSet set = (AnimatorSet) anim; in testLoadAnimator() local
94 assertEquals("should have 3 sub animations", 3, set.getChildAnimations().size()); in testLoadAnimator()
95 for (Animator subAnim : set.getChildAnimations()) { in testLoadAnimator()
99 final ObjectAnimator child1 = (ObjectAnimator) set.getChildAnimations().get(0); in testLoadAnimator()
100 final ObjectAnimator child2 = (ObjectAnimator) set.getChildAnimations().get(1); in testLoadAnimator()
/cts/apps/CameraITS/tests/scene1/
Dtest_param_shading_mode.py47 set(props["android.shading.availableModes"]) == set([0, 1, 2]))

123456