Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dsensor.cpp73 Sensor const* const* sensorList; in ASensorManager_getDefaultSensorEx() local
74 size_t size = static_cast<SensorManager*>(manager)->getSensorList(&sensorList); in ASensorManager_getDefaultSensorEx()
76 if (ASensor_getType(sensorList[i]) == type && in ASensorManager_getDefaultSensorEx()
77 ASensor_isWakeUpSensor(sensorList[i]) == wakeUp) { in ASensorManager_getDefaultSensorEx()
78 return reinterpret_cast<ASensor const *>(sensorList[i]); in ASensorManager_getDefaultSensorEx()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp214 Sensor const* const* sensorList; in nativeGetSensorAtIndex() local
215 ssize_t count = mgr->getSensorList(&sensorList); in nativeGetSensorAtIndex()
220 return translateNativeSensorToJavaSensor(env, sensor, *sensorList[index]) != NULL; in nativeGetSensorAtIndex()
224 nativeGetDynamicSensors(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensorList) { in nativeGetDynamicSensors() argument
237 env->CallBooleanMethod(sensorList, listOffsets.add, sensor); in nativeGetDynamicSensors()
/frameworks/native/services/sensorservice/
DSensorService.h212 void makeUuidsIntoIdsForSensorList(Vector<Sensor> &sensorList) const;
DSensorService.cpp859 void SensorService::makeUuidsIntoIdsForSensorList(Vector<Sensor> &sensorList) const { in makeUuidsIntoIdsForSensorList()
860 for (auto &sensor : sensorList) { in makeUuidsIntoIdsForSensorList()