Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DEphemeralApplicationRegistry.java103 File cookieFile = peekEphemeralCookieFile(packageName, userId); in getEphemeralApplicationCookieLPw() local
104 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() local
136 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() local
558 return new File(appDir, cookieFile); in computeEphemeralCookieFile()