Home
last modified time | relevance | path

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

123

/aosp14/frameworks/base/tools/aapt2/cmd/
H A 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()
82 ::android::base::utf8::unlink(path2_out.c_str()); in TEST_F()
91 ::android::base::utf8::unlink(path3_out.c_str()); in TEST_F()
99 ::android::base::utf8::unlink(path4_out.c_str()); in TEST_F()
107 ::android::base::utf8::unlink(path5_out.c_str()); in TEST_F()
120 ::android::base::utf8::unlink(kOutputFlata.c_str()); in TEST_F()
[all …]
/aosp14/frameworks/base/cmds/idmap2/self_targeting/
H A DSelfTargeting.cpp76 unlink(frro_file_path.c_str()); in CreateFrroFile()
82 unlink(frro_file_path.c_str()); in CreateFrroFile()
138 unlink(idmapPath.c_str()); in CreateIdmapFile()
177 unlink(idmapPath.c_str()); in CreateIdmapFile()
/aosp14/frameworks/base/cmds/idmap2/idmap2d/
H A 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()
292 unlink(path.c_str()); in createFabricatedOverlay()
296 unlink(path.c_str()); in createFabricatedOverlay()
394 if (unlink(overlay_path.c_str()) != 0) { in deleteFabricatedOverlay()
399 if (unlink(idmap_path.c_str()) != 0) { in deleteFabricatedOverlay()
/aosp14/system/core/libcutils/
H A Dandroid_get_control_socket_test.cpp55 unlink(addr.sun_path); in TEST()
67 EXPECT_EQ(unlink(addr.sun_path), 0); in TEST()
H A Dashmem-host.cpp66 unlink(pattern); in ashmem_create_region()
H A Dsocket_local_server_unix.cpp76 unlink(addr.sun_path);
/aosp14/system/core/fs_mgr/tests/
H A Dfile_wait_test.cpp36 void TearDown() override { unlink(test_file_.c_str()); } in TearDown()
82 unlink(test_file_.c_str()); in TEST_F()
/aosp14/frameworks/base/cmds/idmap2/tests/
H A 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()
/aosp14/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp226 unlink(localTmpFileName); in copyFileIfChanged()
233 unlink(localTmpFileName); in copyFileIfChanged()
246 unlink(localTmpFileName); in copyFileIfChanged()
254 unlink(localTmpFileName); in copyFileIfChanged()
261 unlink(localTmpFileName); in copyFileIfChanged()
/aosp14/frameworks/base/native/webview/loader/
H A Dloader.cpp73 if (unlink(relro) != 0 && errno != ENOENT) { in DoCreateRelroFile()
106 unlink(relro_tmp); in DoCreateRelroFile()
113 unlink(relro_tmp); in DoCreateRelroFile()
/aosp14/system/core/init/
H A Dpersistent_properties.cpp149 unlink(temp_filename.c_str()); in ReadPersistentPropertyFile()
182 unlink(persistent_property_filename.c_str()); in LoadPersistentPropertyFile()
206 unlink(temp_filename.c_str()); in WritePersistentPropertyFile()
H A Dfscrypt_init_extensions.cpp88 if (unlink(cur->fts_path) == -1) { in delete_dir_contents()
H A Ddevices.cpp465 unlink(path.c_str()); in RemoveDeviceMapperLinks()
507 unlink(link.c_str()); in HandleDevice()
510 unlink(devpath.c_str()); in HandleDevice()
/aosp14/frameworks/base/core/java/android/os/
H A DTokenWatcher.java104 public void cleanup(IBinder token, boolean unlink) in cleanup() argument
108 if (unlink && d != null) { in cleanup()
/aosp14/frameworks/base/cmds/incidentd/src/
H A 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()
/aosp14/system/core/libsysutils/src/
H A DSocketListener_test.cpp47 unlink(path.c_str()); in serverSocket()
136 unlink(mSocketPath.c_str()); in ~FrameworkListenerTest()
/aosp14/frameworks/base/core/java/android/os/incremental/
H A 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()
H A DIIncrementalService.aidl105 int unlink(int storageId, in @utf8InCpp String path); in unlink() method
/aosp14/frameworks/base/tools/aapt/
H A 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()
/aosp14/frameworks/base/libs/hwui/tests/unit/
H A DGraphicsStatsServiceTests.cpp82 unlink(path.c_str()); in TEST()
138 unlink(path.c_str()); in TEST()
/aosp14/system/core/llkd/tests/
H A Dllkd_test.cpp305 unlink(stack_pipe_file); in TEST()
328 unlink(stack_pipe_file); in TEST()
/aosp14/system/core/fs_mgr/libfiemap/
H A Dsplit_fiemap_writer.cpp301 unlink(list_file_.c_str()); in ~SplitFiemap()
306 unlink(path.c_str()); in ~SplitFiemap()
H A Dutility.cpp72 unlink(file_path.c_str()); in DetermineMaximumFileSize()
/aosp14/frameworks/base/cmds/gpu_counter_producer/
H A Dmain.cpp97 unlink(kPidFileName); in clearPidFile()
/aosp14/frameworks/base/tools/aapt2/test/
H A DFixture.cpp65 android::base::utf8::unlink(full_path.c_str()); in ClearDirectory()

123