Home
last modified time | relevance | path

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

12

/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.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.cpp237 if (unlink(path.c_str()) < 0) { in UnlinkIgnoreResult()
844 if (unlink(file_name) < 0) { in open_output_file()
925 unlink(image_path.c_str()); in maybe_open_app_image()
946 if (unlink(image_path.c_str()) < 0) { in maybe_open_app_image()
975 if (unlink(swap_file_name.c_str()) < 0) { in maybe_open_dexopt_swap_file()
1905 if (unlink(file.c_str()) == 0) { in unlink_if_exists()
2150 if (unlink(to) != 0) { in unlink_and_rename()
2181 unlink(b_path.c_str()); in move_ab_path()
2189 if (unlink(b_path.c_str()) != 0) { in move_ab_path()
2245 unlink(a_image_path.c_str()); in move_ab()
[all …]
/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()
282 unlink(path.c_str()); in createFabricatedOverlay()
286 unlink(path.c_str()); in createFabricatedOverlay()
368 if (unlink(overlay_path.c_str()) != 0) { in deleteFabricatedOverlay()
373 if (unlink(idmap_path.c_str()) != 0) { in deleteFabricatedOverlay()
/frameworks/base/cmds/idmap2/tests/
DIdmap2BinaryTests.cpp111 unlink(GetIdmapPath().c_str()); in TEST_F()
172 unlink(GetIdmapPath().c_str()); in TEST_F()
224 unlink(GetIdmapPath().c_str()); in TEST_F()
/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.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/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/core/java/android/os/incremental/
DIncrementalStorage.java250 public void unlink(@NonNull String path) throws IOException { in unlink() method in IncrementalStorage
252 int res = mService.unlink(mId, path); in unlink()
279 mService.unlink(mId, sourcepath); in moveFile()
DIIncrementalService.aidl105 int unlink(int storageId, in @utf8InCpp String path); in unlink() method
/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.cpp223 success = unlink(childPath.c_str()); in deleteRecursive()
242 success = unlink(path); in deletePath()
/frameworks/native/libs/binder/tests/rpc_fuzzer/
Dmain.cpp71 unlink(kSock.c_str()); in LLVMFuzzerTestOneInput()
/frameworks/native/libs/binder/tests/
DbinderRpcBenchmark.cpp119 (void)unlink(addr.c_str()); in main()
/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()
/frameworks/base/tools/aapt2/test/
DFixture.cpp64 android::base::utf8::unlink(full_path.c_str()); in ClearDirectory()
/frameworks/av/services/audioflinger/
DNBAIO_Tee.cpp352 (void)unlink((dirp + file).c_str()); in clean()
500 (void)unlink(path.c_str()); in createInternal()
/frameworks/base/services/incremental/
DBinderIncrementalService.cpp254 binder::Status BinderIncrementalService::unlink(int32_t storageId, const std::string& path, in unlink() function in android::os::incremental::BinderIncrementalService
256 *_aidl_return = mImpl.unlink(storageId, path); in unlink()
DBinderIncrementalService.h76 binder::Status unlink(int32_t storageId, const std::string& path, int32_t* _aidl_return) final;
DIncrementalService.cpp320 if (const auto err = ::unlink(fullPath.c_str()); err != 0) { in rmDirContent()
759 (void)mIncFs->unlink(ifs->control, storageIt->second.name); in createLinkedStorage()
1123 mIncFs->unlink(ifs->control, path::join(ifs->root, constants().mount, savedFile)); in unbind()
1190 (void)mIncFs->unlink(ifs->control, normPath); in makeFile()
1199 (void)mIncFs->unlink(ifs->control, normPath); in makeFile()
1260 int IncrementalService::unlink(StorageId storage, std::string_view path) { in unlink() function in android::incremental::IncrementalService
1263 return mIncFs->unlink(ifs->control, normOldPath); in unlink()
1300 mIncFs->unlink(ifs.control, metadataFullPath); in addBindMount()
1526 mIncFs->unlink(ifs->control, path::join(root, name)); in adoptMountedInstances()
1595 mIncFs->unlink(ifs->control, metadataFile); in adoptMountedInstances()
[all …]
/frameworks/native/cmds/dumpstate/
DDumpPool.cpp98 if (unlink(result.c_str())) { in waitForTask()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp466 unlink("/data/local/tmp/tmp.zip"); in TearDown()
467 unlink("/data/local/tmp/tmp.png"); in TearDown()

12