Lines Matching refs:NewGlobalRef
49 aioobe_ = reinterpret_cast<jclass>(env_->NewGlobalRef(aioobe.get())); in SetUp()
53 ase_ = reinterpret_cast<jclass>(env_->NewGlobalRef(ase.get())); in SetUp()
58 sioobe_ = reinterpret_cast<jclass>(env_->NewGlobalRef(sioobe.get())); in SetUp()
1456 jobject global = env_->NewGlobalRef(local); in TEST_F()
1488 jobject new_global_ref = env_->NewGlobalRef(weak_global); in TEST_F()
2101 EXPECT_EQ(env_->NewGlobalRef(nullptr), nullptr); in TEST_F()
2104 TEST_F(JniInternalTest, NewGlobalRef) { in TEST_F() argument
2107 jobject o = env_->NewGlobalRef(s); in TEST_F()
2125 jobject o = env_->NewGlobalRef(s); in TEST_F()
2144 jobject o1 = env_->NewGlobalRef(s); in TEST_F()
2146 jobject o2 = env_->NewGlobalRef(s); in TEST_F()
2421 global_ref = env_->NewGlobalRef(object); in TEST_F()
2489 return gOriginalEnv->NewGlobalRef(env, o); in CountNewGlobalRef()
2498 env_override.NewGlobalRef = CountNewGlobalRef; in TEST_F()
2507 jobject global = env_->NewGlobalRef(local); in TEST_F()
2514 jobject global2 = env_->NewGlobalRef(local); in TEST_F()