Home
last modified time | relevance | path

Searched refs:Integer (Results 1 – 25 of 625) sorted by relevance

12345678910>>...25

/cts/tests/tests/net/src/android/net/cts/
DCredentialsTest.java33 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/
Dlexer.java114 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/
DTest_sub_int.java55 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/
DTest_sub_int_2addr.java54 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/
DAddInt2AddrTest.java74 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/
DAddIntTest.java75 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/
DTest_div_int.java80 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/
DTest_div_int_2addr.java79 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/
DTest_rsub_int.java63 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/
DTest_rsub_int_lit8.java63 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/
DArraySetTest.java112 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/
DTest_add_int.java79 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/
DTest_add_int_2addr.java78 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/
DAuthorizationList.java123 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/
DTest_mul_int.java63 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/
DTest_mul_int_2addr.java63 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/
DActivityManagerMemoryClassTest.java46 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/
DTimePickerTest.java84 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 …]
DRadioGroup_LayoutParamsTest.java51 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/
DTimerStatTest.java46 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/
DJitterVerification.java172 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/
DTest_if_lt.java39 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/
DTest_if_ge.java39 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/
DTest_if_gt.java39 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/
DTest_if_le.java39 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()

12345678910>>...25