/cts/tests/tests/os/src/android/os/cts/ |
D | CustomClassLoaderTest.java | 31 File tf; field in CustomClassLoaderTest 50 tf = File.createTempFile("CustomClassLoaderTest_TestClass", ".dex"); in setUp() 51 tf.deleteOnExit(); in setUp() 54 OutputStream fos = new FileOutputStream(tf); in setUp() 55 assertTrue(tf.setReadOnly()); in setUp() 72 tf.getAbsolutePath(), in testCustomDexClassLoader() 91 tf.getAbsolutePath(), in testCustomPathClassLoader()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | StyleSpanTest.java | 77 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); in testUpdateMeasureState_withStyle() local 78 tp.setTypeface(tf); in testUpdateMeasureState_withStyle() 94 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); in testUpdateMeasureState_withFontWeightAdjustment() local 95 tp.setTypeface(tf); in testUpdateMeasureState_withFontWeightAdjustment() 119 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); in testUpdateDrawState_withStyle() local 120 tp.setTypeface(tf); in testUpdateDrawState_withStyle() 136 Typeface tf = Typeface.defaultFromStyle(Typeface.NORMAL); in testUpdateDrawState_withFontWeightAdjustment() local 137 tp.setTypeface(tf); in testUpdateDrawState_withFontWeightAdjustment()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/ |
D | TaskFragmentTrustedModeTest.java | 79 final TaskFragmentInfo tf = createTaskFragment(SECOND_UNTRUSTED_EMBEDDING_ACTIVITY, in testUntrustedModeTaskFragmentVisibility_overlayTaskFragment() local 84 tf.getConfiguration().windowConfiguration.getBounds())); in testUntrustedModeTaskFragmentVisibility_overlayTaskFragment() 202 final WindowManagerState.TaskFragment tf = amState.getTaskFragmentByActivity( in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds() 204 return tf != null && tf.getWindowingMode() == WINDOWING_MODE_MULTI_WINDOW; in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds() 208 final WindowManagerState.TaskFragment tf = mWmState.getTaskFragmentByActivity( in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds() local 210 assertNotNull(tf); in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds() 211 assertEquals(WINDOWING_MODE_MULTI_WINDOW, tf.getWindowingMode()); in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds() 212 assertEquals(parentBounds, tf.getFullConfiguration().windowConfiguration.getBounds()); in testUntrustedModeTaskFragment_setRelativeBoundsOutsideOfParentBounds()
|
/cts/hostsidetests/adb/src/android/adb/cts/ |
D | AdbHostTest.java | 33 File tf = File.createTempFile("AdbHostTest", ".tmp"); in copyResourceToTempFile() local 34 FileOutputStream os = new FileOutputStream(tf); in copyResourceToTempFile() 42 tf.deleteOnExit(); in copyResourceToTempFile() 43 return tf; in copyResourceToTempFile()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0409/ |
D | poc.cpp | 25 TemporaryFile tf; in main() local 27 fm.create(FILE_NAME, tf.fd, FILE_OFFSET, FILE_LENGTH, true); in main()
|
/cts/tools/vm-tests-tf/ |
D | Android.bp | 116 name: "cts-tf-dalvik-buildutil", 136 name: "vm-tests-tf-lib", 143 ":cts-tf-dalvik-buildutil", 153 " && unzip -bq $(location :cts-tf-dalvik-buildutil) -d $(genDir)/classes" + 156 …" -cp $(location :cts-tf-dalvik-buildutil):$(location :junit):$(location :d8):$(location :andr… 158 " cts/tools/vm-tests-tf/src" + 184 out: ["vm-tests-tf-lib.jar"], 188 name: "vm-tests-tf", 191 "vm-tests-tf-lib",
|
D | TEST_MAPPING | 4 "name": "vm-tests-tf"
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutBidiTouchTest.java | 46 Typeface tf = new Typeface.Builder(am, "fonts/StaticLayoutTouchLocation.ttf").build(); in touchOffsetTest() local 47 assertNotNull(tf); in touchOffsetTest() 48 p.setTypeface(tf); in touchOffsetTest()
|
D | NotoCJKFontRequirement.java | 110 Typeface tf = new Typeface.CustomFallbackBuilder( in testContextualSpacing() 115 paint.setTypeface(tf); in testContextualSpacing()
|
D | PrecomputedTextTest.java | 364 final Typeface tf = new Typeface.Builder(context.getAssets(), in testGetWidth() local 367 paint.setTypeface(tf); in testGetWidth() 406 final Typeface tf = new Typeface.Builder(context.getAssets(), in testGetWidth_multiStyle() local 409 paint.setTypeface(tf); in testGetWidth_multiStyle() 435 final Typeface tf = new Typeface.Builder(context.getAssets(), in testGetWidth_multiStyle2() local 438 paint.setTypeface(tf); in testGetWidth_multiStyle2() 508 final Typeface tf = new Typeface.Builder(context.getAssets(), in testGetBounds() local 511 paint.setTypeface(tf); in testGetBounds() 567 final Typeface tf = new Typeface.Builder(context.getAssets(), in testGetBounds_multiStyle() local 570 paint.setTypeface(tf); in testGetBounds_multiStyle() [all …]
|
D | StaticLayoutTest.java | 1536 Typeface tf = new Typeface.Builder(context.getAssets(), "fonts/samplefont.ttf").build(); 1537 assertNotNull(tf); 1539 paint.setTypeface(tf);
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | TypefaceTestUtil.java | 63 Typeface tf = new Typeface.CustomFallbackBuilder(builder.build()).build(); in getRobotoTypeface() local 64 requireNonNull(tf); in getRobotoTypeface() 65 return Typeface.create(tf, weight, italic); in getRobotoTypeface()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | TypefaceTestUtil.java | 66 Typeface tf = new Typeface.CustomFallbackBuilder(builder.build()).build(); in getRobotoTypeface() local 67 assertThat(tf).isNotNull(); in getRobotoTypeface() 68 return Typeface.create(tf, weight, italic); in getRobotoTypeface()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceTestUtil.java | 66 Typeface tf = new Typeface.CustomFallbackBuilder(builder.build()).build(); in getRobotoTypeface() local 67 assertThat(tf).isNotNull(); in getRobotoTypeface() 68 return Typeface.create(tf, weight, italic); in getRobotoTypeface()
|
D | TypefaceTest.java | 98 Typeface tf = Typeface.create(family, style); in createTypeface() local 99 if (tf.getStyle() == style) { in createTypeface() 100 return tf; in createTypeface()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewPrecomputedTextTest.java | 96 final Typeface tf = paint.getTypeface(); in makeDifferentParams() local 97 if (tf == null || tf == Typeface.DEFAULT) { in makeDifferentParams()
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | HyphenationTest.java | 54 Typeface tf = new Typeface.Builder(am, "fonts/layout/linebreak.ttf").build(); in classSetUp() local 55 sPaint.setTypeface(tf); in classSetUp()
|
D | MeasuredTextTest.java | 55 Typeface tf = new Typeface.Builder(am, "fonts/layout/linebreak.ttf").build(); in classSetUp() local 56 sPaint.setTypeface(tf); in classSetUp()
|
D | LineBreakerTest.java | 76 Typeface tf = new Typeface.Builder(am, "fonts/layout/linebreak.ttf").build(); in classSetUp() local 77 sPaint.setTypeface(tf); in classSetUp()
|
/cts/tests/tests/security/res/raw/ |
D | cve_2018_13925.ts | 4324 ��Z��y@!&�d�*�dLrn-�|����+0�HC�+蝽��%�ց?��� �G11"��5�tf�P�Eq�i{>T�D�|��ڀ�2z
|
D | cve_2019_2244.ts | 4326 ��Z��y@!&�d�*�dLrn-�|����+0�HC�+蝽��%�ց?��� �G11"��5�tf�P�Eq�i{>T�D�|��ڀ�2z
|