Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt2/cmd/
DCompile_test.cpp65 ::android::base::utf8::unlink(path0_out.c_str()); in TEST_F()
67 ASSERT_EQ(::android::base::utf8::unlink(path0_out.c_str()), 0); in TEST_F()
69 ASSERT_EQ(::android::base::utf8::unlink(path0_out.c_str()), 0); in TEST_F()
73 ::android::base::utf8::unlink(path1_out.c_str()); in TEST_F()
75 ASSERT_EQ(::android::base::utf8::unlink(path1_out.c_str()), 0); in TEST_F()
77 ASSERT_EQ(::android::base::utf8::unlink(path1_out.c_str()), 0); in TEST_F()
81 ::android::base::utf8::unlink(path2_out.c_str()); in TEST_F()
83 ASSERT_EQ(::android::base::utf8::unlink(path2_out.c_str()), 0); in TEST_F()
85 ASSERT_EQ(::android::base::utf8::unlink(path2_out.c_str()), 0); in TEST_F()
90 ::android::base::utf8::unlink(path3_out.c_str()); in TEST_F()
[all …]
/frameworks/base/cmds/idmap2/tests/
DIdmap2BinaryTests.cpp107 unlink(GetIdmapPath().c_str()); in TEST_F()
155 unlink(GetIdmapPath().c_str()); in TEST_F()
209 unlink(idmap_static_no_name_path.c_str()); in TEST_F()
210 unlink(idmap_static_2_path.c_str()); in TEST_F()
211 unlink(idmap_static_1_path.c_str()); in TEST_F()
227 unlink(idmap_static_no_name_path.c_str()); in TEST_F()
228 unlink(idmap_static_2_path.c_str()); in TEST_F()
229 unlink(idmap_static_1_path.c_str()); in TEST_F()
246 unlink(idmap_static_no_name_path.c_str()); in TEST_F()
247 unlink(idmap_static_2_path.c_str()); in TEST_F()
[all …]
/frameworks/native/opengl/libs/EGL/
DFileBlobCache.cpp131 if (unlink(fname) == -1) { in writeToFile()
154 unlink(fname); in writeToFile()
164 unlink(fname); in writeToFile()
178 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.cpp1149 if (unlink(file_name) < 0) { in open_output_file()
1334 unlink(image_path.c_str()); in maybe_open_app_image()
1348 [image_path]() { unlink(image_path.c_str()); }); in maybe_open_app_image()
1354 if (unlink(image_path.c_str()) < 0) { in maybe_open_app_image()
1383 if (unlink(swap_file_name.c_str()) < 0) { in maybe_open_dexopt_swap_file()
1503 [out_vdex_path_str]() { unlink(out_vdex_path_str.c_str()); }); in open_vdex_files_for_dex2oat()
1510 [out_vdex_path_str]() { unlink(out_vdex_path_str.c_str()); }); in open_vdex_files_for_dex2oat()
1537 [out_oat_path_str]() { unlink(out_oat_path_str.c_str()); }); in open_oat_out_file()
2299 if (unlink(file.c_str()) == 0) { in unlink_if_exists()
2537 if (unlink(to) != 0) { in unlink_and_rename()
[all …]
DInstalldNativeService.cpp1516 if (unlink(dex_path) < 0) { in rmdex()
2271 if ((unlink(snapshot.c_str()) != 0) && (errno != ENOENT)) { in destroyProfileSnapshot()
2386 if (unlink(libsymlink) < 0) { in linkNativeLibraryDirectory()
2445 unlink(idmap_path); in delete_stale_idmap()
2475 unlink(idmap_path); in delete_stale_idmap()
2601 unlink(idmap_path); in idmap()
2619 if (unlink(idmap_path) < 0) { in removeIdmap()
/frameworks/ml/nn/driver/cache/nnCache/
DnnCache.cpp175 if (unlink(fname) == -1) { in saveBlobCacheLocked()
195 unlink(fname); in saveBlobCacheLocked()
204 unlink(fname); in saveBlobCacheLocked()
217 unlink(fname); in saveBlobCacheLocked()
/frameworks/base/native/webview/loader/
Dloader.cpp73 if (unlink(relro) != 0 && errno != ENOENT) { in DoCreateRelroFile()
106 unlink(relro_tmp); in DoCreateRelroFile()
113 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/
DWorkDirectory.cpp645 unlink(report->getDataFileName().c_str()); in remove()
646 unlink(report->getEnvelopeFileName().c_str()); in remove()
758 unlink(it->second.data.c_str()); in get_directory_contents_locked()
794 unlink(it->second.envelope.c_str()); in clean_directory_locked()
795 unlink(it->second.data.c_str()); in clean_directory_locked()
806 unlink(report->getDataFileName().c_str()); in delete_files_for_report_if_necessary()
807 unlink(report->getEnvelopeFileName().c_str()); in delete_files_for_report_if_necessary()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp259 unlink(localTmpFileName); in copyFileIfChanged()
272 unlink(localTmpFileName); in copyFileIfChanged()
280 unlink(localTmpFileName); in copyFileIfChanged()
287 unlink(localTmpFileName); in copyFileIfChanged()
/frameworks/base/cmds/idmap/
Dcreate.cpp53 unlink(path); in open_idmap()
218 unlink(idmap_path); in idmap_create_path()
Dscan.cpp71 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/base/libs/hwui/tests/unit/
DGraphicsStatsServiceTests.cpp79 unlink(path.c_str()); in TEST()
135 unlink(path.c_str()); in TEST()
/frameworks/av/media/mtp/
DMtpUtils.cpp222 success = unlink(childPath.c_str()); in deleteRecursive()
241 success = unlink(path); in deletePath()
/frameworks/base/tools/aapt2/test/
DFixture.cpp65 android::base::utf8::unlink(full_path.c_str()); in ClearDirectory()
/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.cpp187 int r = unlink(fullPath); in loadAndDeleteSharedLibrary()
291 r = unlink(newName.c_str()); in loadAsCopy()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp88 if (unlink(idmap_path.c_str()) != 0) { in removeIdmap()
/frameworks/av/services/audioflinger/
DNBAIO_Tee.cpp352 (void)unlink((dirp + file).c_str()); in clean()
500 (void)unlink(path.c_str()); in createInternal()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp412 unlink("/data/local/tmp/tmp.zip"); in TearDown()
413 unlink("/data/local/tmp/tmp.png"); in TearDown()
/frameworks/ml/nn/runtime/test/
DTestMemory.cpp90 unlink(path); in TEST_F()
/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp59 ::unlink(mFilename.string()); in SetUp()
/frameworks/native/cmds/rawbu/
Dbackup.cpp159 ret = unlink(nameBuffer); in wipe()

12