Home
last modified time | relevance | path

Searched full:should (Results 1 – 25 of 2703) sorted by relevance

12345678910>>...109

/Zephyr-Core-3.7.0/tests/net/conn_mgr_conn/src/
Dmain.c180 zassert_equal(ifa1_data->init_calls_a, 1, "ifa1->init should be called exactly once."); in ZTEST()
181 zassert_equal(ifa1_data->init_calls_b, 0, "ifa1 should use implementation A"); in ZTEST()
183 zassert_equal(ifa2_data->init_calls_a, 1, "ifa2->init should be called exactly once."); in ZTEST()
184 zassert_equal(ifa2_data->init_calls_b, 0, "ifa2 should use implementation A"); in ZTEST()
186 zassert_equal(ifb_data->init_calls_b, 1, "ifb->init should be called exactly once."); in ZTEST()
187 zassert_equal(ifb_data->init_calls_a, 0, "ifb should use implementation B"); in ZTEST()
189 zassert_equal(ifni_data->init_calls_a, 0, "ifni->init should not be called."); in ZTEST()
190 zassert_equal(ifni_data->init_calls_b, 0, "ifni->init should not be called."); in ZTEST()
203 zassert_equal(net_if_up(ifa1), 0, "net_if_up should not fail"); in ZTEST()
204 zassert_equal(net_if_up(ifa2), 0, "net_if_up should not fail"); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/net/conn_mgr_monitor/src/
Dmain.c254 "No events should be fired if connectivity availability did not change."); in cycle_ready_ifaces()
257 zassert_equal(net_if_up(ifa), 0, "net_if_up should succeed for ifa."); in cycle_ready_ifaces()
263 "NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_ready_ifaces()
265 "Only NET_EVENT_L4_CONNECTED should be fired when connectivity is gained."); in cycle_ready_ifaces()
266 zassert_equal(stats.conn_iface_gen, ifa, "ifa should be blamed."); in cycle_ready_ifaces()
269 zassert_equal(net_if_up(ifb), 0, "net_if_up should succeed for ifb."); in cycle_ready_ifaces()
275 "No events should be fired if connectivity availability did not change."); in cycle_ready_ifaces()
278 zassert_equal(net_if_down(ifa), 0, "net_if_down should succeed for ifa."); in cycle_ready_ifaces()
284 "No events should be fired if connectivity availability did not change."); in cycle_ready_ifaces()
287 zassert_equal(net_if_down(ifb), 0, "net_if_down should succeed for ifb."); in cycle_ready_ifaces()
[all …]
/Zephyr-Core-3.7.0/samples/subsys/pm/latency/
Dsample.yaml15 - "<inf> app: Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"
17 - "<inf> app: Sleeping for 1.2 seconds, we should enter SUSPEND_TO_IDLE"
19 - "<inf> app: Sleeping for 1.3 seconds, we should enter STANDBY"
22 - "<inf> app: Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"
24 - "<inf> app: Sleeping for 1.2 seconds, we should enter SUSPEND_TO_IDLE"
26 - "<inf> app: Sleeping for 1.3 seconds, we should enter SUSPEND_TO_IDLE"
31 - "<inf> app: Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"
33 - "<inf> app: Sleeping for 1.2 seconds, we should enter RUNTIME_IDLE"
35 - "<inf> app: Sleeping for 1.3 seconds, we should enter RUNTIME_IDLE"
40 - "<inf> app: Sleeping for 1.1 seconds, we should stay ACTIVE"
[all …]
/Zephyr-Core-3.7.0/samples/subsys/pm/latency/src/
Dmain.c41 LOG_INF("Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"); in main()
43 LOG_INF("Sleeping for 1.2 seconds, we should enter SUSPEND_TO_IDLE"); in main()
45 LOG_INF("Sleeping for 1.3 seconds, we should enter STANDBY"); in main()
53 LOG_INF("Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"); in main()
55 LOG_INF("Sleeping for 1.2 seconds, we should enter SUSPEND_TO_IDLE"); in main()
57 LOG_INF("Sleeping for 1.3 seconds, we should enter SUSPEND_TO_IDLE"); in main()
65 LOG_INF("Sleeping for 1.1 seconds, we should enter RUNTIME_IDLE"); in main()
67 LOG_INF("Sleeping for 1.2 seconds, we should enter RUNTIME_IDLE"); in main()
69 LOG_INF("Sleeping for 1.3 seconds, we should enter RUNTIME_IDLE"); in main()
77 LOG_INF("Sleeping for 1.1 seconds, we should stay ACTIVE"); in main()
[all …]
/Zephyr-Core-3.7.0/tests/net/socket/socketpair/src/
Dunsupported_calls.c21 "bind should fail on a socketpair endpoint"); in ZTEST_USER_F()
23 "bind should set errno to EISCONN"); in ZTEST_USER_F()
27 "connect should fail on a socketpair endpoint"); in ZTEST_USER_F()
29 "connect should set errno to EISCONN"); in ZTEST_USER_F()
33 "listen should fail on a socketpair endpoint"); in ZTEST_USER_F()
35 "listen should set errno to EINVAL"); in ZTEST_USER_F()
39 "accept should fail on a socketpair endpoint"); in ZTEST_USER_F()
41 "accept should set errno to EOPNOTSUPP"); in ZTEST_USER_F()
Dexpected_failures.c22 zassert_equal(res, -1, "socketpair should fail with bad address family"); in ZTEST_USER_F()
24 "errno should be EAFNOSUPPORT with bad address family"); in ZTEST_USER_F()
34 "socketpair should fail with unsupported socket type"); in ZTEST_USER_F()
36 "errno should be EPROTOTYPE with bad socket type"); in ZTEST_USER_F()
46 "socketpair should fail with unsupported protocol"); in ZTEST_USER_F()
48 "errno should be EPROTONOSUPPORT with bad protocol"); in ZTEST_USER_F()
50 /* This is not a POSIX requirement, but should be safe */ in ZTEST_USER_F()
59 "socketpair should fail with invalid socket vector"); in ZTEST_USER_F()
61 "errno should be EFAULT with bad socket vector"); in ZTEST_USER_F()
/Zephyr-Core-3.7.0/tests/lib/lockfree/src/
Dtest_spsc.c26 zassert_not_null(acq, "Acquire should succeed"); in ZTEST()
32 zassert_is_null(acq2, "Acquire should fail"); in ZTEST()
36 zassert_is_null(cons, "Consume should fail"); in ZTEST()
38 zassert_equal(spsc_consumable(&ezspsc), 0, "Consumables should be 0"); in ZTEST()
42 zassert_equal(spsc_consumable(&ezspsc), 1, "Consumables should be 1"); in ZTEST()
46 zassert_equal(spsc_consumable(&ezspsc), 0, "Consumables should be 0"); in ZTEST()
48 zassert_not_null(cons2, "Consume should not fail"); in ZTEST()
49 zassert_equal(*cons2, magic, "Consume value should equal magic"); in ZTEST()
53 zassert_is_null(cons3, "Consume should fail"); in ZTEST()
58 zassert_is_null(acq3, "Acquire should not succeed"); in ZTEST()
[all …]
Dtest_mpsc.c38 zassert_equal(head, stub, "Head should point at stub"); in ZTEST()
39 zassert_equal(tail, stub, "Tail should point at stub"); in ZTEST()
40 zassert_is_null(next, "Next should be null"); in ZTEST()
43 zassert_is_null(node, "Pop on empty queue should return null"); in ZTEST()
49 zassert_equal(head, &push_pop_nodes[0], "Queue head should point at push_pop_node"); in ZTEST()
51 zassert_is_null(next, NULL, "push_pop_node next should point at null"); in ZTEST()
53 zassert_equal(next, &push_pop_nodes[0], "Queue stub should point at push_pop_node"); in ZTEST()
56 zassert_equal(tail, stub, "Tail should point at stub"); in ZTEST()
61 zassert_not_equal(node, stub, "Pop should not return stub"); in ZTEST()
62 zassert_not_null(node, "Pop should not return null"); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/lib/mem_blocks/src/
Dmain.c170 "sys_mem_blocks_alloc should fail with -ENOMEM but not"); in alloc_free()
251 /* blocks 0 and 1 should be taken */ in ZTEST()
260 "sys_mem_blocks_get bitmap failed, bit %i should be set", i); in ZTEST()
264 "sys_mem_blocks_get bitmap failed, bit %i should be cleared", i); in ZTEST()
270 /* get a 2 entiries memory block starting from 1 - should fail */ in ZTEST()
275 /* blocks 0 and 1 should be taken */ in ZTEST()
284 "sys_mem_blocks_get bitmap failed, bit %i should be set", i); in ZTEST()
288 "sys_mem_blocks_get bitmap failed, bit %i should be cleared", i); in ZTEST()
294 /* get a 2 slots block starting from the last one - should fail */ in ZTEST()
299 /* blocks 0 and 1 should be taken */ in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/net/lib/tls_credentials/src/
Dmain.c34 /* Function should allow to add credentials of different types in test_credential_add()
47 /* Try to register another credential - should not have memory for that in test_credential_add()
51 zassert_equal(ret, -ENOMEM, "Should have failed with ENOMEM"); in test_credential_add()
56 zassert_equal(ret, -EEXIST, "Should have failed with EEXIST"); in test_credential_add()
86 zassert_equal(ret, -ENOENT, "Should have failed with ENOENT"); in test_credential_get()
92 zassert_equal(ret, -EFBIG, "Should have failed with EFBIG"); in test_credential_get()
104 /* Non-existing credential should return NULL */ in test_credential_internal_iterate()
106 zassert_is_null(key, "Should have return NULL for unknown credential"); in test_credential_internal_iterate()
110 zassert_not_null(cert, "Should have find a credential"); in test_credential_internal_iterate()
113 zassert_not_null(key, "Should have find a credential"); in test_credential_internal_iterate()
[all …]
/Zephyr-Core-3.7.0/soc/raspberrypi/rp2xxx/
DKconfig23 # Flash type used by the SoC. The board should select the one used.
28 Configure RP2 to use a W25Q080 flash chip, or similar. Should be selected
35 Should be selected by the board definition, not the user.
40 Configure RP2 to use a IS25LP080 flash chip, or similar. Should be selected
46 Configure RP2 to use a W25X10CL flash chip, or similar. Should be selected
52 Configure RP2 to use a AT25SF128A flash chip, or similar. Should be selected
/Zephyr-Core-3.7.0/dts/bindings/memory-controllers/
Drenesas,smartbond-nor-psram.yaml36 [7:0] should reflect the density value itself and [15:8] should reflect
37 the mask that should be applied to the returned device ID value.
56 Min. time, in nanoseconds, the #CS line should remain inactive between
62 Min. time, in nanoseconds, the #CS line should remain inactive after the execution
70 (should be transmitted in single bus mode).
76 (should be transmitted in quad bus mode).
83 commands, that should be read-cmd and write-cmd respectively, reflect the QPI mode.
111 Mode0 is selected by default as it should be supported by all memory devices.
135 If a non zero value is applied, then Tcem should be taken into
159 This should be useful if 3 dummy bytes are required. In such a case,
[all …]
/Zephyr-Core-3.7.0/dts/bindings/regulator/
Dregulator.yaml52 description: boolean, regulator should never be disabled
59 If the bootloader didn't leave it on then OS should turn it on
67 Regulator should be disabled on boot.
81 ramp rate, it should be explicitly initialised to zero
152 indicates that protection should be enabled but limit setting can be
161 should be enabled but limit setting can be omitted.
168 Recovery actions should be initiated. Zero can be passed to disable
169 detection and value '1' indicates that detection should be enabled but
177 indicates that protection should be enabled but limit setting can be
186 should be enabled but limit setting can be omitted. Limit is given as
[all …]
/Zephyr-Core-3.7.0/dts/bindings/pinctrl/
Dnxp,imx-iomuxc.yaml5 This compatible binding should be applied to the device's iomuxc DTS node.
10 The user should not edit the bindings defined within this node to make pinmux
11 selections, but should instead edit the pinctrl groups for their board.
46 # Note: the below properties should ideally be an enum. However, the pinctrl driver
57 and should not be modified by the user.
64 and should not be modified by the user.
71 and should not be modified by the user.
78 and should not be modified by the user.
/Zephyr-Core-3.7.0/doc/hardware/peripherals/sensor/
Dindex.rst62 * SHOULD implement attribute setting in a blocking manner.
63 * SHOULD provide the ability to get and set channel scale if supported by the
65 * SHOULD provide the ability to get and set channel sampling rate if supported
71 * SHOULD implement :c:type:`sensor_sample_fetch_t` as a blocking call that
74 * SHOULD implement :c:type:`sensor_channel_get_t` without side effects
76 * SHOULD implement :c:type:`sensor_trigger_set_t` storing the address of the
84 * SHOULD implement :c:type:`sensor_submit_t` using :ref:`rtio` to do non-blocking bus transfers if …
87 * SHOULD implement :c:type:`sensor_submit_t` checking the :c:struct:`rtio_sqe`
89 * SHOULD implement :c:type:`sensor_submit_t` checking all requested channels
91 * SHOULD implement :c:type:`sensor_submit_t` checking the provided buffer
[all …]
/Zephyr-Core-3.7.0/tests/boards/intel_adsp/cache/src/
Dmain.c27 /* After sys_cache_data_flush_and_invd_all(), uncached should be updated */ in ZTEST()
35 /* As cache is invalid, cached should be updated with uncached new value */ in ZTEST()
41 /* Only cached should have changed */ in ZTEST()
47 /* After sys_cache_data_flush_all(), uncached should be updated */ in ZTEST()
53 /* As cache is not invalid, only uncached should be updated */ in ZTEST()
59 /* Now, cached should be updated */ in ZTEST()
/Zephyr-Core-3.7.0/doc/develop/api/
Ddesign_guidelines.rst7 maintenance and enhancements there are some general policies that should
14 configuration structure. The following policies should be followed when
17 * The first parameter should be a pointer to the object most closely
23 * The next parameter(s) should be additional information specific to the
27 * The final parameter should be a ``void *user_data`` pointer carrying
80 practices should be followed.
82 * Any data that is accessed only when the feature is enabled should be
87 enabled should be provided unconditionally. Add a note in the
94 has no other content that file should be conditionally included in
99 other content the feature-specific code should be conditionally
[all …]
/Zephyr-Core-3.7.0/tests/subsys/fs/ext2/src/
Dtestfs_dirops.c36 zassert_equal(fs_open(&file, "/sml/dir1", 0), -EINVAL, "Should return error"); in ZTEST()
37 zassert_equal(fs_open(&file, "/sml/dir2", 0), -EINVAL, "Should return error"); in ZTEST()
51 zassert_equal(fs_open(&file, "/sml/file1", 0), 0, "Open file1 should succeed"); in ZTEST()
53 zassert_equal(fs_open(&file, "/sml/dir1/file2", 0), 0, "Open file2 should succeed"); in ZTEST()
55 zassert_equal(fs_open(&file, "/sml/dir2/file3", 0), 0, "Open file3 should succeed"); in ZTEST()
75 zassert_equal(fs_open(&file, "/sml/file2", 0), -ENOENT, "Should not exist"); in ZTEST()
76 zassert_equal(fs_open(&file, "/sml/file3", 0), -ENOENT, "Should not exist"); in ZTEST()
77 zassert_equal(fs_open(&file, "/sml/dir1/file1", 0), -ENOENT, "Should not exist"); in ZTEST()
78 zassert_equal(fs_open(&file, "/sml/dir1/file3", 0), -ENOENT, "Should not exist"); in ZTEST()
79 zassert_equal(fs_open(&file, "/sml/dir2/file1", 0), -ENOENT, "Should not exist"); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/doc/security/standards/
Detsi-303645.rst250 - Disclosed vulnerabilities should be acted on in a timely manner.
257 - Manufacturers should continually monitor for, identify and rectify security
266 - All software components in consumer IoT devices should be securely updatable.
288 - Automatic mechanisms should be used for software updates.
295 - The device should check after initialization, and then periodically, whether
304 should be enabled in the initialized state and configurable so that the user
327 - The device should verify the authenticity and integrity of software updates.
342 - The manufacturer should inform the user in a recognizable and apparent manner
351 - The device should notify the user when the application of a software update
369 support and a defined support period should be published by the manufacturer in an
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/controller/ctrl_chmu/src/
Dmain.c87 /* Tx Queue should have one LL Control PDU */ in ZTEST()
106 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
112 /* There should NOT be a host notification */ in ZTEST()
124 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
130 /* There should be no host notification */ in ZTEST()
166 /* Tx Queue should have one LL Control PDU */ in ZTEST()
179 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
185 /* There should NOT be a host notification */ in ZTEST()
192 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
201 /* Tx Queue should NOT have a LL Control PDU */ in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/drivers/retained_mem/api/src/
Dmain.c38 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
43 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
61 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
64 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
67 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
72 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
75 zassert_equal(rc, 0, "Return code should be success"); in ZTEST()
/Zephyr-Core-3.7.0/include/zephyr/xen/
Dmemory.h13 * @param domid domain id, where mapping will be added. For unprivileged should
17 * @param gpfn page frame where the source mapping page should appear.
27 * should be DOMID_SELF.
33 * @param gpfns array of page frames where the mapping should appear.
45 * should be DOMID_SELF.
55 * should be DOMID_SELF.
59 * @param mem_flags N/A, should be 0 for Arm.
/Zephyr-Core-3.7.0/soc/nxp/imxrt/imxrt10xx/
Dpower.h12 * The clock_set_run function should switch all clocks to their
18 * The clock_set_low_power function should switch all clocks to
20 * Note that the function should, at minimum, switch the arm core to the
26 * The clock_init function should perform any one time initialization that
/Zephyr-Core-3.7.0/samples/boards/stm32/power_mgmt/serial_wakeup/
DREADME.rst17 1. The board should support enabling PM. For a STM32 based target, it means that
18 it should support a clock source alternative to Cortex Systick that can be used
21 2. The serial port used by the shell should be configured, using device tree, to
26 - Matching oscillator sources should be enabled
28 should be adapted (9600 bauds)
29 - Port should be set as "wakeup-source"
59 Also note that after debug mode has been disabled, target should also be powered off in order
77 In order to reach lower power consumption numbers following parameters should be taken
/Zephyr-Core-3.7.0/tests/bluetooth/mesh/rpl/src/
Dmain.c20 /* Test function that should call bt_mesh_rpl_check(). */
85 /* Simulate IVI Update. This should only flip flags. The actual storing will happen in prepare_rpl_and_start_reset()
92 /* Should be called after the reset operation is finished. */
99 /* Entries with old_iv == true should have been deleted. old_iv in entries in check_entries_from_test_vector()
101 * again. RPL should accept them. in check_entries_from_test_vector()
173 /* Entries with old_iv == true should be removed, others should be stored. */ in expect_pending_store()
258 /** Test that RPL accepts and stores a valid entry that was just deleted. The entry should be
285 /** Test that RPL accepts and stores a valid entry that was just stored. The entry should be stored
311 /** Test that RPL accepts and stores a valid entry that has not yet been deleted. The entry should
321 * Should be done before calling ztest_expect_data() because the expectation changes. in ZTEST()
[all …]

12345678910>>...109