Searched refs:systemAppsFile (Results 1 – 2 of 2) sorted by relevance
94 final File systemAppsFile = getSystemAppsFile(mContext, userId); in takeNewSnapshot() local95 systemAppsFile.getParentFile().mkdirs(); // Creating the folder if it does not exist in takeNewSnapshot()96 writeSystemApps(mUtils.getCurrentSystemApps(mIPackageManager, userId), systemAppsFile); in takeNewSnapshot() local99 private void writeSystemApps(Set<String> packageNames, File systemAppsFile) { in writeSystemApps() argument101 FileOutputStream stream = new FileOutputStream(systemAppsFile, false); in writeSystemApps()119 private Set<String> readSystemApps(File systemAppsFile) { in readSystemApps() argument121 if (!systemAppsFile.exists()) { in readSystemApps()125 FileInputStream stream = new FileInputStream(systemAppsFile); in readSystemApps()
82 final File systemAppsFile = getCrossProfileAppsFile(mContext, userId); in takeNewSnapshot() local83 systemAppsFile.getParentFile().mkdirs(); // Creating the folder if it does not exist in takeNewSnapshot()84 writeCrossProfileApps(getCurrentCrossProfileAppsWhitelist(), systemAppsFile); in takeNewSnapshot() local113 private Set<String> readCrossProfileApps(File systemAppsFile) { in readCrossProfileApps() argument115 if (!systemAppsFile.exists()) { in readCrossProfileApps()119 FileInputStream stream = new FileInputStream(systemAppsFile); in readCrossProfileApps()