Home
last modified time | relevance | path

Searched refs:cal (Results 1 – 13 of 13) sorted by relevance

/cts/apps/CameraITS/pymodules/its/
Ddng.py23 def compute_cm_fm(illuminant, gains, ccm, cal): argument
98 CC = numpy.array([cal[0:3],cal[3:6],cal[6:9]])
117 def compute_asn(illuminant, cal, CM): argument
152 CC = numpy.array([cal[0:3],cal[3:6],cal[6:9]])
/cts/tests/autofillservice/src/android/autofillservice/cts/
DDatePickerTestCase.java52 final Calendar cal = Calendar.getInstance(); in testAutoFillAndSave() local
53 cal.set(Calendar.YEAR, 2012); in testAutoFillAndSave()
54 cal.set(Calendar.MONTH, Calendar.DECEMBER); in testAutoFillAndSave()
55 cal.set(Calendar.DAY_OF_MONTH, 20); in testAutoFillAndSave()
61 .setField(ID_DATE_PICKER, cal.getTimeInMillis()) in testAutoFillAndSave()
DDateTransformationTest.java86 final Calendar cal = Calendar.getInstance(); in testValidAutofillValue() local
87 cal.set(Calendar.YEAR, 2012); in testValidAutofillValue()
88 cal.set(Calendar.MONTH, Calendar.DECEMBER); in testValidAutofillValue()
89 cal.set(Calendar.DAY_OF_MONTH, 20); in testValidAutofillValue()
92 .thenReturn(AutofillValue.forDate(cal.getTimeInMillis())); in testValidAutofillValue()
DTimePickerTestCase.java52 final Calendar cal = Calendar.getInstance(); in testAutoFillAndSave() local
53 cal.set(Calendar.HOUR_OF_DAY, 4); in testAutoFillAndSave()
54 cal.set(Calendar.MINUTE, 20); in testAutoFillAndSave()
60 .setField(ID_TIME_PICKER, cal.getTimeInMillis()) in testAutoFillAndSave()
DCustomDescriptionDateTest.java118 final Calendar cal = Calendar.getInstance();
119 cal.clear();
120 cal.set(Calendar.YEAR, 2012);
121 cal.set(Calendar.MONTH, Calendar.DECEMBER);
133 .setField(ID_DATE_PICKER, cal.getTimeInMillis())
DHelper.java619 final Calendar cal = Calendar.getInstance(); in assertDateValue() local
620 cal.setTimeInMillis(value.getDateValue()); in assertDateValue()
623 .that(cal.get(Calendar.YEAR)).isEqualTo(year); in assertDateValue()
625 .that(cal.get(Calendar.MONTH)).isEqualTo(month); in assertDateValue()
627 .that(cal.get(Calendar.DAY_OF_MONTH)).isEqualTo(day); in assertDateValue()
651 final Calendar cal = Calendar.getInstance(); in assertTimeValue() local
652 cal.setTimeInMillis(value.getDateValue()); in assertTimeValue()
655 .that(cal.get(Calendar.HOUR_OF_DAY)).isEqualTo(hour); in assertTimeValue()
657 .that(cal.get(Calendar.MINUTE)).isEqualTo(minute); in assertTimeValue()
/cts/apps/CameraITS/tests/inprog/scene2/
Dtest_dng_tags.py50 cal = its.objects.rational_to_float(props[cal_str[i]])
53 print "HAL reported cal:\n", numpy.array(cal).reshape(3,3)
61 cm, fm = its.dng.compute_cm_fm(dng_illum[i], gains, ccm, cal)
62 asn = its.dng.compute_asn(dng_illum[i], cal, cm)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/
DDeskClockTestsActivity.java173 final Calendar cal = Calendar.getInstance(); in createIntents() local
174 cal.setTimeInMillis(cal.getTimeInMillis() + 120000); in createIntents()
181 .putExtra(AlarmClock.EXTRA_HOUR, cal.get(Calendar.HOUR_OF_DAY)) in createIntents()
182 .putExtra(AlarmClock.EXTRA_MINUTES, cal.get(Calendar.MINUTE)), in createIntents()
/cts/tests/tests/text/src/android/text/format/cts/
DDateUtilsTest.java138 final GregorianCalendar cal = new GregorianCalendar(); in test_getRelativeTimeSpanString_withContext() local
139 cal.setTimeInMillis(mBaseTime); in test_getRelativeTimeSpanString_withContext()
140 cal.set(Calendar.HOUR_OF_DAY, 10); in test_getRelativeTimeSpanString_withContext()
141 cal.set(Calendar.MINUTE, 0); in test_getRelativeTimeSpanString_withContext()
142 final long today10am = cal.getTimeInMillis(); in test_getRelativeTimeSpanString_withContext()
DTimeTest.java96 Calendar cal = Calendar.getInstance(); in testNormalize() local
97 cal.setTimeInMillis(timeMilliseconds); in testNormalize()
98 assertEquals(2008, cal.get(Calendar.YEAR)); in testNormalize()
99 assertEquals(3, cal.get(Calendar.MONTH)); in testNormalize()
100 assertEquals(1, cal.get(Calendar.DAY_OF_MONTH)); in testNormalize()
/cts/tests/tests/location/src/android/location/cts/psedorange/
DPseudorangePositionVelocityFromRealTimeEvents.java126 Calendar cal = gpsTime.getTimeInCalendar(); in computePositionVelocitySolutionsFromRawMeas() local
127 mDayOfYear1To366 = cal.get(Calendar.DAY_OF_YEAR); in computePositionVelocitySolutionsFromRawMeas()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAndroidKeyStoreTest.java1894 Calendar cal = Calendar.getInstance(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
1895 cal.set(1944, 5, 6); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
1896 Date now = cal.getTime(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
1897 cal.clear(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
1899 cal.set(1945, 8, 2); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
1900 Date end = cal.getTime(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
/cts/tests/tests/media/assets/unmuxed_1500k/
D09.ts6231 …����������� ���\�(A�� 0��A�sI�&S��������9.\�Edb\?���xc�G��y1cal<r:ty"�w�R�&��S�m�*q…