/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | LineBreakerTest.java | 107 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetWidth() local 117 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetIndent() local 130 ParagraphConstraints c = new ParagraphConstraints(); in testSetGetTabStops() local 145 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple() local 147 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple() local 168 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple2() local 170 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple2() local 200 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple3() local 202 final Result r = lb.computeLineBreaks(new MeasuredText.Builder(text.toCharArray()) in testLineBreak_Simple3() local 244 final ParagraphConstraints c = new ParagraphConstraints(); in testLineBreak_Simple_NotRectangle() local [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RsUnpackColor8888Test.java | 49 Random r = new Random(0x128fa817); in testRsUnpackColor8888RGB() local 61 Float4 c = rs_UnpackColor8888(inValues); in testRsUnpackColor8888RGB() local 75 private static Float4 rs_UnpackColor8888(byte[] c) { in rs_UnpackColor8888()
|
D | ImageProcessingTest.java | 302 final int clamp(int c) { in clamp() 311 int pack(float a, float r, float g, float b) { in pack() 323 int pack(int a, int r, int g, int b) { in pack() 764 float r = f; in testLUT() local
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Video_MediaTest.java | 96 Cursor c = null; in testGetContentUri() local 154 Cursor c = mContentResolver.query(uri, null, null, null, null); in testStoreVideoMediaExternal() local 236 try (ParcelFileDescriptor pfd = mContentResolver.openFile(publishUri, "r", null); in testLocationRedaction() 252 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(originalUri, "r")) { in testLocationRedaction() 280 try (ParcelFileDescriptor pfd = mContentResolver.openFile(publishUri, "r", null); in testLocationRedaction() 296 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(originalUri, "r")) { in testLocationRedaction() 319 try (Cursor c = mContentResolver.query(publishUri, in testLocationDeprecated() 332 try (Cursor c = mContentResolver.query(publishUri, in testLocationDeprecated() 354 final Uri c = ProviderTestUtils.scanFileFromShell( in testCanonicalize() local 381 try (Cursor c = mContentResolver.query(uri, null, null, null)) { in testMetadata()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | SplitAppTest.java | 79 final Resources r = getContext().getResources(); in testSingleBase() local 135 final Resources r = getContext().getResources(); in testDensitySingle() local 147 final Resources r = getContext().getResources(); in testDensityAll() local 168 final Resources r = getContext().getResources(); in testDensityBest1() local 176 final Resources r = getContext().getResources(); in testDensityBest2() local 184 final Resources r = getContext().getResources(); in testApi() local 200 final Resources r = getContext().getResources(); in testLocale() local 223 final Resources r = getContext().getResources(); in testFeatureBase() local 331 final BroadcastReceiver r = new BroadcastReceiver() { in testBaseInstalled() local 355 final BroadcastReceiver r = new BroadcastReceiver() { in testFeatureInstalled() local [all …]
|
/cts/tests/sensor/jni/ |
D | android_hardware_cts_SensorNativeTest.cpp | 59 for (auto c : channelTypes) { in test() local 60 for (auto r : rates) { in test() local
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 148 try (Cursor c = mContentResolver.query( in doSandboxed() 175 try (Cursor c = mContentResolver.query(MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI, in testMediaNone() 179 try (Cursor c = mContentResolver.query(MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, in testMediaNone() 183 try (Cursor c = mContentResolver.query(MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI, in testMediaNone() 198 try (Cursor c = mContentResolver.query(collection, in doMediaNone() 210 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doMediaNone() 235 try (Cursor c = mContentResolver.query(collection, in doMediaRead() 247 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doMediaRead() 270 try (Cursor c = mContentResolver.query(collection, in doMediaWrite() 282 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doMediaWrite()
|
/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | LineSpliteratorTestBase.java | 53 protected static String getRepetitions(int c) { in getRepetitions() 79 Random r = new Random(seed); in testSplit() local
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | InsetDrawableTest.java | 86 Resources r = mContext.getResources(); in testInflate() local 131 Canvas c = new Canvas(); in testDraw() local 152 Rect r = new Rect(); in testGetPadding_dimension() local 186 Rect r = new Rect(); in testGetPadding_fraction() local 293 Rect r = new Rect(); in testOnBoundsChange_dimension() local 314 Rect r = new Rect(0, 0, size, size); in testOnBoundsChange_fraction() local 335 Rect r = new Rect(0, 0, insetDrawable.getIntrinsicWidth(), in testIsBoundsAndIntrinsicSizeInverse() local
|
D | NinePatchDrawableTest.java | 98 Rect r = new Rect(); in testConstructors() local 120 Canvas c = new Canvas(bmp); in testDraw() local 175 Rect r = new Rect(); in testGetPadding() local 341 Region r = mNinePatchDrawable.getTransparentRegion(); in testGetTransparentRegion() local 513 Canvas c = new Canvas(); in testSetTargetDensity_Canvas() local
|
D | AdaptiveIconDrawableTest.java | 64 Resources r = InstrumentationRegistry.getTargetContext().getResources(); in testInflate() local 80 Canvas c = new Canvas(); in testDraw() local
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_AllUriTest.java | 272 try (Cursor c = mResolver.query(uri, in getColumns() 286 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryExecutable() 295 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryExecutable() 304 try (Cursor c = mResolver.query( in checkQueryExecutable() 316 try (Cursor c = mResolver.query( in checkQueryExecutable() 334 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryNotExecutable() 530 try (Cursor c = mResolver.query( in checkColumnAccessible() 554 try (Cursor c = mResolver.query(uri, projection, selection, in checkColumnNotAccessibleInner() 607 private void checkExecutable(String operation, Uri uri, boolean shouldWork, Runnable r) { in checkExecutable()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | RingtoneManagerTest.java | 177 Cursor c = mRingtoneManager.getCursor(); in testSetType() local 179 Ringtone r = mRingtoneManager.getRingtone(0); in testSetType() local
|
D | MediaScannerTest.java | 140 Cursor c = res.query(media1Uri, new String[] { "title" }, null, null, null); in testLocalizeRingtoneTitles() local 185 Cursor c = res.query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, null, in testMediaScanner() local 323 Cursor c = res.query(file1Uri, new String[] { "parent" }, null, null, null); in testWildcardPaths() local 436 MediaScanEntry(int r, String[] t) { in MediaScanEntry() 566 Cursor c = res.query(MediaStore.Audio.Media.getContentUri("external"), columns, in testEncodingDetection() local
|
D | HeifWriterTest.java | 287 int c; in copy() local 582 Rect r = getColorBarRect(i, width, height); in generateSurfaceFrame() local 590 Rect r = getColorBlockRect(frameIndex, width, height); in generateSurfaceFrame() local 656 Rect r = getColorBarRect(i, width, height); in verifyResult() local 661 Rect r = getColorBlockRect(primary, width, height); in verifyResult() local
|
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/ |
D | BasePackageInstallTest.java | 176 int c; in installPackage() local 226 try (BufferedReader r = new BufferedReader( in runShellCommand()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorManagerStaticTest.java | 54 float r, q; in testGetAltitude() local 217 float c, s; in testGetQuaternionFromVector() local 368 float c, s; in testGetRotationMatrixFromVector() local 409 float c, s; in testGetRotationMatrixFromVector() local 647 float [] r = new float[9]; in mat9Mul() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | YuvImageTest.java | 215 Canvas c = new Canvas(dst); in generateTestBitmaps() local 375 int r = Color.red(actual) - Color.red(exp); in distance() local 382 int r = Color.red(argb); in argb2yuv() local
|
/cts/hostsidetests/jvmti/redefining/app/src/android/jvmti/cts/ |
D | JvmtiRedefineClassesTest.java | 108 public void sayHi(Runnable r) { in sayHi() 225 final StringCollector c = new StringCollector(); in checkRedefinedTransform() local
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutLineBreakingTest.java | 394 public static String replace(String string, char c, char r) { in replace()
|
/cts/tests/simplecpu/jni/ |
D | CpuNativeJni.cpp | 67 med3(char *a, char *b, char *c, int (*cmp)(const void *, const void *)) in med3() 78 int d, r, swaptype, swap_cnt; in qsort_local() local
|
/cts/tests/media/jni/ |
D | NativeExtractorTest.cpp | 327 double r = ((double)rand() / (RAND_MAX)); in generateSeekTestArgs() local 356 double r = ((double)rand() / (RAND_MAX)); in generateSeekTestArgs() local 475 double r = ((double)rand() / (RAND_MAX)); in isSeekOk() local 717 jclass c = env->FindClass("android/mediav2/cts/ExtractorTest$SetDataSourceTest"); in registerAndroidMediaV2CtsExtractorTestSetDS() local 732 jclass c = env->FindClass("android/mediav2/cts/ExtractorTest$FunctionalityTest"); in registerAndroidMediaV2CtsExtractorTestFunc() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | GalleryTest.java | 295 public ImageAdapter(Context c) { in ImageAdapter() 411 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout()
|
/cts/tests/openglperf2/jni/graphics/ |
D | Matrix.cpp | 106 void Matrix::multiply(const Matrix& l, const Matrix& r) { in multiply() 257 float c = (float) cosf(radians); in newRotate() local
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 574 public void queueEvent(Runnable r) { in queueEvent() 944 int r = findConfigAttrib(egl, display, config, in chooseConfig() local 1731 public void queueEvent(Runnable r) { in queueEvent() 1786 char c = buf[offset + i]; in write() local
|