Home
last modified time | relevance | path

Searched refs:deleteFile (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/tools/aapt/
DCacheUpdater.h39 virtual void deleteFile(String8 path) = 0;
94 virtual void deleteFile(String8 path) in deleteFile() function
DCrunchCache.cpp68 cu->deleteFile(mDestFiles.keyAt(0)); in crunch()
/frameworks/base/tests/RollbackTest/StagedRollbackTest/src/com/android/tests/rollback/host/
DStagedRollbackTest.java353 getDevice().deleteFile(oldFilePath1); in testRollbackApexDataDirectories_DeSys()
354 getDevice().deleteFile(oldFilePath2); in testRollbackApexDataDirectories_DeSys()
408 getDevice().deleteFile(oldFilePath1); in testRollbackApexDataDirectories_DeUser()
409 getDevice().deleteFile(oldFilePath2); in testRollbackApexDataDirectories_DeUser()
461 getDevice().deleteFile(oldFilePath1); in testRollbackApexDataDirectories_Ce()
462 getDevice().deleteFile(oldFilePath2); in testRollbackApexDataDirectories_Ce()
512 getDevice().deleteFile(oldFilePath1); in testRollbackApkDataDirectories_De()
513 getDevice().deleteFile(oldFilePath2); in testRollbackApkDataDirectories_De()
/frameworks/base/services/tests/PackageManagerServiceTests/host/src/com/android/server/pm/test/
DInvalidNewSystemAppTest.kt59 preparer.deleteFile(filePath.parent.toString()) in removeApk()
74 preparer.deleteFile(filePath.toString()) in verify()
DFactoryPackageTest.kt44 device.deleteFile(filePath.parent.toString()) in removeApk()
DOverlayActorVisibilityTest.kt92 preparer.deleteFile(namedActorFile.toString()) in deleteSysConfigFile()
DHostUtils.kt35 deleteFile(partition.baseAppFolder.resolve(it.removeSuffix(".apk")).toString()) in <lambda>()
DSystemStubMultiUserDisableUninstallTest.kt94 savedDevice?.deleteFile(stubFile.parent.toString()) in <lambda>()
95 savedDevice?.deleteFile(deviceCompressedFile.parent.toString()) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DAuxiliaryPersistenceWrapper.kt101 persistenceWrapper.deleteFile() in getCachedFavoritesAndRemoveFor()
131 baseContext.deleteFile(AUXILIARY_FILE_NAME) in onStartJob()
DControlsFavoritePersistenceWrapper.kt80 fun deleteFile() { in <lambda>() method
/frameworks/base/libs/hwui/tests/unit/
DShaderCacheTests.cpp127 int deleteFile = remove(cacheFile1.c_str()); in TEST() local
128 ASSERT_TRUE(0 == deleteFile || ENOENT == errno); in TEST()
199 int deleteFile = remove(cacheFile1.c_str()); in TEST() local
200 ASSERT_TRUE(0 == deleteFile || ENOENT == errno); in TEST()
/frameworks/base/tools/aapt/tests/
DMockCacheUpdater.h25 virtual void deleteFile(String8 path) { in deleteFile() function
/frameworks/base/tests/utils/hostutils/src/com/android/internal/util/test/
DSystemPreparer.java126 public SystemPreparer deleteFile(String file) throws DeviceNotAvailableException { in deleteFile() method in SystemPreparer
129 device.deleteFile(file); in deleteFile()
276 device.deleteFile(file); in after()
/frameworks/base/test-runner/src/android/test/
DRenamingDelegatingContext.java215 public boolean deleteFile(String name) { in deleteFile() method in RenamingDelegatingContext
218 return mFileContext.deleteFile(renamedFileName(name)); in deleteFile()
/frameworks/base/core/tests/overlaytests/remount/src/com/android/overlaytest/remounted/
DRegenerateIdmapTest.java64 getDevice().deleteFile(originalPath); in testTargetRelocated()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DDeletionJobServiceTest.kt58 verify(context).deleteFile(AuxiliaryPersistenceWrapper.AUXILIARY_FILE_NAME) in testOnStartJob()
/frameworks/av/services/mediatranscoding/tests/
Dmediatranscodingservice_resource_tests.cpp146 deleteFile(dstPath0); in TEST_F()
DMediaTranscodingServiceTestHelper.h532 deleteFile(path); in prepareOutputFile()
536 void deleteFile(const char* path) { unlink(path); } in deleteFile() function
/frameworks/av/media/libmediatranscoding/transcoder/tests/
DMediaTranscoderTests.cpp79 void deleteFile(const char* path) { unlink(path); } in deleteFile() function in android::MediaTranscoderTests
130 deleteFile(destPath); in transcodeHelper()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerTestApp.java127 mContext.deleteFile(DOWNLOAD_STARTED_FLAG); in initiateDownload()
183 mContext.deleteFile(DOWNLOAD_STARTED_FLAG); in verifyFileDownloadSucceeded()
/frameworks/base/services/core/java/com/android/server/location/settings/
DLocationSettings.java122 mUserSettings.valueAt(i).deleteFile(); in deleteFiles()
DSettingsStore.java139 synchronized void deleteFile() throws InterruptedException {
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java310 boolean deleteFile = false; in restoreTasksForUserLocked()
369 deleteFile = true; in restoreTasksForUserLocked()
371 if (deleteFile) { in restoreTasksForUserLocked()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsStorage.java288 deleteFile(getChildProfileLockFile(userId)); in removeChildProfileLock()
319 deleteFile(getRebootEscrowFile(userId)); in removeRebootEscrow()
335 deleteFile(getRebootEscrowServerBlob()); in removeRebootEscrowServerBlob()
418 private void deleteFile(String name) { in deleteFile() method in LockSettingsStorage
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryDatabase.java266 deleteFile(currentOldestFile); in prune()
299 private void deleteFile(AtomicFile file) { in deleteFile() method in NotificationHistoryDatabase

12