Home
last modified time | relevance | path

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

/system/linkerconfig/modules/tests/
Dapex_testbase.h53 Mkdir(android::base::Dirname(dir_path)); in Mkdir()
60 Mkdir(::android::base::Dirname(file_path)); in WriteFile()
/system/core/init/
Ddevices.cpp44 using android::base::Dirname;
191 std::string directory = Dirname(path); in FindPlatformDevice()
208 directory = Dirname(path); in FindPlatformDevice()
415 if (!mkdir_recursive(Dirname(link), 0755)) { in HandleDevice()
416 PLOG(ERROR) << "Failed to create directory " << Dirname(link); in HandleDevice()
503 mkdir_recursive(Dirname(devpath), 0755); in HandleUevent()
Dpersistent_properties.cpp34 using android::base::Dirname;
200 auto dir = Dirname(persistent_property_filename); in WritePersistentPropertyFile()
Ddevices_test.cpp44 mkdir_recursive(android::base::Dirname(fake_sys_root.path + uevent.path), 0777); in TestGetSymlinks()
Dinit.cpp507 make_dir(android::base::Dirname(CGROUPS_RC_PATH), 0711); in SetupCgroupsAction()
/system/libbase/
Dfile_test.cpp292 std::string dir_name = android::base::Dirname(td.path); in TEST()
338 TEST(file, Dirname) { in TEST() argument
339 EXPECT_EQ("/system/bin", android::base::Dirname("/system/bin/sh")); in TEST()
340 EXPECT_EQ(".", android::base::Dirname("sh")); in TEST()
341 EXPECT_EQ("/system/bin", android::base::Dirname("/system/bin/sh/")); in TEST()
Dfile.cpp468 return Dirname(GetExecutablePath()); in GetExecutableDirectory()
496 std::string Dirname(const std::string& path) { in Dirname() function
/system/libbase/include/android-base/
Dfile.h122 std::string Dirname(const std::string& path);
/system/libziparchive/
Dziptool.cpp107 if (!MakeDirectoryHierarchy(android::base::Dirname(path))) return false; in MakeDirectoryHierarchy()
230 if (!MakeDirectoryHierarchy(android::base::Dirname(name))) { in ExtractOne()
/system/core/fs_mgr/
Dfile_wait.cpp111 watch_path = android::base::Dirname(path); in OneShotInotify()
/system/core/adb/daemon/
Dfile_sync_service.cpp67 using android::base::Dirname;
358 if (!secure_mkdirs(Dirname(path))) { in handle_send_file()
469 if (!secure_mkdirs(Dirname(path))) { in handle_send_link()
/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp176 std::string dir = android::base::Dirname(file_path); in GetSplitFileList()
/system/core/adb/
Dadb_utils.cpp129 const std::string parent(android::base::Dirname(path)); in mkdirs()
/system/core/cli-test/
Dcli-test.cpp218 std::string FILES = android::base::Dirname(test.test_filename) + "/files"; in RunTests()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp394 if (!Mkdir(android::base::Dirname(CGROUPS_RC_PATH), 0711, "system", "system")) { in CgroupSetup()
/system/core/adb/client/
Dfile_sync_client.cpp1344 for (std::string path = rpath; !is_root_dir(path); path = android::base::Dirname(path)) { in copy_local_dir_remote()
1535 copyinfo ci(android::base::Dirname(lpath), android::base::Dirname(rpath), in remote_build_list()
1670 if (stat(android::base::Dirname(dst).c_str(), &parent_st) == -1) { in do_sync_pull()
/system/extras/simpleperf/
Dcmd_debug_unwind.cpp140 ScopedTempFiles scoped_temp_files(android::base::Dirname(output_filename_)); in Run()
Dcmd_record.cpp409 ScopedTempFiles scoped_temp_files(android::base::Dirname(record_filename_)); in Run()
/system/gsid/
Dgsi_service.cpp98 auto metadata_dir = android::base::Dirname(install_dir_file); in SaveInstallation()
/system/apex/apexd/
Dapexservice_test.cpp377 const std::string trg_dir = android::base::Dirname(trg); in Prepare()