Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dsensor.cpp93 Sensor const* const* sensorList; in ASensorManager_getDefaultSensorEx() local
94 size_t size = static_cast<SensorManager*>(manager)->getSensorList(&sensorList); in ASensorManager_getDefaultSensorEx()
96 if (ASensor_getType(sensorList[i]) == type && in ASensorManager_getDefaultSensorEx()
97 ASensor_isWakeUpSensor(sensorList[i]) == wakeUp) { in ASensorManager_getDefaultSensorEx()
98 return reinterpret_cast<ASensor const *>(sensorList[i]); in ASensorManager_getDefaultSensorEx()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp203 Sensor const* const* sensorList; in nativeGetSensorAtIndex() local
204 ssize_t count = mgr->getSensorList(&sensorList); in nativeGetSensorAtIndex()
209 return translateNativeSensorToJavaSensor(env, sensor, *sensorList[index]) != NULL; in nativeGetSensorAtIndex()
213 nativeGetDynamicSensors(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensorList) { in nativeGetDynamicSensors() argument
226 env->CallBooleanMethod(sensorList, listOffsets.add, sensor); in nativeGetDynamicSensors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java127 List<Sensor> sensorList = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensorWithType() local
128 for (Sensor s : sensorList) { in findSensorWithType()
/frameworks/native/services/sensorservice/
DSensorService.h219 void makeUuidsIntoIdsForSensorList(Vector<Sensor> &sensorList) const;
DSensorService.cpp880 void SensorService::makeUuidsIntoIdsForSensorList(Vector<Sensor> &sensorList) const { in makeUuidsIntoIdsForSensorList()
881 for (auto &sensor : sensorList) { in makeUuidsIntoIdsForSensorList()