Home
last modified time | relevance | path

Searched refs:property_set (Results 1 – 15 of 15) 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/logging/liblog/tests/
Dliblog_test.cpp1255 property_set(key, ""); in TEST()
1257 property_set(key + base_offset, ""); in TEST()
1261 property_set(key, ""); in TEST()
1263 property_set(key + base_offset, ""); in TEST()
1313 property_set(key, buf); in TEST()
1337 property_set(key, ""); in TEST()
1341 property_set(key + base_offset, buf); in TEST()
1365 property_set(key + base_offset, ""); in TEST()
1371 property_set(key, buf); in TEST()
1395 property_set(key, ""); in TEST()
[all …]
/system/core/reboot/
Dreboot.c67 ret = property_set(ANDROID_RB_PROPERTY, property_val); in main()
/system/core/libcutils/include_outside_system/cutils/
Dproperties.h111 int property_set(const char *key, const char *value);
/system/core/libcutils/include/cutils/
Dproperties.h111 int property_set(const char *key, const char *value);
/system/hwservicemanager/
Dservice.cpp168 int rc = property_set("hwservicemanager.ready", "true"); in main()
/system/extras/ANRdaemon/
DANRdaemon.cpp210 if (property_set(dfs_tags_property, buf) < 0) { in dfs_set_property()
215 if (strlen(mapp) > 0 && property_set(dfs_apps_property, mapp) < 0) { in dfs_set_property()
/system/memory/lmkd/tests/
Dlmkd_tests.cpp87 EXPECT_EQ(property_set("ro.lmk.debug", "true"), 0); in SetUp()
/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.cpp419 property_set("ctl.start", MDNS_SERVICE_NAME); in startService()
430 property_set("ctl.stop", MDNS_SERVICE_NAME); in stopService()
/system/core/healthd/
Dhealthd_mode_charger.cpp498 property_set("sys.boot_from_charger_mode", "1"); in ProcessKey()
628 property_set("sys.boot_from_charger_mode", "1"); in OnHealthInfoChanged()
/system/core/trusty/storage/proxy/
Dstorage.c366 rc = property_set(FS_READY_PROPERTY, "1"); in storage_file_open()
/system/memory/lmkd/
Dlmkd.cpp1431 property_set("sys.lmk.minfree_levels", minfree_str); in cmd_target()
3506 property_set("sys.lmk.reportkills", "1"); in init()
3514 property_set("sys.lmk.reportkills", "1"); in init()
3791 if (property_set(LMKD_REINIT_PROP, "")) { in main()