Searched refs:userDir (Results 1 – 4 of 4) sorted by relevance
84 File userDir = Environment.getUserSystemDirectory(userId); in PersistentDataStore() local85 if (!userDir.exists()) { in PersistentDataStore()86 if (!userDir.mkdirs()) { in PersistentDataStore()87 throw new IllegalStateException("User dir cannot be created: " + userDir); in PersistentDataStore()90 … mAtomicFile = new AtomicFile(new File(userDir, "tv-input-manager-state.xml"), "tv-input-state"); in PersistentDataStore()
804 File userDir = getUserSystemDirectory(userId); in createFileForUser() local805 File userFile = new File(userDir, REGISTERED_SERVICES_DIR + "/" + mInterfaceName + ".xml"); in createFileForUser()
6372 File userDir = Environment.getUserSystemDirectory(userId);6373 if (!userDir.exists()) {6374 if (!userDir.mkdirs()) {6376 "User dir cannot be created: " + userDir);
1357 File userDir = new File(new File(mSystemDir, "users"), Integer.toString(userId));1358 return new File(userDir, "package-restrictions.xml");1364 File userDir = new File(new File(mSystemDir, "users"), Integer.toString(userId));1365 return new File(userDir, RUNTIME_PERMISSIONS_FILE_NAME);