Home
last modified time | relevance | path

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

12345678910>>...63

/cts/hostsidetests/biometrics/src/android/server/biometrics/cts/
DFingerprintHostsideConstants.java29 public static final List<Integer> FINGERPRINT_ENROLL_ACQUIRED_MESSAGES = List.of(
37 public static final List<Integer> FINGERPRINT_ENROLL_ACQUIRED_MESSAGES_AIDL = List.of(
46 public static final List<Integer> FACE_ENROLL_ACQUIRED_MESSAGES = List.of(
55 public static final List<Integer> FACE_ENROLL_ACQUIRED_MESSAGES_AIDL = List.of(
64 public static final List<Integer> FINGERPRINT_AUTH_ACQUIRED_MESSAGES = List.of(
72 public static final List<Integer> FINGERPRINT_AUTH_ACQUIRED_MESSAGES_AIDL = List.of(
81 public static final List<Integer> FACE_AUTH_ACQUIRED_MESSAGES = List.of(
90 public static final List<Integer> FACE_AUTH_ACQUIRED_MESSAGES_AIDL = List.of(
/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/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/contacts/
DContactsSharingTest.java139 installPackage(LAUNCHABLE_CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderInsert_rawContacts_noContactsInsertedInBothProviders()
141 + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderInsert_rawContacts_noContactsInsertedInBothProviders()
147 Integer.parseInt(sCloneUserId), in testCloneContactsProviderInsert_rawContacts_noContactsInsertedInBothProviders()
153 "testCloneContactsProvider_rawContactsIsEmpty", Integer.parseInt(sCloneUserId), in testCloneContactsProviderInsert_rawContacts_noContactsInsertedInBothProviders()
171 installPackage(LAUNCHABLE_CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderBulkInsert_rawContacts_noContactsInsertedInBothProviders()
173 + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderBulkInsert_rawContacts_noContactsInsertedInBothProviders()
180 Integer.parseInt(sCloneUserId), in testCloneContactsProviderBulkInsert_rawContacts_noContactsInsertedInBothProviders()
186 "testCloneContactsProvider_rawContactsIsEmpty", Integer.parseInt(sCloneUserId), in testCloneContactsProviderBulkInsert_rawContacts_noContactsInsertedInBothProviders()
204 installPackage(LAUNCHABLE_CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderApplyBatch_rawContacts_noContactsInsertedInBothProviders()
206 + Integer.valueOf(sCloneUserId)); in testCloneContactsProviderApplyBatch_rawContacts_noContactsInsertedInBothProviders()
[all …]
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DAppSearchBatchResultCtsTest.java29 AppSearchBatchResult<String, Integer> result = in testIsSuccess_true()
30 new AppSearchBatchResult.Builder<String, Integer>() in testIsSuccess_true()
40 AppSearchBatchResult<String, Integer> result1 = in testIsSuccess_false()
41 new AppSearchBatchResult.Builder<String, Integer>() in testIsSuccess_false()
47 AppSearchBatchResult<String, Integer> result2 = in testIsSuccess_false()
48 new AppSearchBatchResult.Builder<String, Integer>() in testIsSuccess_false()
62 AppSearchBatchResult<String, Integer> result1 = in testIsSuccess_replace()
63 new AppSearchBatchResult.Builder<String, Integer>() in testIsSuccess_replace()
68 AppSearchBatchResult<String, Integer> result2 = in testIsSuccess_replace()
69 new AppSearchBatchResult.Builder<String, Integer>() in testIsSuccess_replace()
[all …]
/cts/tests/tests/car/src/android/car/cts/
DCarPropertyManagerTest.java160 private static final ImmutableSet<Integer> PORT_LOCATION_TYPES =
161 ImmutableSet.<Integer>builder()
171 private static final ImmutableSet<Integer> VEHICLE_GEARS =
172 ImmutableSet.<Integer>builder()
189 private static final ImmutableSet<Integer> TRAILER_STATES =
190 ImmutableSet.<Integer>builder()
197 private static final ImmutableSet<Integer> DISTANCE_DISPLAY_UNITS =
198 ImmutableSet.<Integer>builder().add(VehicleUnit.MILLIMETER, VehicleUnit.METER,
200 private static final ImmutableSet<Integer> VOLUME_DISPLAY_UNITS =
201 ImmutableSet.<Integer>builder().add(VehicleUnit.MILLILITER, VehicleUnit.LITER,
[all …]
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/intent/
DIntentRedirectionTest.java94 installPackage(CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testActionViewRedirectionInBothProfiles()
95 installPackage(OWNER_PROFILE_APP, "--user " + Integer.valueOf(OWNER_USER_ID)); in testActionViewRedirectionInBothProfiles()
118 installPackage(CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testActionViewRedirectionInBothProfilesFlagOff()
119 installPackage(OWNER_PROFILE_APP, "--user " + Integer.valueOf(OWNER_USER_ID)); in testActionViewRedirectionInBothProfilesFlagOff()
147 installPackage(CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testActionSendRedirectionInBothProfiles()
148 installPackage(OWNER_PROFILE_APP, "--user " + Integer.valueOf(OWNER_USER_ID)); in testActionSendRedirectionInBothProfiles()
171 installPackage(CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testActionSendToRedirectionInBothProfiles()
172 installPackage(OWNER_PROFILE_APP, "--user " + Integer.valueOf(OWNER_USER_ID)); in testActionSendToRedirectionInBothProfiles()
194 installPackage(CLONE_PROFILE_APP, "--user " + Integer.valueOf(sCloneUserId)); in testActionSendMultipleRedirectionInBothProfiles()
195 installPackage(OWNER_PROFILE_APP, "--user " + Integer.valueOf(OWNER_USER_ID)); in testActionSendMultipleRedirectionInBothProfiles()
[all …]
/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/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/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/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/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DProcStateAtomTests.java78 private static final Set<Integer> BG_STATES = new HashSet<>(
89 private static final Set<Integer> CACHED_STATES = new HashSet<>(
99 private static final Set<Integer> MISC_STATES = new HashSet<>(
114 private static final Set<Integer> ALL_STATES = Stream.of(MISC_STATES, CACHED_STATES, BG_STATES)
117 private static final Function<Atom, Integer> PROC_STATE_FUNCTION =
148 Set<Integer> onStates = new HashSet<>(Arrays.asList( in testForegroundService()
150 Set<Integer> offStates = complement(onStates); in testForegroundService()
152 List<Set<Integer>> stateSet = Arrays.asList(onStates, offStates); // state sets, in order in testForegroundService()
167 Set<Integer> onStates = new HashSet<>(Arrays.asList( in testForeground()
171 List<Set<Integer>> stateSet = Arrays.asList(onStates); // state sets, in order in testForeground()
[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/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/framework/base/biometrics/src/android/server/biometrics/util/
DSensorStates.java46 @NonNull public final Map<Integer, SensorState> sensorStates;
51 @NonNull private final List<Integer> mRecentOperations;
59 @NonNull List<Integer> recentOperations) { in SchedulerState()
66 public List<Integer> getRecentOperations() { in getRecentOperations()
76 @NonNull private final Map<Integer, UserState> mUserStates;
82 int currentStrength, @NonNull Map<Integer, UserState> userStates, in SensorState() argument
120 @NonNull public Map<Integer, UserState> getUserStates() { in getUserStates()
143 final Map<Integer, SensorState> sensorStates = new HashMap<>(); in parseFrom()
146 final Map<Integer, UserState> userStates = new HashMap<>(); in parseFrom()
169 final Map<Integer, SensorState> sensorStates = new HashMap<>(); in merge()
[all …]
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTestUtil.java91 private static final List<Pair<Integer, Boolean>> sStyleList;
92 private static final Map<Pair<Integer, Boolean>, String> sFontMap;
93 private static final Map<Pair<Integer, Boolean>, Integer> sTtcMap;
94 private static final Map<Pair<Integer, Boolean>, String> sVariationSettingsMap;
95 private static final Map<Pair<Integer, Boolean>, Integer> sResourceMap;
182 ArrayList<Pair<Integer, Boolean>> styles = new ArrayList<>();
203 HashMap<Pair<Integer, Boolean>, String> map = new HashMap<>();
204 HashMap<Pair<Integer, Boolean>, Integer> ttcMap = new HashMap<>();
205 HashMap<Pair<Integer, Boolean>, String> variationMap = new HashMap<>();
206 HashMap<Pair<Integer, Boolean>, Integer> resourceMap = new HashMap<>();
[all …]
/cts/tests/signature/tests/src/android/signature/cts/tests/
DLineSpliteratorTestBase.java39 protected static final Function<String, Integer> CONVERTER = str -> {
40 return Integer.parseInt(str.substring(4));
42 protected static final Consumer<Integer> FAIL_CONSUMER = str -> {
46 protected abstract Spliterator<Integer> createSpliterator(String data, in createSpliterator()
47 Function<String, Integer> converter); in createSpliterator()
49 protected static Consumer<Integer> createVerifier(final int i) { in createVerifier()
62 Function<Integer, Consumer<T>> verifierFn) { in doTestConverter() argument
80 List<Spliterator<Integer>> queue = new LinkedList<>(); in testSplit()
92 Spliterator<Integer> split = queue.get(0).trySplit(); in testSplit()
107 Spliterator<Integer> first = queue.remove(0); in testSplit()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorStatsTest.java57 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/
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()
/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_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/tests/tests/os/src/android/os/health/cts/
DTimerStatTest.java49 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testSetCount()
51 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetCount()
64 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testSetTime()
66 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime()
70 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime()
79 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testParceling()
81 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testParceling()
92 Assert.assertEquals(Integer.MAX_VALUE, readback.getCount()); in testParceling()

12345678910>>...63