Searched refs:mSensorList (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/util/sensortest/ |
D | sensortest.cpp | 35 ASensorList mSensorList; variable 58 if ((ASensor_getType(mSensorList[j]) > prevMinType) && in printSensorList() 59 (ASensor_getType(mSensorList[j]) < currMinType)) { in printSensorList() 60 currMinType = ASensor_getType(mSensorList[j]); in printSensorList() 65 printf("[%d] = \"%s\"\n", currMinType, ASensor_getName(mSensorList[currMinIndex])); in printSensorList() 74 if (ASensor_getType(mSensorList[i]) == type) { in findSensorTypeInSensorList() 202 mNumSensors = ASensorManager_getSensorList(mSensorManager, &mSensorList); in main() 216 …if (ASensorEventQueue_registerSensor(sensorEventQueue, mSensorList[mSensorConfigList[i].listIndex], in main() 244 …ASensorEventQueue_disableSensor(sensorEventQueue, mSensorList[mSensorConfigList[configListIndex].l… in main()
|
/device/google/contexthub/sensorhal/ |
D | sensors.cpp | 47 : mSensorList(kSensorList, kSensorList + kSensorCount), in SensorContext() 240 ALOGE("sensor p = %p, n = %zu", mSensorList.data(), mSensorList.size()); in getSensorList() 241 *list = mSensorList.data(); in getSensorList() 242 return mSensorList.size(); in getSensorList() 369 mSensorList.push_back(manager->getDynamicMetaSensor()); in initializeHalExtension()
|
D | sensors.h | 135 std::vector<sensor_t> mSensorList; member
|
/device/google/contexthub/firmware/os/core/ |
D | hostIntf.c | 109 static uint8_t mSensorList[SENS_TYPE_LAST_USER]; variable 552 mSensorList[sensorType - 1] < MAX_REGISTERED_SENSORS) in getActiveSensorByType() 553 sensor = mActiveSensorTable + mSensorList[sensorType - 1]; in getActiveSensorByType() 757 mSensorList[i] = MAX_REGISTERED_SENSORS; in initSensors() 764 mSensorList[i - 1] = j; in initSensors() 773 mSensorList[si->rawType - 1] = j; in initSensors() 779 mSensorList[si->biasType - 1] = j; in initSensors()
|