Home
last modified time | relevance | path

Searched refs:active (Results 1 – 25 of 33) sorted by relevance

12

/tests/subsys/shell/shell_device/
A Dtestcase.yaml29 - "device@1 \\(active\\)"
31 - "device@3 \\(active\\)"
32 - "device@4 \\(active\\)"
42 - "device@1 \\(active\\)"
45 - "device@4 \\(active, usage=1\\)"
/tests/subsys/logging/log_backend_init/src/
A Dmain.c24 bool active; member
68 context->active = true; in expire_cb()
84 return context->active ? 0 : -EBUSY; in backend_is_ready()
134 zassert_false(context1.active); in ZTEST()
135 zassert_false(context2.active); in ZTEST()
139 zassert_true(context1.active); in ZTEST()
140 zassert_true(context2.active); in ZTEST()
/tests/bluetooth/audio/cap_commander/uut/
A Daics.c17 bool active; member
46 if (!aics_clients[i].active) { in bt_aics_client_free_instance_get()
47 aics_clients[i].active = true; in bt_aics_client_free_instance_get()
83 aics_clients[i].active = false; in mock_bt_aics_cleanup()
A Dvocs.c18 bool active; member
47 if (!vocs_clients[i].active) { in bt_vocs_client_free_instance_get()
48 vocs_clients[i].active = true; in bt_vocs_client_free_instance_get()
84 vocs_clients[i].active = false; in mock_bt_vocs_cleanup()
/tests/subsys/pm/policy_api/src/
A Dmain.c80 bool active; in ZTEST() local
86 active = pm_policy_state_lock_is_active(PM_STATE_RUNTIME_IDLE, PM_ALL_SUBSTATES); in ZTEST()
87 zassert_false(active); in ZTEST()
97 active = pm_policy_state_lock_is_active(PM_STATE_RUNTIME_IDLE, PM_ALL_SUBSTATES); in ZTEST()
98 zassert_true(active); in ZTEST()
109 zassert_false(active); in ZTEST()
118 zassert_false(active); in ZTEST()
128 active = pm_policy_state_lock_is_active(PM_STATE_RUNTIME_IDLE, 1); in ZTEST()
129 zassert_true(active); in ZTEST()
139 active = pm_policy_state_lock_is_active(PM_STATE_RUNTIME_IDLE, 1); in ZTEST()
[all …]
/tests/drivers/uart/uart_pm/src/
A Dmain.c15 static void polling_verify(const struct device *dev, bool is_async, bool active) in polling_verify() argument
42 if (active) { in polling_verify()
66 static bool async_verify(const struct device *dev, bool active) in async_verify() argument
78 if (!active) { in async_verify()
115 static void communication_verify(const struct device *dev, bool active) in communication_verify() argument
117 bool is_async = async_verify(dev, active); in communication_verify()
119 polling_verify(dev, is_async, active); in communication_verify()
/tests/bluetooth/classic/l2cap_c/src/
A Dl2cap_test.c38 bool active; member
80 br_chan->active = false; in l2cap_disconnected()
94 if (br_l2cap[index].active == false) { in appl_br_l2cap()
95 br_l2cap[index].active = true; in appl_br_l2cap()
150 l2cap_chan->active = false; in cmd_connect()
157 l2cap_chan->active = false; in cmd_connect()
170 l2cap_chan->active = false; in cmd_connect()
180 l2cap_chan->active = false; in cmd_connect()
200 if (br_l2cap[id].active == true) { in cmd_l2cap_disconnect()
227 if (br_l2cap[id].active == true) { in cmd_l2cap_send()
[all …]
/tests/bluetooth/classic/l2cap_s/src/
A Dl2cap_test.c38 bool active; member
80 br_chan->active = false; in l2cap_disconnected()
94 if (br_l2cap[index].active == false) { in appl_br_l2cap()
95 br_l2cap[index].active = true; in appl_br_l2cap()
150 l2cap_chan->active = false; in cmd_connect()
157 l2cap_chan->active = false; in cmd_connect()
170 l2cap_chan->active = false; in cmd_connect()
180 l2cap_chan->active = false; in cmd_connect()
200 if (br_l2cap[id].active == true) { in cmd_l2cap_disconnect()
227 if (br_l2cap[id].active == true) { in cmd_l2cap_send()
[all …]
/tests/bluetooth/classic/smp_bonding/src/
A Dsmp_br_bonding.c34 bool active; member
70 br_chan->active = false; in l2cap_disconnected()
91 if (l2cap_chans[index].active == false) { in l2cap_alloc_chan()
92 l2cap_chans[index].active = true; in l2cap_alloc_chan()
181 br_chan->active = false; in cmd_l2cap_connect()
188 br_chan->active = false; in cmd_l2cap_connect()
202 br_chan->active = false; in cmd_l2cap_connect()
217 if ((id >= ARRAY_SIZE(l2cap_chans)) || (!l2cap_chans[id].active)) { in cmd_l2cap_disconnect()
/tests/bluetooth/classic/smp_io_cap/src/
A Dsmp_br_io_cap.c34 bool active; member
70 br_chan->active = false; in l2cap_disconnected()
91 if (l2cap_chans[index].active == false) { in l2cap_alloc_chan()
92 l2cap_chans[index].active = true; in l2cap_alloc_chan()
181 br_chan->active = false; in cmd_l2cap_connect()
188 br_chan->active = false; in cmd_l2cap_connect()
202 br_chan->active = false; in cmd_l2cap_connect()
217 if ((id >= ARRAY_SIZE(l2cap_chans)) || (!l2cap_chans[id].active)) { in cmd_l2cap_disconnect()
/tests/bluetooth/classic/smp_sc_only/src/
A Dsmp_br_sc_only.c34 bool active; member
70 br_chan->active = false; in l2cap_disconnected()
91 if (l2cap_chans[index].active == false) { in l2cap_alloc_chan()
92 l2cap_chans[index].active = true; in l2cap_alloc_chan()
181 br_chan->active = false; in cmd_l2cap_connect()
188 br_chan->active = false; in cmd_l2cap_connect()
202 br_chan->active = false; in cmd_l2cap_connect()
217 if ((id >= ARRAY_SIZE(l2cap_chans)) || (!l2cap_chans[id].active)) { in cmd_l2cap_disconnect()
/tests/lib/p4workq/src/
A Dmain.c25 bool active; member
47 item->active = true; in stress_sub()
81 &items[ii] != titem && !items[ii].active) { in stress_handler()
90 titem->active = false; in stress_handler()
200 bool active = add_new_item(pri); in ZTEST() local
202 if (!active) { in ZTEST()
/tests/drivers/regulator/fixed/dts/bindings/
A Dtest-regulator-fixed.yaml19 The active level in the flags cell of this must match the active level
/tests/drivers/w1/w1_api/
A Dds2485.overlay8 active-pull-threshold = "low";
/tests/drivers/reset/mmio/boards/
A Dqemu_cortex_m3.overlay12 active-low;
/tests/ztest/busy_sim/boards/
A Dnrf52840dk_nrf52840_pin.overlay17 active-gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
/tests/bluetooth/classic/smp_general/src/
A Dsmp_br_general.c48 bool active; member
166 br_chan->active = false; in l2cap_disconnected()
187 if (l2cap_chans[index].active == false) { in l2cap_alloc_chan()
188 l2cap_chans[index].active = true; in l2cap_alloc_chan()
277 br_chan->active = false; in cmd_l2cap_connect()
284 br_chan->active = false; in cmd_l2cap_connect()
298 br_chan->active = false; in cmd_l2cap_connect()
313 if ((id >= ARRAY_SIZE(l2cap_chans)) || (!l2cap_chans[id].active)) { in cmd_l2cap_disconnect()
335 if ((id >= ARRAY_SIZE(l2cap_chans)) || (!l2cap_chans[id].active)) { in cmd_l2cap_send()
/tests/bluetooth/tester/src/audio/btp/
A Dbtp_aics.h32 void btp_send_aics_status_ev(struct bt_conn *conn, uint8_t att_status, bool active);
133 bool active; member
/tests/drivers/regulator/api/
A Dapp.overlay27 regulator-active-discharge = <1>;
/tests/bsim/bluetooth/host/privacy/device/test_scripts/
A Drun_tests.sh54 active-scan=${use_active_scan} addr-type="${addr_type}"
/tests/drivers/build_all/video/
A Dapp.overlay121 hsync-active = <0>;
122 vsync-active = <0>;
/tests/subsys/mgmt/mcumgr/mcumgr_client/src/
A Dimg_gr_stub.c131 ZCBOR_ENCODE_FLAG(zse, "active", image_dummy_info[i].flags.active) && in img_read_response()
300 image_dummy_info[i].flags.active = false; in img_gr_stub_data_init()
303 image_dummy_info[i].flags.active = true; in img_gr_stub_data_init()
/tests/bluetooth/tester/src/audio/
A Dbtp_aics.c96 void btp_send_aics_status_ev(struct bt_conn *conn, uint8_t att_status, bool active) in btp_send_aics_status_ev() argument
103 ev.active = active; in btp_send_aics_status_ev()
539 static void aics_status_cb(struct bt_aics *inst, int err, bool active) in aics_status_cb() argument
544 btp_send_aics_status_ev(conn, err, active); in aics_status_cb()
/tests/drivers/build_all/w1/
A Dapp.overlay75 active-pull-threshold = "low";
/tests/drivers/build_all/display/
A Dapp.overlay380 hsync-active = <1>;
381 vsync-active = <0>;
382 de-active = <0>;
383 pixelclk-active = <0>;

Completed in 56 milliseconds

12