Lines Matching refs:loop

57     esp_event_loop_handle_t loop;  member
64 esp_event_loop_handle_t loop; member
180 TEST_ESP_OK(esp_event_post_to(data->loop, data->base, data->id, NULL, 0, portMAX_DELAY)); in test_event_post_task()
198 …TEST_ESP_OK(esp_event_handler_register_with(data->loop, data->base, data->id, data->handles[i], NU… in test_event_simple_handler_registration_task()
200 …TEST_ESP_OK(esp_event_handler_unregister_with(data->loop, data->base, data->id, data->handles[i])); in test_event_simple_handler_registration_task()
214 esp_event_loop_handle_t* loop = (esp_event_loop_handle_t*) event_data; in test_handler_post_w_task() local
221 … TEST_ESP_OK(esp_event_post_to(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY)); in test_handler_post_w_task()
230 …TEST_ASSERT_EQUAL(ESP_ERR_TIMEOUT, esp_event_post_to(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, NU… in test_handler_post_w_task()
239 esp_event_loop_handle_t* loop = (esp_event_loop_handle_t*) event_data; in test_handler_post_wo_task() local
246 … TEST_ESP_OK(esp_event_post_to(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY)); in test_handler_post_wo_task()
255 … TEST_ESP_OK(esp_event_post_to(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY)); in test_handler_post_wo_task()
256 …TEST_ASSERT_EQUAL(ESP_ERR_TIMEOUT, esp_event_post_to(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, NU… in test_handler_post_wo_task()
263 esp_event_loop_handle_t* loop = (esp_event_loop_handle_t*) event_data; in test_handler_unregister_itself() local
269 …TEST_ESP_OK(esp_event_handler_unregister_with(*loop, event_base, event_id, test_handler_unregister… in test_handler_unregister_itself()
274 esp_event_loop_handle_t* loop = (esp_event_loop_handle_t*) event_data; in test_handler_instance_unregister_itself() local
282 TEST_ESP_OK(esp_event_handler_instance_unregister_with(*loop, event_base, event_id, *context)); in test_handler_instance_unregister_itself()
367 esp_event_loop_handle_t loop; variable
379 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
381 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, t…
383 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
385 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
389 TEST_ESP_OK(esp_event_loop_delete(loop));
399 esp_event_loop_handle_t loop; variable
411 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
417 …TEST_ESP_OK(esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, test_event…
418 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
420 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
424 …TEST_ESP_OK(esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, test_event…
425 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
427 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
430 TEST_ESP_OK(esp_event_loop_delete(loop));
440 esp_event_loop_handle_t loop; variable
461 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
463 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, t…
464 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, t…
466 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
468 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
473 TEST_ESP_OK(esp_event_loop_delete(loop));
484 esp_event_loop_handle_t loop; variable
496 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
498 …TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, T…
499 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
501 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
505 TEST_ESP_OK(esp_event_loop_delete(loop));
515 esp_event_loop_handle_t loop; variable
528 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
530 …TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_event_handler_instance_register_with(loop, ESP_EVENT_AN…
531 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
533 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
537 TEST_ESP_OK(esp_event_loop_delete(loop));
547 esp_event_loop_handle_t loop; variable
559 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
561 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, ESP_EVENT_ANY_ID, test_event_simpl…
564 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
565 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
566 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
570 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
571 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
572 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
575 TEST_ESP_OK(esp_event_loop_delete(loop));
585 esp_event_loop_handle_t loop; variable
599 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
601 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, s_test_base1, ESP_EVENT_ANY_ID, test_ev…
604 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
605 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
606 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
610 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
611 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
612 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
615 TEST_ESP_OK(esp_event_loop_delete(loop));
625 esp_event_loop_handle_t loop; variable
637 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
639 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_event_s…
642 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
643 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
644 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
648 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
649 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
653 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
654 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
657 TEST_ESP_OK(esp_event_loop_delete(loop));
667 esp_event_loop_handle_t loop; variable
681 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
683 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, tes…
686 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
687 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
688 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
692 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
693 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
697 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
698 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
701 TEST_ESP_OK(esp_event_loop_delete(loop));
711 esp_event_loop_handle_t loop; variable
723 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
725 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_event_s…
728 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
729 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
730 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
731 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
735 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_MAX, NULL, 0, portMAX_DELAY));
736 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE2_MAX, NULL, 0, portMAX_DELAY));
737 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
740 TEST_ESP_OK(esp_event_loop_delete(loop));
750 esp_event_loop_handle_t loop; variable
764 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
766 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, tes…
769 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
770 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
771 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
772 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
776 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_MAX, NULL, 0, portMAX_DELAY));
777 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE2_MAX, NULL, 0, portMAX_DELAY));
778 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
781 TEST_ESP_OK(esp_event_loop_delete(loop));
795 esp_event_loop_handle_t loop; variable
807 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
813 …TEST_ESP_OK(esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, test_event…
814 …TEST_ESP_OK(esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, test_event…
816 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, ESP_EVENT_ANY_ID, test_event_simpl…
817 …TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, T…
818 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_event_s…
819 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV2, test_event_s…
820 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base2, TEST_EVENT_BASE1_EV1, test_event_s…
822 …TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_event_post_to(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_I…
823 …TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_event_post_to(loop, s_test_base1, ESP_EVENT_ANY_ID, NUL…
824 …TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_event_post_to(loop, ESP_EVENT_ANY_BASE, TEST_EVENT_BASE…
825 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY)); …
826 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY)); …
829 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_MAX, NULL, 0, portMAX_DELAY)); …
830 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE2_MAX, NULL, 0, portMAX_DELAY)); …
832 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
836 TEST_ESP_OK(esp_event_loop_delete(loop));
849 esp_event_loop_handle_t loop; variable
853 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
862 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_event_s…
863 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base2, TEST_EVENT_BASE1_EV1, test_event_s…
865 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
866 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
868 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
872 …TEST_ESP_OK(esp_event_handler_unregister_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_event…
874 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
875 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
877 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
881 TEST_ESP_OK(esp_event_loop_delete(loop));
894 esp_event_loop_handle_t loop; variable
898 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
909 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, tes…
911 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
913 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
917 …TEST_ESP_OK(esp_event_handler_instance_unregister_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, c…
919 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
921 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
925 TEST_ESP_OK(esp_event_loop_delete(loop));
938 esp_event_loop_handle_t loop; variable
942 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
954 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_handler…
955 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV2, test_handler…
956 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base2, TEST_EVENT_BASE2_EV1, test_handler…
957 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base2, TEST_EVENT_BASE2_EV2, test_handler…
959 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, &loop, sizeof(loop), portM…
960 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
964 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, &loop, sizeof(loop), portM…
965 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE2_EV1, &loop, sizeof(loop), portM…
966 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
970 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE2_EV2, &loop, sizeof(loop), portM…
971 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
975 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, &loop, sizeof(loop), portM…
976 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, &loop, sizeof(loop), portM…
977 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE2_EV1, &loop, sizeof(loop), portM…
978 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE2_EV2, &loop, sizeof(loop), portM…
979 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
982 TEST_ESP_OK(esp_event_loop_delete(loop));
993 esp_event_loop_handle_t loop; variable
997 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
1008 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, tes…
1010 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, &loop, sizeof(loop), portM…
1011 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1016 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, &loop, sizeof(loop), portM…
1017 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1020 TEST_ESP_OK(esp_event_loop_delete(loop));
1032 esp_event_loop_handle_t loop; variable
1036 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
1044 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_event_p…
1049 .loop = loop,
1073 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(runtime_ms)));
1088 TEST_ESP_OK(esp_event_loop_delete(loop));
1103 esp_event_loop_handle_t loop; variable
1106 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
1116 registration_data[i].loop = loop;
1147 …TEST_ASSERT_TRUE(esp_event_is_handler_registered(loop, base, id, registration_data[i].handles[j]));
1162 unregistration_data[i].loop = loop;
1191 …TEST_ASSERT_FALSE(esp_event_is_handler_registered(loop, base, id, registration_data[i].handles[j])…
1211 TEST_ESP_OK(esp_event_loop_delete(loop));
1219 esp_event_loop_handle_t loop; variable
1231 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
1233 …TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_event_post_to(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_I…
1234 …TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_event_post_to(loop, s_test_base1, ESP_EVENT_ANY_ID, NUL…
1235 …TEST_ASSERT_EQUAL(ESP_ERR_INVALID_ARG, esp_event_post_to(loop, ESP_EVENT_ANY_BASE, TEST_EVENT_BASE…
1237 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1241 TEST_ESP_OK(esp_event_loop_delete(loop));
1256 esp_event_loop_handle_t loop; variable
1262 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
1271 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_event_s…
1280 post_event_data[i].loop = loop;
1296 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1304 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1317 TEST_ESP_OK(esp_event_loop_delete(loop));
1332 esp_event_loop_handle_t loop; variable
1338 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
1349 …TEST_ESP_OK(esp_event_handler_instance_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, tes…
1358 post_event_data[i].loop = loop;
1374 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1382 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1395 TEST_ESP_OK(esp_event_loop_delete(loop));
1426 esp_event_loop_handle_t loop; in performance_test() local
1432 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop)); in performance_test()
1439 …TEST_ESP_OK(esp_event_handler_register_with(loop, test_base + base, id, test_event_performance_han… in performance_test()
1446 …xTaskCreate(loop_run_task, "loop_run", loop_args.task_stack_size, (void*) loop, loop_args.task_pri… in performance_test()
1494 …TEST_ESP_OK(esp_event_post_to(loop, test_base + post_bases[base], post_ids[id], NULL, 0, portMAX_D… in performance_test()
1514 ((esp_event_loop_instance_t*) loop)->task = mtask; in performance_test()
1517 TEST_ESP_OK(esp_event_loop_delete(loop)); in performance_test()
1793 esp_event_loop_handle_t* loop = (esp_event_loop_handle_t*) event_arg; in test_registration_from_handler_hdlr() local
1794 …TEST_ESP_OK(esp_event_handler_register_with(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, test_event_… in test_registration_from_handler_hdlr()
1795 …TEST_ESP_OK(esp_event_handler_register_with(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, test_event_… in test_registration_from_handler_hdlr()
1796 …TEST_ESP_OK(esp_event_handler_register_with(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, test_event_… in test_registration_from_handler_hdlr()
1801 esp_event_loop_handle_t* loop = (esp_event_loop_handle_t*) event_arg; in test_unregistration_from_handler_hdlr() local
1802 …TEST_ESP_OK(esp_event_handler_unregister_with(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, test_even… in test_unregistration_from_handler_hdlr()
1803 …TEST_ESP_OK(esp_event_handler_unregister_with(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, test_even… in test_unregistration_from_handler_hdlr()
1804 …TEST_ESP_OK(esp_event_handler_unregister_with(*loop, s_test_base1, TEST_EVENT_BASE1_EV2, test_even… in test_unregistration_from_handler_hdlr()
1811 esp_event_loop_handle_t loop; variable
1816 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
1820 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_registr…
1821 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base2, TEST_EVENT_BASE2_EV1, test_unregis…
1823 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, &loop, sizeof(&loop), port…
1824 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1826 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
1827 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1831 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE2_EV1, &loop, sizeof(&loop), port…
1832 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1834 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
1835 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1839 TEST_ESP_OK(esp_event_loop_delete(loop));
1859 esp_event_loop_handle_t loop; variable
1865 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
1867 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_create_…
1868 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV2, test_create_…
1870 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
1871 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1873 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, NULL, 0, portMAX_DELAY));
1874 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1876 TEST_ESP_OK(esp_event_loop_delete(loop));
1885 esp_event_loop_handle_t loop; variable
1889 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
1899 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base2, TEST_EVENT_BASE2_EV1, test_event_o…
1900 …TEST_ESP_OK(esp_event_handler_register_with(loop, ESP_EVENT_ANY_BASE, ESP_EVENT_ANY_ID, test_event…
1901 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, ESP_EVENT_ANY_ID, test_event_order…
1902 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base2, TEST_EVENT_BASE2_EV2, test_event_o…
1903 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV1, test_event_o…
1904 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base2, ESP_EVENT_ANY_ID, test_event_order…
1905 …TEST_ESP_OK(esp_event_handler_register_with(loop, s_test_base1, TEST_EVENT_BASE1_EV2, test_event_o…
1916 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV2, &dptr, sizeof(dptr), portM…
1917 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, &dptr, sizeof(dptr), portM…
1918 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV2, &dptr, sizeof(dptr), portM…
1919 …TEST_ESP_OK(esp_event_post_to(loop, s_test_base2, TEST_EVENT_BASE1_EV1, &dptr, sizeof(dptr), portM…
1921 TEST_ESP_OK(esp_event_loop_run(loop, pdMS_TO_TICKS(10)));
1930 TEST_ESP_OK(esp_event_loop_delete(loop));
1940 esp_event_loop_handle_t loop; variable
1944 TEST_ESP_OK(esp_event_loop_create(&loop_args, &loop));
1947 esp_event_loop_instance_t* loop_def = (esp_event_loop_instance_t*) loop;
1949 … TEST_ESP_OK(esp_event_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, NULL, 0, portMAX_DELAY));
1956 …TEST_ESP_OK(esp_event_isr_post_to(loop, s_test_base1, TEST_EVENT_BASE1_EV1, &sample, sizeof(sample…
1962 TEST_ESP_OK(esp_event_loop_delete(loop));