Home
last modified time | relevance | path

Searched refs:jniEnv (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_sensor_SensorService.cpp246 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in onProximityActive() local
247 jniEnv->CallVoidMethod(mListener, sMethodIdOnProximityActive, static_cast<jboolean>(isActive)); in onProximityActive()
260 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in onConfigurationChanged() local
261 return jniEnv->CallIntMethod(mCallback, sMethodIdRuntimeSensorOnConfigurationChanged, in onConfigurationChanged()
271 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in onDirectChannelCreated() local
272 jobject jfd = jniCreateFileDescriptor(jniEnv, fd); in onDirectChannelCreated()
273 jobject parcelFileDescriptor = newParcelFileDescriptor(jniEnv, jfd); in onDirectChannelCreated()
274 return jniEnv->CallIntMethod(mCallback, sMethodIdRuntimeSensorOnDirectChannelCreated, in onDirectChannelCreated()
280 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in onDirectChannelDestroyed() local
281 return jniEnv->CallVoidMethod(mCallback, sMethodIdRuntimeSensorOnDirectChannelDestroyed, in onDirectChannelDestroyed()
[all …]
Dcom_android_server_vibrator_VibratorManagerService.cpp49 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in ~NativeVibratorManagerService() local
50 jniEnv->DeleteGlobalRef(mCallbackListener); in ~NativeVibratorManagerService()
57 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in createCallback() local
58 jniEnv->CallVoidMethod(mCallbackListener, sMethodIdOnComplete, vibrationId); in createCallback()
Dcom_android_server_input_InputManagerService.cpp470 static inline JNIEnv* jniEnv() { return AndroidRuntime::getJNIEnv(); } in jniEnv() function in android::NativeInputManager
475 JNIEnv* env = jniEnv(); in NativeInputManager()
485 JNIEnv* env = jniEnv(); in ~NativeInputManager()
580 JNIEnv* env = jniEnv(); in getReaderConfiguration()
715 JNIEnv* env = jniEnv(); in readMapFromInterleavedJavaArray()
793 JNIEnv* env = jniEnv(); in notifyStickyModifierStateChanged()
800 JNIEnv* env = jniEnv(); in getParentSurfaceForPointers()
815 JNIEnv* env = jniEnv(); in ensureSpriteControllerLocked()
832 JNIEnv* env = jniEnv(); in notifyInputDevicesChanged()
865 JNIEnv* env = jniEnv(); in getKeyboardLayoutOverlay()
[all …]
Dcom_android_server_vibrator_VibratorController.cpp117 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in ~VibratorControllerWrapper() local
118 jniEnv->DeleteGlobalRef(mCallbackListener); in ~VibratorControllerWrapper()
141 auto jniEnv = GetOrAttachJNIEnvironment(sJvm); in createCallback() local
142 jniEnv->CallVoidMethod(mCallbackListener, sMethodIdOnComplete, mVibratorId, in createCallback()