Searched refs:Dirname (Results 1 – 17 of 17) sorted by relevance
/system/core/base/ |
D | file_test.cpp | 202 std::string dir_name = android::base::Dirname(td.path); in TEST() 248 TEST(file, Dirname) { in TEST() argument 249 EXPECT_EQ("/system/bin", android::base::Dirname("/system/bin/sh")); in TEST() 250 EXPECT_EQ(".", android::base::Dirname("sh")); in TEST() 251 EXPECT_EQ("/system/bin", android::base::Dirname("/system/bin/sh/")); in TEST()
|
D | file.cpp | 430 return Dirname(GetExecutablePath()); in GetExecutableDirectory() 458 std::string Dirname(const std::string& path) { in Dirname() function
|
/system/core/init/ |
D | devices.cpp | 49 using android::base::Dirname; 204 std::string directory = Dirname(path); in FindPlatformDevice() 220 directory = Dirname(path); in FindPlatformDevice() 391 if (!mkdir_recursive(Dirname(link), 0755)) { in HandleDevice() 392 PLOG(ERROR) << "Failed to create directory " << Dirname(link); in HandleDevice() 459 mkdir_recursive(Dirname(devpath), 0755); in HandleUevent()
|
D | devices_test.cpp | 44 mkdir_recursive(android::base::Dirname(fake_sys_root.path + uevent.path), 0777); in TestGetSymlinks()
|
D | init.cpp | 360 make_dir(android::base::Dirname(CGROUPS_RC_PATH), 0711); in SetupCgroupsAction()
|
/system/core/base/include/android-base/ |
D | file.h | 121 std::string Dirname(const std::string& path);
|
/system/core/libziparchive/ |
D | unzip.cpp | 67 if (!MakeDirectoryHierarchy(android::base::Dirname(path))) return false; in MakeDirectoryHierarchy() 167 if (!MakeDirectoryHierarchy(android::base::Dirname(name))) { in ExtractOne()
|
/system/core/adb/daemon/ |
D | file_sync_service.cpp | 59 using android::base::Dirname; 244 if (!secure_mkdirs(Dirname(path))) { in handle_send_file() 369 if (!secure_mkdirs(Dirname(path))) { in handle_send_link()
|
/system/core/adb/client/ |
D | file_sync_client.cpp | 865 for (std::string dirpath = rpath; dirpath != "/"; dirpath = android::base::Dirname(dirpath)) { in copy_local_dir_remote() 1050 copyinfo ci(android::base::Dirname(lpath), android::base::Dirname(rpath), in remote_build_list() 1185 if (stat(android::base::Dirname(dst).c_str(), &parent_st) == -1) { in do_sync_pull()
|
/system/core/fs_mgr/libfiemap_writer/ |
D | split_fiemap_writer.cpp | 153 std::string dir = android::base::Dirname(file_path); in GetSplitFileList()
|
/system/core/libprocessgroup/setup/ |
D | cgroup_map_write.cpp | 320 if (!Mkdir(android::base::Dirname(CGROUPS_RC_PATH), 0711, "system", "system")) { in CgroupSetup()
|
/system/core/adb/ |
D | adb_utils.cpp | 129 const std::string parent(android::base::Dirname(path)); in mkdirs()
|
/system/extras/simpleperf/ |
D | cmd_debug_unwind.cpp | 140 ScopedTempFiles scoped_temp_files(android::base::Dirname(output_filename_)); in Run()
|
D | cmd_record.cpp | 364 ScopedTempFiles scoped_temp_files(android::base::Dirname(record_filename_)); in Run()
|
/system/core/libnativeloader/ |
D | native_loader.cpp | 505 ReadExtensionLibraries(base::Dirname(public_native_libraries_system_config).c_str(), &sonames); in Initialize()
|
/system/extras/perfprofd/tests/ |
D | perfprofd_test.cc | 277 test_dir = android::base::Dirname(gExecutableRealpath); in create_dirs()
|
/system/apex/apexd/ |
D | apexservice_test.cpp | 333 const std::string trg_dir = android::base::Dirname(trg); in Prepare()
|