Home
last modified time | relevance | path

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

123

/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/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java144 if (files.valueAt(i).getBaseFile().getPath().endsWith(CHECKED_IN_SUFFIX)) { in checkinDailyFiles()
172 file.getBaseFile().getPath() + CHECKED_IN_SUFFIX); in checkinDailyFiles()
173 if (!file.getBaseFile().renameTo(checkedInFile)) { in checkinDailyFiles()
176 Slog.e(TAG, "Failed to mark file " + file.getBaseFile().getPath() in checkinDailyFiles()
322 if (file.getBaseFile().getName().endsWith(CHECKED_IN_SUFFIX)) { in onTimeChanged()
326 final File newFile = new File(file.getBaseFile().getParentFile(), newName); in onTimeChanged()
328 file.getBaseFile().renameTo(newFile); in onTimeChanged()
442 Slog.d(TAG, "Reading stat file " + f.getBaseFile().getAbsolutePath()); in queryUsageStats()
DUsageStatsXml.java37 return parseBeginTime(file.getBaseFile()); in parseBeginTime()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java235 mPendingWriteFile = new AtomicFile(mFile.getBaseFile()); in writeStateLocked()
266 if (DEBUG) Slog.d(TAG, "Performing write to " + mFile.getBaseFile()); in performWriteState()
366 String currentFile = mFile.getBaseFile().getPath(); in getCommittedFiles()
936 String fileStr = file.getBaseFile().getPath();
950 pw.print(" mFile="); pw.println(mFile.getBaseFile());
983 String fileStr = file.getBaseFile().getPath();
1010 file.getBaseFile().renameTo(new File(
1036 pw.print(" mFile="); pw.println(mFile.getBaseFile());
DBatteryStatsService.java1442 + mStats.mCheckinFile.getBaseFile(), e); in dump()
1480 + mStats.mCheckinFile.getBaseFile(), e); in dump()
/frameworks/support/compat/src/main/java/androidx/core/util/
DAtomicFile.java64 public File getBaseFile() { in getBaseFile() method in AtomicFile
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java52 public File getBaseFile() { in getBaseFile() method in AtomicFile
/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.java876 Slog.d(TAG, "Saving to " + file.getBaseFile()); in saveBaseStateLocked()
899 Slog.e(TAG, "Failed to write to file " + file.getBaseFile(), e); in saveBaseStateLocked()
910 Slog.d(TAG, "Loading from " + file.getBaseFile()); in loadBaseStateLocked()
944 Slog.e(TAG, "Failed to read file " + file.getBaseFile(), e); in loadBaseStateLocked()
979 Slog.e(TAG, "Failed to write to file " + file.getBaseFile(), e); in saveUserLocked()
1032 Slog.e(TAG, "Failed to read file " + file.getBaseFile(), e); in loadUserLocked()
DUserManagerService.java3119 if (!restrictionsFile.getBaseFile().exists()) { in readApplicationRestrictionsLAr()
3131 + restrictionsFile.getBaseFile()); in readApplicationRestrictionsLAr()
3138 Log.w(LOG_TAG, "Error parsing " + restrictionsFile.getBaseFile(), e); in readApplicationRestrictionsLAr()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplaySettings.java113 Slog.i(TAG, "No existing display settings " + mFile.getBaseFile() in readSettingsLocked()
/frameworks/base/services/core/java/com/android/server/
DSystemUpdateManagerService.java137 Slog.i(TAG, "No existing info file " + mFile.getBaseFile()); in loadSystemUpdateInfoLocked()
DDeviceIdleController.java2639 if (DEBUG) Slog.d(TAG, "Reading config from " + mConfigFile.getBaseFile()); in readConfigFileLocked()
DAppOpsService.java2075 Slog.i(TAG, "No existing app ops " + mFile.getBaseFile() + "; starting empty"); in readState()
/frameworks/base/services/core/java/com/android/server/timezone/
DPackageStatusStorage.java93 if (!mPackageStatusFile.getBaseFile().exists()) { in initialize()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigStore.java492 mFileName = mAtomicFile.getBaseFile().getAbsolutePath(); in StoreFile()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java124 if (file.getBaseFile().exists()) { in findOrCreateUserLocked()
706 boolean oldFileExists = oldFile.getBaseFile().exists(); in migrateIfNecessaryLocked()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1600 Slog.v(TAG_FILE, "Reading " + mAccountInfoFile.getBaseFile()); in readAccountInfoLocked()
1949 Slog.v(TAG_FILE, "Writing new " + mAccountInfoFile.getBaseFile()); in writeAccountInfoLocked()
2149 Slog.v(TAG_FILE, "Reading " + mStatusFile.getBaseFile()); in readStatusLocked()
2183 Slog.v(TAG_FILE, "Writing new " + mStatusFile.getBaseFile()); in writeStatusLocked()
2292 Slog.v(TAG, "Writing new " + mStatisticsFile.getBaseFile()); in writeStatisticsLocked()
/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/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java562 if (!file.getBaseFile().exists()) return null;
/frameworks/base/core/java/com/android/server/
DBootReceiver.java694 Slog.i(TAG, "No existing last log timestamp file " + sFile.getBaseFile() + in readTimestamps()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java805 if (!mSettingsFile.getBaseFile().exists()) { in restoreSettings()
/frameworks/support/compat/api_legacy/
D28.0.0-alpha1.txt1292 method public java.io.File getBaseFile();

123