Searched refs:mNumSensors (Results 1 – 2 of 2) sorted by relevance
36 int mNumSensors; variable54 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()
103 static uint8_t mNumSensors; variable536 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()