Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DClonedSecureRandomTest.java124 int firstPid = -1; in testCheckForDuplicateOutput() local
180 } else if (previousPid == -1 && firstPid == -1) { in testCheckForDuplicateOutput()
205 if (firstPid == -1) { in testCheckForDuplicateOutput()
206 firstPid = pid; in testCheckForDuplicateOutput()
211 } else if (pid > lastPid && (lastPid > firstPid || pid < firstPid)) { in testCheckForDuplicateOutput()
212 wastePids(firstPid, previousPid); in testCheckForDuplicateOutput()
229 private static void wastePids(int firstPid, int previousPid) { in wastePids() argument
230 int distance = (firstPid - previousPid + MAX_PID) % MAX_PID; in wastePids()