Home
last modified time | relevance | path

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

12

/aosp12/hardware/interfaces/audio/common/all-versions/test/utility/tests/
H A Dutility_tests.cpp120 ASSERT_EQ(android::base::Dirname(xml.path), android::base::Dirname(xmlInclude.path)); in TEST()
138 ASSERT_EQ(android::base::Dirname(xml.path), android::base::Dirname(xmlIncludeDir.path)); in TEST()
164 ASSERT_EQ(android::base::Dirname(xml.path), android::base::Dirname(xmlInclude.path)); in TEST()
165 ASSERT_EQ(android::base::Dirname(xml.path), android::base::Dirname(xmlIncludeDir.path)); in TEST()
/aosp12/frameworks/base/tools/aapt2/cmd/
H A DCompile_test.cpp60 const std::string kResDir = BuildPath({android::base::Dirname(android::base::GetExecutablePath()), in TEST_F()
117 const std::string kResDir = BuildPath({android::base::Dirname(android::base::GetExecutablePath()), in TEST_F()
120 BuildPath({android::base::Dirname(android::base::GetExecutablePath()), "integration-tests", in TEST_F()
148 BuildPath({android::base::Dirname(android::base::GetExecutablePath()), "integration-tests", in TEST_F()
151 BuildPath({android::base::Dirname(android::base::GetExecutablePath()), "integration-tests", in TEST_F()
261 {android::base::Dirname(android::base::GetExecutablePath()), in TEST_F()
276 {android::base::Dirname(android::base::GetExecutablePath()), in TEST_F()
287 {android::base::Dirname(android::base::GetExecutablePath()), in TEST_F()
/aosp12/bionic/benchmarks/linker_relocation/
H A Dlinker_reloc_bench.cpp47 android::base::Dirname(android::base::Dirname(android::base::GetExecutableDirectory())) + in BM_linker_relocation()
/aosp12/system/linkerconfig/modules/tests/
H A Dapex_testbase.h55 Mkdir(android::base::Dirname(dir_path)); in Mkdir()
62 Mkdir(::android::base::Dirname(file_path)); in WriteFile()
/aosp12/system/core/init/
H A Ddevices.cpp45 using android::base::Dirname;
199 std::string directory = Dirname(path); in FindPlatformDevice()
216 directory = Dirname(path); in FindPlatformDevice()
423 if (!mkdir_recursive(Dirname(link), 0755)) { in HandleDevice()
424 PLOG(ERROR) << "Failed to create directory " << Dirname(link); in HandleDevice()
514 mkdir_recursive(Dirname(devpath), 0755); in HandleUevent()
H A Dpersistent_properties.cpp34 using android::base::Dirname;
200 auto dir = Dirname(persistent_property_filename); in WritePersistentPropertyFile()
H A Ddevices_test.cpp44 mkdir_recursive(android::base::Dirname(fake_sys_root.path + uevent.path), 0777); in TestGetSymlinks()
H A Dfirst_stage_init.cpp318 std::string dir = android::base::Dirname(dest); in FirstStageMain()
/aosp12/packages/services/Car/cpp/computepipe/tests/fuzz/
H A DVideoInputManagerFuzzer.cpp34 using android::base::Dirname;
53 Dirname(*argv[0]) + "/data/corpus/video_input_manager/centaur_1.mpg"; in LLVMFuzzerInitialize()
/aosp12/system/libbase/
H A 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()
H A Dfile.cpp468 return Dirname(GetExecutablePath()); in GetExecutableDirectory()
496 std::string Dirname(const std::string& path) { in Dirname() function
/aosp12/art/tools/signal_dumper/
H A Dsignal_dumper.cc112 using android::base::Dirname; in FindAddr2line()
115 std::string derived_top = Dirname(Dirname(Dirname(Dirname(exec_dir)))); in FindAddr2line()
/aosp12/system/apex/apexd/
H A Dapexd_verity.cpp32 using android::base::Dirname;
162 if (auto st = CreateDirIfNeeded(Dirname(hashtree_file), 0700); !st.ok()) { in PrepareHashTree()
/aosp12/packages/modules/SdkExtensions/derive_classpath/
H A Dderive_classpath_test.cpp113 std::string cmd("mkdir -p " + android::base::Dirname(fragment_path)); in AddJarToClasspath()
250 std::string cmd("mkdir -p " + android::base::Dirname(fragment_path)); in TEST_F()
/aosp12/frameworks/base/cmds/idmap2/libidmap2/
H A DFileUtils.cpp32 if (!base::Realpath(base::Dirname(path), &canonical_path)) { in UidHasWriteAccessToPath()
/aosp12/system/libbase/include/android-base/
H A Dfile.h122 std::string Dirname(const std::string& path);
/aosp12/packages/modules/adb/daemon/
H A Dfile_sync_service.cpp67 using android::base::Dirname;
359 if (!secure_mkdirs(Dirname(path))) { in handle_send_file()
378 if (!Realpath(path, &real_path) || lstat(Dirname(real_path).c_str(), &st) == -1 || in handle_send_file()
478 if (!secure_mkdirs(Dirname(path))) { in handle_send_link()
/aosp12/packages/modules/Virtualization/microdroid/signature/
H A Dmk_payload.cc35 using android::base::Dirname;
164 config.dirname = Dirname(config_file); in LoadConfig()
/aosp12/system/libziparchive/
H A Dziptool.cpp111 if (!MakeDirectoryHierarchy(android::base::Dirname(path))) return false; in MakeDirectoryHierarchy()
273 if (!MakeDirectoryHierarchy(android::base::Dirname(name))) { in ExtractOne()
/aosp12/system/core/fs_mgr/
H A Dfile_wait.cpp111 watch_path = android::base::Dirname(path); in OneShotInotify()
/aosp12/art/odrefresh/
H A Dodrefresh.cc317 const std::string dir_name = android::base::Dirname(cache_info_filename_); in WriteCacheInfo()
1084 const std::string install_location = android::base::Dirname(image_location); in CompileBootExtensionArtifacts()
1151 const std::string install_location = android::base::Dirname(image_location); in CompileSystemServerArtifacts()
1384 config->SetArtBinDir(android::base::Dirname(current_binary)); in InitializeHostConfig()
/aosp12/packages/services/Car/cpp/computepipe/runner/client_interface/
H A DDebuggerImpl.cpp75 std::string parentDirName = android::base::Dirname(dirName); in RecursiveCreateDir()
/aosp12/system/core/fs_mgr/libfiemap/
H A Dsplit_fiemap_writer.cpp176 std::string dir = android::base::Dirname(file_path); in GetSplitFileList()
/aosp12/packages/modules/adb/
H A Dadb_utils.cpp129 const std::string parent(android::base::Dirname(path)); in mkdirs()
/aosp12/packages/modules/adb/client/
H A Dfile_sync_client.cpp1354 for (std::string path = rpath; !is_root_dir(path); path = android::base::Dirname(path)) { in copy_local_dir_remote()
1545 copyinfo ci(android::base::Dirname(lpath), android::base::Dirname(rpath), in remote_build_list()
1680 if (stat(android::base::Dirname(dst).c_str(), &parent_st) == -1) { in do_sync_pull()

12