Home
last modified time | relevance | path

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

12

/system/apex/apexd/
Dapexd_utils_test.cpp35 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/
Dfile_test.cpp291 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/
Dfs_mgr_overlayfs.cpp276 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/
Dmetadata.cpp83 auto super_name = android::base::Basename(data_device); in OpenOrCreateMetadata()
131 auto block_device = android::base::Basename(GetDevicePathForFile(file)); in FillPartitionExtents()
Dutility.cpp141 *bdev_name = ::android::base::Basename(sysfs_bdev); in BlockDeviceToName()
Dsplit_fiemap_writer.cpp132 std::string line = android::base::Basename(writer->file_path()) + "\n"; in Create()
/system/extras/simpleperf/
Dgtest_main.cpp73 if (android::base::Basename(argv[0]) == "simpleperf") { in main()
Ddso_test.cpp39 "%s=%s\n", build_id.ToString().c_str(), android::base::Basename(tmpfile.path).c_str()); in TEST()
/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.cpp280 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()
Dincremental.cpp116 auto file_desc = StringPrintf("%s:%lld:%d:%s:1", android::base::Basename(file).c_str(), in start_install()
Dfile_sync_client.cpp1373 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/
Dpartition_opener.cpp95 device_info->partition_name = android::base::Basename(block_device); in GetBlockDeviceInfo()
/system/core/init/
Ddevices.cpp43 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()
Ddevices.h96 : android::base::Basename(uevent.path); in ParseDevPath()
/system/gsid/
Dlibgsi.cpp64 return android::base::Basename(install_dir); in GetDsuSlot()
/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/base/include/android-base/
Dfile.h121 std::string Basename(const std::string& path);
/system/core/liblog/tests/
Dliblog_global_state.cpp30 std::string expected_file = Basename(__FILE__); in TEST()
58 static std::string expected_file = Basename(__FILE__); in TEST()
/system/core/set-verity-state/
Dset-verity-state.cpp182 std::string procname = android::base::Basename(argv[0]); in main()
/system/libvintf/
DAssembleVintf.cpp168 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/
Davb_util.cpp30 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/
Dflashing.cpp63 auto partition = android::base::Basename(entry.mount_point); in WipeOverlayfsForPartition()
/system/core/llkd/
Dlibllkd.cpp714 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/
Ddump.cpp202 : mBackingFile(ab::Basename(std::string(backingFile))), mIn(backingFile) {} in Dump()

12