Home
last modified time | relevance | path

Searched refs:startWrite (Results 1 – 25 of 128) sorted by relevance

123456

/frameworks/base/core/java/android/util/
DAtomicFile.java125 public FileOutputStream startWrite() throws IOException { in startWrite() method in AtomicFile
126 return startWrite(0); in startWrite()
139 public FileOutputStream startWrite(long startTime) throws IOException { in startWrite() method in AtomicFile
322 out = startWrite(); in write()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryDatabaseTest.java268 verify(af).startWrite(); in testRemoveNotificationRunnable()
291 verify(af, never()).startWrite(); in testRemoveNotificationRunnable_noChanges()
314 verify(af).startWrite(); in testRemoveConversationRunnable()
337 verify(af, never()).startWrite(); in testRemoveConversationRunnable_noChanges()
360 verify(af).startWrite(); in testRemoveChannelRunnable()
383 verify(af, never()).startWrite(); in testRemoveChannelRunnable_noChanges()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
DBubblePersistentRepository.kt34 val stream: FileOutputStream = try { bubbleFile.startWrite() } catch (e: IOException) { in persistsToDisk()
/frameworks/base/core/tests/utiltests/src/android/util/
DAtomicFileTest.java241 try (FileOutputStream outputStream = atomicFile.startWrite()) { in testAtomicFile()
289 try (var writer = file.startWrite()) { in testTimeLogging()
295 try (var writer = file.startWrite()) { in testTimeLogging()
/frameworks/base/services/permission/java/com/android/server/permission/access/util/
DAtomicFileExtensions.kt68 startWrite().use { in writeInlined()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayWindowSettingsProvider.java87 OutputStream startWrite() throws IOException; in startWrite() method
492 stream = storage.startWrite(); in writeSettings()
612 public OutputStream startWrite() throws IOException { in startWrite() method in DisplayWindowSettingsProvider.AtomicFileStorage
613 return mAtomicFile.startWrite(); in startWrite()
/frameworks/base/services/core/java/com/android/server/input/
DPersistentDataStore.java272 os = mInjector.startWrite(); in save()
602 FileOutputStream startWrite() throws IOException { in startWrite() method in PersistentDataStore.Injector
603 return mAtomicFile.startWrite(); in startWrite()
/frameworks/base/core/java/com/android/internal/os/
DMonotonicClock.java115 out = mFile.startWrite(); in write()
DAtomicDirectory.java124 public @NonNull File startWrite() throws IOException { in startWrite() method in AtomicDirectory
/frameworks/base/services/core/java/com/android/server/apphibernation/
DHibernationStateDiskStore.java147 fileOutputStream = atomicFile.startWrite(); in writeStateProto()
/frameworks/base/services/core/java/com/android/server/location/settings/
DSettingsStore.java152 os = mFile.startWrite();
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DAllSensorStateController.java132 outputStream = mAtomicFile.startWrite(); in persist()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistSettings.java143 stream = mXmlFile.startWrite(); in saveSettings()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DShutdownThreadTest.java195 FileOutputStream fos = atomicFile.startWrite(); in createFileForContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsFavoritePersistenceWrapper.kt99 atomicFile.startWrite() in <lambda>()
/frameworks/base/tests/Input/src/com/android/server/input/
DKeyRemapperTests.kt94 override fun startWrite(): FileOutputStream? { in createKeyboard() method
/frameworks/base/services/people/java/com/android/server/people/data/
DAbstractProtoDiskReadWriter.java108 fileOutputStream = atomicFile.startWrite(); in writeTo()
/frameworks/base/services/core/java/com/android/server/locales/
DSystemAppUpdateTracker.java201 stream = mUpdatedAppsFile.startWrite(); in writeUpdatedAppsFileLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java58 f = file.startWrite(); in writeInternal()
DResilientAtomicFile.java83 public FileOutputStream startWrite() throws IOException { in startWrite() method in ResilientAtomicFile
DShortcutPackageItem.java165 os = file.startWrite(); in saveToFileLocked()
DCompilerStats.java266 f = file.startWrite(); in writeInternal()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/
DBiometricUserState.java89 out = destination.startWrite(); in doWriteStateInternal()
/frameworks/base/services/core/java/com/android/server/tv/
DPersistentDataStore.java195 os = mAtomicFile.startWrite(); in save()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DTransferOwnershipMetadataManager.java85 stream = atomicFile.startWrite(); in saveMetadataFile()

123456