Searched refs:unlink (Results 1 - 25 of 78) sorted by relevance

1234

/system/core/libnativebridge/tests/
H A DCodeCacheStatFail_test.cpp48 unlink(kCodeCache);
H A DPreInitializeNativeBridge_test.cpp59 ASSERT_EQ(0, unlink("./cpuinfo")) << "Error unlinking temporary file.";
/system/core/base/include/android-base/
H A Dutf8.h27 #include <unistd.h> // unlink
77 // // anonymous namespace to avoid conflict with existing open(), unlink(), etc.
85 // unlink(name); // Calls android::base::utf8::unlink().
94 int unlink(const char* name);
99 using ::unlink;
/system/core/libcutils/tests/
H A Dandroid_get_control_socket_test.cpp55 unlink(addr.sun_path);
67 EXPECT_EQ(unlink(addr.sun_path), 0);
/system/vold/
H A Dsecdiscard.cpp40 bool unlink{true};
61 LOG(DEBUG) << "Securely discarding '" << target << "' unlink=" << options.unlink;
65 if (options.unlink) {
66 if (unlink(target.c_str()) != 0 && errno != ENOENT) {
67 PLOG(ERROR) << "Unable to unlink: " << target;
79 if (!strcmp("--no-unlink", argv[i])) {
80 options.unlink = false;
95 fprintf(stderr, "Usage: %s [--no-unlink] -- <absolute path> ...\n", progname);
H A DBenchmarkGen.h4247 res |= unlink("stub");
4249 res |= unlink("file115");
4250 res |= unlink("file125");
4251 res |= unlink("file43");
4252 res |= unlink("file2");
4253 res |= unlink("file17");
4254 res |= unlink("file126");
4255 res |= unlink("file4");
4256 res |= unlink("file175");
4257 res |= unlink("file7
[all...]
H A DVolumeManager.cpp304 unlink(kPathVirtualDisk);
478 if (unlink(keyPath.c_str()) != 0) {
479 LOG(ERROR) << "Failed to unlink " << keyPath;
494 if (TEMP_FAILURE_RETRY(unlink(target.c_str()))) {
496 SLOGW("Failed to unlink %s: %s", target.c_str(), strerror(errno));
917 unlink(asecFileName);
924 unlink(asecFileName);
938 unlink(asecFileName);
955 unlink(asecFileName);
970 unlink(asecFileNam
[all...]
/system/sepolicy/prebuilts/api/26.0/private/
H A Dapp.te414 { create write setattr relabelfrom relabelto append unlink link rename };
418 { create write setattr relabelfrom relabelto append unlink link rename };
422 { create write setattr relabelfrom relabelto append unlink link rename };
429 { create write setattr relabelfrom relabelto append unlink link rename };
433 { create write setattr relabelfrom relabelto append unlink link rename };
436 { create write setattr relabelfrom relabelto append unlink link rename };
439 { create write setattr relabelfrom relabelto append unlink link rename };
442 { create write setattr relabelfrom relabelto append unlink link rename };
445 { create write setattr relabelfrom relabelto append unlink link rename };
448 { create setattr relabelfrom relabelto append unlink lin
[all...]
H A Dmls55 # Also constrain other forms of manipulation, e.g. chmod/chown, unlink, rename, etc.
59 mlsconstrain { file lnk_file sock_file } { open setattr unlink link rename }
79 mlsconstrain { file lnk_file sock_file chr_file blk_file } { write setattr append unlink link rename }
90 mlsconstrain fifo_file { write setattr append unlink link rename }
H A Dsystem_server.te34 allow system_server reboot_data_file:file { rename r_file_perms unlink };
412 allow system_server wallpaper_file:file { rw_file_perms rename unlink };
428 allow system_server icon_file:file { rw_file_perms unlink };
500 allow system_server fscklogs:file unlink;
595 allow system_server fingerprintd_data_file:file { getattr unlink };
617 allow system_server configfs:file { getattr open unlink write };
638 allow system_server preloads_data_file:file { r_file_perms unlink };
640 allow system_server preloads_media_file:file { r_file_perms unlink };
684 neverallow system_server { bluetooth_data_file nfc_data_file shell_data_file app_data_file }:file { open create unlink link };
/system/sepolicy/private/
H A Dmls55 # Also constrain other forms of manipulation, e.g. chmod/chown, unlink, rename, etc.
59 mlsconstrain { file lnk_file sock_file } { open setattr unlink link rename }
79 mlsconstrain { file lnk_file sock_file chr_file blk_file } { write setattr append unlink link rename }
90 mlsconstrain fifo_file { write setattr append unlink link rename }
/system/bt/osi/test/
H A Dwakelock_test.cc78 unlink(lock_path_.c_str());
79 unlink(unlock_path_.c_str());
/system/bt/osi/src/socket_utils/
H A Dsocket_local_server.cc54 /* basically: if this is a filesystem path, unlink first */
62 unlink(addr.sun_path);
/system/core/libcutils/
H A Dashmem-host.c48 unlink(template);
H A Dsocket_local_server_unix.c68 /* basically: if this is a filesystem path, unlink first */
76 unlink(addr.sun_path);
/system/extras/f2fs_utils/
H A Dmake_f2fs_main.c89 unlink(filename);
/system/bt/service/ipc/
H A Dipc_handler_linux.cc41 if (!socket_path_.empty()) unlink(socket_path_.value().c_str());
77 unlink(path.value().c_str());
/system/core/base/
H A Dtest_utils.cpp89 unlink(path);
H A Dfile.cpp98 unlink(path.c_str());
185 if (unlink(path.c_str()) == -1) {
H A Dutf8.cpp224 int unlink(const char* name) { function in namespace:android::base::utf8
/system/core/adb/
H A Dsysdeps.h32 // Include this before open/close/unlink are defined as macros below.
120 #undef unlink macro
121 #define unlink ___xxx_unlink macro
492 return unlink(path);
494 #undef unlink
495 #define unlink ___xxx_unlink
/system/security/keystore/
H A Duser_state.cpp76 return unlink(mMasterKeyFile) == 0 || errno == ENOENT;
127 unlink(mMasterKeyFile);
/system/core/init/
H A Ddescriptors.cpp81 unlink(path.c_str());
/system/extras/mmap-perf/
H A DmmapPerf.cpp65 unlink(name.c_str());
/system/extras/tests/pagingtest/
H A Dpagingtest.c39 if (unlink(filename)) {
40 fprintf(stderr, "unable to unlink temp file: %s\n", strerror(errno));

Completed in 698 milliseconds

1234