Home
last modified time | relevance | path

Searched refs:GetProperty (Results 1 – 24 of 24) sorted by relevance

/bootable/recovery/updater/
Dbuild_info.cpp84 std::string BuildInfo::GetProperty(const std::string_view key, in GetProperty() function in BuildInfo
111 GetProperty("ro.product.brand", "").c_str(), in GetProperty()
112 GetProperty("ro.product.name", "").c_str(), in GetProperty()
113 GetProperty("ro.product.device", "").c_str(), in GetProperty()
114 GetProperty("ro.build.version.release", "").c_str(), in GetProperty()
115 GetProperty("ro.build.id", "").c_str(), in GetProperty()
116 GetProperty("ro.build.version.incremental", "").c_str(), in GetProperty()
117 GetProperty("ro.build.type", "").c_str(), in GetProperty()
118 GetProperty("ro.build.tags", "").c_str()); in GetProperty()
Dsimulator_runtime.cpp38 std::string SimulatorRuntime::GetProperty(const std::string_view key, in GetProperty() function in SimulatorRuntime
40 return source_->GetProperty(key, default_value); in GetProperty()
Dupdater_runtime.cpp38 std::string UpdaterRuntime::GetProperty(const std::string_view key, in GetProperty() function in UpdaterRuntime
40 return android::base::GetProperty(std::string(key), std::string(default_value)); in GetProperty()
Dinstall.cpp540 std::string value = updater_runtime->GetProperty(key, ""); in GetPropFn()
/bootable/recovery/fastboot/
Dfastboot.cpp43 title_lines.push_back("Product name - " + android::base::GetProperty("ro.product.device", "")); in StartFastboot()
44 title_lines.push_back("Bootloader version - " + android::base::GetProperty("ro.bootloader", "")); in StartFastboot()
46 android::base::GetProperty("ro.build.expect.baseband", "")); in StartFastboot()
47 title_lines.push_back("Serial number - " + android::base::GetProperty("ro.serialno", "")); in StartFastboot()
49 ((android::base::GetProperty("ro.secure", "") == "1") ? "yes" : "no")); in StartFastboot()
50 title_lines.push_back("HW version - " + android::base::GetProperty("ro.revision", "")); in StartFastboot()
/bootable/recovery/tests/unit/
Dinstall_test.cpp174 std::string device = android::base::GetProperty("ro.product.device", ""); in VerifyAbUpdateCommands()
176 std::string timestamp = android::base::GetProperty("ro.build.date.utc", ""); in VerifyAbUpdateCommands()
225 std::string device = android::base::GetProperty("ro.product.device", ""); in TEST()
227 std::string timestamp = android::base::GetProperty("ro.build.date.utc", ""); in TEST()
252 std::string serialno = android::base::GetProperty("ro.serialno", ""); in TEST()
299 std::string device = android::base::GetProperty("ro.product.device", ""); in TEST()
344 std::string device = android::base::GetProperty("ro.product.device", ""); in TEST()
366 std::string serialno = android::base::GetProperty("ro.serialno", ""); in TEST()
379 std::string device = android::base::GetProperty("ro.product.device", ""); in TEST()
382 std::string serialno = android::base::GetProperty("ro.serialno", ""); in TEST()
[all …]
Duncrypt_test.cpp48 std::string setup_bcb = android::base::GetProperty(INIT_SVC_SETUP_BCB, ""); in StopService()
49 std::string clear_bcb = android::base::GetProperty(INIT_SVC_CLEAR_BCB, ""); in StopService()
50 std::string uncrypt = android::base::GetProperty(INIT_SVC_UNCRYPT, ""); in StopService()
Dupdate_verifier_test.cpp37 std::string verity_mode = android::base::GetProperty("ro.boot.veritymode", ""); in SetUp()
47 fingerprint_ = android::base::GetProperty(property_id_, ""); in SetUp()
Dupdater_test.cpp238 expect(android::base::GetProperty("ro.product.device", "").c_str(), in TEST_F()
242 expect(android::base::GetProperty("ro.build.fingerprint", "").c_str(), in TEST_F()
/bootable/recovery/update_verifier/
Dupdate_verifier_main.cpp27 std::string s = android::base::GetProperty("ro.boot.slot_suffix", ""); in main()
Dupdate_verifier.cpp87 property_reader_([](const std::string& id) { return android::base::GetProperty(id, ""); }) {} in UpdateVerifier()
121 } else if (!android::base::GetProperty("ro.boot.avb_version", "").empty()) { in FindDmPartitions()
325 std::string verity_mode = android::base::GetProperty("ro.boot.veritymode", ""); in update_verifier()
/bootable/recovery/updater/include/updater/
Dbuild_info.h49 std::string GetProperty(const std::string_view key, const std::string_view default_value) const;
Dupdater_runtime.h38 std::string GetProperty(const std::string_view key,
Dsimulator_runtime.h37 std::string GetProperty(const std::string_view key,
/bootable/recovery/edify/include/edify/
Dupdater_runtime_interface.h36 virtual std::string GetProperty(const std::string_view key,
/bootable/recovery/recovery_utils/
Dparse_install_logs.cpp109 int type = (android::base::GetProperty("ro.build.type", "") == "user") ? 1 : 0; in ParseLastInstall()
/bootable/recovery/install/
Dinstall.cpp144 auto device_pre_build = android::base::GetProperty("ro.build.version.incremental", ""); in CheckAbSpecificMetadata()
152 auto device_fingerprint = android::base::GetProperty("ro.build.fingerprint", ""); in CheckAbSpecificMetadata()
200 auto device = android::base::GetProperty("ro.product.device", ""); in CheckPackageMetadata()
212 auto device_serial_no = android::base::GetProperty("ro.serialno", ""); in CheckPackageMetadata()
Dadb_install.cpp340 std::string usb_state = android::base::GetProperty("sys.usb.state", "none"); in ApplyFromAdb()
/bootable/recovery/
Drecovery.cpp321 bool is_non_ab = android::base::GetProperty("ro.boot.slot_suffix", "").empty(); in AskToReboot()
563 std::string bootreason = android::base::GetProperty("ro.boot.bootreason", ""); in bootreason_in_blacklist()
705 android::base::Split(android::base::GetProperty("ro.bootimage.build.fingerprint", ""), ":"); in start_recovery()
Drecovery_main.cpp73 return "orange" == android::base::GetProperty("ro.boot.verifiedbootstate", ""); in IsDeviceUnlocked()
473 std::string usb_state = android::base::GetProperty("sys.usb.state", "none"); in main()
/bootable/recovery/minui/
Dgraphics.cpp346 std::string format = android::base::GetProperty("ro.minui.pixel_format", ""); in gr_init()
396 android::base::GetProperty("ro.minui.default_rotation", "ROTATION_NONE"); in gr_init()
/bootable/recovery/minadbd/
Dminadbd_services.cpp185 return android::base::GetProperty(key, ""); in RescueGetpropHostService()
/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp233 ASSERT_EQ(value, build_info.GetProperty(key, "")); in TEST_F()
/bootable/recovery/uncrypt/
Duncrypt.cpp185 if (android::base::GetProperty("ro.crypto.state", "") == "encrypted") { in FindBlockDevice()