/system/server_configurable_flags/libflags/ |
D | server_configurable_flags_test.cc | 76 ASSERT_EQ("2", android::base::GetProperty("persist.device_config.attempted_boot_count", "")); in TEST() 77 ASSERT_EQ("val1", android::base::GetProperty("persist.device_config.category1.prop1", "")); in TEST() 78 ASSERT_EQ("val2", android::base::GetProperty("persist.device_config.category1.prop2", "")); in TEST() 79 ASSERT_EQ("val3", android::base::GetProperty("persist.device_config.category2.prop3", "")); in TEST() 80 ASSERT_EQ("val4", android::base::GetProperty("sys.category3.test", "")); in TEST() 81 ASSERT_EQ("", android::base::GetProperty("device_config.reset_performed", "")); in TEST() 97 ASSERT_EQ("true", android::base::GetProperty("device_config.reset_performed", "")); in TEST() 98 ASSERT_EQ("5", android::base::GetProperty("persist.device_config.attempted_boot_count", "")); in TEST() 99 ASSERT_EQ("", android::base::GetProperty("persist.device_config.category1.prop1", "")); in TEST() 100 ASSERT_EQ("", android::base::GetProperty("persist.device_config.category1.prop2", "")); in TEST() [all …]
|
/system/core/init/ |
D | property_service_test.cpp | 29 using android::base::GetProperty; 85 const std::string original_value = GetProperty("init.userspace_reboot.is_supported", ""); in TEST() 95 std::string legacy_build_id = GetProperty("ro.build.legacy.id", ""); in TEST() 100 std::string vbmeta_digest = GetProperty("ro.boot.vbmeta.digest", ""); in TEST() 102 std::string build_id = GetProperty("ro.build.id", ""); in TEST() 107 std::string fingerprint = GetProperty("ro.build.fingerprint", ""); in TEST() 109 GetProperty("ro.product.brand", ""), in TEST() 111 GetProperty("ro.product.name", ""), in TEST() 113 GetProperty("ro.product.device", ""), in TEST() 115 GetProperty("ro.build.version.release_or_codename", ""), in TEST() [all …]
|
D | oneshot_on_test.cpp | 23 using android::base::GetProperty; 35 ASSERT_EQ("stopped", GetProperty("init.svc.bootanim", "")); in TEST()
|
D | property_service.cpp | 82 using android::base::GetProperty; 834 std::string config = android::base::GetProperty("persist.sys.usb.config", ""); in update_sys_usb_config() 874 GetProperty("ro.product.property_source_order", EMPTY); in property_initialize_ro_product_props() 902 std::string base_prop_val = GetProperty(base_prop, EMPTY); in property_initialize_ro_product_props() 913 std::string target_prop_val = GetProperty(target_prop, EMPTY); in property_initialize_ro_product_props() 930 std::string build_id = GetProperty(ID_PROP, ""); in property_initialize_build_id() 935 std::string legacy_build_id = GetProperty(LEGACY_ID_PROP, ""); in property_initialize_build_id() 936 std::string vbmeta_digest = GetProperty(VBMETA_DIGEST_PROP, ""); in property_initialize_build_id() 955 std::string build_fingerprint = GetProperty("ro.product.brand", UNKNOWN); in ConstructBuildFingerprint() 957 build_fingerprint += GetProperty("ro.product.name", UNKNOWN); in ConstructBuildFingerprint() [all …]
|
/system/core/init/test_kill_services/ |
D | init_kill_services_test.cpp | 23 using ::android::base::GetProperty; 30 const std::string initial_pid = GetProperty(pid_prop, ""); in ExpectKillingServiceRecovers() 32 ASSERT_EQ("running", GetProperty(status_prop, "")) << status_prop; in ExpectKillingServiceRecovers() 43 const std::string& pid = GetProperty(pid_prop, ""); in ExpectKillingServiceRecovers() 49 EXPECT_EQ("running", GetProperty(status_prop, "")); in ExpectKillingServiceRecovers() 59 EXPECT_EQ(GetProperty("test.death.test", ""), "asdf"); in TEST_P()
|
/system/apex/apexd/ |
D | apexd_lifecycle.cpp | 27 using android::base::GetProperty; 35 auto status = GetProperty(kApexStatusSysprop, ""); in IsBooting() 50 auto name = GetProperty("sys.init.updatable_crashing_process_name", ""); in WaitForBootStatus()
|
D | apex_database.cpp | 79 Result<std::string> GetProperty(const std::string& property) const { in GetProperty() function in android::apex::__anon1df56a490111::BlockDevice 145 auto backing_file = dev.GetProperty("loop/backing_file"); in PopulateLoopInfo() 207 auto backing_file = block.GetProperty("loop/backing_file"); in ResolveMountInfo() 219 auto name = block.GetProperty("dm/name"); in ResolveMountInfo()
|
/system/core/fastboot/device/ |
D | variables.cpp | 58 *message = android::base::GetProperty("ro.bootloader", ""); in GetBootloaderVersion() 64 *message = android::base::GetProperty("ro.build.expect.baseband", ""); in GetBasebandVersion() 70 *message = android::base::GetProperty("ro.build.version.release", ""); in GetOsVersion() 76 *message = android::base::GetProperty("ro.vndk.version", ""); in GetVndkVersion() 82 *message = android::base::GetProperty("ro.product.device", ""); in GetProduct() 88 *message = android::base::GetProperty("ro.serialno", ""); in GetSerial() 424 *message = android::base::GetProperty("ro.revision", ""); in GetHardwareRevision() 462 *message = android::base::GetProperty("ro.product.cpu.abi", ""); in GetCpuAbi() 468 *message = android::base::GetProperty("ro.system.build.fingerprint", ""); in GetSystemFingerprint() 470 *message = android::base::GetProperty("ro.build.fingerprint", ""); in GetSystemFingerprint() [all …]
|
/system/update_engine/aosp/ |
D | hardware_android.cc | 46 using android::base::GetProperty; 62 return android::base::GetProperty("ro." + partition_name + ".build.date.utc", in GetPartitionBuildDate() 174 auto manufacturer = GetProperty(kPropProductManufacturer, ""); in GetHardwareClass() 175 auto sku = GetProperty(kPropBootHardwareSKU, ""); in GetHardwareClass() 176 auto revision = GetProperty(kPropBootRevision, ""); in GetHardwareClass() 290 if (android::base::GetProperty("ro.boot.avb_version", "").empty() && in SetVbmetaDigestForInactiveSlot() 291 android::base::GetProperty("ro.boot.vbmeta.avb_version", "").empty()) { in SetVbmetaDigestForInactiveSlot()
|
/system/libbase/ |
D | properties_test.cpp | 35 std::string s = android::base::GetProperty("debug.libbase.property_test", ""); in TEST() 39 s = android::base::GetProperty("debug.libbase.property_test", ""); in TEST() 42 s = android::base::GetProperty("this.property.does.not.exist", ""); in TEST() 45 s = android::base::GetProperty("this.property.does.not.exist", "default"); in TEST() 59 ASSERT_EQ("missing", android::base::GetProperty(key, "missing")); in TEST() 64 ASSERT_EQ(value, android::base::GetProperty(key, "missing")); in TEST() 67 ASSERT_EQ(value, android::base::GetProperty(key, "missing")); in TEST() 72 ASSERT_EQ("default", android::base::GetProperty("", "default")); in TEST() 80 ASSERT_EQ("default", android::base::GetProperty("debug.libbase.property_empty_value", "default")); in TEST()
|
D | properties.cpp | 72 switch (ParseBool(GetProperty(key, ""))) { in GetBoolProperty() 86 std::string value = GetProperty(key, ""); in GetIntProperty() 94 std::string value = GetProperty(key, ""); in GetUintProperty() 109 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() function
|
/system/extras/simpleperf/ |
D | cmd_boot_record_test.cpp | 34 ASSERT_EQ(android::base::GetProperty("persist.simpleperf.boot_record", ""), "-a -g --duration 1"); in TEST() 39 ASSERT_EQ(android::base::GetProperty("persist.simpleperf.boot_record", ""), ""); in TEST()
|
/system/core/usbd/ |
D | usbd.cpp | 30 using android::base::GetProperty; 39 if (GetProperty("ro.bootmode", "") == "charger") exit(0); in main() 48 std::string function = GetProperty("persist.sys.usb.config", ""); in main()
|
/system/core/fs_mgr/liblp/include/liblp/ |
D | property_fetcher.h | 27 virtual std::string GetProperty(const std::string& key, const std::string& defaultValue) = 0; 37 std::string GetProperty(const std::string& key, const std::string& defaultValue) override;
|
D | mock_property_fetcher.h | 29 MOCK_METHOD2(GetProperty, std::string(const std::string&, const std::string&)); 36 ON_CALL(*this, GetProperty(_, _)).WillByDefault(Invoke([](const auto&, const auto& def) { in MockPropertyFetcher()
|
/system/core/fs_mgr/liblp/ |
D | property_fetcher.cpp | 26 std::string PropertyFetcher::GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() function in android::fs_mgr::PropertyFetcher 27 return android::base::GetProperty(key, default_value); in GetProperty()
|
/system/logging/logd/ |
D | LogSize.cpp | 31 std::string value = android::base::GetProperty(key, ""); in GetBufferSizeProperty() 62 const auto hwType = android::base::GetProperty("ro.hardware.type", ""); in GetBufferSizeFromProperties()
|
D | main.cpp | 65 using android::base::GetProperty; 120 bool default_value = (GetProperty("ro.build.type", "user").compare("eng") == 0) && in GetBoolPropertyEngSvelteDefault() 245 std::string buffer_type = GetProperty("logd.buffer_type", "serialized"); in main()
|
/system/core/toolbox/ |
D | start.cpp | 26 using android::base::GetProperty; 47 std::string zygote_configuration = GetProperty("ro.zygote", ""); in ControlDefaultServices()
|
D | getprop.cpp | 27 using android::base::GetProperty; 76 std::cout << GetProperty(name, default_value) << std::endl; in PrintProperty()
|
/system/keymaster/android_keymaster/ |
D | keymaster_configuration.cpp | 68 prop_value = android::base::GetProperty(prop, "" /* default */); in wait_and_get_property() 174 return android::base::GetProperty(kVerifiedBootStateProp, /*default_value=*/"red"); in GetVerifiedBootState() 181 return android::base::GetProperty(kVbmetaDeviceStateProp, /*default_value=*/"unlocked"); in GetBootloaderState() 260 auto vbmeta_string = android::base::GetProperty( in GetVbmetaDigest()
|
/system/tools/sysprop/tests/ |
D | CppGenIntegrationTest.cpp | 31 EXPECT_EQ(expected_raw_value, android::base::GetProperty(prop_name, "")); \ 41 EXPECT_EQ(expected_raw_value, android::base::GetProperty(prop_name, "")); \
|
/system/core/libstats/push_compat/tests/ |
D | StatsEventCompat_test.cpp | 22 using android::base::GetProperty;
|
/system/core/bootstat/ |
D | bootstat.cpp | 907 auto old_system_boot_reason = android::base::GetProperty(system_reboot_reason_property, ""); in BootReasonAddToHistory() 913 android::base::Split(android::base::GetProperty(history_reboot_reason_property, ""), "\n"); in BootReasonAddToHistory() 946 auto ret = android::base::GetProperty(system_reboot_reason_property, ""); in BootReasonStrToReason() 1087 content = android::base::GetProperty(last_reboot_reason_property, ""); in BootReasonStrToReason() 1132 auto build_date_str = android::base::GetProperty("ro.build.date.utc", ""); in CalculateBootCompletePrefix() 1155 auto value = android::base::GetProperty(property, ""); in RecordInitBootTimeProp() 1173 auto value = android::base::GetProperty("ro.boot.boottime", ""); in GetBootLoaderTimings() 1247 auto reason = android::base::GetProperty(bootloader_reboot_reason_property, "<EMPTY>"); in LogBootInfoToStatsd() 1248 auto system_reason = android::base::GetProperty(system_reboot_reason_property, "<EMPTY>"); in LogBootInfoToStatsd() 1257 android::base::GetProperty(bootloader_reboot_reason_property, ""); in SetSystemBootReason() [all …]
|
/system/nfc/src/adaptation/ |
D | nfc_config.cc | 53 android::base::GetProperty("persist.nfc_cfg.config_file_name", "")); in findConfigPath() 59 android::base::GetProperty("ro.boot.product.hardware.sku", "") + ".conf"); in findConfigPath()
|