Home
last modified time | relevance | path

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

/art/runtime/mirror/
Dvar_handle_test.cc291 EXPECT_TRUE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kGet)); in TEST_F()
292 EXPECT_FALSE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kSet)); in TEST_F()
293 EXPECT_FALSE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kGetVolatile)); in TEST_F()
294 EXPECT_FALSE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kSetVolatile)); in TEST_F()
295 EXPECT_FALSE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kGetAcquire)); in TEST_F()
296 EXPECT_FALSE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kSetRelease)); in TEST_F()
297 EXPECT_FALSE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kGetOpaque)); in TEST_F()
298 EXPECT_FALSE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kSetOpaque)); in TEST_F()
299 EXPECT_FALSE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kCompareAndSet)); in TEST_F()
300 EXPECT_FALSE(fvh->IsAccessModeSupported(VarHandle::AccessMode::kCompareAndExchange)); in TEST_F()
[all …]
Dvar_handle.h98 bool IsAccessModeSupported(AccessMode accessMode) REQUIRES_SHARED(Locks::mutator_lock_) { in IsAccessModeSupported() function
/art/runtime/
Dvar_handles.cc73 if (!var_handle->IsAccessModeSupported(access_mode)) { in VarHandleInvokeAccessor()