Home
last modified time | relevance | path

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

12

/system/libbase/
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()
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/
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.cpp75 if (android::base::Basename(argv[0]) == "simpleperf") { in main()
Ddso_test.cpp40 "%s=%s\n", build_id.ToString().c_str(), android::base::Basename(tmpfile.path).c_str()); in TEST()
/system/core/adb/client/
Dbugreport.cpp122 line_message_ = action + " " + android::base::Basename(dest_file_); in SetLineMessage()
129 dest_file_ = android::base::Basename(path); in SetSrcFile()
Dadb_install.cpp279 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()
Dincremental.cpp129 auto file_desc = StringPrintf("%s:%lld:%d:%s:1", android::base::Basename(file).c_str(), in start_install()
Dfile_sync_client.cpp1494 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/
Dpartition_opener.cpp95 device_info->partition_name = android::base::Basename(block_device); in GetBlockDeviceInfo()
/system/gsid/
Dlibgsi.cpp64 return android::base::Basename(install_dir); in GetDsuSlot()
/system/core/init/
Ddevices.cpp43 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()
Ddevices.h96 : android::base::Basename(uevent.path); in ParseDevPath()
/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/libbase/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/fs_mgr/libsnapshot/
Dsnapshot_fuzz_utils.cpp47 using android::base::Basename;
381 CheckDetachLoopDevices({Basename(fake_super_), Basename(fake_data_block_device_)}); in CheckSoftReset()
/system/core/set-verity-state/
Dset-verity-state.cpp182 std::string procname = android::base::Basename(argv[0]); in main()
/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/libvintf/
DAssembleVintf.cpp170 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/
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/core/adb/
Dadb_utils.cpp354 fprintf(stderr, "%s: ", android::base::Basename(android::base::GetExecutablePath()).c_str()); in error_exit_va()

12