Home
last modified time | relevance | path

Searched refs:Dirname (Results 1 – 17 of 17) sorted by relevance

/system/core/base/
Dfile_test.cpp202 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()
Dfile.cpp430 return Dirname(GetExecutablePath()); in GetExecutableDirectory()
458 std::string Dirname(const std::string& path) { in Dirname() function
/system/core/init/
Ddevices.cpp49 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()
Ddevices_test.cpp44 mkdir_recursive(android::base::Dirname(fake_sys_root.path + uevent.path), 0777); in TestGetSymlinks()
Dinit.cpp360 make_dir(android::base::Dirname(CGROUPS_RC_PATH), 0711); in SetupCgroupsAction()
/system/core/base/include/android-base/
Dfile.h121 std::string Dirname(const std::string& path);
/system/core/libziparchive/
Dunzip.cpp67 if (!MakeDirectoryHierarchy(android::base::Dirname(path))) return false; in MakeDirectoryHierarchy()
167 if (!MakeDirectoryHierarchy(android::base::Dirname(name))) { in ExtractOne()
/system/core/adb/daemon/
Dfile_sync_service.cpp59 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/
Dfile_sync_client.cpp865 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/
Dsplit_fiemap_writer.cpp153 std::string dir = android::base::Dirname(file_path); in GetSplitFileList()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp320 if (!Mkdir(android::base::Dirname(CGROUPS_RC_PATH), 0711, "system", "system")) { in CgroupSetup()
/system/core/adb/
Dadb_utils.cpp129 const std::string parent(android::base::Dirname(path)); in mkdirs()
/system/extras/simpleperf/
Dcmd_debug_unwind.cpp140 ScopedTempFiles scoped_temp_files(android::base::Dirname(output_filename_)); in Run()
Dcmd_record.cpp364 ScopedTempFiles scoped_temp_files(android::base::Dirname(record_filename_)); in Run()
/system/core/libnativeloader/
Dnative_loader.cpp505 ReadExtensionLibraries(base::Dirname(public_native_libraries_system_config).c_str(), &sonames); in Initialize()
/system/extras/perfprofd/tests/
Dperfprofd_test.cc277 test_dir = android::base::Dirname(gExecutableRealpath); in create_dirs()
/system/apex/apexd/
Dapexservice_test.cpp333 const std::string trg_dir = android::base::Dirname(trg); in Prepare()