Searched refs:gjni (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | convert.cpp | 164 } gjni; variable 167 if (env->IsInstanceOf(obj, gjni.String.clazz)) { in CastToString() 230 auto runtimeExc = make_javaref(env, env->NewObject(gjni.RuntimeException.clazz, in ThrowParcelableRuntimeException() 231 gjni.RuntimeException.cstor, jMsg.get())); in ThrowParcelableRuntimeException() 232 auto parcelableExc = make_javaref(env, env->NewObject(gjni.ParcelableException.clazz, in ThrowParcelableRuntimeException() 233 gjni.ParcelableException.cstor, runtimeExc.get())); in ThrowParcelableRuntimeException() 286 auto len = (jList == nullptr) ? 0 : env->CallIntMethod(jList, gjni.List.size); in StringListToHal() 291 jList, gjni.List.get, i))); in StringListToHal() 301 auto jInfo = make_javaref(env, env->NewObject(gjni.HashMap.clazz, gjni.HashMap.cstor)); in VendorInfoFromHal() 306 env->CallObjectMethod(jInfo.get(), gjni.Map.put, jKey.get(), jValue.get()); in VendorInfoFromHal() [all …]
|
D | TunerCallback.cpp | 73 } gjni; variable 162 env->CallVoidMethod(mJCallback, gjni.TunerCallback.handleHwFailure); in hardwareFailure() 176 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onConfigurationChanged, in configChange() 179 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onError, TunerError::CONFIG); in configChange() 203 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onCurrentProgramInfoChanged, in tuneComplete() 224 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onError, cause); in tuneComplete_1_1() 239 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onAntennaState, connected); in antennaStateChange() 249 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onTrafficAnnouncement, active); in trafficAnnouncement() 259 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onEmergencyAnnouncement, active); in emergencyAnnouncement() 288 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onCurrentProgramInfoChanged, in newMetadata() [all …]
|
D | BroadcastRadioService.cpp | 70 } gjni; variable 140 auto jModules = make_javaref(env, env->NewObject(gjni.ArrayList.clazz, gjni.ArrayList.cstor)); in nativeLoadModules() 197 env->CallBooleanMethod(jModules.get(), gjni.ArrayList.add, jModule.get()); in nativeLoadModules() 247 auto tuner = make_javaref(env, env->NewObject(gjni.Tuner.clazz, gjni.Tuner.cstor, in nativeOpenTuner() 303 gjni.Tuner.clazz = MakeGlobalRefOrDie(env, tunerClass); in register_android_server_broadcastradio_BroadcastRadioService() 304 gjni.Tuner.cstor = GetMethodIDOrDie(env, tunerClass, "<init>", in register_android_server_broadcastradio_BroadcastRadioService() 308 gjni.ArrayList.clazz = MakeGlobalRefOrDie(env, arrayListClass); in register_android_server_broadcastradio_BroadcastRadioService() 309 gjni.ArrayList.cstor = GetMethodIDOrDie(env, arrayListClass, "<init>", "()V"); in register_android_server_broadcastradio_BroadcastRadioService() 310 gjni.ArrayList.add = GetMethodIDOrDie(env, arrayListClass, "add", "(Ljava/lang/Object;)Z"); in register_android_server_broadcastradio_BroadcastRadioService()
|
D | Tuner.cpp | 70 } gjni; variable 111 return getNativeContext(env->GetLongField(jTuner.get(), gjni.Tuner.nativeContext)); in getNativeContext() 200 env->GetObjectField(tuner.get(), gjni.Tuner.tunerCallback)); in getNativeCallback() 204 return static_cast<Region>(env->GetIntField(obj, gjni.Tuner.region)); in getRegion() 355 jList = make_javaref(env, env->NewObject(gjni.ArrayList.clazz, gjni.ArrayList.cstor)); in nativeGetProgramList() 358 env->CallBooleanMethod(jList.get(), gjni.ArrayList.add, jProgram.get()); in nativeGetProgramList() 465 gjni.Tuner.nativeContext = GetFieldIDOrDie(env, tunerClass, "mNativeContext", "J"); in register_android_server_broadcastradio_Tuner() 466 gjni.Tuner.region = GetFieldIDOrDie(env, tunerClass, "mRegion", "I"); in register_android_server_broadcastradio_Tuner() 467 gjni.Tuner.tunerCallback = GetFieldIDOrDie(env, tunerClass, "mTunerCallback", in register_android_server_broadcastradio_Tuner() 471 gjni.ArrayList.clazz = MakeGlobalRefOrDie(env, arrayListClass); in register_android_server_broadcastradio_Tuner() [all …]
|