Home
last modified time | relevance | path

Searched refs:testCases (Results 1 – 9 of 9) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/
DCombinatoricsTest.java42 long[][][] testCases = { in testGetKCombinationAtIndex() local
71 Arrays.stream(testCases).forEach((testCase) -> in testGetKCombinationAtIndex()
121 long[][][] testCases = { in testGetStarIndices() local
126 Arrays.stream(testCases).forEach((testCase) -> in testGetStarIndices()
136 long[][][] testCases = { in testGetBarsPrecedingEachStar() local
141 Arrays.stream(testCases).forEach((testCase) -> in testGetBarsPrecedingEachStar()
149 int[][][] testCases = { in testNumStatesArithmeticNoOverflow() local
156 Arrays.stream(testCases) in testNumStatesArithmeticNoOverflow()
169 int[][][][] testCases = { in testNumStatesFlexApi() local
183 Arrays.stream(testCases) in testNumStatesFlexApi()
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/
DHexEncodingTest.java33 Object[][] testCases = new Object[][]{ in testEncodeByte() local
45 for (Object[] testCase : testCases) { in testEncodeByte()
58 Object[][] testCases = new Object[][]{ in testEncodeBytes() local
62 for (Object[] testCase : testCases) { in testEncodeBytes()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DDeleteExpiredDynamicIntegrationTest.java51 Collection<Object[]> testCases = in data() local
80 for (Object[] testCase : testCases) { in data()
89 return testCases; in data()
DAbstractDbIntegrationTest.java245 List<Object[]> testCases = new ArrayList<>(); in getTestCasesFrom() local
248 addTestCase(testObj, testCases, prepareAdditionalData); in getTestCasesFrom()
250 return testCases; in getTestCasesFrom()
256 List<Object[]> testCases = new ArrayList<>(); in getTestCasesFromMultipleStreams() local
264 addTestCase(testObj, testCases, prepareAdditionalData); in getTestCasesFromMultipleStreams()
266 return testCases; in getTestCasesFromMultipleStreams()
269 private static void addTestCase(JSONObject testObj, List<Object[]> testCases, in addTestCase() argument
278 testCases.add( in addTestCase()
286 testCases.add( in addTestCase()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPowerHalServiceUnitTest.java558 ArrayMap<Pair<Integer, Boolean>, Integer> testCases = new ArrayMap<>(); in testRequestShutdownAp() local
559 testCases.put(new Pair<>(PowerState.SHUTDOWN_TYPE_POWER_OFF, true), in testRequestShutdownAp()
561 testCases.put(new Pair<>(PowerState.SHUTDOWN_TYPE_POWER_OFF, false), in testRequestShutdownAp()
563 testCases.put(new Pair<>(PowerState.SHUTDOWN_TYPE_DEEP_SLEEP, true), in testRequestShutdownAp()
565 testCases.put(new Pair<>(PowerState.SHUTDOWN_TYPE_DEEP_SLEEP, false), in testRequestShutdownAp()
567 testCases.put(new Pair<>(PowerState.SHUTDOWN_TYPE_HIBERNATION, true), in testRequestShutdownAp()
569 testCases.put(new Pair<>(PowerState.SHUTDOWN_TYPE_HIBERNATION, false), in testRequestShutdownAp()
572 for (int i = 0; i < testCases.size(); i++) { in testRequestShutdownAp()
573 Pair<Integer, Boolean> request = testCases.keyAt(i); in testRequestShutdownAp()
578 verify(propValueSetter).to(testCases.valueAt(i).intValue()); in testRequestShutdownAp()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DExperimentalCarUserServiceTest.java295 SparseArray<HashSet<Integer>> testCases = new SparseArray<HashSet<Integer>>() { in testGetAllPassengers() local
304 for (int i = 0; i < testCases.size(); i++) { in testGetAllPassengers()
307 .getPassengers(testCases.keyAt(i)); in testGetAllPassengers()
308 HashSet<Integer> expected = testCases.valueAt(i); in testGetAllPassengers()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DReorderAlgorithmUnitTest.java79 List<ReorderAlgorithmUnitTestCase> testCases = getTestCases( in testAllCases() local
83 for (int i = 0; i < testCases.size(); i++) { in testAllCases()
85 evaluateTestCase(testCases.get(i), false); in testAllCases()
/packages/services/Car/cpp/powerpolicy/server/tests/
DPowerComponentHandlerTest.cpp113 testCases = { in TEST_F() local
134 for (const auto& tc : testCases) { in TEST_F()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2ETest.java1127 List<Object[]> testCases = new ArrayList<>(); in getTestCasesFrom() local
1162 testCases.add( in getTestCasesFrom()
1172 return testCases; in getTestCasesFrom()