Searched refs:cookieFile (Results 1 – 1 of 1) sorted by relevance
103 File cookieFile = peekEphemeralCookieFile(packageName, userId); in getEphemeralApplicationCookieLPw() local104 if (cookieFile != null && cookieFile.exists()) { in getEphemeralApplicationCookieLPw()106 return IoUtils.readFileAsByteArray(cookieFile.toString()); in getEphemeralApplicationCookieLPw()108 Slog.w(LOG_TAG, "Error reading cookie file: " + cookieFile); in getEphemeralApplicationCookieLPw()135 File cookieFile = computeEphemeralCookieFile(pkg, userId); in setEphemeralApplicationCookieLPw() local136 if (cookieFile.exists() && !cookieFile.delete()) { in setEphemeralApplicationCookieLPw()140 try (FileOutputStream fos = new FileOutputStream(cookieFile)) { in setEphemeralApplicationCookieLPw()143 Slog.w(LOG_TAG, "Error writing cookie file: " + cookieFile); in setEphemeralApplicationCookieLPw()556 String cookieFile = EPHEMERAL_APP_COOKIE_FILE_PREFIX + computePackageCertDigest(pkg) in computeEphemeralCookieFile() local558 return new File(appDir, cookieFile); in computeEphemeralCookieFile()