Home
last modified time | relevance | path

Searched refs:property_set (Results 1 – 16 of 16) sorted by relevance

/system/core/libcutils/
Dproperties_test.cpp66 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); in SetUp()
70 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); in TearDown()
85 EXPECT_OK(property_set(PROPERTY_TEST_KEY, value)) << "value: '" << value << "'"; in SetAndGetProperty()
98 EXPECT_GT(0, property_set(/*key*/ NULL, PROPERTY_TEST_VALUE_DEFAULT)); in TEST_F()
103 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/ NULL)); in TEST_F()
112 TEST_F(PropertiesTest, property_set) { in TEST_F() argument
142 ASSERT_OK(property_set(PROPERTY_TEST_KEY, VALID_TEST_VALUE)); in TEST_F()
147 EXPECT_GT(0, property_set(PROPERTY_TEST_KEY, oneLongerString.c_str())); in TEST_F()
157 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
171 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
[all …]
Dandroid_reboot.cpp50 ret = property_set(ANDROID_RB_PROPERTY, prop_value); in android_reboot()
Dproperties.cpp81 int property_set(const char* key, const char* value) { in property_set() function
/system/vold/
Dcryptfs.cpp442 property_set(ANDROID_RB_PROPERTY, "reboot"); in cryptfs_reboot()
446 property_set(ANDROID_RB_PROPERTY, "reboot,recovery"); in cryptfs_reboot()
450 property_set(ANDROID_RB_PROPERTY, "shutdown"); in cryptfs_reboot()
1473 property_set("vold.post_fs_data_done", "0"); in prep_data_fs()
1474 property_set("vold.decrypt", "trigger_post_fs_data"); in prep_data_fs()
1506 if (property_set("vold.decrypt", "trigger_post_fs_data")) { in cryptfs_trigger_restart_min_framework()
1511 if (property_set("vold.decrypt", "trigger_restart_min_framework")) { in cryptfs_trigger_restart_min_framework()
1563 property_set("vold.decrypt", "trigger_shutdown_framework"); in cryptfs_restart_internal()
1643 property_set("vold.decrypt", "trigger_load_persist_props"); in cryptfs_restart_internal()
1646 property_set("vold.decrypt", "trigger_restart_framework"); in cryptfs_restart_internal()
[all …]
/system/core/liblog/tests/
Dliblog_test.cpp1259 property_set(key, ""); in TEST()
1261 property_set(key + base_offset, ""); in TEST()
1265 property_set(key, ""); in TEST()
1267 property_set(key + base_offset, ""); in TEST()
1317 property_set(key, buf); in TEST()
1341 property_set(key, ""); in TEST()
1345 property_set(key + base_offset, buf); in TEST()
1369 property_set(key + base_offset, ""); in TEST()
1375 property_set(key, buf); in TEST()
1399 property_set(key, ""); in TEST()
[all …]
/system/bt/osi/src/
Dproperties.cc52 return property_set(key, value); in osi_property_set()
/system/bt/gd/os/android/
Dsystem_properties.cc50 auto ret = property_set(property.c_str(), value.c_str()); in SetSystemProperty()
/system/core/reboot/
Dreboot.c67 ret = property_set(ANDROID_RB_PROPERTY, property_val); in main()
/system/core/libcutils/include/cutils/
Dproperties.h111 int property_set(const char *key, const char *value);
/system/core/libcutils/include_vndk/cutils/
Dproperties.h111 int property_set(const char *key, const char *value);
/system/hwservicemanager/
Dservice.cpp165 int rc = property_set("hwservicemanager.ready", "true"); in main()
/system/extras/ANRdaemon/
DANRdaemon.cpp220 if (property_set(dfs_tags_property, buf) < 0) { in dfs_set_property()
226 && property_set(dfs_apps_property, mapp) < 0) { in dfs_set_property()
/system/core/libnetutils/
Difc_utils.c724 property_set(dns_prop_name, dns1 ? ipaddr_to_string(dns1) : ""); in ifc_configure()
726 property_set(dns_prop_name, dns2 ? ipaddr_to_string(dns2) : ""); in ifc_configure()
/system/netd/server/
DMDnsSdListener.cpp563 property_set("ctl.start", MDNS_SERVICE_NAME); in startService()
574 property_set("ctl.stop", MDNS_SERVICE_NAME); in stopService()
/system/memory/lmkd/
Dlmkd.cpp1337 property_set("sys.lmk.minfree_levels", minfree_str); in cmd_target()
3029 property_set("sys.lmk.reportkills", "1"); in init()
3037 property_set("sys.lmk.reportkills", "1"); in init()
3291 if (property_set(LMKD_REINIT_PROP, "0")) { in main()
/system/core/healthd/
Dhealthd_mode_charger.cpp467 property_set("sys.boot_from_charger_mode", "1"); in ProcessKey()