Home
last modified time | relevance | path

Searched refs:mNumSensors (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/util/sensortest/
Dsensortest.cpp36 int mNumSensors; variable
54 for (int i = 0; i < mNumSensors; i++) { in printSensorList()
57 for (int j = 0; j < mNumSensors; j++) { in printSensorList()
73 for (int i = 0; i < mNumSensors; i++) { in findSensorTypeInSensorList()
202 mNumSensors = ASensorManager_getSensorList(mSensorManager, &mSensorList); in main()
/device/google/contexthub/firmware/src/
DhostIntf.c103 static uint8_t mNumSensors; variable
536 for (i = 0; i < mNumSensors; i++, mLastSensor = (mLastSensor + 1) % mNumSensors) { in hostIntfPacketDequeue()
541 mLastSensor = (mLastSensor + 1) % mNumSensors; in hostIntfPacketDequeue()
617 mNumSensors = 0; in initSensors()
670 mNumSensors++; in initSensors()
683 mActiveSensorTable = heapAlloc(mNumSensors * sizeof(struct ActiveSensor)); in initSensors()
684 memset(mActiveSensorTable, 0x00, mNumSensors * sizeof(struct ActiveSensor)); in initSensors()
690 for (i = SENS_TYPE_INVALID + 1, j = 0; i <= SENS_TYPE_LAST_USER && j < mNumSensors; i++) { in initSensors()
1107 for (i = 0, cnt = 0; i < mNumSensors && cnt < mLatencyCnt; i++) { in hostIntfHandleEvent()