Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dvar_handle_test.cc1096 EXPECT_FALSE(VarHandle::GetAccessModeByMethodName(nullptr, &access_mode)); in TEST_F()
1097 EXPECT_FALSE(VarHandle::GetAccessModeByMethodName("", &access_mode)); in TEST_F()
1098 EXPECT_FALSE(VarHandle::GetAccessModeByMethodName("CompareAndExchange", &access_mode)); in TEST_F()
1099 EXPECT_FALSE(VarHandle::GetAccessModeByMethodName("compareAndExchangX", &access_mode)); in TEST_F()
1102 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("compareAndExchange", &access_mode)); in TEST_F()
1104 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("compareAndExchangeAcquire", &access_mode)); in TEST_F()
1106 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("compareAndExchangeRelease", &access_mode)); in TEST_F()
1108 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("compareAndSet", &access_mode)); in TEST_F()
1110 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("get", &access_mode)); in TEST_F()
1112 EXPECT_TRUE(VarHandle::GetAccessModeByMethodName("getAcquire", &access_mode)); in TEST_F()
[all …]
Dvar_handle.h161 static bool GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode);
Dvar_handle.cc1476 if (!GetAccessModeByMethodName(accessor_name, &access_mode)) { in GetReturnTypeDescriptor()
1539 bool VarHandle::GetAccessModeByMethodName(const char* method_name, AccessMode* access_mode) { in GetAccessModeByMethodName() function in art::mirror::VarHandle