/system/apex/apexd/ |
D | apexd_utils_test.cpp | 35 using android::base::Basename; 133 StringPrintf("%s/%s", to.path, Basename(from_1.path).c_str()), in TEST() 135 StringPrintf("%s/subdir/%s", to.path, Basename(from_2.path).c_str()), in TEST()
|
/system/core/base/ |
D | file_test.cpp | 291 std::string basename = android::base::Basename(td.path); in TEST() 293 std::string base_dir_name = android::base::Basename(dir_name); in TEST() 332 TEST(file, Basename) { in TEST() argument 333 EXPECT_EQ("sh", android::base::Basename("/system/bin/sh")); in TEST() 334 EXPECT_EQ("sh", android::base::Basename("sh")); in TEST() 335 EXPECT_EQ("sh", android::base::Basename("/system/bin/sh/")); in TEST()
|
/system/core/fs_mgr/ |
D | fs_mgr_overlayfs.cpp | 276 const auto base = android::base::Basename(mount_point) + "/"; in fs_mgr_get_overlayfs_candidate() 387 auto fsrec_mount_point = overlay + "/" + android::base::Basename(mount_point) + "/"; in fs_mgr_overlayfs_setup_one() 472 const auto partition_name = android::base::Basename(kScratchMountPoint); in fs_mgr_overlayfs_teardown_scratch() 521 const auto partition_name = android::base::Basename(mount_point); in fs_mgr_overlayfs_teardown_one() 886 auto partition_name = android::base::Basename(kScratchMountPoint); in GetBootScratchDevice() 901 command = kMkF2fs + " -w 4096 -f -d1 -l" + android::base::Basename(kScratchMountPoint); in fs_mgr_overlayfs_make_scratch() 940 const auto partition_name = android::base::Basename(kScratchMountPoint); in CreateDynamicScratch() 1044 auto partition_name = android::base::Basename(kScratchMountPoint); in CreateScratchOnData() 1313 auto partition_name = android::base::Basename(kScratchMountPoint); in EnsureScratchMapped() 1357 DestroyLogicalPartition(android::base::Basename(kScratchMountPoint)); in UnmapScratchDevice() [all …]
|
/system/core/fs_mgr/libfiemap/ |
D | metadata.cpp | 83 auto super_name = android::base::Basename(data_device); in OpenOrCreateMetadata() 131 auto block_device = android::base::Basename(GetDevicePathForFile(file)); in FillPartitionExtents()
|
D | utility.cpp | 141 *bdev_name = ::android::base::Basename(sysfs_bdev); in BlockDeviceToName()
|
D | split_fiemap_writer.cpp | 132 std::string line = android::base::Basename(writer->file_path()) + "\n"; in Create()
|
/system/extras/simpleperf/ |
D | gtest_main.cpp | 73 if (android::base::Basename(argv[0]) == "simpleperf") { in main()
|
D | dso_test.cpp | 39 "%s=%s\n", build_id.ToString().c_str(), android::base::Basename(tmpfile.path).c_str()); in TEST()
|
/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 | 280 std::string apk_dest = "/data/local/tmp/" + android::base::Basename(argv[last_apk]); in install_app_legacy() 625 android::base::Basename(file), in install_multiple_app_streamed() 880 android::base::StringPrintf("%d_%s", i, android::base::Basename(file).c_str()), in install_multi_package()
|
D | incremental.cpp | 116 auto file_desc = StringPrintf("%s:%lld:%d:%s:1", android::base::Basename(file).c_str(), in start_install()
|
D | file_sync_client.cpp | 1373 dst_dir.append(android::base::Basename(src_path)); in do_sync_push() 1391 path_holder += android::base::Basename(src_path); in do_sync_push() 1413 android::base::Basename(lpath), S_IFDIR); in remote_build_list() 1602 dst_dir.append(android::base::Basename(src_path)); in do_sync_pull() 1618 android::base::Basename(src_path).c_str()); in do_sync_pull()
|
/system/core/fs_mgr/liblp/ |
D | partition_opener.cpp | 95 device_info->partition_name = android::base::Basename(block_device); in GetBlockDeviceInfo()
|
/system/core/init/ |
D | devices.cpp | 43 using android::base::Basename; 158 std::string path_basename = Basename(path); in MatchWithSubsystem() 475 devpath = "/dev/block/" + Basename(uevent.path); in HandleUevent() 499 devpath = "/dev/" + Basename(uevent.path); in HandleUevent()
|
D | devices.h | 96 : android::base::Basename(uevent.path); in ParseDevPath()
|
/system/gsid/ |
D | libgsi.cpp | 64 return android::base::Basename(install_dir); in GetDsuSlot()
|
/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/base/include/android-base/ |
D | file.h | 121 std::string Basename(const std::string& path);
|
/system/core/liblog/tests/ |
D | liblog_global_state.cpp | 30 std::string expected_file = Basename(__FILE__); in TEST() 58 static std::string expected_file = Basename(__FILE__); in TEST()
|
/system/core/set-verity-state/ |
D | set-verity-state.cpp | 182 std::string procname = android::base::Basename(argv[0]); in main()
|
/system/libvintf/ |
D | AssembleVintf.cpp | 168 return ::android::base::Basename(path) == gBaseConfig; in isCommonConfig() 175 auto fname = ::android::base::Basename(path); in isConditionalConfig() 193 auto fname = ::android::base::Basename(path); in generateCondition() 308 out() << " " << base::Basename(e.name) << std::endl; in outputInputs()
|
/system/core/fs_mgr/libfs_avb/ |
D | avb_util.cpp | 30 using android::base::Basename; 111 const std::string mount_point(Basename(fstab_entry->mount_point)); in HashtreeDmVeritySetup() 304 partition_name = Basename(fstab_entry.blk_device); in DeriveAvbPartitionName()
|
/system/core/fastboot/device/ |
D | flashing.cpp | 63 auto partition = android::base::Basename(entry.mount_point); in WipeOverlayfsForPartition()
|
/system/core/llkd/ |
D | libllkd.cpp | 714 if (llkSkipName(android::base::Basename(procp->getCmdline()), ignorelist)) return true; in llkSkipProc() 736 llkSkipName(android::base::Basename(pprocp->getCmdline()), ignorelist)); in llkSkipPproc() 1115 if (llkSkipName(android::base::Basename(procp->getCmdline()))) { in llkCheck() 1214 threads.push_back(android::base::Basename(piddir)); in llkCheck()
|
/system/incremental_delivery/incfs/incfsdump/ |
D | dump.cpp | 202 : mBackingFile(ab::Basename(std::string(backingFile))), mIn(backingFile) {} in Dump()
|