Home
last modified time | relevance | path

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

/libnativehelper/tests/
DJniSafeRegisterNativeMethods_test.cpp381 #define IS_VALID_JNI_FUNCTION_TYPE(native_kind, func) \ in TEST() argument
382 (IsValidJniFunctionType<native_kind, decltype(func), (func)>()) in TEST()
383 #define IS_VALID_NORMAL_JNI_FUNCTION_TYPE(func) IS_VALID_JNI_FUNCTION_TYPE(kNormalNative, func) in TEST() argument
384 #define IS_VALID_CRITICAL_JNI_FUNCTION_TYPE(func) IS_VALID_JNI_FUNCTION_TYPE(kCriticalNative, func) in TEST() argument
386 #define EXPECT_ILLEGAL_JNI_FUNCTION_TYPE(func) \ in TEST() argument
388 EXPECT_FALSE(IS_VALID_CRITICAL_JNI_FUNCTION_TYPE(func)); \ in TEST()
389 EXPECT_FALSE(IS_VALID_NORMAL_JNI_FUNCTION_TYPE(func)); \ in TEST()
392 #define EXPECT_NORMAL_JNI_FUNCTION_TYPE(func) \ in TEST() argument
394 EXPECT_FALSE(IS_VALID_CRITICAL_JNI_FUNCTION_TYPE(func)); \ in TEST()
395 EXPECT_TRUE(IS_VALID_NORMAL_JNI_FUNCTION_TYPE(func)); \ in TEST()
[all …]