Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp446 static jint nativeEnableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jint rate_us, in nativeEnableSensor() argument
448 sp<Receiver> receiver(reinterpret_cast<Receiver *>(eventQ)); in nativeEnableSensor()
453 static jint nativeDisableSensor(JNIEnv *env, jclass clazz, jlong eventQ, jint handle) { in nativeDisableSensor() argument
454 sp<Receiver> receiver(reinterpret_cast<Receiver *>(eventQ)); in nativeDisableSensor()
458 static void nativeDestroySensorEventQueue(JNIEnv *env, jclass clazz, jlong eventQ) { in nativeDestroySensorEventQueue() argument
459 sp<Receiver> receiver(reinterpret_cast<Receiver *>(eventQ)); in nativeDestroySensorEventQueue()
464 static jint nativeFlushSensor(JNIEnv *env, jclass clazz, jlong eventQ) { in nativeFlushSensor() argument
465 sp<Receiver> receiver(reinterpret_cast<Receiver *>(eventQ)); in nativeFlushSensor()
469 static jint nativeInjectSensorData(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, in nativeInjectSensorData() argument
471 sp<Receiver> receiver(reinterpret_cast<Receiver *>(eventQ)); in nativeInjectSensorData()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java633 private static native int nativeEnableSensor(long eventQ, int handle, int rateUs, in nativeEnableSensor() argument
635 private static native int nativeDisableSensor(long eventQ, int handle); in nativeDisableSensor() argument
636 private static native void nativeDestroySensorEventQueue(long eventQ); in nativeDestroySensorEventQueue() argument
637 private static native int nativeFlushSensor(long eventQ); in nativeFlushSensor() argument
638 private static native int nativeInjectSensorData(long eventQ, int handle, in nativeInjectSensorData() argument