Home
last modified time | relevance | path

Searched refs:template (Results 1 – 20 of 20) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DImageTransformationTest.java82 RemoteViews template = mock(RemoteViews.class); in fieldCannotBeFound() local
86 trans.apply(finder, template, 0); in fieldCannotBeFound()
89 verify(template, never()).setImageViewResource(anyInt(), anyInt()); in fieldCannotBeFound()
101 RemoteViews template = mock(RemoteViews.class); in theOneOptionsMatches() local
105 trans.apply(finder, template, 0); in theOneOptionsMatches()
107 verify(template).setImageViewResource(0, 42); in theOneOptionsMatches()
118 RemoteViews template = mock(RemoteViews.class); in theOneOptionsMatchesWithContentDescription() local
122 trans.apply(finder, template, 0); in theOneOptionsMatchesWithContentDescription()
124 verify(template).setImageViewResource(0, 42); in theOneOptionsMatchesWithContentDescription()
125 verify(template).setContentDescription(0, "Are you content?"); in theOneOptionsMatchesWithContentDescription()
[all …]
DCharSequenceTransformationTest.java91 RemoteViews template = mock(RemoteViews.class); in testBadSubst() local
98 assertThrows(IndexOutOfBoundsException.class, () -> trans.apply(finder, template, 0)); in testBadSubst()
101 verify(template, never()).setCharSequence(eq(0), any(), any()); in testBadSubst()
121 RemoteViews template = mock(RemoteViews.class); in testUnknownField() local
127 trans.apply(finder, template, 0); in testUnknownField()
130 verify(template, never()).setCharSequence(eq(0), any(), any()); in testUnknownField()
143 RemoteViews template = mock(RemoteViews.class); in testCreditCardObfuscator() local
147 trans.apply(finder, template, 0); in testCreditCardObfuscator()
149 verify(template).setCharSequence(eq(0), any(), argThat(new CharSequenceMatcher("...3456"))); in testCreditCardObfuscator()
160 RemoteViews template = mock(RemoteViews.class); in testReplaceAllByOne() local
[all …]
/cts/apps/CameraITS/tests/scene3/
Dtest_flip_mirror.py54 template = cv2.imread(CHART_FILE, cv2.IMREAD_ANYDEPTH)
72 its.image.write_image(template[:, :, np.newaxis]/255.0,
80 template = its.image.get_image_patch(template, (1-X_CROP)/2, (1-Y_CROP)/2,
84 patch = patch[0:min(patch.shape[0], template.shape[0]),
85 0:min(patch.shape[1], template.shape[1])]
97 correlation = cv2.matchTemplate(comp_chart, template, cv2.TM_CCOEFF)
/cts/apps/CtsVerifier/include/colorchecker/
Dvec3.h24 template <class T>
35 template <class U>
51 template <class U>
69 template <class U>
79 template <class U>
Dvec2.h23 template <class T>
49 template <class U>
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraDeviceTest.java1628 int template = mStaticInfo.isColorOutputSupported() ? in runCaptureTest() local
1632 template, in runCaptureTest()
1633 template, in runCaptureTest()
1634 template, in runCaptureTest()
1635 template, in runCaptureTest()
1636 template in runCaptureTest()
1669 int template, in captureSingleShot() argument
1676 CaptureRequest.Builder requestBuilder = mCamera.createCaptureRequest(template); in captureSingleShot()
1684 id, template)); in captureSingleShot()
1902 private void checkFpsRange(CaptureRequest.Builder request, int template, in checkFpsRange() argument
[all …]
DLogicalCameraDeviceTest.java737 for (int template : sTemplates) { in testActivePhysicalId()
740 mCamera.createCaptureRequest(template); in testActivePhysicalId()
763 if (template == CameraDevice.TEMPLATE_MANUAL && in testActivePhysicalId()
767 } else if (template == CameraDevice.TEMPLATE_ZERO_SHUTTER_LAG && in testActivePhysicalId()
815 for (int template : sTemplates) { in testDefaultFov()
818 mCamera.createCaptureRequest(template); in testDefaultFov()
825 Log.v(TAG, "Camera " + id + " template " + template + in testDefaultFov()
827 mCollector.expectInRange("Camera " + id + " template " + template + in testDefaultFov()
831 if (template == CameraDevice.TEMPLATE_MANUAL && in testDefaultFov()
835 } else if (template == CameraDevice.TEMPLATE_ZERO_SHUTTER_LAG && in testDefaultFov()
/cts/suite/audio_quality/lib/src/
DRWBuffer.h75 template <typename T> void write(T v) { in write()
87 template <typename T> T read() { in read()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dutilities.h28 template <typename T>
31 template <>
43 template <>
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellUtils.java39 public static String runShellCommand(@NonNull String template, Object...args) { in runShellCommand() argument
40 final String command = String.format(template, args); in runShellCommand()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DShellUtils.java39 public static String runShellCommand(@NonNull String template, Object...args) { in runShellCommand() argument
40 final String command = String.format(template, args); in runShellCommand()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java459 protected CaptureRequest prepareCaptureRequest(int template) throws Exception { in prepareCaptureRequest() argument
464 return prepareCaptureRequestForSurfaces(outputSurfaces, template) in prepareCaptureRequest()
469 int template) in prepareCaptureRequestForSurfaces() argument
474 mCamera.createCaptureRequest(template); in prepareCaptureRequestForSurfaces()
484 List<OutputConfiguration> outputConfigs, int template) throws Exception { in prepareCaptureRequestForConfigs() argument
488 mCamera.createCaptureRequest(template); in prepareCaptureRequestForConfigs()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DBaseDeviceAdminTest.java102 protected String runShellCommand(String template, Object...args) { in runShellCommand() argument
103 final String command = String.format(template, args); in runShellCommand()
/cts/apps/CameraITS/pymodules/its/
Dcv2image.py145 template = cv2.imread(self._file, cv2.IMREAD_ANYDEPTH)
153 print ' Template height: %dpixels' % template.shape[0]
155 scale_factor = template.shape[0] / chart_pixel_h
157 return template, img_3a, scale_factor
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/
Dutils.h51 template <size_t size>
/cts/tests/tests/media/libaudiojni/
Dsl-utils.h33 template <typename T>
/cts/tests/tests/permission2/src/android/permission2/cts/
DPermissionPolicyTest.java425 SimpleDateFormat template = new SimpleDateFormat("yyyy-MM-dd"); in parseDate() local
426 patchDate = template.parse(date); in parseDate()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java812 String template = "^1 ^2 template ^3 ^4 to ^5 ^6 be ^7 ^8 expanded ^9"; in testExpandTemplate() local
813 assertEquals(expected, TextUtils.expandTemplate(template, values).toString()); in testExpandTemplate()
818 TextUtils.expandTemplate(template, values); in testExpandTemplate()
1826 String template = "this is a string to be as the template for replacement"; in testReplace() local
1830 SpannableStringBuilder replacedString = (SpannableStringBuilder) TextUtils.replace(template, in testReplace()
1837 replacedString = (SpannableStringBuilder)TextUtils.replace(template, sources, destinations); in testReplace()
1843 replacedString = (SpannableStringBuilder)TextUtils.replace(template, sources, destinations); in testReplace()
1849 TextUtils.replace(template, sources, destinations); in testReplace()
1862 TextUtils.replace(template, null, destinations); in testReplace()
1868 TextUtils.replace(template, sources, null); in testReplace()
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile85 #module-footer-template=
89 #module-header-template=
93 #msg-template=
/cts/hostsidetests/theme/
DREADME46 you can use Nexus 5 as a template. Name the emulator "theme_emulator".