Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java1511 File userPackagesStateFile = getUserPackagesStateFile(userId); in readPackageRestrictionsLPr() local
1519 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() local
1950 new File(userPackagesStateFile.getParent()).mkdirs(); in writePackageRestrictionsLPr()
1951 if (userPackagesStateFile.exists()) { in writePackageRestrictionsLPr()
1957 if (!userPackagesStateFile.renameTo(backupFile)) { in writePackageRestrictionsLPr()
[all …]