Home
last modified time | relevance | path

Searched refs:sensorInfo (Results 1 – 4 of 4) sorted by relevance

/system/chre/platform/linux/include/chre/target_platform/
Dplatform_sensor_base.h32 void initBase(struct chreSensorInfo *sensorInfo, uint32_t sensorHandle) { in initBase() argument
33 mSensorInfo = sensorInfo; in initBase()
48 void setSensorInfo(struct chreSensorInfo *sensorInfo) { in setSensorInfo() argument
49 mSensorInfo = sensorInfo; in setSensorInfo()
/system/chre/platform/slpi/see/
Dsee_helper.cc1359 for (const auto &sensorInfo : sensorInfos) { in getSensorTypeFromSensorInfo() local
1360 if (suidsMatch(sensorInfo.suid, suid)) { in getSensorTypeFromSensorInfo()
1362 if (sensorInfo.client == client) { in getSensorTypeFromSensorInfo()
1363 return sensorInfo.sensorType; in getSensorTypeFromSensorInfo()
1365 otherType = sensorInfo.sensorType; in getSensorTypeFromSensorInfo()
1743 const SensorInfo *sensorInfo = getSensorInfo(request.sensorType); in makeRequest() local
1744 if (sensorInfo == nullptr) { in makeRequest()
1757 if (suidsMatch(sensorInfo->suid, mResamplerSuid.value())) { in makeRequest()
1760 request, sensorInfo->physicalSuid, &msg, &msgLen); in makeRequest()
1772 sendReq(sensorInfo->client, sensorInfo->suid, nullptr /* syncData */, in makeRequest()
[all …]
/system/chre/apps/power_test/common/
Drequest_manager.cc240 struct chreSensorInfo sensorInfo; in requestAllSensors() local
243 chreGetSensorInfo(sensorHandle, &sensorInfo) && in requestAllSensors()
244 requestSensor(enable, kAllSensorTypes[i], sensorInfo.minInterval, in requestAllSensors()
/system/chre/apps/test/common/chre_cross_validator_sensor/src/
Dchre_cross_validator_sensor_manager.cc320 chreSensorInfo sensorInfo; in handleStartSensorMessage() local
321 if (!chreGetSensorInfo(handle, &sensorInfo)) { in handleStartSensorMessage()
327 std::max(intervalFromApInNs, sensorInfo.minInterval); in handleStartSensorMessage()