/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryDatabase.java | 182 Slog.e(TAG, "error reading " + file.getBaseFile().getAbsolutePath(), e); in readNotificationHistory() 208 Slog.e(TAG, "error reading " + file.getBaseFile().getAbsolutePath(), e); in readNotificationHistory() 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() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
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 …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | MonotonicClock.java | 99 Log.e(TAG, "Cannot load monotonic clock from " + mFile.getBaseFile(), e); in read() 119 Log.e(TAG, "Cannot write monotonic clock to " + mFile.getBaseFile(), e); in write()
|
D | BatteryStatsHistory.java | 243 return atomicFile.getBaseFile().toString(); in toString() 336 names.add(historyFile.atomicFile.getBaseFile().getName()); in getFileNames() 429 Slog.e(TAG, "Error reading file " + file.getBaseFile().getPath(), e); in writeToParcel() 461 ret += (int) mHistoryFiles.get(i).atomicFile.getBaseFile().length(); in getSize() 733 Slog.d(TAG, "activeHistoryFile:" + mActiveFile.getBaseFile().getPath()); in setActiveFile() 757 mActiveFile.getBaseFile().createNewFile(); in startNextFileLocked() 759 Slog.e(TAG, "Could not create history file: " + mActiveFile.getBaseFile()); in startNextFileLocked() 952 Slog.d(TAG, "readFileToParcel:" + file.getBaseFile().getPath() in readFileToParcel() 956 Slog.e(TAG, "Error reading file " + file.getBaseFile().getPath(), e); in readFileToParcel() 1102 + mActiveFile.getBaseFile().getPath() in readSummary() [all …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | UserWakeupStore.java | 327 + userWakeupFile.getBaseFile()); in readUserIdList() 343 + userWakeupFile.getBaseFile()); in readUserIdList() 389 pw.println(file.getBaseFile().getAbsolutePath()); in dump()
|
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/ |
D | ObservableUuidStore.java | 132 + file.getBaseFile().getPath()); in writeObservableUuidToStore() 206 + "file=" + file.getBaseFile().getPath()); in readObservableUuidFromStore() 211 if (!file.getBaseFile().exists()) { in readObservableUuidFromStore()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locales/ |
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()
|
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/ |
D | SystemDataTransferRequestStore.java | 215 + "file=" + file.getBaseFile().getPath()); in readRequestsFromStore() 220 if (!file.getBaseFile().exists()) { in readRequestsFromStore() 291 + file.getBaseFile().getPath()); in writeRequestsToStore()
|
/frameworks/base/services/core/java/com/android/server/ |
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()
|
D | SystemUpdateManagerService.java | 139 Slog.i(TAG, "No existing info file " + mFile.getBaseFile()); in loadSystemUpdateInfoLocked()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 233 if (files.valueAt(i).getBaseFile().getPath().endsWith(CHECKED_IN_SUFFIX)) { in checkinDailyFiles() 261 file.getBaseFile().getPath() + CHECKED_IN_SUFFIX); in checkinDailyFiles() 262 if (!file.getBaseFile().renameTo(checkedInFile)) { in checkinDailyFiles() 265 Slog.e(TAG, "Failed to mark file " + file.getBaseFile().getPath() in checkinDailyFiles() 722 if (file.getBaseFile().getName().endsWith(CHECKED_IN_SUFFIX)) { in onTimeChanged() 726 final File newFile = new File(file.getBaseFile().getParentFile(), newName); in onTimeChanged() 728 file.getBaseFile().renameTo(newFile); in onTimeChanged() 876 Slog.d(TAG, "Reading stat file " + f.getBaseFile().getAbsolutePath()); in queryUsageStats() 1013 return parseBeginTime(file.getBaseFile()); in parseBeginTime()
|
/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | DataStoreUtils.java | 99 if (!file.getBaseFile().exists()) { in fileToByteArray()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BatteryStatsHistoryTest.java | 280 mReadFiles.add(file.getBaseFile().getName()); in unconstrainedIteration() 322 mReadFiles.add(file.getBaseFile().getName()); in constrainedIteration() 375 assertEquals(expectedFile.getPath(), history.getActiveFile().getBaseFile().getPath()); in verifyActiveFile() 393 final File file = history.getActiveFile().getBaseFile(); in createActiveFile()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | LowPowerStandbyController.java | 472 Slog.d(TAG, "Loading policy from " + file.getBaseFile()); in loadPolicy() 529 Slog.e(TAG, "Failed to read policy file " + file.getBaseFile(), e); in loadPolicy() 551 Slog.d(TAG, "Saving policy to " + file.getBaseFile()); in savePolicy() 560 file.getBaseFile().mkdirs(); in savePolicy() 585 Slog.e(TAG, "Failed to write policy to file " + file.getBaseFile(), e); in savePolicy()
|
/frameworks/base/core/java/android/util/ |
D | AtomicFile.java | 98 public File getBaseFile() { in getBaseFile() method in AtomicFile
|
/frameworks/base/services/core/java/com/android/server/locales/ |
D | SystemAppUpdateTracker.java | 108 if (!mUpdatedAppsFile.getBaseFile().exists()) { in loadUpdatedSystemApps()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageUsage.java | 60 FileUtils.setPermissions(file.getBaseFile().getPath(), in writeInternal()
|
D | ResilientAtomicFile.java | 79 public File getBaseFile() { in getBaseFile() method in ResilientAtomicFile
|
D | ShortcutPackageItem.java | 184 Slog.e(TAG, "Failed to write to file " + file.getBaseFile(), e); in saveToFileLocked()
|
D | ShortcutLauncher.java | 324 Slog.e(TAG, "Failed to read file " + file.getBaseFile(), e); in loadFromFile()
|
/frameworks/base/services/core/java/com/android/server/am/ |
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(
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceTest.java | 93 assertThat(atomicFile.getBaseFile().exists()).isTrue(); in testWriteReadApplicationRestrictions()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | LegacyAppOpStateParser.java | 91 Slog.i(TAG, "No existing app ops " + file.getBaseFile() + "; starting empty"); in readState()
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 125 if (file.getBaseFile().exists()) { in findOrCreateUserLocked() 724 boolean oldFileExists = oldFile.getBaseFile().exists(); in migrateIfNecessaryLocked()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | FusedPrintersProvider.java | 707 mLastReadHistoryTimestamp != mStatePersistFile.getBaseFile().lastModified(); in isHistoryChanged() 863 mLastReadHistoryTimestamp = mStatePersistFile.getBaseFile().lastModified(); in doReadPrinterHistory()
|