Home
last modified time | relevance | path

Searched refs:property_set (Results 1 – 25 of 25) 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()
101 EXPECT_GT(0, property_set(/*key*/NULL, PROPERTY_TEST_VALUE_DEFAULT)); in TEST_F()
107 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); in TEST_F()
146 ASSERT_OK(property_set(PROPERTY_TEST_KEY, VALID_TEST_VALUE)); in TEST_F()
151 EXPECT_GT(0, property_set(PROPERTY_TEST_KEY, oneLongerString.c_str())); in TEST_F()
164 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
178 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
191 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.cpp110 int property_set(const char *key, const char *value) { in property_set() function
/system/core/init/
Dinit.cpp345 property_set("ro.boottime.init.cold_boot_wait", std::to_string(t.duration().count())); in wait_for_coldboot_done_action()
373 property_set("ro.kernel." + key, value); in import_kernel_nv()
380 property_set("ro.boot." + key.substr(12), value); in import_kernel_nv()
391 property_set("ro.boot.flash.locked", value == "orange" ? "0" : "1"); in export_oem_lock_status()
413 property_set(prop.dst_prop, value); in export_kernel_boot_props()
437 property_set("ro.boot."s + dp->d_name, dt_file); in process_kernel_dt()
490 property_set("sys.usb.controller", dp->d_name); in set_usb_controller()
655 property_set("ro.boottime.init", getenv("INIT_STARTED_AT")); in SecondStageMain()
656 property_set("ro.boottime.init.selinux", getenv("INIT_SELINUX_TOOK")); in SecondStageMain()
660 if (avb_version) property_set("ro.boot.avb_version", avb_version); in SecondStageMain()
[all …]
Dbuiltins.cpp96 property_set("sys.powerctl", "reboot,recovery"); in reboot_into_recovery()
563 property_set("ro.crypto.state", "encrypted"); in queue_fs_event()
564 property_set("ro.crypto.type", "block"); in queue_fs_event()
568 property_set("ro.crypto.state", "unencrypted"); in queue_fs_event()
572 property_set("ro.crypto.state", "unsupported"); in queue_fs_event()
588 property_set("ro.crypto.state", "encrypted"); in queue_fs_event()
589 property_set("ro.crypto.type", "file"); in queue_fs_event()
599 property_set("ro.crypto.state", "encrypted"); in queue_fs_event()
600 property_set("ro.crypto.type", "file"); in queue_fs_event()
610 property_set("ro.crypto.state", "encrypted"); in queue_fs_event()
[all …]
Dproperty_service.h31 extern uint32_t (*property_set)(const std::string& name, const std::string& value);
Dhost_init_stubs.h43 extern uint32_t (*property_set)(const std::string& name, const std::string& value);
Dhost_init_stubs.cpp40 uint32_t (*property_set)(const std::string& name, const std::string& value) = SetProperty; variable
Dproperty_service.cpp94 uint32_t (*property_set)(const std::string& name, const std::string& value) = InitPropertySet; variable
723 property_set("persist.sys.usb.config", is_debuggable ? "adb" : "none"); in update_sys_usb_config()
727 property_set("persist.sys.usb.config", config); in update_sys_usb_config()
766 property_set(persistent_property_record.name(), persistent_property_record.value()); in load_persist_props()
769 property_set("ro.persistent_properties.ready", "true"); in load_persist_props()
1008 property_set("ro.property_service.version", "2"); in StartPropertyService()
Dmount_handler.cpp99 property_set(mount_prop, value); in SetMountProperty()
Dreboot.cpp354 property_set(LAST_REBOOT_REASON_PROPERTY, reason.c_str() + skip); in DoReboot()
405 property_set("service.bootanim.exit", "0"); in DoReboot()
Dsubcontext.cpp225 property_set = SubcontextPropertySet; in SubcontextMain()
Dservice.cpp253 property_set(prop_name, new_state); in NotifyStateChange()
259 property_set(boottime_property, std::to_string(start_ns)); in NotifyStateChange()
390 property_set("ro.init.updatable_crashing", "1"); in Reap()
/system/core/liblog/tests/
Dliblog_test.cpp1443 property_set(key, ""); in TEST()
1445 property_set(key + base_offset, ""); in TEST()
1449 property_set(key, ""); in TEST()
1451 property_set(key + base_offset, ""); in TEST()
1501 property_set(key, buf); in TEST()
1525 property_set(key, ""); in TEST()
1529 property_set(key + base_offset, buf); in TEST()
1553 property_set(key + base_offset, ""); in TEST()
1559 property_set(key, buf); in TEST()
1583 property_set(key, ""); in TEST()
[all …]
/system/vold/
Dcryptfs.cpp238 property_set(ANDROID_RB_PROPERTY, "reboot"); in cryptfs_reboot()
242 property_set(ANDROID_RB_PROPERTY, "reboot,recovery"); in cryptfs_reboot()
246 property_set(ANDROID_RB_PROPERTY, "shutdown"); in cryptfs_reboot()
1509 property_set("vold.post_fs_data_done", "0"); in prep_data_fs()
1510 property_set("vold.decrypt", "trigger_post_fs_data"); in prep_data_fs()
1542 if (property_set("vold.decrypt", "trigger_post_fs_data")) { in cryptfs_trigger_restart_min_framework()
1547 if (property_set("vold.decrypt", "trigger_restart_min_framework")) { in cryptfs_trigger_restart_min_framework()
1599 property_set("vold.decrypt", "trigger_shutdown_framework"); in cryptfs_restart_internal()
1679 property_set("vold.decrypt", "trigger_load_persist_props"); in cryptfs_restart_internal()
1682 property_set("vold.decrypt", "trigger_restart_framework"); in cryptfs_restart_internal()
[all …]
/system/bt/osi/src/
Dproperties.cc52 return property_set(key, value); in osi_property_set()
/system/core/reboot/
Dreboot.c67 ret = property_set(ANDROID_RB_PROPERTY, property_val); in main()
/system/core/libcutils/include_vndk/cutils/
Dproperties.h108 int property_set(const char *key, const char *value);
/system/core/libcutils/include/cutils/
Dproperties.h108 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.c722 property_set(dns_prop_name, dns1 ? ipaddr_to_string(dns1) : ""); in ifc_configure()
724 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/core/healthd/
Dhealthd_mode_charger.cpp472 property_set("sys.boot_from_charger_mode", "1"); in process_key()
/system/core/lmkd/
Dlmkd.c798 property_set("sys.lmk.minfree_levels", minfree_str); in cmd_target()