/cts/tests/tests/net/src/android/net/cts/ |
D | CredentialsTest.java | 33 cred = new Credentials(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE); in testCredentials() 34 assertEquals(Integer.MAX_VALUE, cred.getGid()); in testCredentials() 35 assertEquals(Integer.MAX_VALUE, cred.getPid()); in testCredentials() 36 assertEquals(Integer.MAX_VALUE, cred.getUid()); in testCredentials() 39 cred = new Credentials(Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE); in testCredentials() 40 assertEquals(Integer.MIN_VALUE, cred.getGid()); in testCredentials() 41 assertEquals(Integer.MIN_VALUE, cred.getPid()); in testCredentials() 42 assertEquals(Integer.MIN_VALUE, cred.getUid()); in testCredentials()
|
/cts/tools/dasm/src/java_cup/ |
D | lexer.java | 114 keywords.put("package", new Integer(sym.PACKAGE)); in init() 115 keywords.put("import", new Integer(sym.IMPORT)); in init() 116 keywords.put("code", new Integer(sym.CODE)); in init() 117 keywords.put("action", new Integer(sym.ACTION)); in init() 118 keywords.put("parser", new Integer(sym.PARSER)); in init() 119 keywords.put("terminal", new Integer(sym.TERMINAL)); in init() 120 keywords.put("non", new Integer(sym.NON)); in init() 121 keywords.put("init", new Integer(sym.INIT)); in init() 122 keywords.put("scan", new Integer(sym.SCAN)); in init() 123 keywords.put("with", new Integer(sym.WITH)); in init() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int/ |
D | Test_sub_int.java | 55 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); in testN4() 63 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); in testB1() 71 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1)); in testB3() 87 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB4() 103 assertEquals(-2147483648, t.run(0, -Integer.MIN_VALUE)); in testB6() 111 assertEquals(2147483646, t.run(Integer.MAX_VALUE, 1)); in testB7() 119 assertEquals(-2147483647, t.run(1, Integer.MIN_VALUE)); in testB8() 127 assertEquals(-1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB9()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int_2addr/ |
D | Test_sub_int_2addr.java | 54 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); in testN4() 62 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); in testB1() 70 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 78 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1)); in testB3() 86 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB4() 102 assertEquals(-2147483648, t.run(0, -Integer.MIN_VALUE)); in testB6() 110 assertEquals(2147483646, t.run(Integer.MAX_VALUE, 1)); in testB7() 118 assertEquals(-2147483647, t.run(1, Integer.MIN_VALUE)); in testB8() 126 assertEquals(-1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB9()
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_int_2addr/ |
D | AddInt2AddrTest.java | 74 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); in testB1() 82 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 90 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3() 98 assertEquals(-2147483647, t.run(Integer.MIN_VALUE, 1)); in testB4() 114 assertEquals(0, t.run(Integer.MIN_VALUE, Integer.MIN_VALUE)); in testB6()
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_int/ |
D | AddIntTest.java | 75 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); in testB1() 83 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 91 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3() 99 assertEquals(-2147483647, t.run(Integer.MIN_VALUE, 1)); in testB4() 115 assertEquals(0, t.run(Integer.MIN_VALUE, Integer.MIN_VALUE)); in testB6()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int/ |
D | Test_div_int.java | 80 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, -1)); in testB1() 89 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB2() 97 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3() 105 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB4() 113 assertEquals(0, t.run(1, Integer.MAX_VALUE)); in testB5() 121 assertEquals(0, t.run(1, Integer.MIN_VALUE)); in testB6()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int_2addr/ |
D | Test_div_int_2addr.java | 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, -1)); in testB1() 87 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB2() 95 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3() 103 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB4() 111 assertEquals(0, t.run(1, Integer.MAX_VALUE)); in testB5() 119 assertEquals(0, t.run(1, Integer.MIN_VALUE)); in testB6()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/ |
D | Test_rsub_int.java | 63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE)); in testB1() 74 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE)); in testB2() 107 assertEquals(-2147450881, t.run(Integer.MIN_VALUE)); in testB5() 108 assertEquals(-2147450880, t.run(Integer.MAX_VALUE)); in testB5() 133 assertEquals(2147450881, t.run(Integer.MAX_VALUE)); in testB7() 134 assertEquals(2147450880, t.run(Integer.MIN_VALUE)); in testB7() 145 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE)); in testB8() 156 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE)); in testB9() 167 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MIN_VALUE)); in testB10() 168 assertEquals(-2147483646, t.run(Integer.MAX_VALUE)); in testB10()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/ |
D | Test_rsub_int_lit8.java | 63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE)); in testB1() 74 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE)); in testB2() 107 assertEquals(-2147483521, t.run(Integer.MIN_VALUE)); in testB5() 108 assertEquals(-2147483520, t.run(Integer.MAX_VALUE)); in testB5() 133 assertEquals(2147483521, t.run(Integer.MAX_VALUE)); in testB7() 134 assertEquals(2147483520, t.run(Integer.MIN_VALUE)); in testB7() 145 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE)); in testB8() 156 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE)); in testB9() 167 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MIN_VALUE)); in testB10() 168 assertEquals(-2147483646, t.run(Integer.MAX_VALUE)); in testB10()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | ArraySetTest.java | 112 return Integer.toString(mValue); in toString() 214 String strKey = KEYS[i] < 0 ? null : Integer.toString(KEYS[i]); in testBasicArraySet() 275 ArraySet newSet = new ArraySet<Integer>(); 292 ArraySet<Integer> set1 = new ArraySet<Integer>(); 293 ArraySet<Integer> set2 = new ArraySet<Integer>(); 294 HashSet<Integer> set3 = new HashSet<Integer>(); 318 ArraySet<Integer> set = new ArraySet<Integer>(); 332 ArraySet<Integer> set = new ArraySet<Integer>(); 365 ArraySet<Integer> set = new ArraySet<Integer>(); 377 ArraySet<Integer> arraySet = new ArraySet<Integer>(); [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int/ |
D | Test_add_int.java | 79 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); in testB1() 87 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 95 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3() 103 assertEquals(-2147483647, t.run(Integer.MIN_VALUE, 1)); in testB4() 119 assertEquals(0, t.run(Integer.MIN_VALUE, Integer.MIN_VALUE)); in testB6()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_2addr/ |
D | Test_add_int_2addr.java | 78 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); in testB1() 86 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 94 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3() 102 assertEquals(-2147483647, t.run(Integer.MIN_VALUE, 1)); in testB4() 118 assertEquals(0, t.run(Integer.MIN_VALUE, Integer.MIN_VALUE)); in testB6()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AuthorizationList.java | 123 private static final ImmutableMap<Integer, String> paddingMap = ImmutableMap 124 .<Integer, String> builder() 133 private static final ImmutableMap<Integer, String> digestMap = ImmutableMap 134 .<Integer, String> builder() 145 private static final ImmutableMap<Integer, String> purposeMap = ImmutableMap 146 .<Integer, String> builder() 153 private Set<Integer> purposes; 154 private Integer algorithm; 155 private Integer keySize; 156 private Set<Integer> digests; [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int/ |
D | Test_mul_int.java | 63 assertEquals(0, t.run(0, Integer.MAX_VALUE)); in testB1() 71 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB2() 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB3() 87 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, in testB4() 88 Integer.MIN_VALUE)); in testB4()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int_2addr/ |
D | Test_mul_int_2addr.java | 63 assertEquals(0, t.run(0, Integer.MAX_VALUE)); in testB1() 71 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB2() 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB3() 87 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, in testB4() 88 Integer.MIN_VALUE)); in testB4()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerMemoryClassTest.java | 46 private static final Map<Integer, Integer> expectedMemorySizeForWatch 47 = new HashMap<Integer, Integer>(); 48 private static final Map<Integer, Integer> expectedMemorySizeForSmallNormalScreen 49 = new HashMap<Integer, Integer>(); 50 private static final Map<Integer, Integer> expectedMemorySizeForLargeScreen 51 = new HashMap<Integer, Integer>(); 52 private static final Map<Integer, Integer> expectedMemorySizeForXLargeScreen 53 = new HashMap<Integer, Integer>(); 115 public static Integer getExpectedMemorySize( in getExpectedMemorySize()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TimePickerTest.java | 84 new TimePicker(mContext, attrs, Integer.MIN_VALUE); in testConstructors() 105 mTimePicker.setCurrentHour(Integer.valueOf(initialHour)); in testSetOnTimeChangedListener() 106 mTimePicker.setCurrentMinute(Integer.valueOf(initialMinute)); in testSetOnTimeChangedListener() 112 mTimePicker.setCurrentHour(Integer.valueOf(initialHour)); in testSetOnTimeChangedListener() 115 mTimePicker.setCurrentHour(Integer.valueOf(initialHour + 1)); in testSetOnTimeChangedListener() 146 assertEquals(Integer.valueOf(0), mTimePicker.getCurrentHour()); in testAccessCurrentHour() 149 assertEquals(Integer.valueOf(12), mTimePicker.getCurrentHour()); in testAccessCurrentHour() 152 assertEquals(Integer.valueOf(13), mTimePicker.getCurrentHour()); in testAccessCurrentHour() 155 assertEquals(Integer.valueOf(23), mTimePicker.getCurrentHour()); in testAccessCurrentHour() 161 assertEquals(Integer.valueOf(0), mTimePicker.getCurrentHour()); in testAccessCurrentHour() [all …]
|
D | RadioGroup_LayoutParamsTest.java | 51 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE); in testConstructor() 52 assertEquals(Integer.MIN_VALUE, mLayoutParams.width); in testConstructor() 53 assertEquals(Integer.MAX_VALUE, mLayoutParams.height); in testConstructor() 56 mLayoutParams = new RadioGroup.LayoutParams(Integer.MAX_VALUE, Integer.MIN_VALUE); in testConstructor() 57 assertEquals(Integer.MAX_VALUE, mLayoutParams.width); in testConstructor() 58 assertEquals(Integer.MIN_VALUE, mLayoutParams.height); in testConstructor() 61 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, in testConstructor() 63 assertEquals(Integer.MIN_VALUE, mLayoutParams.width); in testConstructor() 64 assertEquals(Integer.MAX_VALUE, mLayoutParams.height); in testConstructor() 67 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, in testConstructor() [all …]
|
/cts/tests/tests/os/src/android/os/health/cts/ |
D | TimerStatTest.java | 46 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testSetCount() 48 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetCount() 61 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testSetTime() 63 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime() 67 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime() 76 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testParceling() 78 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testParceling() 89 Assert.assertEquals(Integer.MAX_VALUE, readback.getCount()); in testParceling()
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
D | JitterVerification.java | 172 DEFAULTS.put(Sensor.TYPE_ACCELEROMETER, Integer.MAX_VALUE); in setDefaults() 173 DEFAULTS.put(Sensor.TYPE_MAGNETIC_FIELD, Integer.MAX_VALUE); in setDefaults() 174 DEFAULTS.put(Sensor.TYPE_MAGNETIC_FIELD_UNCALIBRATED, Integer.MAX_VALUE); in setDefaults() 175 DEFAULTS.put(Sensor.TYPE_GYROSCOPE, Integer.MAX_VALUE); in setDefaults() 176 DEFAULTS.put(Sensor.TYPE_GYROSCOPE_UNCALIBRATED, Integer.MAX_VALUE); in setDefaults() 177 DEFAULTS.put(Sensor.TYPE_ORIENTATION, Integer.MAX_VALUE); in setDefaults() 178 DEFAULTS.put(Sensor.TYPE_PRESSURE, Integer.MAX_VALUE); in setDefaults() 179 DEFAULTS.put(Sensor.TYPE_GRAVITY, Integer.MAX_VALUE); in setDefaults() 180 DEFAULTS.put(Sensor.TYPE_LINEAR_ACCELERATION, Integer.MAX_VALUE); in setDefaults() 181 DEFAULTS.put(Sensor.TYPE_ROTATION_VECTOR, Integer.MAX_VALUE); in setDefaults() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_lt/ |
D | Test_if_lt.java | 39 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB1() 47 assertEquals(1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB2() 55 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB3() 63 assertEquals(1234, t.run(0, Integer.MIN_VALUE)); in testB4()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_ge/ |
D | Test_if_ge.java | 39 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB1() 47 assertEquals(1234, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB2() 55 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB3() 63 assertEquals(1, t.run(0, Integer.MIN_VALUE)); in testB4()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_gt/ |
D | Test_if_gt.java | 39 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB1() 47 assertEquals(1234, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB2() 55 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB3() 63 assertEquals(1, t.run(0, Integer.MIN_VALUE)); in testB4()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_le/ |
D | Test_if_le.java | 39 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB1() 47 assertEquals(1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB2() 55 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB3() 63 assertEquals(1234, t.run(0, Integer.MIN_VALUE)); in testB4()
|