/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/core/usbd/ |
D | usbd.cpp | 27 using android::base::GetProperty; 35 if (GetProperty("ro.bootmode", "") == "charger") exit(0); in main() 43 std::string function = GetProperty("persist.sys.usb.config", ""); in main()
|
/system/core/fastboot/device/ |
D | variables.cpp | 55 *message = android::base::GetProperty("ro.bootloader", ""); in GetBootloaderVersion() 61 *message = android::base::GetProperty("ro.build.expect.baseband", ""); in GetBasebandVersion() 67 *message = android::base::GetProperty("ro.build.version.release", ""); in GetOsVersion() 73 *message = android::base::GetProperty("ro.vndk.version", ""); in GetVndkVersion() 79 *message = android::base::GetProperty("ro.product.device", ""); in GetProduct() 85 *message = android::base::GetProperty("ro.serialno", ""); in GetSerial() 432 *message = android::base::GetProperty("ro.revision", ""); in GetHardwareRevision() 470 *message = android::base::GetProperty("ro.product.cpu.abi", ""); in GetCpuAbi() 476 *message = android::base::GetProperty("ro.system.build.fingerprint", ""); in GetSystemFingerprint() 478 *message = android::base::GetProperty("ro.build.fingerprint", ""); in GetSystemFingerprint() [all …]
|
/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/init/ |
D | oneshot_on_test.cpp | 23 using android::base::GetProperty; 35 ASSERT_EQ("stopped", GetProperty("init.svc.bootanim", "")); in TEST()
|
D | property_service.cpp | 76 using android::base::GetProperty; 747 std::string config = android::base::GetProperty("persist.sys.usb.config", ""); in update_sys_usb_config() 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() 854 build_fingerprint += GetProperty("ro.product.device", UNKNOWN); in property_derive_build_fingerprint() 856 build_fingerprint += GetProperty("ro.build.version.release", UNKNOWN); in property_derive_build_fingerprint() [all …]
|
D | property_service_test.cpp | 28 using android::base::GetProperty; 84 const std::string original_value = GetProperty("init.userspace_reboot.is_supported", ""); in TEST()
|
/system/apex/apexd/ |
D | apexd_prop.cpp | 27 using android::base::GetProperty; 44 auto name = GetProperty("sys.init.updatable_crashing_process_name", ""); in waitForBootStatus()
|
D | apex_database.cpp | 78 Result<std::string> GetProperty(const std::string& property) const { in GetProperty() function in android::apex::__anon21c0e28f0111::BlockDevice 141 auto backing_file = dev.GetProperty("loop/backing_file"); in PopulateLoopInfo() 196 auto backingFile = block.GetProperty("loop/backing_file"); in resolveMountInfo() 207 auto name = block.GetProperty("dm/name"); in resolveMountInfo()
|
/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/core/adb/daemon/ |
D | main.cpp | 83 std::string prop = android::base::GetProperty("service.adb.root", ""); in should_drop_privileges() 216 bool device_unlocked = "orange" == android::base::GetProperty("ro.boot.verifiedbootstate", ""); in adbd_main() 253 std::string prop_addr = android::base::GetProperty("service.adb.listen_addrs", ""); in adbd_main() 255 std::string prop_port = android::base::GetProperty("service.adb.tcp.port", ""); in adbd_main() 257 prop_port = android::base::GetProperty("persist.adb.tcp.port", ""); in adbd_main()
|
D | mdns.cpp | 41 if (android::base::GetProperty("init.svc.mdnsd", "") == "running") { in start_mdnsd() 123 hostname += android::base::GetProperty("ro.serialno", "unidentified"); in register_base_mdns_transport() 167 std::string serial = android::base::GetProperty("ro.serialno", ""); in GenerateDeviceGuid() 179 std::string guid = android::base::GetProperty("persist.adb.wifi.guid", ""); in ReadDeviceGuid()
|
/system/core/toolbox/ |
D | start.cpp | 26 using android::base::GetProperty; 48 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/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 | 39 switch (ParseBool(GetProperty(key, ""))) { in GetBoolProperty() 53 std::string value = GetProperty(key, ""); in GetIntProperty() 61 std::string value = GetProperty(key, ""); in GetUintProperty() 84 std::string GetProperty(const std::string& key, const std::string& default_value) { in GetProperty() function
|
/system/core/set-verity-state/ |
D | set-verity-state.cpp | 124 return android::base::GetProperty("ro.boot.slot_suffix", ""); in get_ab_suffix() 128 return android::base::GetProperty("ro.boot.vbmeta.device_state", "") == "locked"; in is_avb_device_locked() 212 bool using_avb = !android::base::GetProperty("ro.boot.vbmeta.digest", "").empty(); in main()
|
/system/core/libstats/push_compat/tests/ |
D | StatsEventCompat_test.cpp | 22 using android::base::GetProperty;
|
/system/extras/simpleperf/ |
D | main.cpp | 40 if (android::base::GetProperty(prop_name, "") != "0") { in AndroidSecurityCheck()
|
/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()
|
/system/core/bootstat/ |
D | bootstat.cpp | 884 auto old_system_boot_reason = android::base::GetProperty(system_reboot_reason_property, ""); in BootReasonAddToHistory() 890 android::base::Split(android::base::GetProperty(history_reboot_reason_property, ""), "\n"); in BootReasonAddToHistory() 923 auto ret = android::base::GetProperty(system_reboot_reason_property, ""); in BootReasonStrToReason() 1064 content = android::base::GetProperty(last_reboot_reason_property, ""); in BootReasonStrToReason() 1109 auto build_date_str = android::base::GetProperty("ro.build.date.utc", ""); in CalculateBootCompletePrefix() 1132 auto value = android::base::GetProperty(property, ""); in RecordInitBootTimeProp() 1150 auto value = android::base::GetProperty("ro.boot.boottime", ""); in GetBootLoaderTimings() 1224 auto reason = android::base::GetProperty(bootloader_reboot_reason_property, "<EMPTY>"); in LogBootInfoToStatsd() 1225 auto system_reason = android::base::GetProperty(system_reboot_reason_property, "<EMPTY>"); in LogBootInfoToStatsd() 1234 android::base::GetProperty(bootloader_reboot_reason_property, ""); in SetSystemBootReason() [all …]
|