Home
last modified time | relevance | path

Searched refs:getBaseFile (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java167 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()
DAtomicFile.java56 public File getBaseFile() { in getBaseFile() method in AtomicFile
DBatteryStatsImpl.java10052 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/
DFileUpdater.java315 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/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHistoryTest.java144 assertEquals(expectedFile.getPath(), history.getActiveFile().getBaseFile().getPath()); in verifyActiveFile()
163 final File file = history.getActiveFile().getBaseFile(); in createActiveFile()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java208 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/services/core/java/com/android/server/am/
DProcessStatsService.java258 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());
DBatteryStatsService.java1497 + mStats.mCheckinFile.getBaseFile(), e); in dump()
1536 + mStats.mCheckinFile.getBaseFile(), e); in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceTest.java59 assertTrue(atomicFile.getBaseFile().exists()); in testWriteReadApplicationRestrictions()
/frameworks/base/core/java/android/util/
DAtomicFile.java76 public File getBaseFile() { in getBaseFile() method in AtomicFile
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java61 FileUtils.setPermissions(file.getBaseFile().getPath(), in writeInternal()
DShortcutService.java882 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()
DUserManagerService.java3213 if (!restrictionsFile.getBaseFile().exists()) { in readApplicationRestrictionsLAr()
3225 + restrictionsFile.getBaseFile()); in readApplicationRestrictionsLAr()
3232 Log.w(LOG_TAG, "Error parsing " + restrictionsFile.getBaseFile(), e); in readApplicationRestrictionsLAr()
/frameworks/base/services/core/java/com/android/server/
DSystemUpdateManagerService.java137 Slog.i(TAG, "No existing info file " + mFile.getBaseFile()); in loadSystemUpdateInfoLocked()
DDeviceIdleController.java3492 if (DEBUG) Slog.d(TAG, "Reading config from " + mConfigFile.getBaseFile()); in readConfigFileLocked()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageStatusStorage.java93 if (!mPackageStatusFile.getBaseFile().exists()) { in initialize()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1616 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/
DRegisteredServicesCache.java125 if (file.getBaseFile().exists()) { in findOrCreateUserLocked()
713 boolean oldFileExists = oldFile.getBaseFile().exists(); in migrateIfNecessaryLocked()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java708 mLastReadHistoryTimestamp != mStatePersistFile.getBaseFile().lastModified(); in isHistoryChanged()
864 mLastReadHistoryTimestamp = mStatePersistFile.getBaseFile().lastModified(); in doReadPrinterHistory()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java668 mFileName = mAtomicFile.getBaseFile().getAbsolutePath(); in StoreFile()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java593 if (!file.getBaseFile().exists()) return null;
/frameworks/base/core/java/com/android/server/
DBootReceiver.java697 Slog.i(TAG, "No existing last log timestamp file " + sFile.getBaseFile() + in readTimestamps()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java984 if (!mSettingsFile.getBaseFile().exists()) { in restoreSettings()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java2764 Slog.i(TAG, "No existing app ops " + mFile.getBaseFile() + "; starting empty"); in readState()
/frameworks/base/config/
Dboot-image-profile.txt15381 HSPLandroid/util/AtomicFile;->getBaseFile()Ljava/io/File;

12