Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/nonrequiredapps/
DSystemAppsSnapshot.java94 final File systemAppsFile = getSystemAppsFile(mContext, userId); in takeNewSnapshot() local
95 systemAppsFile.getParentFile().mkdirs(); // Creating the folder if it does not exist in takeNewSnapshot()
96 writeSystemApps(mUtils.getCurrentSystemApps(mIPackageManager, userId), systemAppsFile); in takeNewSnapshot() local
99 private void writeSystemApps(Set<String> packageNames, File systemAppsFile) { in writeSystemApps() argument
101 FileOutputStream stream = new FileOutputStream(systemAppsFile, false); in writeSystemApps()
119 private Set<String> readSystemApps(File systemAppsFile) { in readSystemApps() argument
121 if (!systemAppsFile.exists()) { in readSystemApps()
125 FileInputStream stream = new FileInputStream(systemAppsFile); in readSystemApps()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/interactacrossprofiles/
DCrossProfileAppsSnapshot.java82 final File systemAppsFile = getCrossProfileAppsFile(mContext, userId); in takeNewSnapshot() local
83 systemAppsFile.getParentFile().mkdirs(); // Creating the folder if it does not exist in takeNewSnapshot()
84 writeCrossProfileApps(getCurrentCrossProfileAppsWhitelist(), systemAppsFile); in takeNewSnapshot() local
113 private Set<String> readCrossProfileApps(File systemAppsFile) { in readCrossProfileApps() argument
115 if (!systemAppsFile.exists()) { in readCrossProfileApps()
119 FileInputStream stream = new FileInputStream(systemAppsFile); in readCrossProfileApps()