/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | TimeoutTest.java | 39 private static final String NAME = "TIME, Y U NO OUT?"; field in TimeoutTest 53 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, -1, 2, 2)); in testInvalidConstructor() 54 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 0, 2, 2)); in testInvalidConstructor() 56 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, -1, 2)); in testInvalidConstructor() 57 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 0, 2)); in testInvalidConstructor() 58 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 1, 2)); in testInvalidConstructor() 60 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, -1)); in testInvalidConstructor() 61 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, 0)); in testInvalidConstructor() 63 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 2, 2, 1)); in testInvalidConstructor() 68 final Timeout timeout = new Timeout(NAME, 1, 2, 5); in testGetters() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | AndroidExceptionTest.java | 32 private static final String NAME = "Test_AndroidException"; field in AndroidExceptionTest 43 throw new AndroidException(NAME); in testAndroidException() 45 assertEquals(NAME, e.getMessage()); in testAndroidException() 55 throw new AndroidException(NAME, CAUSE); in testAndroidException() 57 assertEquals(NAME, e.getMessage()); in testAndroidException()
|
D | AndroidRuntimeExceptionTest.java | 32 private static final String NAME = "Test_AndroidRuntimeException"; field in AndroidRuntimeExceptionTest 43 throw new AndroidRuntimeException(NAME); in testAndroidRuntimeException() 45 assertEquals(NAME, e.getMessage()); in testAndroidRuntimeException()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | ApnDatabaseTest.java | 53 private static final String NAME = "carrierName"; field in ApnDatabaseTest 74 put(Carriers.NAME, NAME); 196 contentValues.put(Carriers.NAME, NAME); in testQueryConflictCase() 210 Carriers.NAME, Carriers.APN, Carriers.PORT, Carriers.PROTOCOL, Carriers.NUMERIC, in testQueryConflictCase() 227 final String selectionToDelete = Carriers.NAME + "=?"; in testQueryConflictCase() 228 String[] selectionArgsToDelete = {NAME}; in testQueryConflictCase() 258 contentValues.put(Carriers.NAME, NAME); in testUpdateConflictCase() 272 Carriers.NAME, Carriers.APN, Carriers.PORT, Carriers.PROTOCOL, Carriers.NUMERIC, in testUpdateConflictCase() 274 String selection = Carriers.NAME + "=?"; in testUpdateConflictCase() 275 String[] selectionArgs = {NAME}; in testUpdateConflictCase() [all …]
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentQueryMapTest.java | 51 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 …]
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_burst_sameness_manual.py | 34 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 55 logging.debug('Starting %s', NAME) 101 imgs[0], '%s_frame000.jpg' % os.path.join(log_path, NAME)) 108 imgs[i], '%s_frame%03d.jpg'%(os.path.join(log_path, NAME), i)) 112 pylab.figure(NAME) 113 pylab.title(NAME) 121 '%s_plot_means.png' % os.path.join(log_path, NAME))
|
D | test_param_exposure_time.py | 32 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 43 logging.debug('Starting %s', NAME) 81 img, '%s_frame%d.jpg' % (os.path.join(log_path, NAME), i)) 91 pylab.figure(NAME) 95 pylab.title(NAME) 98 plot_name = '%s_plot_means.png' % os.path.join(log_path, NAME)
|
D | test_latching.py | 31 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 52 logging.debug('Starting %s', NAME) 99 os.path.join(log_path, NAME), i)) 110 pylab.figure(NAME) 115 pylab.title(NAME) 119 log_path, NAME))
|
D | test_linearity.py | 32 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 58 logging.debug('Starting %s', NAME) 99 os.path.join(self.log_path, NAME), sens) 111 pylab.figure(NAME) 115 pylab.title(NAME) 121 '%s_plot_means.png' % os.path.join(self.log_path, NAME))
|
D | test_param_color_correction.py | 36 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 58 logging.debug('Starting %s', NAME) 114 os.path.join(log_path, NAME), i)) 125 pylab.figure(NAME) 130 pylab.title(NAME) 134 '%s_plot_means.png' % os.path.join(log_path, NAME))
|
D | test_crop_regions.py | 36 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 43 logging.debug('Starting %s', NAME) 81 os.path.join(log_path, NAME), wfull, hfull)) 109 os.path.join(log_path, NAME), i)) 121 os.path.join(log_path, NAME), j))
|
/cts/apps/CameraITS/tests/scene1_2/ |
D | test_yuv_plus_dng.py | 28 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 35 logging.debug('Starting %s', NAME) 67 img, '%s_yuv.jpg' % os.path.join(log_path, NAME)) 69 with open('%s.dng'%(os.path.join(log_path, NAME)), 'wb') as f:
|
D | test_yuv_jpeg_all.py | 30 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 65 os.path.join(log_path, NAME), img_type, size[0], size[1])) 82 logging.debug('Starting %s', NAME) 117 pylab.figure(NAME) 118 pylab.title(NAME) 126 '%s_plot_means.png' % os.path.join(log_path, NAME))
|
D | test_param_sensitivity.py | 31 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 43 logging.debug('Starting %s', NAME) 56 test_name_with_path = os.path.join(log_path, NAME) 100 pylab.figure(NAME) 105 pylab.title(NAME)
|
D | test_raw_sensitivity.py | 31 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 52 logging.debug('Starting %s', NAME) 65 name_with_log_path = os.path.join(self.log_path, NAME) 108 pylab.figure(NAME) 114 pylab.title(NAME)
|
D | test_yuv_plus_raw12.py | 29 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 41 logging.debug('Starting %s', NAME) 81 os.path.join(log_path, NAME), mode), True) 91 os.path.join(log_path, NAME), mode), True)
|
D | test_yuv_plus_raw.py | 29 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 41 logging.debug('Starting %s', NAME) 81 os.path.join(log_path, NAME), mode), True) 91 os.path.join(log_path, NAME), mode), True)
|
D | test_yuv_plus_raw10.py | 29 NAME = os.path.splitext(os.path.basename(__file__))[0] variable 41 logging.debug('Starting %s', NAME) 81 os.path.join(log_path, NAME), mode), True) 91 os.path.join(log_path, NAME), mode), True)
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStore_Audio_PlaylistsTest.java | 82 values.put(Playlists.NAME, "My favourites " + System.nanoTime()); in testStoreAudioPlaylistsExternal() 95 assertEquals(values.getAsString(Playlists.NAME), in testStoreAudioPlaylistsExternal() 96 c.getString(c.getColumnIndex(Playlists.NAME))); in testStoreAudioPlaylistsExternal() 121 values.put(Playlists.NAME, name1); in testName() 126 new String[] { Playlists.NAME, MediaColumns.DISPLAY_NAME }, null, null)) { in testName() argument 133 values.put(Playlists.NAME, name2); in testName() 137 new String[] { Playlists.NAME, MediaColumns.DISPLAY_NAME }, null, null)) { in testName() argument
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | NoCaptureVideoPermissionTest.java | 32 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/apps/CameraITS/tests/inprog/ |
D | test_rawstats.py | 26 NAME = os.path.basename(__file__).split(".")[0] 43 its.image.write_image(m, "%s_mean_ch%d.jpg" % (NAME,ch), True) 44 its.image.write_image(v, "%s_var_ch%d.jpg" % (NAME,ch), True)
|
D | test_black_level.py | 35 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))
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | NinePatchTest.java | 48 private static final String NAME = "TESTNAME"; field in NinePatchTest 67 mNinePatch = new NinePatch(mBitmap, mChunk, NAME); in setup() 77 mNinePatch = new NinePatch(mBitmap, new byte[2], NAME); in testConstructorNamedTooShort() 86 mNinePatch = new NinePatch(mBitmap, mChunk, NAME); in testConstructor() 88 assertEquals(NAME, mNinePatch.getName()); in testConstructor() 94 mNinePatch = new NinePatch(mBitmap, mChunk, NAME); in testPaintAccessors() 178 NinePatch ninePatch = new NinePatch(bitmap, chunk, NAME); in testHasAlpha() 199 mNinePatch = new NinePatch(mBitmap, mChunk, NAME); in testGetDensity() 214 mNinePatch = new NinePatch(mBitmap, mChunk, NAME); in testGetTransparentRegion() 232 mNinePatch = new NinePatch(mBitmap, mChunk, NAME); in testGetTransparentRegion()
|
/cts/tests/tests/jvmti/attaching/jni/ |
D | agent.c | 39 #define NAME(BASE) EVAL(BASE,AGENT_NR) macro 41 JNIEXPORT jboolean JNICALL NAME(Java_android_jvmti_attaching_cts_AttachingTest_isAttached) ( in NAME() function
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | EventProviderConstants.java | 62 public static final String NAME = "events"; field in EventProviderConstants.EventTableConstants 74 public static final String CONTENT_URI = BASE_URI + "/" + NAME;
|