Searched refs:versionFile (Results 1 – 2 of 2) sorted by relevance
123 File versionFile = new File(context.getFilesDir(), "userdata.txt"); in processUserData() local125 Scanner s = new Scanner(versionFile); in processUserData()144 new String(Os.getxattr(versionFile.getAbsolutePath(), "user.test"))); in processUserData()160 PrintWriter pw = new PrintWriter(versionFile); in processUserData()164 Os.setxattr(versionFile.getAbsolutePath(), "user.test", in processUserData()177 File versionFile = new File(context.getFilesDir(), "userdata.txt"); in getUserDataVersion() local178 try (Scanner s = new Scanner(versionFile);) { in getUserDataVersion()
779 final File versionFile = getApkInApexVersionFile(); in recordApkInApexVersion() local781 if (!versionFile.exists()) { in recordApkInApexVersion()782 versionFile.createNewFile(); in recordApkInApexVersion()789 try (BufferedWriter writer = new BufferedWriter(new FileWriter(versionFile))) { in recordApkInApexVersion()802 final File versionFile = getApkInApexVersionFile(); in retrieveApkInApexVersion() local804 if (!versionFile.exists()) { in retrieveApkInApexVersion()808 try (BufferedReader reader = new BufferedReader(new FileReader(versionFile))) { in retrieveApkInApexVersion()