/system/core/libcutils/tests/ |
D | PropertiesTest.cpp | 66 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 …]
|
/system/vold/ |
D | MetadataCrypt.cpp | 222 property_set("vold.post_fs_data_done", "0"); in prep_data_fs() 223 property_set("vold.decrypt", "trigger_post_fs_data"); in prep_data_fs() 246 property_set("vold.decrypt", "trigger_load_persist_props"); in async_kick_off() 249 property_set("vold.decrypt", "trigger_restart_framework"); in async_kick_off() 312 property_set("ro.crypto.state", "encrypted"); in e4crypt_enable_crypto() 313 property_set("ro.crypto.type", "file"); in e4crypt_enable_crypto() 316 property_set("vold.decrypt", "trigger_reset_main"); in e4crypt_enable_crypto()
|
D | cryptfs.cpp | 202 property_set(ANDROID_RB_PROPERTY, "reboot"); in cryptfs_reboot() 206 property_set(ANDROID_RB_PROPERTY, "reboot,recovery"); in cryptfs_reboot() 210 property_set(ANDROID_RB_PROPERTY, "shutdown"); in cryptfs_reboot() 1311 property_set("vold.post_fs_data_done", "0"); in prep_data_fs() 1312 property_set("vold.decrypt", "trigger_post_fs_data"); in prep_data_fs() 1348 if (property_set("vold.decrypt", "trigger_post_fs_data")) { in cryptfs_trigger_restart_min_framework() 1353 if (property_set("vold.decrypt", "trigger_restart_min_framework")) { in cryptfs_trigger_restart_min_framework() 1395 property_set("vold.decrypt", "trigger_reset_main"); in cryptfs_restart_internal() 1474 property_set("vold.decrypt", "trigger_load_persist_props"); in cryptfs_restart_internal() 1477 property_set("vold.decrypt", "trigger_restart_framework"); in cryptfs_restart_internal() [all …]
|
D | main.cpp | 136 property_set("vold.has_adoptable", has_adoptable ? "1" : "0"); in main() 137 property_set("vold.has_quota", has_quota ? "1" : "0"); in main()
|
D | EncryptInplace.cpp | 98 property_set("vold.encrypt_progress", buf); in update_progress() 119 property_set("vold.encrypt_time_remaining", buf); in update_progress() 563 property_set("vold.encrypt_progress", buf); in cryptfs_enable_inplace_full()
|
/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/core/init/ |
D | builtins.cpp | 123 property_set("sys.powerctl", "reboot,recovery"); in reboot_into_recovery() 480 property_set("ro.crypto.state", "encrypted"); in queue_fs_event() 481 property_set("ro.crypto.type", "block"); in queue_fs_event() 484 property_set("ro.crypto.state", "unencrypted"); in queue_fs_event() 487 property_set("ro.crypto.state", "unsupported"); in queue_fs_event() 500 property_set("ro.crypto.state", "encrypted"); in queue_fs_event() 501 property_set("ro.crypto.type", "file"); in queue_fs_event() 510 property_set("ro.crypto.state", "encrypted"); in queue_fs_event() 511 property_set("ro.crypto.type", "file"); in queue_fs_event() 519 property_set("ro.crypto.type", "file"); in queue_fs_event() [all …]
|
D | property_service.cpp | 282 uint32_t property_set(const std::string& name, const std::string& value) { in property_set() function 443 uint32_t result = property_set(name, value); in handle_property_set() 580 property_set(key, value); in load_properties() 648 property_set(entry->d_name, value); in load_persistent_properties() 664 property_set("persist.sys.usb.config", is_debuggable ? "adb" : "none"); in update_sys_usb_config() 668 property_set("persist.sys.usb.config", config); in update_sys_usb_config() 701 property_set("ro.persistent_properties.ready", "true"); in load_persist_props() 727 property_set("ro.recovery_id", hex); in load_recovery_id_prop() 744 property_set("ro.property_service.version", "2"); in start_property_service()
|
D | init.cpp | 245 property_set("ro.boottime.init.cold_boot_wait", std::to_string(t.duration().count())); in wait_for_coldboot_done_action() 478 property_set("ro.kernel." + key, value); in import_kernel_nv() 485 property_set("ro.boot." + key.substr(12), value); in import_kernel_nv() 497 property_set("ro.boot.flash.locked", value == "orange" ? "0" : "1"); in export_oem_lock_status() 516 property_set(prop_map[i].dst_prop, (!value.empty()) ? value : prop_map[i].default_value); in export_kernel_boot_props() 540 property_set("ro.boot."s + dp->d_name, dt_file); in process_kernel_dt() 955 property_set("sys.usb.controller", dp->d_name); in set_usb_controller() 1095 property_set("ro.boottime.init", getenv("INIT_STARTED_AT")); in main() 1096 property_set("ro.boottime.init.selinux", getenv("INIT_SELINUX_TOOK")); in main() 1100 if (avb_version) property_set("ro.boot.avb_version", avb_version); in main()
|
D | property_service.h | 39 uint32_t property_set(const std::string& name, const std::string& value);
|
D | service.cpp | 220 property_set(prop_name, new_state); in NotifyStateChange() 224 property_set("ro.boottime." + name_, std::to_string(start_ns)); in NotifyStateChange()
|
/system/core/liblog/tests/ |
D | liblog_test.cpp | 1463 property_set(key, ""); in TEST() 1465 property_set(key + base_offset, ""); in TEST() 1469 property_set(key, ""); in TEST() 1471 property_set(key + base_offset, ""); in TEST() 1521 property_set(key, buf); in TEST() 1545 property_set(key, ""); in TEST() 1549 property_set(key + base_offset, buf); in TEST() 1573 property_set(key + base_offset, ""); in TEST() 1579 property_set(key, buf); in TEST() 1603 property_set(key, ""); in TEST() [all …]
|
/system/core/libcutils/ |
D | android_reboot.c | 48 ret = property_set(ANDROID_RB_PROPERTY, prop_value); in android_reboot()
|
D | properties.cpp | 110 int property_set(const char *key, const char *value) { in property_set() function
|
/system/bt/osi/src/ |
D | properties.cc | 44 return property_set(key, value); in osi_property_set()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | property_fake.cpp | 26 extern "C" int property_set(const char* name, const char* value) { in property_set() function
|
/system/core/reboot/ |
D | reboot.c | 66 ret = property_set(ANDROID_RB_PROPERTY, property_val); in main()
|
/system/core/libcutils/include_vndk/cutils/ |
D | properties.h | 113 int property_set(const char *key, const char *value);
|
/system/core/libcutils/include/cutils/ |
D | properties.h | 113 int property_set(const char *key, const char *value);
|
/system/hwservicemanager/ |
D | service.cpp | 123 rc = property_set("hwservicemanager.ready", "true"); in main()
|
/system/extras/ANRdaemon/ |
D | ANRdaemon.cpp | 221 if (property_set(dfs_tags_property, buf) < 0) { in dfs_set_property() 227 && property_set(dfs_apps_property, mapp) < 0) { in dfs_set_property()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 722 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/nfc/halimpl/bcm2079x/adaptation/ |
D | HalAdaptation.cpp | 196 property_set("nfc.bcm2079x.isColdboot", "0"); in HaiInitializeLibrary()
|
/system/netd/server/ |
D | MDnsSdListener.cpp | 561 property_set("ctl.start", MDNS_SERVICE_NAME); in startService() 576 property_set("ctl.stop", MDNS_SERVICE_NAME); in stopService()
|
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 433 property_set("sys.boot_from_charger_mode", "1"); in process_key()
|