/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | ThreadPersistentSettingsTest.java | 74 when(mAtomicFile.startWrite()).thenReturn(fos); in setUp() 123 verify(mAtomicFile).startWrite(); in put_ThreadFeatureEnabledTrue_returnsTrue() 133 verify(mAtomicFile).startWrite(); in put_ThreadFeatureEnabledFalse_returnsFalse() 144 verify(mAtomicFile).startWrite(); in put_ThreadCountryCodeString_returnsString() 155 verify(mAtomicFile).startWrite(); in put_ThreadCountryCodeNull_returnsNull()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbSettingsStoreTest.java | 81 when(mAtomicFile.startWrite()).thenReturn(fos); in setUp() 102 verify(mAtomicFile).startWrite(); in testSetterGetter() 136 verify(mAtomicFile, never()).startWrite(); in testLoadFromStore() 155 verify(mAtomicFile, times(1)).startWrite(); in testMigrationWhenStoreFileEmptyOrNotFound() 173 verify(mAtomicFile, never()).startWrite(); in testNoMigrationLoadFromStoreWhenStoreFileEmptyOrNotFound()
|
/packages/services/Car/service/src/com/android/car/telemetry/util/ |
D | IoUtils.java | 78 try (FileOutputStream fos = atomicFile.startWrite()) { in writeBundle() 113 try (FileOutputStream fos = atomicFile.startWrite()) { in writeProto()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCacheTest.java | 379 when(mOtherSettingsFile.startWrite()).thenReturn(mockFileOutputStream); in testInitialize_filesDontExist() 389 verify(mOtherSettingsFile).startWrite(); in testInitialize_filesDontExist() 581 when(mDynamicSettingsFile.startWrite()).thenReturn(mockFileOutputStream); in testSetOffhostSecureElement_existingService_correctUid_nonNullSE() 582 when(mOtherSettingsFile.startWrite()).thenReturn(new MockFileOutputStream()); in testSetOffhostSecureElement_existingService_correctUid_nonNullSE() 592 verify(mDynamicSettingsFile).startWrite(); in testSetOffhostSecureElement_existingService_correctUid_nonNullSE() 665 when(mDynamicSettingsFile.startWrite()).thenReturn(mockFileOutputStream); in testResetOffhostSecureElement_existingService_correctUid() 666 when(mOtherSettingsFile.startWrite()).thenReturn(new MockFileOutputStream()); in testResetOffhostSecureElement_existingService_correctUid() 677 verify(mDynamicSettingsFile).startWrite(); in testResetOffhostSecureElement_existingService_correctUid() 953 when(mDynamicSettingsFile.startWrite()).thenReturn(mockFileOutputStream); in testRegisterAidGroupForService_existingService_correctUid() 954 when(mOtherSettingsFile.startWrite()).thenReturn(new MockFileOutputStream()); in testRegisterAidGroupForService_existingService_correctUid() [all …]
|
D | RegisteredNfcFServicesCacheTest.java | 174 when(mAtomicFile.startWrite()).thenReturn(mFos); in setUp() 725 when(mAtomicFile.startWrite()).thenThrow(IOException.class); in testWriteDynamicSystemCodeNfcid2LockedWithInvalidSerializer_ReturnsFalse() 741 verify(mAtomicFile).startWrite(); in testWriteDynamicSystemCodeNfcid2LockedWithNoServices_ReturnsTrue() 754 verify(mAtomicFile).startWrite(); in testWriteDynamicSystemCodeNfcid2LockedWithServices_ReturnsTrue()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | WatchdogStorageUnitTest.java | 104 assertWithMessage("Start write on clean db").that(mService.startWrite()).isFalse(); in testStartWrite() 108 assertWithMessage("Start write on a dirty DB").that(mService.startWrite()).isTrue(); in testStartWrite() 113 assertWithMessage("Start write again").that(mService.startWrite()).isFalse(); in testStartWrite() 120 assertWithMessage("Start database write").that(mService.startWrite()).isTrue(); in testStartWriteAndMarkDirty() 126 assertWithMessage("Start write again").that(mService.startWrite()).isTrue(); in testStartWriteAndMarkDirty() 133 assertWithMessage("Start database write").that(mService.startWrite()).isTrue(); in testStartWriteTwice() 134 assertWithMessage("Start database write twice").that(mService.startWrite()) in testStartWriteTwice() 148 assertWithMessage("Start database write").that(mService.startWrite()).isTrue(); in testMarkSuccessfulWriteWithNoWriteInProgress()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/util/ |
D | FileUtils.java | 69 out = file.startWrite(); in writeToAtomicFile()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | PersistentInt.java | 93 fout = mFile.startWrite(); in set()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | StubProvider.java | 378 return startWrite(document); in openDocument() 381 return startWrite(document, true); in openDocument() 448 private ParcelFileDescriptor startWrite(final StubDocument document) in startWrite() method in StubProvider 450 return startWrite(document, false); in startWrite() 453 private ParcelFileDescriptor startWrite(final StubDocument document, boolean append) in startWrite() method in StubProvider
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | AppsIndexerSettings.java | 108 fos = atomicFile.startWrite(); in writeBundle()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/contactsindexer/ |
D | ContactsIndexerSettings.java | 141 fos = atomicFile.startWrite(); in writeBundle()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainStateStorage.java | 83 stream = file.startWrite(); in saveCredentialManagementApp()
|
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/ |
D | EthernetConfigStore.java | 73 fos = dst.startWrite(); in writeLegacyIpConfigToApexPath()
|
/packages/modules/DeviceLock/service/java/com/android/server/devicelock/ |
D | DeviceLockPersistentStore.java | 91 try (FileOutputStream fileOutputStream = atomicFile.startWrite()) { in writeState()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | BasePermissionEventStorage.kt | 118 dbFile.startWrite() in writeData()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcEventLog.java | 80 out = mLogFile.startWrite(); in writeLogFile()
|
/packages/modules/OnDevicePersonalization/systemservice/java/com/android/server/ondevicepersonalization/ |
D | BooleanFileDataStore.java | 169 out = mAtomicFile.startWrite(); in writeToFile()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | PersistedItemArray.java | 74 fos = file.startWrite(); in write()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | GarageModeRecorder.java | 169 try (FileOutputStream outStream = mGarageModeRecorderFile.startWrite()) { in writeToSessionFile()
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/ |
D | NfcEventLogTest.java | 64 when(mLogFile.startWrite()).thenReturn(mFileOutputStream); in setUp()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/signals/ |
D | EncoderPersistenceDao.java | 185 fos = atomicFile.startWrite(); in writeDataToFile()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/permission/ |
D | GrantTimeXmlHelper.java | 66 outputStream = atomicFile.startWrite(); in serializeGrantTimes()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 172 FileOutputStream startWrite() throws IOException { in startWrite() method in RegisteredServicesCache.SettingsFile 173 return mFile.startWrite(); in startWrite() 861 fos = mDynamicSettingsFile.startWrite(); in writeDynamicSettingsLocked() 905 fos = mOthersFile.startWrite(); in writeOthersLocked()
|
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/ |
D | ThreadPersistentSettings.java | 270 out = file.startWrite(); in writeToAtomicFile()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/viewmodel/ |
D | BannerController.java | 427 fos = atomicLastCloudProviderDataFile.startWrite(); in updateCloudProviderDataFile()
|