/system/libbase/ |
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() 897 auto partition_name = android::base::Basename(kScratchMountPoint); in GetBootScratchDevice() 912 command = kMkF2fs + " -w 4096 -f -d1 -l" + android::base::Basename(kScratchMountPoint); in fs_mgr_overlayfs_make_scratch() 951 const auto partition_name = android::base::Basename(kScratchMountPoint); in CreateDynamicScratch() 1055 auto partition_name = android::base::Basename(kScratchMountPoint); in CreateScratchOnData() 1324 auto partition_name = android::base::Basename(kScratchMountPoint); in EnsureScratchMapped() 1368 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 | 75 if (android::base::Basename(argv[0]) == "simpleperf") { in main()
|
D | dso_test.cpp | 40 "%s=%s\n", build_id.ToString().c_str(), android::base::Basename(tmpfile.path).c_str()); in TEST()
|
/system/core/adb/client/ |
D | bugreport.cpp | 122 line_message_ = action + " " + android::base::Basename(dest_file_); in SetLineMessage() 129 dest_file_ = android::base::Basename(path); in SetSrcFile()
|
D | adb_install.cpp | 279 std::string apk_dest = "/data/local/tmp/" + android::base::Basename(argv[last_apk]); in install_app_legacy() 624 android::base::Basename(file), in install_multiple_app_streamed() 879 android::base::StringPrintf("%d_%s", i, android::base::Basename(split).c_str()), in install_multi_package()
|
D | incremental.cpp | 129 auto file_desc = StringPrintf("%s:%lld:%d:%s:1", android::base::Basename(file).c_str(), in start_install()
|
D | file_sync_client.cpp | 1494 dst_dir.append(android::base::Basename(src_path)); in do_sync_push() 1513 path_holder += android::base::Basename(src_path); in do_sync_push() 1536 android::base::Basename(lpath), S_IFDIR); in remote_build_list() 1725 dst_dir.append(android::base::Basename(src_path)); in do_sync_pull() 1741 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/gsid/ |
D | libgsi.cpp | 64 return android::base::Basename(install_dir); in GetDsuSlot()
|
/system/core/init/ |
D | devices.cpp | 43 using android::base::Basename; 158 std::string path_basename = Basename(path); in MatchWithSubsystem() 476 devpath = "/dev/block/" + Basename(uevent.path); in HandleUevent() 500 devpath = "/dev/" + Basename(uevent.path); in HandleUevent()
|
D | devices.h | 96 : android::base::Basename(uevent.path); in ParseDevPath()
|
/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/libbase/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/fs_mgr/libsnapshot/ |
D | snapshot_fuzz_utils.cpp | 47 using android::base::Basename; 381 CheckDetachLoopDevices({Basename(fake_super_), Basename(fake_data_block_device_)}); in CheckSoftReset()
|
/system/core/set-verity-state/ |
D | set-verity-state.cpp | 182 std::string procname = android::base::Basename(argv[0]); in main()
|
/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/libvintf/ |
D | AssembleVintf.cpp | 170 return ::android::base::Basename(path) == gBaseConfig; in isCommonConfig() 177 auto fname = ::android::base::Basename(path); in isConditionalConfig() 195 auto fname = ::android::base::Basename(path); in generateCondition() 308 out() << " " << base::Basename(e.fileName()) << std::endl; in outputInputs()
|
/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/core/adb/ |
D | adb_utils.cpp | 354 fprintf(stderr, "%s: ", android::base::Basename(android::base::GetExecutablePath()).c_str()); in error_exit_va()
|