Lines Matching refs:sensorManager
16 #define LOG_TAG "SensorManager"
30 #include <sensor/SensorManager.h>
150 return (jlong) &SensorManager::getInstanceForPackage(String16(opPackageNameUtf.c_str()));
199 nativeGetSensorAtIndex(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensor, jint index)
201 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager);
213 nativeGetDynamicSensors(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensorList) {
215 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager);
222 ALOGI("DYNS native SensorManager.getDynamicSensorList return %zu sensors", nativeList.size());
230 static jboolean nativeIsDataInjectionEnabled(JNIEnv *_env, jclass _this, jlong sensorManager) {
231 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager);
235 static jint nativeCreateDirectChannel(JNIEnv *_env, jclass _this, jlong sensorManager,
256 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager);
260 static void nativeDestroyDirectChannel(JNIEnv *_env, jclass _this, jlong sensorManager,
262 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager);
266 static jint nativeConfigDirectChannel(JNIEnv *_env, jclass _this, jlong sensorManager,
268 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager);
272 static jint nativeSetOperationParameter(JNIEnv *_env, jclass _this, jlong sensorManager,
274 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager);
423 static jlong nativeInitSensorEventQueue(JNIEnv *env, jclass clazz, jlong sensorManager,
425 SensorManager* mgr = reinterpret_cast<SensorManager*>(sensorManager);