/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/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_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/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/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/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/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/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/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/tests/tests/hardware/src/android/hardware/cts/helpers/ |
D | SensorStatsTest.java | 57 assertEquals(0, (int) (Integer) flattened.get("value0")); in testFlatten() 58 assertEquals(1, (int) (Integer) flattened.get("value1")); in testFlatten() 59 assertEquals(2, (int) (Integer) flattened.get("stats0__value2")); in testFlatten() 60 assertEquals(3, (int) (Integer) flattened.get("stats0__value3")); in testFlatten() 61 assertEquals(4, (int) (Integer) flattened.get("stats0__stats1__value4")); in testFlatten() 62 assertEquals(5, (int) (Integer) flattened.get("stats0__stats1__value5")); in testFlatten()
|
/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()
|
/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_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/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
D | JitterVerification.java | 158 DEFAULTS.put(Sensor.TYPE_ACCELEROMETER, Integer.MAX_VALUE); in setDefaults() 159 DEFAULTS.put(Sensor.TYPE_MAGNETIC_FIELD, Integer.MAX_VALUE); in setDefaults() 160 DEFAULTS.put(Sensor.TYPE_MAGNETIC_FIELD_UNCALIBRATED, Integer.MAX_VALUE); in setDefaults() 161 DEFAULTS.put(Sensor.TYPE_GYROSCOPE, Integer.MAX_VALUE); in setDefaults() 162 DEFAULTS.put(Sensor.TYPE_GYROSCOPE_UNCALIBRATED, Integer.MAX_VALUE); in setDefaults() 163 DEFAULTS.put(Sensor.TYPE_ORIENTATION, Integer.MAX_VALUE); in setDefaults() 164 DEFAULTS.put(Sensor.TYPE_PRESSURE, Integer.MAX_VALUE); in setDefaults() 165 DEFAULTS.put(Sensor.TYPE_GRAVITY, Integer.MAX_VALUE); in setDefaults() 166 DEFAULTS.put(Sensor.TYPE_LINEAR_ACCELERATION, Integer.MAX_VALUE); in setDefaults() 167 DEFAULTS.put(Sensor.TYPE_ROTATION_VECTOR, Integer.MAX_VALUE); in setDefaults() [all …]
|
/cts/tests/tests/app/src/android/app/cts/ |
D | ActivityManagerMemoryClassTest.java | 43 private static final Map<Integer, Integer> expectedMemorySizeForSmallNormalScreen 44 = new HashMap<Integer, Integer>(); 45 private static final Map<Integer, Integer> expectedMemorySizeForLargeScreen 46 = new HashMap<Integer, Integer>(); 47 private static final Map<Integer, Integer> expectedMemorySizeForXLargeScreen 48 = new HashMap<Integer, Integer>(); 95 public static Integer getExpectedMemorySize(int screenSize, int screenDensity) { in getExpectedMemorySize()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
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 …]
|
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 …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int_2addr/ |
D | Test_rem_int_2addr.java | 79 assertEquals(0, t.run(Integer.MIN_VALUE, -1)); in testB1() 87 assertEquals(0, t.run(Integer.MIN_VALUE, 1)); in testB2() 95 assertEquals(0, t.run(Integer.MAX_VALUE, 1)); in testB3() 103 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB4() 111 assertEquals(1, t.run(1, Integer.MAX_VALUE)); in testB5() 119 assertEquals(1, t.run(1, Integer.MIN_VALUE)); in testB6()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int/ |
D | Test_rem_int.java | 79 assertEquals(0, t.run(Integer.MIN_VALUE, -1)); in testB1() 87 assertEquals(0, t.run(Integer.MIN_VALUE, 1)); in testB2() 95 assertEquals(0, t.run(Integer.MAX_VALUE, 1)); in testB3() 103 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB4() 111 assertEquals(1, t.run(1, Integer.MAX_VALUE)); in testB5() 119 assertEquals(1, t.run(1, Integer.MIN_VALUE)); in testB6()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | ProtocolParamsReaderActivity.java | 51 sb.append("SAK: 0x" + Integer.toHexString(sak & 0xFF) + "\n"); in parseProtocolParameters() 71 sb.append(" TL: 0x" + Integer.toHexString(ats[0] & 0xFF) + "\n"); in parseProtocolParameters() 72 sb.append(" T0: 0x" + Integer.toHexString(ats[1] & 0xFF) + "\n"); in parseProtocolParameters() 102 sb.append(" (FAIL) FSC " + Integer.toString(fsc) + " is > 8\n"); in parseProtocolParameters() 104 sb.append(" (FAIL EMVCO) FSC " + Integer.toString(fsc) + " is < 2\n"); in parseProtocolParameters() 106 sb.append(" (OK) FSC = " + Integer.toString(fsc) + "\n"); in parseProtocolParameters() 111 sb.append(" TA: 0x" + Integer.toHexString(ats[atsIndex] & 0xff) + "\n"); in parseProtocolParameters() 132 sb.append(" TB: 0x" + Integer.toHexString(ats[3] & 0xFF) + "\n"); in parseProtocolParameters() 136 sb.append(" (FAIL) FWI=" + Integer.toString(fwi) + ", should be <= 8\n"); in parseProtocolParameters() 138 sb.append(" (FAIL EMVCO) FWI=" + Integer.toString(fwi) + in parseProtocolParameters() [all …]
|