/system/core/toolbox/ |
D | start.c | 11 property_set("ctl.start", argv[1]); in start_main() 14 property_set("ctl.start", "netd"); in start_main() 15 property_set("ctl.start", "surfaceflinger"); in start_main() 16 property_set("ctl.start", "zygote"); in start_main() 17 property_set("ctl.start", "zygote_secondary"); in start_main()
|
D | stop.c | 9 property_set("ctl.stop", argv[1]); in stop_main() 12 property_set("ctl.stop", "zygote_secondary"); in stop_main() 13 property_set("ctl.stop", "zygote"); in stop_main() 14 property_set("ctl.stop", "surfaceflinger"); in stop_main() 15 property_set("ctl.stop", "netd"); in stop_main()
|
/system/core/libcutils/tests/ |
D | PropertiesTest.cpp | 64 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); in SetUp() 68 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); in TearDown() 83 EXPECT_OK(property_set(PROPERTY_TEST_KEY, value)) << "value: '" << value << "'"; in SetAndGetProperty() 99 EXPECT_GT(0, property_set(/*key*/NULL, PROPERTY_TEST_VALUE_DEFAULT)); in TEST_F() 105 EXPECT_OK(property_set(PROPERTY_TEST_KEY, /*value*/NULL)); in TEST_F() 144 ASSERT_OK(property_set(PROPERTY_TEST_KEY, VALID_TEST_VALUE)); in TEST_F() 149 EXPECT_GT(0, property_set(PROPERTY_TEST_KEY, oneLongerString.c_str())); in TEST_F() 162 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F() 181 ASSERT_OK(property_set(PROPERTY_TEST_KEY, valuesTrue[i])); in TEST_F() 191 ASSERT_OK(property_set(PROPERTY_TEST_KEY, valuesFalse[i])); in TEST_F() [all …]
|
/system/core/libnetutils/ |
D | dhcp_utils.c | 243 property_set(result_prop_name, ""); in dhcp_start() 253 property_set(ctrl_prop, daemon_cmd); in dhcp_start() 294 property_set(ctrl_prop, daemon_cmd); in dhcp_stop() 298 property_set(result_prop_name, "failed"); in dhcp_stop() 323 property_set(ctrl_prop, daemon_cmd); in dhcp_release_lease() 357 property_set(result_prop_name, ""); in dhcp_start_renew() 363 property_set(ctrl_prop, daemon_cmd); in dhcp_start_renew()
|
D | ifc_utils.c | 698 property_set(dns_prop_name, dns1 ? ipaddr_to_string(dns1) : ""); in ifc_configure() 700 property_set(dns_prop_name, dns2 ? ipaddr_to_string(dns2) : ""); in ifc_configure()
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 719 property_set(key, ""); in TEST() 721 property_set(key + base_offset, ""); in TEST() 725 property_set(key, ""); in TEST() 727 property_set(key + base_offset, ""); in TEST() 763 property_set(key, buf); in TEST() 774 property_set(key, ""); in TEST() 778 property_set(key + base_offset, buf); in TEST() 789 property_set(key + base_offset, ""); in TEST() 795 property_set(key, buf); in TEST() 806 property_set(key, ""); in TEST() [all …]
|
/system/core/init/ |
D | builtins.cpp | 446 property_set("vold.decrypt", "trigger_encryption"); in do_mount_all() 448 property_set("ro.crypto.state", "encrypted"); in do_mount_all() 449 property_set("ro.crypto.type", "block"); in do_mount_all() 450 property_set("vold.decrypt", "trigger_default_encryption"); in do_mount_all() 452 property_set("ro.crypto.state", "unencrypted"); in do_mount_all() 466 property_set("ro.crypto.state", "encrypted"); in do_mount_all() 467 property_set("ro.crypto.type", "file"); in do_mount_all() 476 property_set("ro.crypto.state", "encrypted"); in do_mount_all() 477 property_set("ro.crypto.type", "file"); in do_mount_all() 478 property_set("vold.decrypt", "trigger_restart_min_framework"); in do_mount_all() [all …]
|
D | property_service.cpp | 241 property_set("net.change", name); in property_set_impl() 254 int property_set(const char* name, const char* value) { in property_set() function 334 property_set((char*) msg.name, (char*) msg.value); in handle_property_set_fd() 417 property_set(key, value); in load_properties() 485 property_set(entry->d_name, value); in load_persistent_properties() 555 property_set("ro.recovery_id", hex.c_str()); in load_recovery_id_prop()
|
D | property_service.h | 30 extern int property_set(const char *name, const char *value);
|
D | init.cpp | 114 property_set(prop_name, new_state); in NotifyStateChange() 779 property_set( buff, value ); in import_kernel_nv() 792 property_set(prop, value); in import_kernel_nv() 812 property_set(prop_map[i].dst_prop, (rc > 0) ? value : prop_map[i].default_value); in export_kernel_boot_props() 844 property_set(property_name.c_str(), dt_file.c_str()); in process_kernel_dt()
|
/system/core/libsysutils/src/ |
D | ServiceManager.cpp | 52 property_set("ctl.start", name); in start() 81 property_set("ctl.stop", name); in stop()
|
/system/extras/perfprofd/ |
D | cpuconfig.cc | 92 if (property_set("ctl.stop", "mpdecision")) { in StopMpdecision() 102 if (property_set("ctl.start", "mpdecision")) { in RestartMpdecision()
|
/system/vold/ |
D | cryptfs.c | 430 property_set(ANDROID_RB_PROPERTY, "reboot"); in cryptfs_reboot() 434 property_set(ANDROID_RB_PROPERTY, "reboot,recovery"); in cryptfs_reboot() 438 property_set(ANDROID_RB_PROPERTY, "shutdown"); in cryptfs_reboot() 1557 property_set("vold.post_fs_data_done", "0"); 1558 property_set("vold.decrypt", "trigger_post_fs_data"); 1605 if (property_set("vold.decrypt", "trigger_post_fs_data")) { 1610 if (property_set("vold.decrypt", "trigger_restart_min_framework")) { 1652 property_set("vold.decrypt", "trigger_reset_main"); 1713 property_set("vold.decrypt", "trigger_load_persist_props"); 1720 property_set("vold.decrypt", "trigger_restart_framework"); [all …]
|
D | PrivateVolume.cpp | 143 property_set("selinux.restorecon_recursive", ""); in doMount() 144 property_set("selinux.restorecon_recursive", mPath.c_str()); in doMount()
|
D | main.cpp | 244 property_set("vold.has_adoptable", has_adoptable ? "1" : "0"); in process_config()
|
D | Ext4Crypt.cpp | 425 property_set("vold.decrypt", "trigger_reset_main"); in e4crypt_restart()
|
/system/core/debuggerd/test/ |
D | property_fake.cpp | 26 extern "C" int property_set(const char* name, const char* value) { in property_set() function
|
/system/core/include/cutils/ |
D | properties.h | 108 int property_set(const char *key, const char *value);
|
/system/core/reboot/ |
D | reboot.c | 66 ret = property_set(ANDROID_RB_PROPERTY, property_val); in main()
|
/system/core/adb/ |
D | services.cpp | 79 property_set("service.adb.root", "1"); in restart_root_service() 90 property_set("service.adb.root", "0"); in restart_unroot_service() 106 property_set("service.adb.tcp.port", value); in restart_tcp_service() 112 property_set("service.adb.tcp.port", "0"); in restart_usb_service() 160 ret = property_set(ANDROID_RB_PROPERTY, property_val); in reboot_service_impl()
|
D | usb_linux_client.cpp | 416 property_set("sys.usb.ffs.ready", "1"); in usb_ffs_open_thread()
|
/system/core/libcutils/ |
D | properties.c | 110 int property_set(const char *key, const char *value) in property_set() function
|
/system/netd/server/ |
D | MDnsSdListener.cpp | 564 property_set("ctl.start", MDNS_SERVICE_NAME); in startService() 579 property_set("ctl.stop", MDNS_SERVICE_NAME); in stopService()
|
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 522 property_set("sys.boot_from_charger_mode", "1"); in process_key()
|
/system/bt/btif/src/ |
D | btif_core.c | 405 if (property_set(PERSIST_BDADDR_PROPERTY, (char*)bdstr) < 0) in btif_fetch_local_bdaddr()
|