Searched refs:policyFile (Results 1 – 2 of 2) sorted by relevance
84 public static boolean readInstallPolicy(File policyFile) { in readInstallPolicy() argument86 return readInstallPolicy(new File[]{policyFile,null}); in readInstallPolicy()91 FileReader policyFile = null; in readInstallPolicy() local93 while (policyFile == null && policyFiles != null && policyFiles[i] != null) { in readInstallPolicy()95 policyFile = new FileReader(policyFiles[i]); in readInstallPolicy()103 if (policyFile == null) { in readInstallPolicy()114 parser.setInput(policyFile); in readInstallPolicy()185 policyFile.close(); in readInstallPolicy()
595 File policyFile = new File(Environment.getUserSystemDirectory(userHandle), in removeUserData() local597 policyFile.delete(); in removeUserData()598 Slog.i(TAG, "Removed device policy file " + policyFile.getAbsolutePath()); in removeUserData()