/system/core/libnativebridge/tests/ |
H A D | CodeCacheStatFail_test.cpp | 48 unlink(kCodeCache);
|
H A D | PreInitializeNativeBridge_test.cpp | 59 ASSERT_EQ(0, unlink("./cpuinfo")) << "Error unlinking temporary file.";
|
/system/core/base/include/android-base/ |
H A D | utf8.h | 27 #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 D | android_get_control_socket_test.cpp | 55 unlink(addr.sun_path); 67 EXPECT_EQ(unlink(addr.sun_path), 0);
|
/system/vold/ |
H A D | secdiscard.cpp | 40 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 D | BenchmarkGen.h | 4247 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 D | VolumeManager.cpp | 304 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 D | app.te | 414 { 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 D | mls | 55 # 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 D | system_server.te | 34 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 D | mls | 55 # 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 D | wakelock_test.cc | 78 unlink(lock_path_.c_str()); 79 unlink(unlock_path_.c_str());
|
/system/bt/osi/src/socket_utils/ |
H A D | socket_local_server.cc | 54 /* basically: if this is a filesystem path, unlink first */ 62 unlink(addr.sun_path);
|
/system/core/libcutils/ |
H A D | ashmem-host.c | 48 unlink(template);
|
H A D | socket_local_server_unix.c | 68 /* basically: if this is a filesystem path, unlink first */ 76 unlink(addr.sun_path);
|
/system/extras/f2fs_utils/ |
H A D | make_f2fs_main.c | 89 unlink(filename);
|
/system/bt/service/ipc/ |
H A D | ipc_handler_linux.cc | 41 if (!socket_path_.empty()) unlink(socket_path_.value().c_str()); 77 unlink(path.value().c_str());
|
/system/core/base/ |
H A D | test_utils.cpp | 89 unlink(path);
|
H A D | file.cpp | 98 unlink(path.c_str()); 185 if (unlink(path.c_str()) == -1) {
|
H A D | utf8.cpp | 224 int unlink(const char* name) { function in namespace:android::base::utf8
|
/system/core/adb/ |
H A D | sysdeps.h | 32 // 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 D | user_state.cpp | 76 return unlink(mMasterKeyFile) == 0 || errno == ENOENT; 127 unlink(mMasterKeyFile);
|
/system/core/init/ |
H A D | descriptors.cpp | 81 unlink(path.c_str());
|
/system/extras/mmap-perf/ |
H A D | mmapPerf.cpp | 65 unlink(name.c_str());
|
/system/extras/tests/pagingtest/ |
H A D | pagingtest.c | 39 if (unlink(filename)) { 40 fprintf(stderr, "unable to unlink temp file: %s\n", strerror(errno));
|