/system/core/base/ |
D | file_test.cpp | 201 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()
|
D | file.cpp | 433 std::string Basename(const std::string& path) { in Basename() function
|
D | logging.cpp | 76 android::base::Basename(android::base::GetExecutablePath()).c_str()); in getprogname()
|
D | logging_test.cpp | 649 ASSERT_EQ(android::base::Basename(android::base::GetExecutablePath()) + ": err\n", cap_err.str()); in TEST()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 229 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()
|
D | fs_mgr_remount.cpp | 217 if (partition == android::base::Basename(mount_point)) return true; in main()
|
/system/core/fs_mgr/liblp/ |
D | partition_opener.cpp | 74 device_info->partition_name = android::base::Basename(block_device); in GetBlockDeviceInfo()
|
/system/core/init/ |
D | devices.cpp | 48 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()
|
D | devices.h | 96 : android::base::Basename(uevent.path); in ParseDevPath()
|
D | builtins.cpp | 78 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/ |
D | bugreport.cpp | 120 line_message_ = action + " " + android::base::Basename(dest_file_); in SetLineMessage() 127 dest_file_ = android::base::Basename(path); in SetSrcFile()
|
D | adb_install.cpp | 260 "/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()
|
D | file_sync_client.cpp | 1012 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/ |
D | file.h | 120 std::string Basename(const std::string& path);
|
/system/vold/ |
D | IdleMaint.cpp | 42 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/ |
D | avb_util.cpp | 30 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()
|
D | fs_avb.cpp | 41 using android::base::Basename;
|
/system/core/fastboot/device/ |
D | flashing.cpp | 59 auto partition = android::base::Basename(entry.mount_point); in WipeOverlayfsForPartition()
|
/system/extras/simpleperf/ |
D | dso_test.cpp | 39 "%s=%s\n", build_id.ToString().c_str(), android::base::Basename(tmpfile.path).c_str()); in TEST()
|
/system/libvintf/ |
D | AssembleVintf.cpp | 170 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/ |
D | split_fiemap_writer.cpp | 111 std::string line = android::base::Basename(writer->file_path()) + "\n"; in Create()
|
D | fiemap_writer.cpp | 78 *bdev_name = ::android::base::Basename(sysfs_bdev); in BlockDeviceToName()
|
/system/core/adb/ |
D | adb_utils.cpp | 350 fprintf(stderr, "%s: ", android::base::Basename(android::base::GetExecutablePath()).c_str()); in error_exit_va()
|
/system/tools/sysprop/ |
D | CppGen.cpp | 432 std::string output_basename = android::base::Basename(input_file_path); in GenerateCppFiles()
|
/system/core/llkd/ |
D | libllkd.cpp | 706 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()
|