Home
last modified time | relevance | path

Searched refs:kJavaMethods (Results 1 – 2 of 2) sorted by relevance

/packages/services/DeviceAsWebcam/jni/
DDeviceAsWebcamNative.cpp45 JavaMethods DeviceAsWebcamNative::kJavaMethods = {}; member in android::webcam::DeviceAsWebcamNative
80 kJavaMethods.setStreamConfig = GetMethodIdOrDie(e, clazz, "setStreamConfig", "(ZIII)V"); in registerJNIMethods()
81 kJavaMethods.startStreaming = GetMethodIdOrDie(e, clazz, "startStreaming", "()V"); in registerJNIMethods()
82 kJavaMethods.stopStreaming = GetMethodIdOrDie(e, clazz, "stopStreaming", "()V"); in registerJNIMethods()
83 kJavaMethods.stopService = GetMethodIdOrDie(e, clazz, "stopService", "()V"); in registerJNIMethods()
84 kJavaMethods.returnImage = GetMethodIdOrDie(e, clazz, "returnImage", "(J)V"); in registerJNIMethods()
120 env->CallVoidMethod(thiz, kJavaMethods.setStreamConfig, jMjpeg, jWidth, jHeight, jFps); in setStreamConfig()
125 env->CallVoidMethod(thiz, kJavaMethods.startStreaming); in startStreaming()
129 env->CallVoidMethod(thiz, kJavaMethods.stopStreaming); in stopStreaming()
135 env->CallVoidMethod(thiz, kJavaMethods.returnImage, jTimestamp); in returnImage()
[all …]
DDeviceAsWebcamNative.h92 static JavaMethods kJavaMethods; variable