Lines Matching refs:jenv_
66 jenv_(jni_cache_ ? jni_cache->GetEnv() : nullptr), in Calendar()
67 calendar_(nullptr, jenv_) {} in Calendar()
71 if (!jni_cache_ || !jenv_) { in Initialize()
90 JniHelper::NewStringUTF(jenv_, time_zone.c_str())); in Initialize()
93 JniHelper::CallStaticObjectMethod(jenv_, jni_cache_->timezone_class.get(), in Initialize()
102 ScopedLocalRef<jobject> java_locale(nullptr, jenv_); in Initialize()
106 JniHelper::NewStringUTF(jenv_, locale.c_str())); in Initialize()
110 JniHelper::CallStaticObjectMethod(jenv_, jni_cache_->locale_class.get(), in Initialize()
117 JniHelper::NewStringUTF(jenv_, GetFirstBcp47Tag(locale).c_str())); in Initialize()
120 java_locale, JniHelper::NewObject(jenv_, jni_cache_->locale_class.get(), in Initialize()
132 jenv_, jni_cache_->calendar_class.get(), in Initialize()
141 if (!JniHelper::CallVoidMethod(jenv_, calendar_.get(), in Initialize()
152 if (!jni_cache_ || !jenv_ || !calendar_) return false; in GetFirstDayOfWeek()
156 JniHelper::CallIntMethod(jenv_, calendar_.get(), in GetFirstDayOfWeek()
162 if (!jni_cache_ || !jenv_ || !calendar_) return false; in GetTimeInMillis()
166 JniHelper::CallLongMethod(jenv_, calendar_.get(), in GetTimeInMillis()
183 if (!jni_cache_ || !jenv_ || !calendar_) return false; \
184 return Calendar##KIND(jni_cache_, jenv_, calendar_.get(), \