Searched refs:userPackagesStateFile (Results 1 – 1 of 1) sorted by relevance
1511 File userPackagesStateFile = getUserPackagesStateFile(userId); in readPackageRestrictionsLPr() local1519 if (userPackagesStateFile.exists()) { in readPackageRestrictionsLPr()1524 + userPackagesStateFile); in readPackageRestrictionsLPr()1525 userPackagesStateFile.delete(); in readPackageRestrictionsLPr()1534 if (!userPackagesStateFile.exists()) { in readPackageRestrictionsLPr()1566 str = new FileInputStream(userPackagesStateFile); in readPackageRestrictionsLPr()1948 File userPackagesStateFile = getUserPackagesStateFile(userId); in writePackageRestrictionsLPr() local1950 new File(userPackagesStateFile.getParent()).mkdirs(); in writePackageRestrictionsLPr()1951 if (userPackagesStateFile.exists()) { in writePackageRestrictionsLPr()1957 if (!userPackagesStateFile.renameTo(backupFile)) { in writePackageRestrictionsLPr()[all …]