Home
last modified time | relevance | path

Searched refs:NAME (Results 1 – 25 of 84) sorted by relevance

1234

/cts/apps/CameraITS/tests/
Dtutorial.py53 NAME = os.path.basename(__file__).split(".")[0]
79 its.image.write_image(rgbimg, "%s_rgb_1.jpg" % (NAME))
84 its.image.write_image(yimg, "%s_y_plane_1.jpg" % (NAME))
85 its.image.write_image(uimg, "%s_u_plane_1.jpg" % (NAME))
86 its.image.write_image(vimg, "%s_v_plane_1.jpg" % (NAME))
122 its.image.write_image(rgbimg, "%s_rgb_2.jpg" % (NAME))
142 its.image.write_image(tile, "%s_rgb_2_tile.jpg" % (NAME))
153 its.image.write_image(rgbimg_lut, "%s_rgb_2_lut.jpg" % (NAME))
163 its.image.write_image(rgbimg_mat, "%s_rgb_2_mat.jpg" % (NAME))
174 matplotlib.pyplot.savefig("%s_histogram.png" % (NAME))
[all …]
/cts/tests/tests/content/src/android/content/cts/
DContentQueryMapTest.java51 DummyProvider.NAME, DummyProvider.VALUE};
66 values0.put(DummyProvider.NAME, NAME0); in setUp()
71 values1.put(DummyProvider.NAME, NAME1); in setUp()
97 new ContentQueryMap(mCursor, DummyProvider.NAME, true, null); in testConstructor()
108 new ContentQueryMap(null, DummyProvider.NAME, false, new Handler()); in testConstructor()
117 mContentQueryMap = new ContentQueryMap(mCursor, DummyProvider.NAME, true, null); in testGetRows()
127 mContentQueryMap = new ContentQueryMap(mCursor, DummyProvider.NAME, false, new Handler()); in testGetRows()
138 mContentQueryMap = new ContentQueryMap(mCursor, DummyProvider.NAME, false, null); in testRequery()
152 values.put(DummyProvider.NAME, NAME2); in testRequery()
155 DummyProvider.NAME + " = '" + NAME0 + "'", null); in testRequery()
[all …]
DAsyncQueryHandlerTest.java66 DummyProvider._ID, DummyProvider.NAME};
81 values0.put(DummyProvider.NAME, NAME0); in setUp()
85 values1.put(DummyProvider.NAME, NAME1); in setUp()
89 values2.put(DummyProvider.NAME, NAME2); in setUp()
108 values1.put(DummyProvider.NAME, NAME3); in testStartInsert()
110 values2.put(DummyProvider.NAME, NAME4); in testStartInsert()
181 values1.put(DummyProvider.NAME, NAME3); in testStartUpdate()
183 values2.put(DummyProvider.NAME, NAME4); in testStartUpdate()
190 DummyProvider.NAME + "=?", new String[] { NAME0 }, NO_CANCEL); in testStartUpdate()
200 DummyProvider.NAME + "=?", new String[] { NAME1 }, CANCELABLE); in testStartUpdate()
[all …]
/cts/tests/tests/util/src/android/util/cts/
DAndroidRuntimeExceptionTest.java24 private static final String NAME = "Test_AndroidRuntimeException"; field in AndroidRuntimeExceptionTest
34 throw new AndroidRuntimeException(NAME); in testAndroidRuntimeException()
36 assertEquals(NAME, e.getMessage()); in testAndroidRuntimeException()
DAndroidExceptionTest.java24 private static final String NAME = "Test_AndroidException"; field in AndroidExceptionTest
34 throw new AndroidException(NAME); in testAndroidException()
36 assertEquals(NAME, e.getMessage()); in testAndroidException()
/cts/tests/tests/net/src/android/net/cts/
DUrlQuerySanitizerTest.java40 private static final String NAME = "name"; field in UrlQuerySanitizerTest
78 assertTrue(uqs.hasParameter(NAME)); in testUrlQuerySanitizer()
83 assertEquals(EXPECTED_UNDERLINE_NAME, uqs.getValue(NAME)); in testUrlQuerySanitizer()
91 assertTrue(urlSet.contains(NAME)); in testUrlQuerySanitizer()
99 assertEquals(NAME, pvp.mParameter); in testUrlQuerySanitizer()
121 uqs.registerParameter(NAME, null); in testUrlQuerySanitizer()
122 assertNull(uqs.getValueSanitizer(NAME)); in testUrlQuerySanitizer()
123 assertNotNull(uqs.getEffectiveValueSanitizer(NAME)); in testUrlQuerySanitizer()
127 uqs.registerParameter(NAME, null); in testUrlQuerySanitizer()
128 assertNull(uqs.getEffectiveValueSanitizer(NAME)); in testUrlQuerySanitizer()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DSettingsTest.java35 Settings.System._ID, Settings.System.NAME, Settings.System.VALUE in testSystemTable()
53 value.put(Settings.System.NAME, name); in testSystemTable()
58 Settings.System.NAME + "=\"" + name + "\"", null, null, null); in testSystemTable()
69 value.put(Settings.System.NAME, name); in testSystemTable()
73 Settings.System.NAME + "=\"" + name + "\"", null); in testSystemTable()
75 Settings.System.NAME + "=\"" + name + "\"", null, null, null); in testSystemTable()
86 Settings.System.NAME + "=\"" + name + "\"", null); in testSystemTable()
88 Settings.System.NAME + "=\"" + name + "\"", null, null, null); in testSystemTable()
102 Settings.Secure._ID, Settings.Secure.NAME, Settings.Secure.VALUE in testSecureTable()
114 Settings.Global.NAME + "=\"" + Settings.Global.ADB_ENABLED + "\"", in testSecureTable()
DMediaStore_Audio_GenresTest.java65 values.put(Genres.NAME, "POP"); in testStoreAudioGenresExternal()
74 assertEquals("POP", c.getString(c.getColumnIndex(Genres.NAME))); in testStoreAudioGenresExternal()
80 values.put(Genres.NAME, "ROCK"); in testStoreAudioGenresExternal()
84 assertEquals("ROCK", c.getString(c.getColumnIndex(Genres.NAME))); in testStoreAudioGenresExternal()
94 values.put(Genres.NAME, "POP"); in testStoreAudioGenresInternal()
109 values.put(Genres.NAME, "Soda Pop"); in testGetContentUriForAudioId()
DMediaStore_Audio_PlaylistsTest.java68 values.put(Playlists.NAME, "My favourites"); in testStoreAudioPlaylistsExternal()
82 assertEquals("My favourites", c.getString(c.getColumnIndex(Playlists.NAME))); in testStoreAudioPlaylistsExternal()
94 values.put(Playlists.NAME, "xxx"); in testStoreAudioPlaylistsExternal()
100 assertEquals("xxx", c.getString(c.getColumnIndex(Playlists.NAME))); in testStoreAudioPlaylistsExternal()
114 values.put(Playlists.NAME, "My favourites"); in testStoreAudioPlaylistsInternal()
/cts/apps/CameraITS/tests/scene1/
Dtest_yuv_plus_dng.py24 NAME = os.path.basename(__file__).split(".")[0]
37 its.image.write_image(img, "%s.jpg" % (NAME))
39 with open("%s.dng"%(NAME), "wb") as f:
Dtest_black_white.py27 NAME = os.path.basename(__file__).split(".")[0]
48 its.image.write_image(img, "%s_black.jpg" % (NAME))
63 its.image.write_image(img, "%s_white.jpg" % (NAME))
76 matplotlib.pyplot.savefig("%s_plot_means.png" % (NAME))
Dtest_auto_vs_manual.py31 NAME = os.path.basename(__file__).split(".")[0]
51 its.image.write_image(img_auto, "%s_auto.jpg" % (NAME))
64 its.image.write_image(img_man1, "%s_manual_wb.jpg" % (NAME))
79 its.image.write_image(img_man2, "%s_manual_wb_tm.jpg" % (NAME))
Dtest_yuv_plus_jpeg.py26 NAME = os.path.basename(__file__).split(".")[0]
45 its.image.write_image(img, "%s_yuv.jpg" % (NAME))
50 its.image.write_image(img, "%s_jpeg.jpg" % (NAME))
Dtest_yuv_plus_raw12.py26 NAME = os.path.basename(__file__).split(".")[0]
45 its.image.write_image(img, "%s_yuv.jpg" % (NAME), True)
52 its.image.write_image(img, "%s_raw.jpg" % (NAME), True)
Dtest_yuv_plus_raw10.py26 NAME = os.path.basename(__file__).split(".")[0]
45 its.image.write_image(img, "%s_yuv.jpg" % (NAME), True)
52 its.image.write_image(img, "%s_raw.jpg" % (NAME), True)
Dtest_yuv_plus_raw.py26 NAME = os.path.basename(__file__).split(".")[0]
44 its.image.write_image(img, "%s_yuv.jpg" % (NAME), True)
51 its.image.write_image(img, "%s_raw.jpg" % (NAME), True)
Dtest_jpeg.py26 NAME = os.path.basename(__file__).split(".")[0]
43 its.image.write_image(img, "%s_fmt=yuv.jpg" % (NAME))
52 its.image.write_image(img, "%s_fmt=jpg.jpg" % (NAME))
Dtest_param_exposure_time.py28 NAME = os.path.basename(__file__).split(".")[0]
46 img, "%s_frame%d.jpg" % (NAME, i))
59 matplotlib.pyplot.savefig("%s_plot_means.png" % (NAME))
Dtest_param_sensitivity.py28 NAME = os.path.basename(__file__).split(".")[0]
52 img, "%s_iso=%04d.jpg" % (NAME, s))
64 matplotlib.pyplot.savefig("%s_plot_means.png" % (NAME))
/cts/tests/tests/permission/src/android/permission/cts/
DNoCaptureVideoPermissionTest.java32 private static final String NAME = "VirtualDisplayTest"; field in NoCaptureVideoPermissionTest
50 displayManager.createVirtualDisplay(NAME, WIDTH, HEIGHT, DENSITY, in testCreatePublicVirtualDisplay()
73 displayManager.createVirtualDisplay(NAME, WIDTH, HEIGHT, DENSITY, in testCreateSecureVirtualDisplay()
95 NAME, WIDTH, HEIGHT, DENSITY, in testCreatePrivateVirtualDisplay()
/cts/tests/tests/view/src/android/view/cts/
DSurface_OutOfResourcesExceptionTest.java24 private static final String NAME = "Test_Surface_OutOfResourcesException"; field in Surface_OutOfResourcesExceptionTest
28 new Surface.OutOfResourcesException(NAME); in testConstructor()
/cts/apps/CameraITS/tests/inprog/
Dtest_black_level.py35 NAME = os.path.basename(__file__).split(".")[0]
68 "%s_s=%05d_y.jpg" % (NAME, s), True)
70 "%s_s=%05d_u.jpg" % (NAME, s), True)
91 matplotlib.pyplot.savefig("%s_plot_histograms.png" % (NAME))
Dtest_test_patterns.py23 NAME = os.path.basename(__file__).split(".")[0]
37 its.image.write_image(img, "%s_pattern=%d.jpg" % (NAME, i))
Dtest_param_edge_mode.py26 NAME = os.path.basename(__file__).split(".")[0]
44 its.image.write_image(img, "%s_mode=%d.jpg" % (NAME, e))
Dtest_blc_lsc.py26 NAME = os.path.basename(__file__).split(".")[0]
76 its.image.write_image(img, "%s_i=%d.jpg"%(NAME, i))
95 matplotlib.pyplot.savefig("%s_plot_means_center.png" % (NAME))
102 matplotlib.pyplot.savefig("%s_plot_means_corner.png" % (NAME))

1234