Home
last modified time | relevance | path

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

1234

/aosp12/system/core/libcutils/
H A Dproperties_test.cpp112 TEST_F(PropertiesTest, property_set) { in TEST_F() argument
157 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
171 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
184 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
197 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
210 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "")); in TEST_F()
219 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "0")); in TEST_F()
224 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "1")); in TEST_F()
234 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "n")); in TEST_F()
239 ASSERT_OK(property_set(PROPERTY_TEST_KEY, "no")); in TEST_F()
[all …]
/aosp12/hardware/qcom/sdm845/bt/libbt-vendor/src/
H A Dbt_vendor_qcom.c272 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
335 property_set(BT_VND_FILTER_START, "false"); in stop_hci_filter()
355 property_set("wc_transport.clean_up","0"); in start_hci_filter()
357 property_set(BT_VND_FILTER_START, "true"); in start_hci_filter()
490 ret = property_set("wc_transport.extldo", "enabled"); in bt_powerup()
500 property_set("wc_transport.soc_initialized", "0"); in bt_powerup()
564 property_set(BT_STATUS_NAME, "false"); in bt_powerup()
566 property_set(BT_STATUS_NAME, "true"); in bt_powerup()
650 ret = property_set("wc_transport.stack_bdaddr", prop); in init()
1127 property_set("wc_transport.clean_up","1"); in __op()
[all …]
/aosp12/hardware/qcom/bt/msm8996/libbt-vendor/src/
H A Dbt_vendor_qcom.c289 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
309 property_set(BT_VND_FILTER_START, "false"); in stop_hci_filter()
310 property_set("wc_transport.hci_filter_status", "0"); in stop_hci_filter()
326 property_set("wc_transport.hci_filter_status", "0"); in start_hci_filter()
327 property_set(BT_VND_FILTER_START, "true"); in start_hci_filter()
470 property_set("wc_transport.soc_initialized", "0"); in bt_powerup()
483 if(property_set(SERVICE_PROP_NAME, "load_wlan") < 0) { in bt_powerup()
493 if(property_set(SERVICE_PROP_NAME, "unbind_hsic") < 0) { in bt_powerup()
504 property_set(BT_STATUS_NAME, "false"); in bt_powerup()
506 property_set(BT_STATUS_NAME, "true"); in bt_powerup()
[all …]
H A Dhardware.c62 if (property_set("bluetooth.hciattach", szReqSt) < 0) in hw_config()
73 if (property_set("bluetooth.hciattach", szReqSt) < 0) in hw_config()
/aosp12/frameworks/native/services/surfaceflinger/
H A DStartPropertySetThread.cpp31 property_set(kTimestampProperty, mTimestampPropertyValue ? "1" : "0"); in threadLoop()
33 property_set("service.bootanim.exit", "0"); in threadLoop()
34 property_set("service.bootanim.progress", "0"); in threadLoop()
36 property_set("ctl.start", "bootanim"); in threadLoop()
/aosp12/hardware/qcom/bt/msm8909/libbt-vendor/src/
H A Dbt_vendor_qcom.c273 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
293 property_set(BT_VND_FILTER_START, "false"); in stop_hci_filter()
294 property_set("wc_transport.hci_filter_status", "0"); in stop_hci_filter()
310 property_set("wc_transport.hci_filter_status", "0"); in start_hci_filter()
311 property_set(BT_VND_FILTER_START, "true"); in start_hci_filter()
451 property_set("wc_transport.soc_initialized", "0"); in bt_powerup()
464 if(property_set(SERVICE_PROP_NAME, "load_wlan") < 0) { in bt_powerup()
485 property_set(BT_STATUS_NAME, "false"); in bt_powerup()
487 property_set(BT_STATUS_NAME, "true"); in bt_powerup()
913 property_set("wc_transport.clean_up","1"); in op()
[all …]
H A Dhardware.c60 if (property_set("bluetooth.hciattach", szReqSt) < 0) in hw_config()
71 if (property_set("bluetooth.hciattach", szReqSt) < 0) in hw_config()
/aosp12/hardware/qcom/bt/msm8998/libbt-vendor/src/
H A Dbt_vendor_qcom.c272 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
341 property_set("wc_transport.clean_up","0"); in start_hci_filter()
342 property_set("wc_transport.hci_filter_status", "0"); in start_hci_filter()
343 property_set(BT_VND_FILTER_START, "true"); in start_hci_filter()
470 ret = property_set("wc_transport.extldo", "enabled"); in bt_powerup()
480 property_set("wc_transport.soc_initialized", "0"); in bt_powerup()
544 property_set(BT_STATUS_NAME, "false"); in bt_powerup()
546 property_set(BT_STATUS_NAME, "true"); in bt_powerup()
621 ret = property_set("wc_transport.stack_bdaddr", prop); in init()
1087 property_set("wc_transport.clean_up","1"); in op()
[all …]
/aosp12/hardware/qcom/bt/msm8992/libbt-vendor/src/
H A Dbt_vendor_qcom.c261 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
281 property_set("wc_transport.start_hci", "false"); in stop_hci_filter()
282 property_set("wc_transport.hci_filter_status", "0"); in stop_hci_filter()
299 property_set("wc_transport.hci_filter_status", "0"); in start_hci_filter()
301 property_set("wc_transport.start_hci", "true"); in start_hci_filter()
438 property_set("wc_transport.soc_initialized", "0"); in bt_powerup()
451 if(property_set(SERVICE_PROP_NAME, "load_wlan") < 0) { in bt_powerup()
472 property_set(BT_STATUS_NAME, "false"); in bt_powerup()
474 property_set(BT_STATUS_NAME, "true"); in bt_powerup()
888 property_set("wc_transport.clean_up","1"); in op()
[all …]
/aosp12/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
H A Dbt_vendor_qcom.c268 ret = property_set("wc_transport.ref_count", ref_count); in can_perform_action()
331 property_set(BT_VND_FILTER_START, "false"); in stop_hci_filter()
352 property_set("wc_transport.hci_filter_status", "0"); in start_hci_filter()
353 property_set(BT_VND_FILTER_START, "true"); in start_hci_filter()
486 ret = property_set("wc_transport.extldo", "enabled"); in bt_powerup()
496 property_set("wc_transport.soc_initialized", "0"); in bt_powerup()
560 property_set(BT_STATUS_NAME, "false"); in bt_powerup()
562 property_set(BT_STATUS_NAME, "true"); in bt_powerup()
646 ret = property_set("wc_transport.stack_bdaddr", prop); in init()
1114 property_set("wc_transport.clean_up","1"); in __op()
[all …]
/aosp12/hardware/interfaces/wifi/1.5/default/tests/
H A Dwifi_chip_unit_tests.cpp856 property_set("wifi.interface.0", ""); in TEST_F()
857 property_set("wifi.interface.1", ""); in TEST_F()
858 property_set("wifi.interface.2", ""); in TEST_F()
859 property_set("wifi.interface", ""); in TEST_F()
868 property_set("wifi.interface.0", "test0"); in TEST_F()
869 property_set("wifi.interface.1", "test1"); in TEST_F()
871 property_set("wifi.interface", "bad0"); in TEST_F()
880 property_set("wifi.interface.0", ""); in TEST_F()
881 property_set("wifi.interface.1", ""); in TEST_F()
882 property_set("wifi.interface.2", ""); in TEST_F()
[all …]
/aosp12/frameworks/native/services/surfaceflinger/tests/fakehwc/
H A DFakeComposerUtils.cpp166 property_set("debug.sf.nobootanimation", "1"); in SetUp()
173 property_set("debug.sf.hwc_service_name", "mock"); in SetUp()
177 property_set("debug.sf.treble_testing_override", "true"); in SetUp()
184 property_set("debug.sf.nobootanimation", "0"); in TearDown()
185 property_set("debug.sf.hwc_service_name", "default"); in TearDown()
/aosp12/hardware/google/camera/common/hal/hidl_service/
H A Dservice.cc55 property_set("vendor.camera.hal.start.count", in main()
57 property_set("vendor.camera.hal.version", in main()
59 property_set("vendor.camera.hal.build_id", kAndroidBuildId); in main()
/aosp12/frameworks/opt/net/wifi/libwifi_hal/
H A Dwifi_hal_common.cpp159 property_set(DRIVER_PROP_NAME, "unloaded"); in is_wifi_driver_loaded()
172 property_set(DRIVER_PROP_NAME, "unloaded"); in is_wifi_driver_loaded()
202 property_set(DRIVER_PROP_NAME, "ok"); in wifi_load_driver()
237 property_set(DRIVER_PROP_NAME, "unloaded"); in wifi_unload_driver()
/aosp12/frameworks/native/cmds/dumpstate/tests/
H A Ddumpstate_smoke_test.cpp455 property_set("ctl.stop", "bugreportd"); in SetUp()
457 property_set("dumpstate.dry_run", "true"); in SetUp()
463 property_set("ctl.stop", "bugreportd"); in TearDown()
464 property_set("dumpstate.dry_run", ""); in TearDown()
490 property_set("dumpstate.dry_run", "true"); in TEST_F()
491 property_set("ctl.start", "bugreportd"); in TEST_F()
528 property_set("ctl.start", "bugreportd"); in TEST_F()
556 property_set("dumpstate.dry_run", "true"); in TEST_F()
557 property_set("ctl.start", "bugreportd"); in TEST_F()
/aosp12/system/vold/
H A Dcryptfs.cpp525 property_set(ANDROID_RB_PROPERTY, "reboot"); in cryptfs_reboot()
529 property_set(ANDROID_RB_PROPERTY, "reboot,recovery"); in cryptfs_reboot()
533 property_set(ANDROID_RB_PROPERTY, "shutdown"); in cryptfs_reboot()
1573 property_set("vold.post_fs_data_done", "0"); in prep_data_fs()
1574 property_set("vold.decrypt", "trigger_post_fs_data"); in prep_data_fs()
1606 if (property_set("vold.decrypt", "trigger_post_fs_data")) { in cryptfs_trigger_restart_min_framework()
2215 property_set("vold.decrypt", "trigger_shutdown_framework"); in cryptfs_enable_internal()
2248 property_set("vold.encrypt_progress", "0"); in cryptfs_enable_internal()
2362 property_set("ro.crypto.state", "encrypted"); in cryptfs_enable_internal()
2363 property_set("ro.crypto.type", "block"); in cryptfs_enable_internal()
[all …]
/aosp12/system/logging/liblog/tests/
H A Dliblog_test.cpp1259 property_set(key, ""); in TEST()
1265 property_set(key, ""); in TEST()
1317 property_set(key, buf); in TEST()
1341 property_set(key, ""); in TEST()
1375 property_set(key, buf); in TEST()
1399 property_set(key, ""); in TEST()
1435 property_set(key, "I"); in TEST()
1449 property_set(key, buf); in TEST()
1474 property_set(key, ""); in TEST()
1510 property_set(key, hold[0]); in TEST()
[all …]
/aosp12/frameworks/opt/net/wifi/libwifi_system/
H A Dhostapd_manager.cpp27 if (property_set("ctl.start", kHostapdServiceName) != 0) { in StartHostapd()
39 if (property_set("ctl.stop", kHostapdServiceName) < 0) { in StopHostapd()
H A Dsupplicant_manager.cpp64 property_set("ctl.start", kSupplicantServiceName); in StartSupplicant()
100 property_set("ctl.stop", kSupplicantServiceName); in StopSupplicant()
/aosp12/frameworks/native/cmds/bugreportz/
H A Dmain.cpp84 property_set("ctl.start", "dumpstate"); in main()
86 property_set("ctl.start", "dumpstatez"); in main()
/aosp12/hardware/st/secure_element/ese-spi-driver/
H A DSpiLayerInterface.cc165 property_set(ese_reset_property, "needed"); in SpiLayerInterface_setup()
180 property_set(ese_reset_property, "noneed"); in SpiLayerInterface_setup()
/aosp12/hardware/qcom/display/msm8084/libexternal/
H A Dexternal.cpp68 property_set("hw.hdmiON", "1"); in configure()
81 property_set("hw.hdmiON", "0"); in teardown()
156 property_set("persist.sys.actionsafe.width", actionsafeWidth); in setActionSafeDimension()
158 property_set("persist.sys.actionsafe.height", actionsafeHeight); in setActionSafeDimension()
239 property_set("hw.underscan_supported", prop); in readCEUnderscanInfo()
375 property_set("hw.underscan_supported", prop); in resetInfo()
/aosp12/hardware/st/secure_element2/secure_element/1.0/esehal/src/
H A Dlibse-gto.c276 property_set(ese_reset_property, "needed"); in se_gto_close()
281 property_set(ese_reset_property, "noneed"); in se_gto_close()
287 property_set(ese_reset_property, "noneed"); in se_gto_close()
/aosp12/hardware/qcom/display/msm8960/libexternal/
H A Dexternal.cpp151 property_set("hw.hdmiON", "1"); in processUEventOnline()
163 property_set("hw.hdmiON", "0"); in processUEventOffline()
206 property_set("hw.actionsafe.width", actionsafeWidth); in setActionSafeDimension()
208 property_set("hw.actionsafe.height", actionsafeHeight); in setActionSafeDimension()
290 property_set("hw.underscan_supported", prop); in readCEUnderscanInfo()
480 property_set("hw.underscan_supported", prop); in resetInfo()
/aosp12/hardware/qcom/display/msm8226/libexternal/
H A Dexternal.cpp68 property_set("hw.hdmiON", "1"); in configure()
81 property_set("hw.hdmiON", "0"); in teardown()
156 property_set("persist.sys.actionsafe.width", actionsafeWidth); in setActionSafeDimension()
158 property_set("persist.sys.actionsafe.height", actionsafeHeight); in setActionSafeDimension()
239 property_set("hw.underscan_supported", prop); in readCEUnderscanInfo()
375 property_set("hw.underscan_supported", prop); in resetInfo()

1234