/system/core/fs_mgr/ |
D | fs_mgr_boot_config.cpp | 85 bool fs_mgr_get_boot_config_from_bootconfig(const std::string& bootconfig, in fs_mgr_get_boot_config_from_bootconfig() argument 90 for (const auto& [key, value] : fs_mgr_parse_proc_bootconfig(bootconfig)) { in fs_mgr_get_boot_config_from_bootconfig() 120 std::string bootconfig; in fs_mgr_get_boot_config_from_bootconfig_source() local 121 if (!android::base::ReadFileToString("/proc/bootconfig", &bootconfig)) return false; in fs_mgr_get_boot_config_from_bootconfig_source() 122 if (!bootconfig.empty() && bootconfig.back() == '\n') { in fs_mgr_get_boot_config_from_bootconfig_source() 123 bootconfig.pop_back(); in fs_mgr_get_boot_config_from_bootconfig_source() 125 return fs_mgr_get_boot_config_from_bootconfig(bootconfig, key, out_val); in fs_mgr_get_boot_config_from_bootconfig_source()
|
D | fs_mgr_priv_boot_config.h | 32 const std::string& bootconfig); 33 bool fs_mgr_get_boot_config_from_bootconfig(const std::string& bootconfig, const std::string& key,
|
/system/core/init/ |
D | first_stage_console.cpp | 108 int FirstStageConsole(const std::string& cmdline, const std::string& bootconfig) { in FirstStageConsole() argument 109 auto pos = bootconfig.find("androidboot.first_stage_console ="); in FirstStageConsole() 112 if (sscanf(bootconfig.c_str() + pos, "androidboot.first_stage_console = \"%d\"", &val) != in FirstStageConsole()
|
D | first_stage_init.cpp | 105 bool ForceNormalBoot(const std::string& cmdline, const std::string& bootconfig) { in ForceNormalBoot() argument 106 return bootconfig.find("androidboot.force_normal_boot = \"1\"") != std::string::npos || in ForceNormalBoot() 215 std::string bootconfig; in FirstStageMain() local 216 android::base::ReadFileToString("/proc/bootconfig", &bootconfig); in FirstStageMain() 284 auto want_console = ALLOW_FIRST_STAGE_CONSOLE ? FirstStageConsole(cmdline, bootconfig) : 0; in FirstStageMain() 288 if (!LoadKernelModules(IsRecoveryMode() && !ForceNormalBoot(cmdline, bootconfig), want_console, in FirstStageMain() 343 if (ForceNormalBoot(cmdline, bootconfig)) { in FirstStageMain()
|
D | first_stage_console.h | 32 int FirstStageConsole(const std::string& cmdline, const std::string& bootconfig);
|
D | util.cpp | 250 std::string bootconfig; in ImportBootconfig() local 251 android::base::ReadFileToString("/proc/bootconfig", &bootconfig); in ImportBootconfig() 253 for (const auto& entry : android::base::Split(bootconfig, "\n")) { in ImportBootconfig()
|
/system/core/fastboot/testdata/ |
D | Android.bp | 43 // Fake bootconfig image. 48 cmd: "$(location fastboot_gen_rand) --seed bootconfig --length 1024 > $(out)",
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | uncrypt.te | 35 # Access to bootconfig is needed when calling ReadDefaultFstab.
|
D | ueventd.te | 43 # Allow ueventd to read androidboot.android_dt_dir from kernel cmdline or bootconfig.
|
/system/sepolicy/public/ |
D | uncrypt.te | 35 # Access to bootconfig is needed when calling ReadDefaultFstab.
|
D | ueventd.te | 43 # Allow ueventd to read androidboot.android_dt_dir from kernel cmdline or bootconfig.
|
/system/core/fastboot/ |
D | vendor_boot_img_utils_test.cpp | 213 OpenTestFile("test_bootconfig.img", &bootconfig, &bootconfig_content); in SetUp() 221 std::unique_ptr<TestFileHandle> bootconfig; member in __anon39f087e00111::RepackVendorBootImgTestEnv 314 EXPECT_EQ(hdr_v4->bootconfig_size, env->bootconfig->size()); in TEST_P() 383 EXPECT_EQ(hdr->bootconfig_size, env->bootconfig->size()); in TEST_P()
|
/system/sepolicy/private/ |
D | recovery.te | 47 # Needed to read bootconfig parameters through libfs_mgr
|
D | genfs_contexts | 6 genfscon proc /bootconfig u:object_r:proc_bootconfig:s0
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | recovery.te | 47 # Needed to read bootconfig parameters through libfs_mgr
|
D | genfs_contexts | 6 genfscon proc /bootconfig u:object_r:proc_bootconfig:s0
|
/system/tools/mkbootimg/tests/ |
D | mkbootimg_test.py | 253 bootconfig = generate_test_file( 270 '--vendor_bootconfig', bootconfig, 328 bootconfig = generate_test_file( 346 '--vendor_bootconfig', bootconfig,
|
/system/core/fs_mgr/tests/ |
D | fs_mgr_test.cpp | 122 const std::string bootconfig = variable 239 EXPECT_EQ(bootconfig_result_space, fs_mgr_parse_proc_bootconfig(bootconfig)); in TEST() 248 EXPECT_TRUE(fs_mgr_get_boot_config_from_bootconfig(bootconfig, key, &content)) in TEST() 253 EXPECT_FALSE(fs_mgr_get_boot_config_from_bootconfig(bootconfig, "vbmeta.avb_versio", &content)); in TEST() 255 EXPECT_FALSE(fs_mgr_get_boot_config_from_bootconfig(bootconfig, "nospace", &content)); in TEST()
|