Home
last modified time | relevance | path

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

123

/frameworks/base/tools/aapt2/cmd/
DCompile_test.cpp66 ::android::base::utf8::unlink(path0_out.c_str()); in TEST_F()
68 ASSERT_EQ(::android::base::utf8::unlink(path0_out.c_str()), 0); in TEST_F()
70 ASSERT_EQ(::android::base::utf8::unlink(path0_out.c_str()), 0); in TEST_F()
74 ::android::base::utf8::unlink(path1_out.c_str()); in TEST_F()
76 ASSERT_EQ(::android::base::utf8::unlink(path1_out.c_str()), 0); in TEST_F()
78 ASSERT_EQ(::android::base::utf8::unlink(path1_out.c_str()), 0); in TEST_F()
82 ::android::base::utf8::unlink(path2_out.c_str()); in TEST_F()
84 ASSERT_EQ(::android::base::utf8::unlink(path2_out.c_str()), 0); in TEST_F()
86 ASSERT_EQ(::android::base::utf8::unlink(path2_out.c_str()), 0); in TEST_F()
91 ::android::base::utf8::unlink(path3_out.c_str()); in TEST_F()
[all …]
/frameworks/native/opengl/libs/EGL/
DFileBlobCache.cpp138 if (unlink(fname) == -1) { in writeToFile()
161 unlink(fname); in writeToFile()
171 unlink(fname); in writeToFile()
185 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()
127 if (unlink(path.c_str()) != 0) { in purge()
Ddexopt.cpp951 if (unlink(file_name) < 0) { in open_output_file()
1074 if (unlink(swap_file_name.c_str()) < 0) { in maybe_open_dexopt_swap_file()
1179 unlink(in_vdex_path_str.c_str()); in open_vdex_files_for_dex2oat()
2069 if (unlink(file.c_str()) == 0) { in unlink_if_exists()
2314 if (unlink(to) != 0) { in unlink_and_rename()
2345 unlink(b_path.c_str()); in move_ab_path()
2353 if (unlink(b_path.c_str()) != 0) { in move_ab_path()
2409 unlink(a_image_path.c_str()); in move_ab()
2417 unlink(b_image_path.c_str()); in move_ab()
2422 unlink(b_vdex_path.c_str()); in move_ab()
[all …]
Drestorable_file.cpp43 if (unlink(path.c_str()) < 0) { in UnlinkPossiblyNonExistingFile()
/frameworks/base/cmds/idmap2/self_targeting/
DSelfTargeting.cpp77 unlink(frro_file_path.c_str()); in CreateFrroFile()
83 unlink(frro_file_path.c_str()); in CreateFrroFile()
139 unlink(idmapPath.c_str()); in CreateIdmapFile()
178 unlink(idmapPath.c_str()); in CreateIdmapFile()
/frameworks/base/cmds/idmap2/idmap2d/
DIdmap2Service.cpp100 if (unlink(idmap_path.c_str()) != 0) { in removeIdmap()
172 unlink(idmap_path.c_str()); in createIdmap()
200 unlink(idmap_path.c_str()); in createIdmap()
318 unlink(path.c_str()); in createFabricatedOverlay()
322 unlink(path.c_str()); in createFabricatedOverlay()
420 if (unlink(overlay_path.c_str()) != 0) { in deleteFabricatedOverlay()
425 if (unlink(idmap_path.c_str()) != 0) { in deleteFabricatedOverlay()
/frameworks/base/cmds/idmap2/tests/
DIdmap2BinaryTests.cpp110 unlink(GetIdmapPath().c_str()); in TEST_F()
171 unlink(GetIdmapPath().c_str()); in TEST_F()
223 unlink(GetIdmapPath().c_str()); in TEST_F()
/frameworks/libs/native_bridge_support/android_api/
Dcheck_proxy_libraries.py115 os.unlink(tmp_output_trampolines[1])
116 os.unlink(tmp_output_stubs[1])
/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/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/libs/binary_translation/tests/ndk_program_tests/include/berberis/ndk_program_tests/
Dfile.h57 unlink(file_name_); in ~TempFile()
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dfile.h62 unlink(file_name_); in ~TempFile()
/frameworks/base/core/jni/
Dcom_android_internal_content_NativeLibraryHelper.cpp252 unlink(localTmpFileName); in copyFileIfChanged()
259 unlink(localTmpFileName); in copyFileIfChanged()
272 unlink(localTmpFileName); in copyFileIfChanged()
280 unlink(localTmpFileName); in copyFileIfChanged()
287 unlink(localTmpFileName); in copyFileIfChanged()
/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp680 unlink(report->getDataFileName().c_str()); in remove()
681 unlink(report->getEnvelopeFileName().c_str()); in remove()
793 unlink(it->second.data.c_str()); in get_directory_contents_locked()
829 unlink(it->second.envelope.c_str()); in clean_directory_locked()
830 unlink(it->second.data.c_str()); in clean_directory_locked()
841 unlink(report->getDataFileName().c_str()); in delete_files_for_report_if_necessary()
842 unlink(report->getEnvelopeFileName().c_str()); in delete_files_for_report_if_necessary()
/frameworks/base/libs/hwui/tests/unit/
DGraphicsStatsServiceTests.cpp82 unlink(path.c_str()); in TEST()
138 unlink(path.c_str()); in TEST()
/frameworks/av/services/mediaresourcemanager/
DResourceManagerServiceUtils.h57 unlink(); in ~DeathNotifier()
74 void unlink() { in unlink() function
/frameworks/base/tools/aapt/
DPackage.cpp81 if (unlink(outputFile.c_str()) != 0) { in writeAPK()
178 if (unlink(outputFile.c_str()) != 0) { in writeAPK()
206 if (unlink(outputFile.c_str()) != 0) { in writeAPK()
/frameworks/base/core/java/android/os/incremental/
DIncrementalStorage.java251 public void unlink(@NonNull String path) throws IOException { in unlink() method in IncrementalStorage
253 int res = mService.unlink(mId, path); in unlink()
280 mService.unlink(mId, sourcepath); in moveFile()
/frameworks/native/libs/binder/tests/unit_fuzzers/
DBpBinderFuzz.cpp39 (void)unlink(addr.c_str()); in LLVMFuzzerTestOneInput()
/frameworks/av/media/mtp/
DMtpUtils.cpp223 success = unlink(childPath.c_str()); in deleteRecursive()
242 success = unlink(path); in deletePath()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjusterModernImpl.java233 void unlink() { in unlink() method in OomAdjusterModernImpl.ProcessRecordNode
406 node.unlink(); in offer()
462 void unlink(@NonNull ProcessRecord app) { in unlink() method in OomAdjusterModernImpl.ProcessRecordNodes
470 node.unlink(); in unlink()
482 node.unlink(); in append()
519 next.unlink(); in poll()
558 node.unlink(); in moveNodeToTail()
783 mProcessRecordProcStateNodes.unlink(app); in unlinkProcessRecordFromList()
784 mProcessRecordAdjNodes.unlink(app); in unlinkProcessRecordFromList()
/frameworks/native/libs/binder/tests/parcel_fuzzer/
Drandom_fd.cpp78 unlink(name); in getRandomFds()
/frameworks/base/cmds/gpu_counter_producer/
Dmain.cpp97 unlink(kPidFileName); in clearPidFile()
/frameworks/native/cmds/installd/tests/
Dinstalld_file_test.cpp39 ASSERT_EQ(0, unlink(path.c_str())); in UnlinkWithAssert()
411 ASSERT_EQ(0, unlink(tmpFile.c_str())); in TEST_F()
446 ASSERT_EQ(0, unlink(tmpFile.c_str())); in TEST_F()

123