Searched refs:cookieFile (Results 1 – 1 of 1) sorted by relevance
149 File cookieFile = peekInstantCookieFile(packageName, userId); in getInstantAppCookieLPw() local150 if (cookieFile != null && cookieFile.exists()) { in getInstantAppCookieLPw()152 return IoUtils.readFileAsByteArray(cookieFile.toString()); in getInstantAppCookieLPw()154 Slog.w(LOG_TAG, "Error reading cookie file: " + cookieFile); in getInstantAppCookieLPw()184 @NonNull String packageName, @NonNull File cookieFile, @UserIdInt int userId) { in persistInstantApplicationCookie() argument192 if (cookieFile.exists() && !cookieFile.delete()) { in persistInstantApplicationCookie()201 try (FileOutputStream fos = new FileOutputStream(cookieFile)) { in persistInstantApplicationCookie()204 Slog.e(LOG_TAG, "Error writing instant app cookie file: " + cookieFile, e); in persistInstantApplicationCookie()1019 final String cookieFile = INSTANT_APP_COOKIE_FILE_PREFIX in computeInstantCookieFile() local1021 return new File(appDir, cookieFile); in computeInstantCookieFile()[all …]