Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DClonedSecureRandomTest.java125 int previousPid = -1; in testCheckForDuplicateOutput() local
177 if (previousPid == pid) { in testCheckForDuplicateOutput()
180 } else if (previousPid == -1 && firstPid == -1) { in testCheckForDuplicateOutput()
188 previousPid = pid; in testCheckForDuplicateOutput()
191 previousPid = pid; 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()