/aosp14/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationHistoryDatabase.java | 245 currentOldestFile.getBaseFile().getName()); in prune() 247 Slog.d(TAG, "File " + currentOldestFile.getBaseFile().getName() in prune() 274 if (af != null && filePath.equals(af.getBaseFile().getAbsolutePath())) { in removeFilePathFromHistory() 283 Slog.d(TAG, "Removed " + file.getBaseFile().getName()); in deleteFile() 287 removeFilePathFromHistory(file.getBaseFile().getAbsolutePath()); in deleteFile() 310 Slog.e(TAG, "Cannot open " + file.getBaseFile().getAbsolutePath(), e); in readLocked() 341 + file.getBaseFile().getAbsolutePath()); in run() 378 + af.getBaseFile().getAbsolutePath(), e); in run() 421 + af.getBaseFile().getName(), e); in run() 465 + af.getBaseFile().getName(), e); in run() [all …]
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationHistoryDatabaseTest.java | 235 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testReadNotificationHistory_withNumFilterDoesNotReadExtraFiles() 239 when(af2.getBaseFile()).thenReturn(new File(mRootDir, "af2")); in testReadNotificationHistory_withNumFilterDoesNotReadExtraFiles() 256 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveNotificationRunnable() 279 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveNotificationRunnable_noChanges() 302 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveConversationRunnable() 325 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveConversationRunnable_noChanges() 348 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveChannelRunnable() 371 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af")); in testRemoveChannelRunnable_noChanges() 398 when(af.getBaseFile()).thenReturn(file); in testWriteBufferRunnable() 410 when(af.getBaseFile()).thenReturn(new File(mRootDir, "af" + i)); in testRemoveFilePathFromHistory_hasMatch() [all …]
|
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/ |
H A D | SystemDataTransferRequestStore.java | 187 + "file=" + file.getBaseFile().getPath()); in readRequestsFromStore() 192 if (!file.getBaseFile().exists()) { in readRequestsFromStore() 262 + file.getBaseFile().getPath()); in writeRequestsToStore()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locales/ |
H A D | SystemAppUpdateTrackerTest.java | 233 assertTrue(!mStoragefile.getBaseFile().isFile()); in testOnPackageUpdatedFinished_notSystemApp_doesNothing() 251 assertTrue(!mStoragefile.getBaseFile().isFile()); in testOnPackageUpdatedFinished_noInstaller_doesNothing() 256 assertTrue(mStoragefile.getBaseFile().isFile()); in verifyStorageFileContents()
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | EntropyMixer.java | 157 Slog.e(TAG, "Error reading " + seedFile.getBaseFile(), e); in readSeedFile() 226 Slog.e(TAG, "Error writing " + seedFile.getBaseFile(), e); in writeNewSeed()
|
H A D | SystemUpdateManagerService.java | 138 Slog.i(TAG, "No existing info file " + mFile.getBaseFile()); in loadSystemUpdateInfoLocked()
|
H A D | BootReceiver.java | 872 Slog.i(TAG, "No existing last log timestamp file " + sFile.getBaseFile() + in readTimestamps()
|
/aosp14/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsDatabase.java | 228 if (files.valueAt(i).getBaseFile().getPath().endsWith(CHECKED_IN_SUFFIX)) { in checkinDailyFiles() 256 file.getBaseFile().getPath() + CHECKED_IN_SUFFIX); in checkinDailyFiles() 257 if (!file.getBaseFile().renameTo(checkedInFile)) { in checkinDailyFiles() 260 Slog.e(TAG, "Failed to mark file " + file.getBaseFile().getPath() in checkinDailyFiles() 715 if (file.getBaseFile().getName().endsWith(CHECKED_IN_SUFFIX)) { in onTimeChanged() 719 final File newFile = new File(file.getBaseFile().getParentFile(), newName); in onTimeChanged() 721 file.getBaseFile().renameTo(newFile); in onTimeChanged() 869 Slog.d(TAG, "Reading stat file " + f.getBaseFile().getAbsolutePath()); in queryUsageStats() 1001 return parseBeginTime(file.getBaseFile()); in parseBeginTime()
|
/aosp14/frameworks/base/services/companion/java/com/android/server/companion/ |
H A D | PersistentDataStore.java | 249 if (DEBUG) Log.d(TAG, " > File=" + file.getBaseFile().getPath()); in readStateForUser() 257 if (!file.getBaseFile().exists()) { in readStateForUser() 288 Log.d(TAG, " > Writing the data to " + file.getBaseFile().getPath()); in readStateForUser() 318 if (DEBUG) Log.d(TAG, " > File=" + file.getBaseFile().getPath()); in persistStateForUser()
|
/aosp14/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsHistory.java | 437 Slog.d(TAG, "activeHistoryFile:" + mActiveFile.getBaseFile().getPath()); in setActiveFile() 473 mActiveFile.getBaseFile().createNewFile(); in startNextFile() 475 Slog.e(TAG, "Could not create history file: " + mActiveFile.getBaseFile()); in startNextFile() 660 Slog.d(TAG, "readFileToParcel:" + file.getBaseFile().getPath() in readFileToParcel() 664 Slog.e(TAG, "Error reading file " + file.getBaseFile().getPath(), e); in readFileToParcel() 768 Slog.e(TAG, "Error reading file " + file.getBaseFile().getPath(), e); in writeToParcel() 811 + mActiveFile.getBaseFile().getPath() in readSummary() 879 ret += getFile(mFileNumbers.get(i)).getBaseFile().length(); in getHistoryUsedSize() 1970 Slog.d(TAG, "writeParcelToFileLocked file:" + file.getBaseFile().getPath() in writeParcelToFileLocked()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/ |
H A D | LowPowerStandbyController.java | 447 Slog.d(TAG, "Loading policy from " + file.getBaseFile()); in loadPolicy() 504 Slog.e(TAG, "Failed to read policy file " + file.getBaseFile(), e); in loadPolicy() 526 Slog.d(TAG, "Saving policy to " + file.getBaseFile()); in savePolicy() 535 file.getBaseFile().mkdirs(); in savePolicy() 560 Slog.e(TAG, "Failed to write policy to file " + file.getBaseFile(), e); in savePolicy()
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | AtomicFile.java | 95 public File getBaseFile() { in getBaseFile() method in AtomicFile
|
/aosp14/frameworks/base/services/core/java/com/android/server/locales/ |
H A D | SystemAppUpdateTracker.java | 108 if (!mUpdatedAppsFile.getBaseFile().exists()) { in loadUpdatedSystemApps()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageUsage.java | 60 FileUtils.setPermissions(file.getBaseFile().getPath(), in writeInternal()
|
H A D | ResilientAtomicFile.java | 79 public File getBaseFile() { in getBaseFile() method in ResilientAtomicFile
|
H A D | ShortcutPackageItem.java | 191 Slog.e(TAG, "Failed to write to file " + file.getBaseFile(), e); in saveToFileLocked()
|
H A D | ShortcutLauncher.java | 302 Slog.e(TAG, "Failed to read file " + file.getBaseFile(), e); in loadFromFile()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessStatsService.java | 343 return mFile.getBaseFile(); in getCurrentFile() 459 String currentFile = mFile.getBaseFile().getPath(); in getCommittedFilesLF() 1262 String fileStr = file.getBaseFile().getPath(); 1309 String fileStr = file.getBaseFile().getPath(); 1336 file.getBaseFile().renameTo(new File(
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/ |
H A D | BatteryStatsHistoryTest.java | 235 assertEquals(expectedFile.getPath(), history.getActiveFile().getBaseFile().getPath()); in verifyActiveFile() 254 final File file = history.getActiveFile().getBaseFile(); in createActiveFile()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserManagerServiceTest.java | 94 assertThat(atomicFile.getBaseFile().exists()).isTrue(); in testWriteReadApplicationRestrictions()
|
/aosp14/frameworks/base/core/java/android/content/pm/ |
H A D | RegisteredServicesCache.java | 125 if (file.getBaseFile().exists()) { in findOrCreateUserLocked() 724 boolean oldFileExists = oldFile.getBaseFile().exists(); in migrateIfNecessaryLocked()
|
/aosp14/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | FusedPrintersProvider.java | 707 mLastReadHistoryTimestamp != mStatePersistFile.getBaseFile().lastModified(); in isHistoryChanged() 863 mLastReadHistoryTimestamp = mStatePersistFile.getBaseFile().lastModified(); in doReadPrinterHistory()
|
/aosp14/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncStorageEngine.java | 1690 Slog.v(TAG_FILE, "Reading " + mAccountInfoFile.getBaseFile()); in readAccountInfoLocked() 2005 Slog.v(TAG_FILE, "Writing new " + mAccountInfoFile.getBaseFile()); in writeAccountInfoLocked() 2334 Slog.v(TAG_FILE, "Writing new " + mStatusFile.getBaseFile()); in writeStatusLocked() 2602 Slog.v(TAG, "Writing new " + mStatisticsFile.getBaseFile()); in writeStatisticsLocked()
|
/aosp14/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsState.java | 938 logSettingsDirectoryInformation(destination.getBaseFile()); in doWriteState() 942 Path parentPath = destination.getBaseFile().getParentFile().toPath(); in doWriteState()
|
/aosp14/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
H A D | BlobStoreManagerService.java | 831 Slog.w(TAG, "Sessions index file not available: " + sessionsIndexFile.getBaseFile()); in readBlobSessionsLocked() 920 Slog.w(TAG, "Blobs index file not available: " + blobsIndexFile.getBaseFile()); in readBlobsInfoLocked()
|