/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/update_engine/ |
D | hardware_android.cc | 32 using android::base::GetProperty; 109 auto manufacturer = GetProperty(kPropProductManufacturer, ""); in GetHardwareClass() 110 auto sku = GetProperty(kPropBootHardwareSKU, ""); in GetHardwareClass() 111 auto revision = GetProperty(kPropBootRevision, ""); in GetHardwareClass() 117 return GetProperty(kPropBootBootloader, ""); in GetFirmwareVersion() 121 return GetProperty(kPropBootBaseband, ""); in GetECVersion()
|
D | image_properties_android.cc | 37 using android::base::GetProperty; 160 channel = GetProperty(kPropDefaultChannel, "stable-channel"); in GetTargetChannel() 198 result.board = GetProperty(kPropProductName, "brillo"); in LoadImageProperties() 199 result.build_fingerprint = GetProperty(kPropBuildFingerprint, "none"); in LoadImageProperties() 200 result.build_type = GetProperty(kPropBuildType, ""); in LoadImageProperties()
|
/system/bt/test/suite/adapter/ |
D | adapter_unittest.cc | 79 bt_property_t* name_property = GetProperty(BT_PROPERTY_BDNAME); in TEST_F() 92 EXPECT_TRUE(GetProperty(BT_PROPERTY_BDNAME)) in TEST_F() 94 EXPECT_TRUE(property_equals(GetProperty(BT_PROPERTY_BDNAME), new_name)) in TEST_F() 96 << property_as_name(GetProperty(BT_PROPERTY_BDNAME))->name in TEST_F() 104 property_equals(GetProperty(BT_PROPERTY_BDNAME), old_name_property)) in TEST_F() 106 << property_as_name(GetProperty(BT_PROPERTY_BDNAME))->name in TEST_F()
|
/system/core/usbd/ |
D | usbd.cpp | 29 using android::base::GetProperty; 44 std::string function = GetProperty(PERSISTENT_USB_CONFIG, ""); in main()
|
/system/core/adb/daemon/ |
D | main.cpp | 62 return "orange" == android::base::GetProperty("ro.boot.verifiedbootstate", ""); in is_device_unlocked() 95 std::string prop = android::base::GetProperty("service.adb.root", ""); in should_drop_privileges() 246 std::string prop_port = android::base::GetProperty("service.adb.tcp.port", ""); in adbd_main() 248 prop_port = android::base::GetProperty("persist.adb.tcp.port", ""); in adbd_main()
|
D | mdns.cpp | 39 if (android::base::GetProperty("init.svc.mdnsd", "") == "running") { in start_mdns() 68 hostname += android::base::GetProperty("ro.serialno", "unidentified"); in setup_mdns_thread()
|
D | set_verity_enable_state_service.cpp | 126 return android::base::GetProperty("ro.boot.slot_suffix", ""); in get_ab_suffix() 130 return android::base::GetProperty("ro.boot.vbmeta.device_state", "") == "locked"; in is_avb_device_locked() 185 bool using_avb = !android::base::GetProperty("ro.boot.vbmeta.digest", "").empty(); in set_verity_enabled_state_service()
|
D | transport_qemu.cpp | 132 if (android::base::GetProperty("service.adb.transport", "") == "goldfish") { in use_qemu_goldfish()
|
/system/core/init/ |
D | property_service.cpp | 70 using android::base::GetProperty; 721 std::string config = android::base::GetProperty("persist.sys.usb.config", ""); in update_sys_usb_config() 755 std::string crypto_state = android::base::GetProperty("ro.crypto.state", ""); in load_persist_props() 756 std::string crypto_type = android::base::GetProperty("ro.crypto.type", ""); in load_persist_props() 787 GetProperty("ro.product.property_source_order", EMPTY); in property_initialize_ro_product_props() 815 std::string base_prop_val = GetProperty(base_prop, EMPTY); in property_initialize_ro_product_props() 826 std::string target_prop_val = GetProperty(target_prop, EMPTY); in property_initialize_ro_product_props() 844 std::string build_fingerprint = GetProperty("ro.build.fingerprint", ""); in property_derive_build_fingerprint() 850 build_fingerprint = GetProperty("ro.product.brand", UNKNOWN); in property_derive_build_fingerprint() 852 build_fingerprint += GetProperty("ro.product.name", UNKNOWN); in property_derive_build_fingerprint() [all …]
|
D | init.cpp | 74 using android::base::GetProperty; 130 std::string bootscript = GetProperty("ro.boot.init_rc", ""); in LoadBootScripts() 158 if (GetProperty(name, "") != value) { in start_waiting_for_property() 350 std::string console = GetProperty("ro.boot.console", ""); in console_init_action() 411 std::string value = GetProperty(prop.src_prop, prop.default_value); in export_kernel_boot_props() 578 std::string adb_enabled = android::base::GetProperty("init.svc.adbd", ""); in HandleKeychord() 755 std::string bootmode = GetProperty("ro.bootmode", ""); in SecondStageMain()
|
/system/core/base/ |
D | properties_test.cpp | 33 std::string s = android::base::GetProperty("debug.libbase.property_test", ""); in TEST() 37 s = android::base::GetProperty("debug.libbase.property_test", ""); in TEST() 40 s = android::base::GetProperty("this.property.does.not.exist", ""); in TEST() 43 s = android::base::GetProperty("this.property.does.not.exist", "default"); in TEST() 52 std::string s = android::base::GetProperty("debug.libbase.property_test", "default"); in TEST()
|
D | properties.cpp | 37 std::string value = GetProperty(key, ""); in GetBoolProperty() 49 std::string value = GetProperty(key, ""); in GetIntProperty() 57 std::string value = GetProperty(key, ""); in GetUintProperty() 80 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() function
|
/system/core/bootstat/ |
D | bootstat.cpp | 751 auto old_system_boot_reason = android::base::GetProperty(system_reboot_reason_property, ""); in BootReasonAddToHistory() 757 android::base::Split(android::base::GetProperty(history_reboot_reason_property, ""), "\n"); in BootReasonAddToHistory() 790 auto ret = android::base::GetProperty(system_reboot_reason_property, ""); in BootReasonStrToReason() 930 content = android::base::GetProperty(last_reboot_reason_property, ""); in BootReasonStrToReason() 974 auto build_date_str = android::base::GetProperty("ro.build.date.utc", ""); in CalculateBootCompletePrefix() 997 auto value = android::base::GetProperty(property, ""); in RecordInitBootTimeProp() 1015 auto value = android::base::GetProperty("ro.boot.boottime", ""); in GetBootLoaderTimings() 1089 auto reason = android::base::GetProperty(bootloader_reboot_reason_property, "<EMPTY>"); in LogBootInfoToStatsd() 1090 auto system_reason = android::base::GetProperty(system_reboot_reason_property, "<EMPTY>"); in LogBootInfoToStatsd() 1099 android::base::GetProperty(bootloader_reboot_reason_property, ""); in SetSystemBootReason() [all …]
|
/system/apex/apexd/ |
D | apex_database.cpp | 92 StatusOr<std::string> GetProperty(const std::string& property) const { in GetProperty() function in android::apex::__anonc3d8388d0111::BlockDevice 195 auto backingFile = block.GetProperty("loop/backing_file"); in resolveMountInfo() 203 auto name = block.GetProperty("dm/name"); in resolveMountInfo() 214 auto backingFile = slave.GetProperty("loop/backing_file"); in resolveMountInfo()
|
D | apexd_prop.cpp | 48 if (android::base::GetProperty("sys.boot_completed", "") == "1") { in waitForBootStatus()
|
/system/core/fastboot/device/ |
D | variables.cpp | 52 *message = android::base::GetProperty("ro.bootloader", ""); in GetBootloaderVersion() 58 *message = android::base::GetProperty("ro.build.expect.baseband", ""); in GetBasebandVersion() 64 *message = android::base::GetProperty("ro.product.device", ""); in GetProduct() 70 *message = android::base::GetProperty("ro.serialno", ""); in GetSerial() 417 *message = android::base::GetProperty("ro.revision", ""); in GetHardwareRevision()
|
/system/core/toolbox/ |
D | getprop.cpp | 27 using android::base::GetProperty; 76 std::cout << GetProperty(name, default_value) << std::endl; in PrintProperty()
|
/system/linkerconfig/modules/ |
D | variables.cc | 37 std::string prop_value = android::base::GetProperty(variable, ""); in GetValue()
|
/system/libvintf/ |
D | PropertyFetcher.cpp | 43 return android::base::GetProperty(key, defaultValue); in getProperty()
|
D | RuntimeInfo-target.cpp | 151 std::string prop = android::base::GetProperty("ro.boot.vbmeta.avb_version", "0.0"); in fetchAvb() 155 prop = android::base::GetProperty("ro.boot.avb_version", "0.0"); in fetchAvb()
|
/system/core/llkd/tests/ |
D | llkd_test.cpp | 70 auto default_eng = android::base::GetProperty(LLK_ENABLE_PROPERTY, "eng") == "eng"; in llkdSleepPeriod() 110 if (!LLK_ENABLE_DEFAULT && (android::base::GetProperty(LLK_ENABLE_PROPERTY, "eng") == "eng") && in llkdSleepPeriod() 172 auto bootreason = android::base::GetProperty("sys.boot.reason", "nothing"); in checkKill()
|
/system/extras/perfprofd/ |
D | cpuconfig.cc | 59 return android::base::GetProperty("init.svc.mpdecision", "") == "running"; in GetMpdecisionRunning()
|
/system/bpf/bpfloader/ |
D | BpfLoader.cpp | 89 std::string value = android::base::GetProperty("bpf.progs_loaded", ""); in main()
|
/system/core/base/include/android-base/ |
D | properties.h | 30 std::string GetProperty(const std::string& key, const std::string& default_value);
|