/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHistory.java | 167 Slog.d(TAG, "activeHistoryFile:" + mActiveFile.getBaseFile().getPath()); in setActiveFile() 339 Slog.d(TAG, "readFileToParcel:" + file.getBaseFile().getPath() in readFileToParcel() 343 Slog.e(TAG, "Error reading file "+ file.getBaseFile().getPath(), e); in readFileToParcel() 382 Slog.e(TAG, "Error reading file "+ file.getBaseFile().getPath(), e); in writeToParcel() 438 ret += getFile(mFileNumbers.get(i)).getBaseFile().length(); in getHistoryUsedSize()
|
D | AtomicFile.java | 56 public File getBaseFile() { in getBaseFile() method in AtomicFile
|
D | BatteryStatsImpl.java | 10065 Slog.d(TAG, "Reading daily items from " + mDailyFile.getBaseFile()); in readDailyStatsLocked() 13302 Slog.d(TAG, "commitPendingDataToDisk file:" + file.getBaseFile().getPath() in commitPendingDataToDisk() 13344 Slog.d(TAG, "readLocked stats file:" + mStatsFile.getBaseFile().getPath() in readLocked() 13366 + mBatteryStatsHistory.getActiveFile().getBaseFile().getPath() in readLocked()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | FileUpdater.java | 315 file.getBaseFile().getParentFile().mkdirs(); in saveDefaultValuesLocked() 333 Slog.e(TAG, "Failed to write to file " + file.getBaseFile(), e); in saveDefaultValuesLocked() 343 Slog.d(TAG, "Loading from " + file.getBaseFile()); in loadDefaultValuesLocked() 372 Slog.e(TAG, "Failed to read file " + file.getBaseFile(), e); in loadDefaultValuesLocked()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 208 if (files.valueAt(i).getBaseFile().getPath().endsWith(CHECKED_IN_SUFFIX)) { in checkinDailyFiles() 236 file.getBaseFile().getPath() + CHECKED_IN_SUFFIX); in checkinDailyFiles() 237 if (!file.getBaseFile().renameTo(checkedInFile)) { in checkinDailyFiles() 240 Slog.e(TAG, "Failed to mark file " + file.getBaseFile().getPath() in checkinDailyFiles() 535 if (file.getBaseFile().getName().endsWith(CHECKED_IN_SUFFIX)) { in onTimeChanged() 539 final File newFile = new File(file.getBaseFile().getParentFile(), newName); in onTimeChanged() 541 file.getBaseFile().renameTo(newFile); in onTimeChanged() 655 Slog.d(TAG, "Reading stat file " + f.getBaseFile().getAbsolutePath()); in queryUsageStats() 787 return parseBeginTime(file.getBaseFile()); in parseBeginTime()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryStatsHistoryTest.java | 144 assertEquals(expectedFile.getPath(), history.getActiveFile().getBaseFile().getPath()); in verifyActiveFile() 163 final File file = history.getActiveFile().getBaseFile(); in createActiveFile()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 258 mPendingWriteFile = new AtomicFile(mFile.getBaseFile()); in writeStateLocked() 289 if (DEBUG) Slog.d(TAG, "Performing write to " + mFile.getBaseFile()); in performWriteState() 397 String currentFile = mFile.getBaseFile().getPath(); in getCommittedFiles() 1080 String fileStr = file.getBaseFile().getPath(); 1094 pw.print(" mFile="); pw.println(mFile.getBaseFile()); 1127 String fileStr = file.getBaseFile().getPath(); 1154 file.getBaseFile().renameTo(new File( 1180 pw.print(" mFile="); pw.println(mFile.getBaseFile());
|
D | BatteryStatsService.java | 1490 + mStats.mCheckinFile.getBaseFile(), e); in dump() 1529 + mStats.mCheckinFile.getBaseFile(), e); in dump()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceTest.java | 59 assertTrue(atomicFile.getBaseFile().exists()); in testWriteReadApplicationRestrictions()
|
/frameworks/base/core/java/android/util/ |
D | AtomicFile.java | 76 public File getBaseFile() { in getBaseFile() method in AtomicFile
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageUsage.java | 61 FileUtils.setPermissions(file.getBaseFile().getPath(), in writeInternal()
|
D | ShortcutService.java | 882 Slog.d(TAG, "Saving to " + file.getBaseFile()); in saveBaseStateLocked() 905 Slog.e(TAG, "Failed to write to file " + file.getBaseFile(), e); in saveBaseStateLocked() 916 Slog.d(TAG, "Loading from " + file.getBaseFile()); in loadBaseStateLocked() 950 Slog.e(TAG, "Failed to read file " + file.getBaseFile(), e); in loadBaseStateLocked() 985 Slog.e(TAG, "Failed to write to file " + file.getBaseFile(), e); in saveUserLocked() 1040 Slog.e(TAG, "Failed to read file " + file.getBaseFile(), e); in loadUserLocked()
|
D | UserManagerService.java | 3440 if (!restrictionsFile.getBaseFile().exists()) { in readApplicationRestrictionsLAr() 3452 + restrictionsFile.getBaseFile()); in readApplicationRestrictionsLAr() 3459 Log.w(LOG_TAG, "Error parsing " + restrictionsFile.getBaseFile(), e); in readApplicationRestrictionsLAr()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemUpdateManagerService.java | 137 Slog.i(TAG, "No existing info file " + mFile.getBaseFile()); in loadSystemUpdateInfoLocked()
|
D | DeviceIdleController.java | 3712 if (DEBUG) Slog.d(TAG, "Reading config from " + mConfigFile.getBaseFile()); in readConfigFileLocked()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageStatusStorage.java | 93 if (!mPackageStatusFile.getBaseFile().exists()) { in initialize()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncStorageEngine.java | 1616 Slog.v(TAG_FILE, "Reading " + mAccountInfoFile.getBaseFile()); in readAccountInfoLocked() 1965 Slog.v(TAG_FILE, "Writing new " + mAccountInfoFile.getBaseFile()); in writeAccountInfoLocked() 2025 Slog.v(TAG_FILE, "Reading " + mStatusFile.getBaseFile()); in readStatusLocked() 2059 Slog.v(TAG_FILE, "Writing new " + mStatusFile.getBaseFile()); in writeStatusLocked() 2168 Slog.v(TAG, "Writing new " + mStatisticsFile.getBaseFile()); in writeStatisticsLocked()
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 125 if (file.getBaseFile().exists()) { in findOrCreateUserLocked() 713 boolean oldFileExists = oldFile.getBaseFile().exists(); in migrateIfNecessaryLocked()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | FusedPrintersProvider.java | 708 mLastReadHistoryTimestamp != mStatePersistFile.getBaseFile().lastModified(); in isHistoryChanged() 864 mLastReadHistoryTimestamp = mStatePersistFile.getBaseFile().lastModified(); in doReadPrinterHistory()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsState.java | 724 logSettingsDirectoryInformation(destination.getBaseFile()); in doWriteState() 728 Path parentPath = destination.getBaseFile().getParentFile().toPath(); in doWriteState()
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceManagerService.java | 593 if (!file.getBaseFile().exists()) return null;
|
/frameworks/base/core/java/com/android/server/ |
D | BootReceiver.java | 697 Slog.i(TAG, "No existing last log timestamp file " + sFile.getBaseFile() + in readTimestamps()
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerService.java | 984 if (!mSettingsFile.getBaseFile().exists()) { in restoreSettings()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 2813 Slog.i(TAG, "No existing app ops " + mFile.getBaseFile() + "; starting empty"); in readState()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 15380 HSPLandroid/util/AtomicFile;->getBaseFile()Ljava/io/File;
|