Lines Matching refs:file
5 * use this file except in compliance with the License. You may obtain a copy
120 // so find the last checked-in file and go from there.
149 final AtomicFile file = files.valueAt(i);
151 file.getBaseFile().getPath() + CHECKED_IN_SUFFIX);
152 if (!file.getBaseFile().renameTo(checkedInFile)) {
155 Slog.e(TAG, "Failed to mark file " + file.getBaseFile().getPath()
239 final AtomicFile file = files.valueAt(i);
242 Slog.i(TAG, "Deleting file " + file.getBaseFile().getAbsolutePath()
244 file.delete();
247 file.openRead().close();
253 if (file.getBaseFile().getName().endsWith(CHECKED_IN_SUFFIX)) {
257 final File newFile = new File(file.getBaseFile().getParentFile(), newName);
258 Slog.i(TAG, "Moving file " + file.getBaseFile().getAbsolutePath() + " to "
260 file.getBaseFile().renameTo(newFile);
291 Slog.e(TAG, "Failed to read usage stats file", e);
388 Slog.d(TAG, "Reading stat file " + f.getBaseFile().getAbsolutePath());
398 Slog.e(TAG, "Failed to read usage stats file", e);