Searched refs:GetProperty (Results 1 - 25 of 55) sorted by relevance

123

/system/update_engine/
H A Dhardware_android.cc39 using android::base::GetProperty;
155 auto manufacturer = GetProperty(kPropProductManufacturer, "");
156 auto sku = GetProperty(kPropBootHardwareSKU, "");
157 auto revision = GetProperty(kPropBootRevision, "");
163 return GetProperty(kPropBootBootloader, "");
167 return GetProperty(kPropBootBaseband, "");
H A Dimage_properties_android.cc38 using android::base::GetProperty;
156 channel = GetProperty(kPropDefaultChannel, "stable-channel");
194 result.board = GetProperty(kPropProductName, "brillo");
195 result.build_fingerprint = GetProperty(kPropBuildFingerprint, "none");
196 result.build_type = GetProperty(kPropBuildType, "");
/system/bt/test/suite/adapter/
H A Dadapter_unittest.cc79 bt_property_t* name_property = GetProperty(BT_PROPERTY_BDNAME);
92 EXPECT_TRUE(GetProperty(BT_PROPERTY_BDNAME))
94 EXPECT_TRUE(property_equals(GetProperty(BT_PROPERTY_BDNAME), new_name))
96 << property_as_name(GetProperty(BT_PROPERTY_BDNAME))->name
104 property_equals(GetProperty(BT_PROPERTY_BDNAME), old_name_property))
106 << property_as_name(GetProperty(BT_PROPERTY_BDNAME))->name
H A Dbluetooth_test.h54 bt_property_t* GetProperty(bt_property_type_t type);
H A Dbluetooth_test.cc82 bt_property_t* BluetoothTest::GetProperty(bt_property_type_t type) { function in class:bttest::BluetoothTest
/system/core/init/
H A Dhost_init_stubs.cpp27 std::string GetProperty(const std::string&, const std::string& default_value) { function in namespace:android::base
H A Dhost_init_stubs.h36 std::string GetProperty(const std::string& key, const std::string& default_value);
H A Dinit.cpp66 using android::base::GetProperty;
113 std::string bootscript = GetProperty("ro.boot.init_rc", "");
147 if (GetProperty(name, "") != value) {
339 std::string console = GetProperty("ro.boot.console", "");
367 std::string value = GetProperty("ro.boot.verifiedbootstate", "");
388 std::string value = GetProperty(prop_map[i].src_prop, "");
739 std::string bootmode = GetProperty("ro.bootmode", "");
/system/core/adb/daemon/
H A Dmdns.cpp39 if (android::base::GetProperty("init.svc.mdnsd", "") == "running") {
68 hostname += android::base::GetProperty("ro.serialno", "unidentified");
H A Dmain.cpp81 std::string prop = android::base::GetProperty("service.adb.root", "");
214 std::string prop_port = android::base::GetProperty("service.adb.tcp.port", "");
216 prop_port = android::base::GetProperty("persist.adb.tcp.port", "");
/system/core/usbd/
H A Dusbd.cpp27 using android::base::GetProperty;
39 std::string function = GetProperty(PERSISTENT_USB_CONFIG, "");
/system/core/adb/
H A Dset_verity_enable_state_service.cpp98 return android::base::GetProperty("ro.boot.slot_suffix", "");
102 return android::base::GetProperty("ro.boot.vbmeta.device_state", "") == "locked";
143 bool using_avb = !android::base::GetProperty("ro.boot.vbmeta.digest", "").empty();
H A Dremount_service.cpp124 bool system_verified = !(android::base::GetProperty("partition.system.verified", "").empty());
125 bool vendor_verified = !(android::base::GetProperty("partition.vendor.verified", "").empty());
H A Dadb_trace.cpp99 return android::base::GetProperty("persist.adb.trace_mask", "");
/system/libvintf/
H A Dutils.cpp41 return android::base::GetProperty(key, defaultValue);
H A DRuntimeInfo-target.cpp151 std::string prop = android::base::GetProperty("ro.boot.vbmeta.avb_version", "0.0");
155 prop = android::base::GetProperty("ro.boot.avb_version", "0.0");
/system/core/base/
H A Dproperties_test.cpp31 std::string s = android::base::GetProperty("debug.libbase.property_test", "");
35 s = android::base::GetProperty("debug.libbase.property_test", "");
38 s = android::base::GetProperty("this.property.does.not.exist", "");
41 s = android::base::GetProperty("this.property.does.not.exist", "default");
50 std::string s = android::base::GetProperty("debug.libbase.property_test", "default");
H A Dproperties.cpp34 std::string GetProperty(const std::string& key, const std::string& default_value) { function in namespace:android::base
53 std::string value = GetProperty(key, "");
65 std::string value = GetProperty(key, "");
73 std::string value = GetProperty(key, "");
/system/core/toolbox/
H A Dgetprop.cpp27 using android::base::GetProperty;
76 std::cout << GetProperty(name, default_value) << std::endl;
/system/bt/test/suite/rfcomm/
H A Drfcomm_test.cc43 GetProperty(BT_PROPERTY_ADAPTER_BONDED_DEVICES);
/system/core/base/include/android-base/
H A Dproperties.h35 std::string GetProperty(const std::string& key, const std::string& default_value);
/system/core/fs_mgr/
H A Dfs_mgr_boot_config.cpp55 *out_val = android::base::GetProperty("ro.boot." + key, "");
/system/core/libsysutils/src/
H A DServiceManager.cpp111 return (android::base::GetProperty(property_name, "") == "running");
/system/extras/perfprofd/
H A Dcpuconfig.cc59 return android::base::GetProperty("init.svc.mpdecision", "") == "running";
/system/core/bootstat/
H A Dbootstat.cpp117 std::string GetProperty(const char* key) { function in namespace:__anon1555
537 std::string ret(GetProperty(system_reboot_reason_property));
773 content = GetProperty(last_reboot_reason_property);
804 if (isKernelRebootReason(ret) && (GetProperty(last_reboot_reason_property) != "")) {
821 std::string build_date_str = GetProperty("ro.build.date.utc");
846 std::string value = GetProperty(property);
864 std::string value = GetProperty("ro.boot.boottime");
937 const std::string reason(GetProperty(bootloader_reboot_reason_property));
947 const std::string system_reason(GetProperty(system_reboot_reason_property));
955 const std::string bootloader_boot_reason(GetProperty(bootloader_reboot_reason_propert
[all...]

Completed in 333 milliseconds

123