Searched refs:kSensorNumber (Results 1 – 1 of 1) sorted by relevance
240 constexpr int kSensorNumber = sizeof(kAllSensors) / sizeof(kAllSensors[0]); variable242 static_assert(kSensorNumber == sizeof(kQemuSensorName) / sizeof(kQemuSensorName[0]),245 int getSensorNumber() { return kSensorNumber; } in getSensorNumber()248 return h >= 0 && h < kSensorNumber; in isSensorHandleValid()