/system/core/init/ |
H A D | property_service.h | 35 uint32_t property_set(const std::string& name, const std::string& value);
|
H A D | property_service.cpp | 166 uint32_t property_set(const std::string& name, const std::string& value) { function 170 LOG(ERROR) << "property_set(\"" << name << "\", \"" << value << "\") failed: bad name"; 175 LOG(ERROR) << "property_set(\"" << name << "\", \"" << value << "\") failed: " 190 LOG(ERROR) << "property_set(\"" << name << "\", \"" << value << "\") failed: " 199 LOG(ERROR) << "property_set(\"" << name << "\", \"" << value << "\") failed: " 367 uint32_t result = property_set(name, value); 504 property_set(key, value); 571 property_set(entry->d_name, value); 587 property_set("persist.sys.usb.config", is_debuggable ? "adb" : "none"); 591 property_set("persis [all...] |
H A D | init.cpp | 215 property_set("ro.boottime.init.cold_boot_wait", std::to_string(t.duration_ms()).c_str()); 445 property_set(StringPrintf("ro.kernel.%s", key.c_str()).c_str(), value.c_str()); 452 property_set(StringPrintf("ro.boot.%s", key.c_str() + 12).c_str(), value.c_str()); 464 property_set("ro.boot.flash.locked", value == "orange" ? "0" : "1"); 483 property_set(prop_map[i].dst_prop, (!value.empty()) ? value.c_str() : prop_map[i].default_value); 508 property_set(property_name.c_str(), dt_file.c_str()); 918 property_set("sys.usb.controller", dp->d_name); 1052 property_set("ro.boottime.init", getenv("INIT_STARTED_AT")); 1053 property_set("ro.boottime.init.selinux", getenv("INIT_SELINUX_TOOK")); 1057 if (avb_version) property_set("r [all...] |
H A D | builtins.cpp | 464 property_set("ro.crypto.state", "encrypted"); 465 property_set("ro.crypto.type", "block"); 468 property_set("ro.crypto.state", "unencrypted"); 471 property_set("ro.crypto.state", "unsupported"); 483 property_set("ro.crypto.state", "encrypted"); 484 property_set("ro.crypto.type", "file"); 529 property_set(prop_name.c_str(), std::to_string(t.duration_ms()).c_str()); 559 property_set(name, value); 642 property_set(android::base::StringPrintf("partition.%s.verified", mount_point).c_str(),
|
H A D | service.cpp | 203 property_set(prop_name.c_str(), new_state.c_str()); 207 property_set(StringPrintf("ro.boottime.%s", name_.c_str()).c_str(),
|
/system/core/libcutils/tests/ |
H A D | PropertiesTest.cpp | 66 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); 70 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); 85 EXPECT_OK(property_set(PROPERTY_TEST_KEY, value)) << "value: '" << value << "'"; 101 EXPECT_GT(0, property_set(/*key*/NULL, PROPERTY_TEST_VALUE_DEFAULT)); 107 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); 146 ASSERT_OK(property_set(PROPERTY_TEST_KEY, VALID_TEST_VALUE)); 151 EXPECT_GT(0, property_set(PROPERTY_TEST_KEY, oneLongerString.c_str())); 164 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); 178 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); 191 ASSERT_OK(property_set(PROPERTY_TEST_KE [all...] |
/system/bt/osi/src/ |
H A D | properties.cc | 44 return property_set(key, value);
|
/system/core/debuggerd/libdebuggerd/test/ |
H A D | property_fake.cpp | 26 extern "C" int property_set(const char* name, const char* value) { function
|
/system/core/libcutils/ |
H A D | android_reboot.c | 48 ret = property_set(ANDROID_RB_PROPERTY, prop_value);
|
H A D | properties.cpp | 110 int property_set(const char *key, const char *value) { function
|
/system/extras/perfprofd/ |
H A D | cpuconfig.cc | 92 if (property_set("ctl.stop", "mpdecision")) { 102 if (property_set("ctl.start", "mpdecision")) {
|
/system/core/reboot/ |
H A D | reboot.c | 66 ret = property_set(ANDROID_RB_PROPERTY, property_val);
|
/system/core/include/cutils/ |
H A D | properties.h | 111 /* property_set: returns 0 on success, < 0 on failure 113 int property_set(const char *key, const char *value);
|
/system/core/libcutils/include/cutils/ |
H A D | properties.h | 111 /* property_set: returns 0 on success, < 0 on failure 113 int property_set(const char *key, const char *value);
|
/system/core/libcutils/include_vndk/cutils/ |
H A D | properties.h | 111 /* property_set: returns 0 on success, < 0 on failure 113 int property_set(const char *key, const char *value);
|
/system/core/liblog/tests/ |
H A D | liblog_test.cpp | 1456 property_set(key, ""); 1458 property_set(key + base_offset, ""); 1462 property_set(key, ""); 1464 property_set(key + base_offset, ""); 1511 fprintf(stderr, "i=%zu j=%zu property_set(\"%s\",\"%s\")\r", i, j, key, 1514 property_set(key, buf); 1538 property_set(key, ""); 1540 fprintf(stderr, "i=%zu j=%zu property_set(\"%s\",\"%s\")\r", i, j, 1542 property_set(key + base_offset, buf); 1566 property_set(ke [all...] |
/system/vold/ |
H A D | cryptfs.cpp | 201 property_set(ANDROID_RB_PROPERTY, "reboot"); 205 property_set(ANDROID_RB_PROPERTY, "reboot,recovery"); 209 property_set(ANDROID_RB_PROPERTY, "shutdown"); 1312 property_set("vold.post_fs_data_done", "0"); 1313 property_set("vold.decrypt", "trigger_post_fs_data"); 1352 if (property_set("vold.decrypt", "trigger_post_fs_data")) { 1357 if (property_set("vold.decrypt", "trigger_restart_min_framework")) { 1399 property_set("vold.decrypt", "trigger_reset_main"); 1480 property_set("vold.decrypt", "trigger_load_persist_props"); 1483 property_set("vol [all...] |
H A D | main.cpp | 135 property_set("vold.has_adoptable", has_adoptable ? "1" : "0");
|
H A D | Utils.cpp | 643 property_set("selinux.restorecon_recursive", ""); 644 property_set("selinux.restorecon_recursive", cpath);
|
/system/hwservicemanager/ |
H A D | service.cpp | 108 rc = property_set("hwservicemanager.ready", "true");
|
/system/extras/ANRdaemon/ |
H A D | ANRdaemon.cpp | 221 if (property_set(dfs_tags_property, buf) < 0) { 227 && property_set(dfs_apps_property, mapp) < 0) {
|
/system/core/libnetutils/ |
H A D | ifc_utils.c | 722 property_set(dns_prop_name, dns1 ? ipaddr_to_string(dns1) : ""); 724 property_set(dns_prop_name, dns2 ? ipaddr_to_string(dns2) : "");
|
/system/nfc/halimpl/bcm2079x/adaptation/ |
H A D | HalAdaptation.cpp | 196 property_set("nfc.bcm2079x.isColdboot", "0");
|
/system/netd/server/ |
H A D | MDnsSdListener.cpp | 568 property_set("ctl.start", MDNS_SERVICE_NAME); 583 property_set("ctl.stop", MDNS_SERVICE_NAME);
|
/system/core/healthd/ |
H A D | healthd_mode_charger.cpp | 635 property_set("sys.boot_from_charger_mode", "1");
|