Home
last modified time | relevance | path

Searched refs:Basename (Results 1 – 25 of 30) sorted by relevance

12

/system/core/base/
Dfile_test.cpp201 std::string basename = android::base::Basename(td.path); in TEST()
203 std::string base_dir_name = android::base::Basename(dir_name); in TEST()
242 TEST(file, Basename) { in TEST() argument
243 EXPECT_EQ("sh", android::base::Basename("/system/bin/sh")); in TEST()
244 EXPECT_EQ("sh", android::base::Basename("sh")); in TEST()
245 EXPECT_EQ("sh", android::base::Basename("/system/bin/sh/")); in TEST()
Dfile.cpp433 std::string Basename(const std::string& path) { in Basename() function
Dlogging.cpp76 android::base::Basename(android::base::GetExecutablePath()).c_str()); in getprogname()
Dlogging_test.cpp649 ASSERT_EQ(android::base::Basename(android::base::GetExecutablePath()) + ": err\n", cap_err.str()); in TEST()
/system/core/fs_mgr/
Dfs_mgr_overlayfs.cpp229 const auto base = android::base::Basename(mount_point) + "/"; in fs_mgr_get_overlayfs_candidate()
340 auto fsrec_mount_point = overlay + "/" + android::base::Basename(mount_point) + "/"; in fs_mgr_overlayfs_setup_one()
438 const auto partition_name = android::base::Basename(kScratchMountPoint); in fs_mgr_overlayfs_teardown_scratch()
463 const auto partition_name = android::base::Basename(mount_point); in fs_mgr_overlayfs_teardown_one()
620 const auto partition_name = android::base::Basename(kScratchMountPoint); in fs_mgr_overlayfs_scratch_device()
637 command = kMkF2fs + " -w 4096 -f -d1 -l" + android::base::Basename(kScratchMountPoint); in fs_mgr_overlayfs_make_scratch()
673 const auto partition_name = android::base::Basename(kScratchMountPoint); in fs_mgr_overlayfs_create_scratch()
782 return builder->FindPartition(android::base::Basename(kScratchMountPoint)) != nullptr; in fs_mgr_overlayfs_scratch_can_be_mounted()
954 const auto partition_name = android::base::Basename(kScratchMountPoint); in fs_mgr_overlayfs_teardown()
Dfs_mgr_remount.cpp217 if (partition == android::base::Basename(mount_point)) return true; in main()
/system/core/fs_mgr/liblp/
Dpartition_opener.cpp74 device_info->partition_name = android::base::Basename(block_device); in GetBlockDeviceInfo()
/system/core/init/
Ddevices.cpp48 using android::base::Basename;
171 std::string path_basename = Basename(path); in MatchWithSubsystem()
432 devpath = "/dev/block/" + Basename(uevent.path); in HandleUevent()
456 devpath = "/dev/" + Basename(uevent.path); in HandleUevent()
Ddevices.h96 : android::base::Basename(uevent.path); in ParseDevPath()
Dbuiltins.cpp78 using android::base::Basename;
828 std::string partition = entry.mount_point == "/" ? "system" : Basename(entry.mount_point); in do_verity_update_state()
/system/core/adb/client/
Dbugreport.cpp120 line_message_ = action + " " + android::base::Basename(dest_file_); in SetLineMessage()
127 dest_file_ = android::base::Basename(path); in SetSrcFile()
Dadb_install.cpp260 "/data/local/tmp/" + android::base::Basename(argv[last_apk]); in install_app_legacy()
475 session_id, android::base::Basename(file).c_str()); in install_multiple_app()
654 android::base::Basename(split).c_str()); in install_multi_package()
Dfile_sync_client.cpp1012 dst_dir.append(android::base::Basename(src_path)); in do_sync_push()
1030 path_holder += android::base::Basename(src_path); in do_sync_push()
1051 android::base::Basename(lpath), S_IFDIR); in remote_build_list()
1240 dst_dir.append(android::base::Basename(src_path)); in do_sync_pull()
1256 android::base::Basename(src_path).c_str()); in do_sync_pull()
/system/core/base/include/android-base/
Dfile.h120 std::string Basename(const std::string& path);
/system/vold/
DIdleMaint.cpp42 using android::base::Basename;
99 paths->push_back(std::string("/sys/fs/") + fs_type + "/" + Basename(gc_path)); in addFromVolumeManager()
139 paths->push_back("/sys/fs/" + entry.fs_type + "/" + Basename(gc_path)); in addFromFstab()
/system/core/fs_mgr/libfs_avb/
Davb_util.cpp30 using android::base::Basename;
107 const std::string mount_point(Basename(fstab_entry->mount_point)); in HashtreeDmVeritySetup()
254 partition_name = Basename(fstab_entry.blk_device); in DeriveAvbPartitionName()
Dfs_avb.cpp41 using android::base::Basename;
/system/core/fastboot/device/
Dflashing.cpp59 auto partition = android::base::Basename(entry.mount_point); in WipeOverlayfsForPartition()
/system/extras/simpleperf/
Ddso_test.cpp39 "%s=%s\n", build_id.ToString().c_str(), android::base::Basename(tmpfile.path).c_str()); in TEST()
/system/libvintf/
DAssembleVintf.cpp170 return ::android::base::Basename(path) == gBaseConfig; in isCommonConfig()
175 std::string fname = ::android::base::Basename(path); in generateCondition()
305 out() << " " << base::Basename(e.name) << std::endl; in outputInputs()
/system/core/fs_mgr/libfiemap_writer/
Dsplit_fiemap_writer.cpp111 std::string line = android::base::Basename(writer->file_path()) + "\n"; in Create()
Dfiemap_writer.cpp78 *bdev_name = ::android::base::Basename(sysfs_bdev); in BlockDeviceToName()
/system/core/adb/
Dadb_utils.cpp350 fprintf(stderr, "%s: ", android::base::Basename(android::base::GetExecutablePath()).c_str()); in error_exit_va()
/system/tools/sysprop/
DCppGen.cpp432 std::string output_basename = android::base::Basename(input_file_path); in GenerateCppFiles()
/system/core/llkd/
Dlibllkd.cpp706 if (llkSkipName(android::base::Basename(procp->getCmdline()), blacklist)) return true; in llkSkipProc()
728 llkSkipName(android::base::Basename(pprocp->getCmdline()), blacklist)); in llkSkipPproc()
1098 if (llkSkipName(android::base::Basename(procp->getCmdline()))) { in llkCheck()

12