Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DClonedSecureRandomTest.java48 private static final int MAX_PID = 32768; field in ClonedSecureRandomTest
97 assertEquals("Only supports up to " + MAX_PID + " because of memory requirements", in testCheckForDuplicateOutput()
98 Integer.toString(MAX_PID), getFirstLineFromFile("/proc/sys/kernel/pid_max")); in testCheckForDuplicateOutput()
110 byte[][] outputs = new byte[MAX_PID][RANDOM_BYTES_PER_PID]; in testCheckForDuplicateOutput()
111 BitSet seenPids = new BitSet(MAX_PID); in testCheckForDuplicateOutput()
127 for (int i = 0; i < MAX_PID; i++) { in testCheckForDuplicateOutput()
230 int distance = (firstPid - previousPid + MAX_PID) % MAX_PID; in wastePids()
234 if ((distance < PID_WASTING_SKIP_LOWER) || (MAX_PID - distance < PID_WASTING_SKIP_UPPER)) { in wastePids()