Searched refs:sensorClass (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 84 jclass sensorClass = (jclass) _env->NewGlobalRef(_env->FindClass("android/hardware/Sensor")); in nativeClassInit() local 85 sensorOffsets.clazz = sensorClass; in nativeClassInit() 86 sensorOffsets.name = _env->GetFieldID(sensorClass, "mName", "Ljava/lang/String;"); in nativeClassInit() 87 sensorOffsets.vendor = _env->GetFieldID(sensorClass, "mVendor", "Ljava/lang/String;"); in nativeClassInit() 88 sensorOffsets.version = _env->GetFieldID(sensorClass, "mVersion", "I"); in nativeClassInit() 89 sensorOffsets.handle = _env->GetFieldID(sensorClass, "mHandle", "I"); in nativeClassInit() 90 sensorOffsets.range = _env->GetFieldID(sensorClass, "mMaxRange", "F"); in nativeClassInit() 91 sensorOffsets.resolution = _env->GetFieldID(sensorClass, "mResolution","F"); in nativeClassInit() 92 sensorOffsets.power = _env->GetFieldID(sensorClass, "mPower", "F"); in nativeClassInit() 93 sensorOffsets.minDelay = _env->GetFieldID(sensorClass, "mMinDelay", "I"); in nativeClassInit() [all …]
|