Searched refs:userDir (Results 1 – 4 of 4) sorted by relevance
88 File userDir = Environment.getUserSystemDirectory(userId); in PersistentDataStore() local89 if (!userDir.exists()) { in PersistentDataStore()90 if (!userDir.mkdirs()) { in PersistentDataStore()91 throw new IllegalStateException("User dir cannot be created: " + userDir); in PersistentDataStore()94 … mAtomicFile = new AtomicFile(new File(userDir, "tv-input-manager-state.xml"), "tv-input-state"); in PersistentDataStore()
805 File userDir = getUserSystemDirectory(userId); in createFileForUser() local806 File userFile = new File(userDir, REGISTERED_SERVICES_DIR + "/" + mInterfaceName + ".xml"); in createFileForUser()
6279 File userDir = Environment.getUserSystemDirectory(userId);6280 if (!userDir.exists()) {6281 if (!userDir.mkdirs()) {6283 "User dir cannot be created: " + userDir);
1273 File userDir = new File(new File(mSystemDir, "users"), Integer.toString(userId)); in getUserPackagesStateFile() local1274 return new File(userDir, "package-restrictions.xml"); in getUserPackagesStateFile()1280 File userDir = new File(new File(mSystemDir, "users"), Integer.toString(userId)); in getUserRuntimePermissionsFile() local1281 return new File(userDir, RUNTIME_PERMISSIONS_FILE_NAME); in getUserRuntimePermissionsFile()