Home
last modified time | relevance | path

Searched refs:REPLACE_EXISTING (Results 1 – 19 of 19) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/
DImportManagerTest.java123 Files.copy(originalDb.toPath(), dbToImport.toPath(), StandardCopyOption.REPLACE_EXISTING); in copiesAllData()
161 Files.copy(originalDb.toPath(), dbToImport.toPath(), StandardCopyOption.REPLACE_EXISTING); in skipsMissingTables()
201 Files.copy(originalDb.toPath(), dbToImport.toPath(), StandardCopyOption.REPLACE_EXISTING); in deletesTheDatabase()
231 Files.copy(originalDb.toPath(), dbToImport.toPath(), StandardCopyOption.REPLACE_EXISTING); in runImport_versionMismatch_setsVersionMismatchError()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/groovy/
DFilterCopyTask.groovy43 … Files.copy(changedFile.toPath(), targetFile.toPath(), StandardCopyOption.REPLACE_EXISTING)
DFilterResourcesTask.groovy64 … Files.copy(changedFile.toPath(), targetFile.toPath(), StandardCopyOption.REPLACE_EXISTING)
/packages/modules/GeoTZ/app/src/main/java/com/android/geotz/app/
DGeoDataFileManagerImpl.java83 Files.copy(resourceStream, targetPath.toPath(), StandardCopyOption.REPLACE_EXISTING); in copyResource()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/jni/
DFlRunnerWrapperTest.java24 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
263 Files.copy(in, inputCheckpointFile.toPath(), REPLACE_EXISTING); in testRunFederatedLearning_returnsSuccess()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
DClusterContentProvider.java70 StandardCopyOption.REPLACE_EXISTING); in openFile()
/packages/modules/GeoTZ/geotz_lookup/src/test/java/com/android/timezone/location/lookup/
DGeoTimeZonesFinderTest.java45 Files.copy(inputStream, geoDataPath, StandardCopyOption.REPLACE_EXISTING); in setUp()
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/
DTestSupport.java82 Files.copy(inputStream, targetResourceFile, StandardCopyOption.REPLACE_EXISTING); in copyResource()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/inference/
DIsolatedModelServiceImplTest.java25 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
340 Files.copy(in, modelFile.toPath(), REPLACE_EXISTING); in onRequest()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DArchiveFileTestRule.java124 Files.copy(inputStream, destinationPath, StandardCopyOption.REPLACE_EXISTING); in dumpAssetFile()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DExportManager.java162 StandardCopyOption.REPLACE_EXISTING); in exportLocally()
/packages/modules/Virtualization/tests/testapk/src/java/com/android/microdroid/test/
DMicrodroidTests.java37 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
1112 Files.copy(f, targetVm.resolve(f.getFileName()), REPLACE_EXISTING); in copyVmDirectory()
1137 REPLACE_EXISTING); in createUncachedVmWithName() local
1143 REPLACE_EXISTING); in createUncachedVmWithName() local
1174 Files.copy(vmInstance.toPath(), vmInstanceBackup.toPath(), REPLACE_EXISTING); in changeDebugLevel() local
1178 Files.copy(vmId.toPath(), vmIdBackup.toPath(), REPLACE_EXISTING); in changeDebugLevel() local
1710 Files.copy(storageImgOrig.toPath(), storageImgNew.toPath(), REPLACE_EXISTING); in encryptedStorageIsInaccessibleToDifferentVm() local
/packages/apps/Settings/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProvider.java101 Files.copy(in, cachedFile.toPath(), StandardCopyOption.REPLACE_EXISTING); in openFile()
/packages/modules/common/javatests/com/android/modules/targetprep/
DClasspathFetcherTest.java101 Files.copy(is, tempFile.toPath(), StandardCopyOption.REPLACE_EXISTING); in setUp()
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DMergeTzS2Ranges.java134 StandardCopyOption.REPLACE_EXISTING); in execute()
/packages/services/Car/service/src/com/android/car/
DCarUxRestrictionsManagerService.java29 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
461 Files.move(stagedConfig, prod, REPLACE_EXISTING); in promoteStagedConfig()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/http/
DHttpFederatedProtocolTest.java47 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
970 java.nio.file.Files.copy(in, outputCheckpointFile.toPath(), REPLACE_EXISTING); in createOutputCheckpointFile()
/packages/services/Telephony/src/com/android/phone/satellite/accesscontrol/
DSatelliteAccessController.java487 Files.copy(inputStream, targetSatS2FilePath, StandardCopyOption.REPLACE_EXISTING); in copyTestSatS2FileToPhoneDirectory()
513 Files.copy(inputStream, targetSatS2FilePath, StandardCopyOption.REPLACE_EXISTING); in copySatS2FileToLocalDirectory()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/backuprestore/
DBackupRestore.java267 StandardCopyOption.REPLACE_EXISTING); in stageAllHealthConnectRemoteData()