Home
last modified time | relevance | path

Searched refs:unlink (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/native/opengl/libs/EGL/
DFileBlobCache.cpp129 if (unlink(fname) == -1) { in writeToFile()
152 unlink(fname); in writeToFile()
162 unlink(fname); in writeToFile()
176 unlink(fname); in writeToFile()
/frameworks/native/cmds/installd/
DCacheItem.cpp97 if (unlink(p->fts_path) != 0) { in purge()
106 if (unlink(p->fts_path) != 0) { in purge()
126 if (unlink(path.c_str()) != 0) { in purge()
Ddexopt.cpp1112 if (unlink(file_name) < 0) { in open_output_file()
1302 unlink(image_path.c_str()); in maybe_open_app_image()
1318 [image_path]() { unlink(image_path.c_str()); }); in maybe_open_app_image()
1324 if (unlink(image_path.c_str()) < 0) { in maybe_open_app_image()
1353 if (unlink(swap_file_name.c_str()) < 0) { in maybe_open_dexopt_swap_file()
1473 [out_vdex_path_str]() { unlink(out_vdex_path_str.c_str()); }); in open_vdex_files_for_dex2oat()
1480 [out_vdex_path_str]() { unlink(out_vdex_path_str.c_str()); }); in open_vdex_files_for_dex2oat()
1507 [out_oat_path_str]() { unlink(out_oat_path_str.c_str()); }); in open_oat_out_file()
2138 if (unlink(file.c_str()) == 0) { in unlink_if_exists()
2376 if (unlink(to) != 0) { in unlink_and_rename()
[all …]
DInstalldNativeService.cpp1197 if (unlink(dex_path) < 0) { in rmdex()
1935 if ((unlink(snapshot.c_str()) != 0) && (errno != ENOENT)) { in destroyProfileSnapshot()
1996 if (unlink(boot_marker_path) != 0) { in markBootComplete()
2048 if (unlink(libsymlink) < 0) { in linkNativeLibraryDirectory()
2101 unlink(idmap_path); in delete_stale_idmap()
2131 unlink(idmap_path); in delete_stale_idmap()
2257 unlink(idmap_path); in idmap()
2275 if (unlink(idmap_path) < 0) { in removeIdmap()
Dotapreopt.cpp419 if (unlink(file.c_str()) != 0) { in ClearDirectory()
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache.cpp176 if (unlink(fname) == -1) { in saveBlobCacheLocked()
199 unlink(fname); in saveBlobCacheLocked()
209 unlink(fname); in saveBlobCacheLocked()
223 unlink(fname); in saveBlobCacheLocked()
/frameworks/base/native/webview/loader/
Dloader.cpp70 if (unlink(relro) != 0 && errno != ENOENT) { in DoCreateRelroFile()
94 unlink(relro_tmp); in DoCreateRelroFile()
101 unlink(relro_tmp); in DoCreateRelroFile()
/frameworks/base/core/java/android/os/
DTokenWatcher.java104 public void cleanup(IBinder token, boolean unlink) in cleanup() argument
108 if (unlink && d != null) { in cleanup()
/frameworks/base/cmds/incidentd/src/
DReporter.cpp253 if (!isTest) unlink(mFilename.c_str()); in runReport()
277 unlink(mFilename.c_str()); in create_file()
327 unlink(filename.string()); in upload_backlog()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp261 unlink(localTmpFileName); in copyFileIfChanged()
274 unlink(localTmpFileName); in copyFileIfChanged()
282 unlink(localTmpFileName); in copyFileIfChanged()
289 unlink(localTmpFileName); in copyFileIfChanged()
/frameworks/base/cmds/idmap/
Dcreate.cpp53 unlink(path); in open_idmap()
218 unlink(idmap_path); in idmap_create_path()
Dscan.cpp72 unlink(filename); in writePackagesList()
/frameworks/base/tools/aapt/
DPackage.cpp79 if (unlink(outputFile.string()) != 0) { in writeAPK()
176 if (unlink(outputFile.string()) != 0) { in writeAPK()
204 if (unlink(outputFile.string()) != 0) { in writeAPK()
/frameworks/av/media/mtp/
DMtpUtils.cpp222 success = unlink(childPath.c_str()); in deleteRecursive()
241 success = unlink(path); in deletePath()
DMtpServer.cpp1233 unlink(mSendObjectFilePath); in doSendObject()
/frameworks/base/libs/hwui/tests/unit/
DGraphicsStatsServiceTests.cpp79 unlink(path.c_str()); in TEST()
135 unlink(path.c_str()); in TEST()
/frameworks/ml/nn/runtime/test/
DTestMemory.cpp91 unlink(path); in TEST_F()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp542 unlink(objFilePath.c_str()); in compile()
546 unlink(objFilePath.c_str()); in compile()
565 unlink(cloneFilePath.c_str()); in compile()
DrsCpuExecutable.cpp183 int r = unlink(fullPath); in loadAndDeleteSharedLibrary()
313 r = unlink(newName.c_str()); in loadSOHelper()
/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp59 ::unlink(mFilename.string()); in SetUp()
/frameworks/native/cmds/rawbu/
Dbackup.cpp159 ret = unlink(nameBuffer); in wipe()
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp1419 unlink(SCRATCH_DIR "data/c"); in backup_helper_test_files()
1426 unlink(SCRATCH_DIR "data/f"); in backup_helper_test_files()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp675 err = unlink(fileName); in recordScreen()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp992 const int ret = unlink(dump_traces_path); in AddAnrTraceDir()
1280 unlink(path.c_str()); in DumpHals()
/frameworks/native/libs/vr/libpdx_uds/
Dservice_endpoint.cpp163 unlink(local.sun_path);

12