Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 110) sorted by relevance

12345

/tests/subsys/input/longpress/src/
A Dmain.c67 zassert_equal(last_events[1].code, INPUT_KEY_A); in ZTEST()
70 zassert_equal(last_events[0].code, INPUT_KEY_A); in ZTEST()
80 zassert_equal(last_events[1].code, INPUT_KEY_B); in ZTEST()
83 zassert_equal(last_events[0].code, INPUT_KEY_B); in ZTEST()
93 zassert_equal(last_events[1].code, INPUT_KEY_X); in ZTEST()
96 zassert_equal(last_events[0].code, INPUT_KEY_X); in ZTEST()
101 zassert_equal(last_events_no_short[1].code, INPUT_KEY_X); in ZTEST()
104 zassert_equal(last_events_no_short[0].code, INPUT_KEY_X); in ZTEST()
113 zassert_equal(last_events[1].code, INPUT_KEY_Y); in ZTEST()
116 zassert_equal(last_events[0].code, INPUT_KEY_Y); in ZTEST()
[all …]
/tests/arch/arm/arm_mpu_pxn/
A Dtestcase.yaml13 # To verify that region marked with PXN attribute can be executed from unprivileged code
14 # and cannot be executed from privileged code
18 # To verify that region marked *without* PXN attribute can be executed from privileged code
/tests/subsys/input/double_tap/src/
A Dmain.c25 TC_PRINT("%s: %d %x %d\n", __func__, event_count, evt->code, evt->value); in test_cb()
55 zassert_equal(last_events[1].code, INPUT_KEY_X); in ZTEST()
58 zassert_equal(last_events[0].code, INPUT_KEY_X); in ZTEST()
71 zassert_equal(last_events[1].code, INPUT_KEY_Y); in ZTEST()
74 zassert_equal(last_events[0].code, INPUT_KEY_Y); in ZTEST()
/tests/subsys/input/api/src/
A Dmain.c26 if (evt->dev == &fake_dev && evt->code == message_count_filtered) { in input_cb_filtered()
136 zassert_equal(last_event.code, INPUT_KEY_A); in ZTEST()
144 zassert_equal(last_event.code, INPUT_KEY_B); in ZTEST()
152 zassert_equal(last_event.code, INPUT_ABS_X); in ZTEST()
160 zassert_equal(last_event.code, INPUT_REL_Y); in ZTEST()
168 zassert_equal(last_event.code, INPUT_MSC_SCAN); in ZTEST()
176 zassert_equal(last_event.code, 0xaaaa); in ZTEST()
184 zassert_equal(last_event.code, 0x5555); in ZTEST()
/tests/drivers/input/gpio_keys/boards/
A Dnative_sim.overlay18 zephyr,code = <10>;
22 zephyr,code = <11>;
/tests/drivers/build_all/sensor/
A Dw1.dtsi11 family-code = <0x28>;
18 family-code = <0x10>;
/tests/drivers/w1/w1_api/
A Dw1_devices.dtsi10 family-code = <0x28>;
17 family-code = <0x29>;
/tests/subsys/input/shell/
A Dtestcase.yaml15 - "I: input event: dev=NULL SYN type= 1 code= 2 value=0"
16 - "I: input event: dev=NULL SYN type= 1 code= 2 value=1"
/tests/subsys/openthread/
A DCMakeLists.txt1 # Boilerplate code, which pulls in the Zephyr build system.
16 # the boilerplate code, which defines the target.
/tests/arch/arc/arc_vpx_lock/
A DREADME.txt6 code that uses the ARC VPX vector registers works correctly. As this VPX
8 used to control access to them (they bookend the relevant code sections),
/tests/subsys/dfu/img_util/boards/
A Dnrf52840dk_nrf52840_slot1.overlay3 zephyr,code-partition = &slot1_partition;
/tests/kernel/mem_protect/protection/
A DREADME.rst36 .. code-block:: console
59 trying to call code written to 0x2000041d
68 trying to call code written to 0x20000929
77 trying to call code written to 0x20000455
/tests/boards/espressif/cache_coex/
A DREADME.rst9 This code tests SPI Flash and PSRAM content integrity after multithreaded and concurrent accesses to
26 .. code-block:: console
34 .. code-block:: console
/tests/boot/with_mcumgr/
A DREADME.rst16 .. code-block:: console
29 .. code-block:: yaml
38 .. code-block:: console
/tests/boot/mcuboot_data_sharing/sysbuild/mcuboot/boards/
A Dnrf52840dk_nrf52840.overlay6 zephyr,code-partition = &boot_partition;
/tests/boards/espressif/rtc_clk/
A DREADME.rst26 .. code-block:: console
33 .. code-block:: console
39 .. code-block:: console
46 .. code-block:: console
/tests/application_development/ram_context_for_isr/
A DREADME.rst14 This test verifies that interrupt service routines (ISRs), their callbacks, and the driver code
23 - When the interrupt is triggered, the callback and all relevant code execute from RAM, not flash.
47 - ``CONFIG_CODE_DATA_RELOCATION_SRAM=y``: Enable code/data relocation to SRAM.
54 The last three options are disabled to avoid relocating code related to ISR tracing,
/tests/bsim/bluetooth/host/l2cap/split/tester/src/
A Dmain.c124 uint8_t code = buf->data[2]; in handle_meta_event() local
126 switch (code) { in handle_meta_event()
140 LOG_ERR("unhandled meta event %x", code); in handle_meta_event()
198 switch (hdr->code) { in handle_sig()
209 TEST_FAIL("unhandled opcode %x", hdr->code); in handle_sig()
265 uint8_t code = buf->data[0]; in recv() local
268 switch (code) { in recv()
283 LOG_ERR("unhandled msg %x", code); in recv()
477 static struct net_buf *l2cap_create_le_sig_pdu(uint8_t code, uint8_t ident, uint16_t len) in l2cap_create_le_sig_pdu() argument
485 hdr->code = code; in l2cap_create_le_sig_pdu()
/tests/boot/mcuboot_recovery_retention/sysbuild/mcuboot/boards/
A Dnrf52840dk_nrf52840.overlay6 zephyr,code-partition = &boot_partition;
A Dnrf52840dk_nrf52840_mem.overlay6 zephyr,code-partition = &boot_partition;
/tests/application_development/code_relocation/
A DKconfig5 bool "test with code relocate to itcm"
A DREADME.rst8 A simple example that demonstrates how relocation of code, data or bss sections
/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
A Dtester.c134 uint8_t code = buf->data[2]; in handle_meta_event() local
136 switch (code) { in handle_meta_event()
151 LOG_ERR("unhandled meta event %x", code); in handle_meta_event()
209 switch (hdr->code) { in handle_sig()
220 TEST_FAIL("unhandled opcode %x\n", hdr->code); in handle_sig()
276 uint8_t code = buf->data[0]; in recv() local
279 switch (code) { in recv()
294 LOG_ERR("unhandled msg %x", code); in recv()
505 static struct net_buf *l2cap_create_le_sig_pdu(uint8_t code, uint8_t ident, uint16_t len) in l2cap_create_le_sig_pdu() argument
513 hdr->code = code; in l2cap_create_le_sig_pdu()
/tests/drivers/input/gpio_keys/src/
A Dmain.c42 evt->dev->name, evt->code, evt->value); in test_gpio_keys_cb_handler()
44 last_code = evt->code; in test_gpio_keys_cb_handler()
/tests/drivers/can/host/
A DREADME.rst55 .. code-block:: shell
63 .. code-block:: ini
73 .. code-block:: shell
79 .. code-block:: shell
95 .. code-block:: shell
104 .. code-block:: ini
115 .. code-block:: shell
121 .. code-block:: shell

Completed in 60 milliseconds

12345