Home
last modified time | relevance | path

Searched refs:SH_HANDLE (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libsemanage/tests/
Dtest_handle.c94 setup_handle(SH_HANDLE); in test_connect()
97 cleanup_handle(SH_HANDLE); in test_connect()
100 setup_handle_invalid_store(SH_HANDLE); in test_connect()
102 cleanup_handle(SH_HANDLE); in test_connect()
105 setup_handle(SH_HANDLE); in test_connect()
108 cleanup_handle(SH_HANDLE); in test_connect()
116 cleanup_handle(SH_HANDLE); in test_disconnect()
127 cleanup_handle(SH_HANDLE); in test_transaction()
155 setup_handle(SH_HANDLE); in test_is_connected()
175 setup_handle(SH_HANDLE); in test_access_check()
[all …]
Dtest_bool.c455 helper_bool_create(SH_HANDLE); in test_bool_create()
566 setup_handle(SH_HANDLE); in test_bool_count()
569 cleanup_handle(SH_HANDLE); in test_bool_count()
597 setup_handle(SH_HANDLE); in helper_bool_iterate_invalid()
600 cleanup_handle(SH_HANDLE); in helper_bool_iterate_invalid()
625 setup_handle(SH_HANDLE); in helper_bool_list_invalid()
631 cleanup_handle(SH_HANDLE); in helper_bool_list_invalid()
797 setup_handle(SH_HANDLE); in test_bool_count_local()
799 cleanup_handle(SH_HANDLE); in test_bool_count_local()
846 setup_handle(SH_HANDLE); in test_bool_iterate_local()
[all …]
Dtest_fcontext.c521 helper_fcontext_create(SH_HANDLE); in test_fcontext_create()
653 setup_handle(SH_HANDLE); in test_fcontext_count()
656 cleanup_handle(SH_HANDLE); in test_fcontext_count()
686 setup_handle(SH_HANDLE); in helper_fcontext_iterate_invalid()
694 cleanup_handle(SH_HANDLE); in helper_fcontext_iterate_invalid()
726 setup_handle(SH_HANDLE); in helper_fcontext_list_invalid()
734 cleanup_handle(SH_HANDLE); in helper_fcontext_list_invalid()
910 setup_handle(SH_HANDLE); in test_fcontext_count_local()
912 cleanup_handle(SH_HANDLE); in test_fcontext_count_local()
956 setup_handle(SH_HANDLE); in test_fcontext_iterate_local()
[all …]
Dutilities.c242 if (level >= SH_HANDLE) in setup_handle()
259 if (level >= SH_HANDLE) in cleanup_handle()
267 CU_ASSERT(level >= SH_HANDLE); in setup_handle_invalid_store()
Dutilities.h75 typedef enum { SH_NULL, SH_HANDLE, SH_CONNECT, SH_TRANS } level_t; enumerator