/cts/tools/dx-tests/src/dxc/junit/opcodes/newarray/ |
D | Test_newarray.java | 31 int[] r = t.run(10); in testN1() local 32 int l = r.length; in testN1() 37 assertEquals(0, r[i]); in testN1() 47 float[] r = t.run(10); in testN2() local 48 int l = r.length; in testN2() 53 assertEquals(0f, r[i]); in testN2() 75 int[] r = t.run(0); in testB1() local 76 assertNotNull(r); in testB1() 77 assertEquals(0, r.length); in testB1()
|
/cts/tools/vm-tests/src/dot/junit/opcodes/new_array/ |
D | Test_new_array.java | 34 int[] r = t.run(10); in testN1() local 35 int l = r.length; in testN1() 40 assertEquals(0, r[i]); in testN1() 50 boolean[] r = t.run(10); in testN2() 51 int l = r.length; in testN2() 56 assertFalse(r[i]); in testN2() 65 Object[] r = t.run(10); in testN3() local 66 int l = r.length; in testN3() 71 assertNull(r[i]); in testN3() 80 int[] r = t.run(0); in testB1() local [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_array/ |
D | Test_new_array.java | 34 int[] r = t.run(10); in testN1() local 35 int l = r.length; in testN1() 40 assertEquals(0, r[i]); in testN1() 50 boolean[] r = t.run(10); in testN2() 51 int l = r.length; in testN2() 56 assertFalse(r[i]); in testN2() 65 Object[] r = t.run(10); in testN3() local 66 int l = r.length; in testN3() 71 assertNull(r[i]); in testN3() 80 int[] r = t.run(0); in testB1() local [all …]
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ActivityManager_RunningAppProcessInfoTest.java | 79 final RunningAppProcessInfo r = new RunningAppProcessInfo(); in testRunningAppProcessInfo() local 81 r.readFromParcel(p); in testRunningAppProcessInfo() 83 assertEquals(rap.pid, r.pid); in testRunningAppProcessInfo() 84 assertEquals(rap.processName, r.processName); in testRunningAppProcessInfo() 85 assertEquals(rap.pkgList.length, r.pkgList.length); in testRunningAppProcessInfo() 88 assertEquals(rap.pkgList[i], r.pkgList[i]); in testRunningAppProcessInfo()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | InsetDrawableTest.java | 80 Resources r = mContext.getResources(); in testInflate() local 81 XmlPullParser parser = r.getXml(R.layout.framelayout_layout); in testInflate() 85 insetDrawable.inflate(r, parser, attrs); in testInflate() 214 Rect r = new Rect(); in testGetPadding() local 215 assertEquals(0, r.left); in testGetPadding() 216 assertEquals(0, r.top); in testGetPadding() 217 assertEquals(0, r.right); in testGetPadding() 218 assertEquals(0, r.bottom); in testGetPadding() 220 assertTrue(insetDrawable.getPadding(r)); in testGetPadding() 222 assertEquals(1, r.left); in testGetPadding() [all …]
|
D | NinePatchDrawableTest.java | 84 Rect r = new Rect(); in testConstructors() local 89 new NinePatchDrawable(bmp, chunk, r, name); in testConstructors() 96 new NinePatchDrawable(bmp, chunk, r, name); in testConstructors() 180 Rect r = new Rect(); in testGetPadding() local 182 assertTrue(npd.getPadding(r)); in testGetPadding() 184 assertEquals(0, r.left); in testGetPadding() 185 assertEquals(0, r.top); in testGetPadding() 186 assertTrue(r.right > 0); in testGetPadding() 187 assertTrue(r.bottom > 0); in testGetPadding() 190 assertTrue(npd.getPadding(r)); in testGetPadding() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HandlerTest.java | 105 MockRunnable r = new MockRunnable(); in testPostAtTime1() local 106 assertTrue(mHandler.postAtTime(r, SystemClock.uptimeMillis() + RUNTIME)); in testPostAtTime1() 107 assertFalse(r.isRun()); in testPostAtTime1() 109 assertTrue(r.isRun()); in testPostAtTime1() 110 mHandler.removeCallbacks(r); in testPostAtTime1() 120 MockRunnable r = new MockRunnable(); in testPostAtTime2() local 122 assertTrue(mHandler.postAtTime(r, token, SystemClock.uptimeMillis() + RUNTIME)); in testPostAtTime2() 123 assertFalse(r.isRun()); in testPostAtTime2() 125 assertTrue(r.isRun()); in testPostAtTime2() 126 mHandler.removeCallbacks(r); in testPostAtTime2() [all …]
|
/cts/libs/vogar-expect/src/vogar/util/ |
D | MarkResetConsole.java | 74 for (int r = row; r > markRow; r--) { in reset()
|
D | Threads.java | 34 public synchronized Thread newThread(Runnable r) { in daemonThreadFactory() argument 35 Thread thread = new Thread(r, name + "-" + (nextId++)); in daemonThreadFactory()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsActivityTest.java | 52 RemoteViews r = RemoteViews.CREATOR.createFromParcel(p); in testGood() local 56 View result = r.apply(mActivity, parent); in testGood() 78 RemoteViews r = RemoteViews.CREATOR.createFromParcel(p); in testDerivedClass() local 86 result = r.apply(mActivity, parent); in testDerivedClass() 104 RemoteViews r = RemoteViews.CREATOR.createFromParcel(p); in testWebView() local 112 result = r.apply(mActivity, parent); in testWebView()
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/f2d/ |
D | Test_f2d.java | 54 double r = 0x1.fffffeP+127d; in testB1() local 55 assertEquals(r, t.run(Float.MAX_VALUE), 0d); in testB1() 63 double r = 0x0.000002P-126d; in testB2() local 64 assertEquals(r, t.run(Float.MIN_VALUE), 0d); in testB2()
|
/cts/tools/vm-tests/src/dot/junit/opcodes/float_to_double/ |
D | Test_float_to_double.java | 67 double r = 0x1.fffffeP+127d; in testB1() local 68 assertEquals(r, t.run(Float.MAX_VALUE), 0d); in testB1() 76 double r = 0x0.000002P-126d; in testB2() local 77 assertEquals(r, t.run(Float.MIN_VALUE), 0d); in testB2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_double/ |
D | Test_float_to_double.java | 54 double r = 0x1.fffffeP+127d; in testB1() local 55 assertEquals(r, t.run(Float.MAX_VALUE), 0d); in testB1() 63 double r = 0x0.000002P-126d; in testB2() local 64 assertEquals(r, t.run(Float.MIN_VALUE), 0d); in testB2()
|
/cts/tools/utils/ |
D | buildCts.py | 43 pattern = re.compile(r'^\s*([^:#=\s]+)\s*:=\s*(.*?[^\\])$', re.MULTILINE + re.DOTALL) 109 plan.Exclude(r'android\.core\.vm-tests-tf') 115 plan.Include(r'android\.core\.vm-tests-tf') 118 plan.Exclude(r'android\.tests\.sigtest') 119 plan.Exclude(r'android\.core.*') 123 plan.Include(r'android\.core\.tests.*') 127 plan.Include(r'android\.core\.vm-tests') 128 plan.Exclude(r'android\.core\.vm-tests-tf') 132 plan.Include(r'android\.core\.vm-tests-tf') 136 plan.Include(r'android\.tests\.sigtest') [all …]
|
/cts/tools/vm-tests/src/util/build/ |
D | DFHBuildStep.java | 45 Reader r; in build() local 48 r = new FileReader(inputFile.fileName); in build() 56 cfAssembler.writeClassFile(r, os, true); in build()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | DFHBuildStep.java | 45 Reader r; in build() local 48 r = new FileReader(inputFile.fileName); in build() 56 cfAssembler.writeClassFile(r, os, true); in build()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/ |
D | Test_return_object.java | 209 Runner r = rg.run(); in testVFE9() local 210 assertFalse(r instanceof Runner); in testVFE9() 211 assertFalse(Runner.class.isAssignableFrom(r.getClass())); in testVFE9() 214 r.doit(); in testVFE9()
|
/cts/tools/vm-tests/src/dot/junit/opcodes/return_object/ |
D | Test_return_object.java | 209 Runner r = rg.run(); in testVFE9() local 210 assertFalse(r instanceof Runner); in testVFE9() 211 assertFalse(Runner.class.isAssignableFrom(r.getClass())); in testVFE9() 214 r.doit(); in testVFE9()
|
/cts/tests/src/android/theme/cts/ |
D | BitmapComparer.java | 60 Resources r = mActivity.getResources(); in processBitmap() local 61 int resourceId = r.getIdentifier(mBitmapIdName, "drawable", mActivity.getPackageName()); in processBitmap() 66 drawable = (BitmapDrawable) r.getDrawable(resourceId); in processBitmap()
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/areturn/ |
D | Test_areturn.java | 224 Runner r = rg.run(); in testVFE7() local 225 assertFalse(r instanceof Runner); in testVFE7() 226 assertFalse(Runner.class.isAssignableFrom(r.getClass())); in testVFE7() 229 r.doit(); in testVFE7()
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/anewarray/jm/ |
D | T_anewarray_2.cfh | 29 // . . . S o u r c e F i l e 35 // . . . r u n 2 41 … n i t / o p c o d e s / a n e w a r r a y / j m / T _ a n e w a r… 47 // . . . j a v a / l a n g / S t r i n g 53 // . . . T _ a n e w a r r a y _ 2 . j a v a 56 // . . . ( I ) [ L j a v a / l a n g / S t r i n g ;
|
D | T_anewarray_9.cfh | 20 … n i t / o p c o d e s / a n e w a r r a y / j m / T _ a n e w a r… 29 // . . . S o u r c e F i l e 38 // . . . r u n 2 47 // . . . j a v a / l a n g / S t r i n g 56 // . . . ( I ) [ L j a v a / l a n g / S t r i n g ; 62 // . . . T _ a n e w a r r a y _ 9 . j a v a
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/multianewarray/jm/ |
D | T_multianewarray_3.cfh | 20 … d e s / m u l t i a n e w a r r a y / j m / T _ m u l t i a n e … 26 // . . . S o u r c e F i l e 35 // . . . r u n 41 // . . . T _ m u l t i a n e w a r r a y _ 3 . j a v a 47 // . . . [ [ [ L j a v a / l a n g / S t r i n g ; 53 // . . . ( I I I ) [ [ [ L j a v a / l a n g / S t r i n g ;
|
D | T_multianewarray_8.cfh | 23 // . . . S o u r c e F i l e 29 // . . . r u n 38 // . . . [ [ [ L j a v a / l a n g / S t r i n g ; 47 // . . . T _ m u l t i a n e w a r r a y _ 8 . j a v a 53 … d e s / m u l t i a n e w a r r a y / j m / T _ m u l t i a n e … 59 // . . . ( I I I ) [ [ [ L j a v a / l a n g / S t r i n g ;
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | ProgramStoreTest.java | 27 for (int r = 0; r <= 1; r++) { in varyBuilderColorAndDither() 28 boolean isR = (r == 1); in varyBuilderColorAndDither()
|