Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/apk/
DSourceStampVerifierTest.java26 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
249 Files.copy(inputStream, apk.toPath(), REPLACE_EXISTING); in getApk()
/frameworks/base/packages/EncryptedLocalTransport/src/com/android/encryptedlocaltransport/
DEncryptedLocalTransport.java70 Files.copy(in, packageFile.toPath(), StandardCopyOption.REPLACE_EXISTING); in performBackup()
/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/
DAppIntegrityManagerServiceImplTest.java45 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
161 Files.copy(inputStream, mTestApk.toPath(), REPLACE_EXISTING); in setup()
166 Files.copy(inputStream, mTestApkTwoCerts.toPath(), REPLACE_EXISTING); in setup()
171 Files.copy(inputStream, mTestApkSourceStamp.toPath(), REPLACE_EXISTING); in setup()
/frameworks/base/core/tests/coretests/src/android/text/
DFontFallbackSetup.java68 Files.copy(is, outInCache.toPath(), StandardCopyOption.REPLACE_EXISTING); in FontFallbackSetup()
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTest.java798 Files.copy(mAdbKeyXmlFile.toPath(), tempXmlFile, StandardCopyOption.REPLACE_EXISTING); in test_notifyKeyFilesUpdated_newKeyIsAuthorized()
799 Files.copy(mAdbKeyFile.toPath(), tempAdbKeysFile, StandardCopyOption.REPLACE_EXISTING); in test_notifyKeyFilesUpdated_newKeyIsAuthorized()
810 Files.copy(tempXmlFile, mAdbKeyXmlFile.toPath(), StandardCopyOption.REPLACE_EXISTING); in test_notifyKeyFilesUpdated_newKeyIsAuthorized()
811 Files.copy(tempAdbKeysFile, mAdbKeyFile.toPath(), StandardCopyOption.REPLACE_EXISTING); in test_notifyKeyFilesUpdated_newKeyIsAuthorized()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteConfig.java233 Files.copy(inputStream, targetSatS2FilePath, StandardCopyOption.REPLACE_EXISTING); in copySatS2FileToPhoneDirectory()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/
DSensorPrivacyServiceMockingTest.java224 StandardCopyOption.REPLACE_EXISTING); in migrateFromFile()
276 StandardCopyOption.REPLACE_EXISTING); in getPersistedStateV2()
/frameworks/base/core/tests/coretests/src/android/provider/
DMockFontProvider.java197 StandardCopyOption.REPLACE_EXISTING); in prepareFontFiles()
/frameworks/base/services/core/java/com/android/server/pdb/
DPersistentDataBlockService.java21 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
662 Files.move(Paths.get(mFrpSecretTmpFile), Paths.get(mFrpSecretFile), REPLACE_EXISTING); in moveFrpTempFileToPrimary() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pdb/
DPersistentDataBlockServiceTest.java41 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
806 Files.move(mFrpSecretFile.toPath(), mFrpSecretTmpFile.toPath(), REPLACE_EXISTING); in frpState_AutomaticallyDeactivateWithBackupDataFile() local
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java45 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
285 Files.copy(inputStream, tmpFile.toPath(), REPLACE_EXISTING); in extractFile()
299 Files.copy(inputStream, tmpFile.toPath(), REPLACE_EXISTING); in extractFile()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsDownloadReceiver.java465 StandardCopyOption.REPLACE_EXISTING, StandardCopyOption.ATOMIC_MOVE); in moveToFinalLocation()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java463 StandardCopyOption.REPLACE_EXISTING); in doUpgradeLocked()
492 StandardCopyOption.REPLACE_EXISTING); in doUpgradeLocked()
DUsageStatsService.java865 StandardCopyOption.REPLACE_EXISTING); in copyRecursively()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyNumberTrackerTest.java301 Files.copy(source, target, StandardCopyOption.REPLACE_EXISTING); in simulateOtaEmergencyNumberDb()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceSystemFallbackTest.java151 Files.copy(is, out.toPath(), StandardCopyOption.REPLACE_EXISTING); in copyAssetToFile()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java69 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
2907 Files.copy(new FileInputStream(backupDataFd), backupDataPath, REPLACE_EXISTING); in copyBackupDataAndReturn()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyEngine.java1918 StandardCopyOption.REPLACE_EXISTING); in createBackup()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java4071 corruptedShortcutPackage.toPath(), StandardCopyOption.REPLACE_EXISTING); in testLoadCorruptedShortcuts()
/frameworks/base/core/java/android/app/
DActivityThread.java8644 StandardCopyOption.REPLACE_EXISTING); in rename()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...