Home
last modified time | relevance | path

Searched refs:minInterval (Results 1 – 13 of 13) sorted by relevance

/system/chre/core/
Dgnss_manager.cc72 bool GnssSession::addRequest(Nanoapp *nanoapp, Milliseconds minInterval, in addRequest() argument
75 return configure(nanoapp, true /* enable */, minInterval, minTimeToNext, in addRequest()
127 request.minInterval.getMilliseconds(), in logStateToBuffer()
137 transition.minInterval.getMilliseconds(), in logStateToBuffer()
145 Nanoapp *nanoapp, bool enable, Milliseconds minInterval, in configure() argument
152 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
153 } else if (isInRequestedState(enable, minInterval, hasRequest)) { in configure()
155 instanceId, true /* success */, enable, minInterval, CHRE_ERROR_NONE, in configure()
157 } else if (stateTransitionIsRequired(enable, minInterval, hasRequest, in configure()
159 success = addRequestToQueue(instanceId, enable, minInterval, cookie); in configure()
[all …]
Dsensor_request_manager.cc218 info->minInterval = sensor.getMinInterval(); in getSensorInfo()
/system/chre/core/include/chre/core/
Dgnss_manager.h50 bool addRequest(Nanoapp *nanoapp, Milliseconds minInterval,
104 Milliseconds minInterval; member
123 Milliseconds minInterval; member
175 bool configure(Nanoapp *nanoapp, bool enable, Milliseconds minInterval,
202 Milliseconds minInterval, const void *cookie);
219 bool isInRequestedState(bool requestedState, Milliseconds minInterval,
235 bool requestedState, Milliseconds minInterval, bool nanoappHasRequest,
247 bool updateRequests(bool enable, Milliseconds minInterval,
264 Milliseconds minInterval, uint8_t errorCode, const void *cookie);
275 Milliseconds minInterval, uint8_t errorCode, const void *cookie);
[all …]
/system/chre/apps/chqts/src/general_test/
Dsensor_info_test.cc48 if ((mApiVersion < CHRE_API_VERSION_1_1) && (info.minInterval != 0)) { in validateSensorInfo()
51 } else if (info.minInterval == 0) { in validateSensorInfo()
56 info.minInterval, in validateSensorInfo()
/system/chre/platform/shared/
Dplatform_gnss.cc71 bool PlatformGnss::controlLocationSession(bool enable, Milliseconds minInterval, in controlLocationSession() argument
76 static_cast<uint32_t>(minInterval.getMilliseconds()), in controlLocationSession()
107 Milliseconds minInterval) { in controlMeasurementSession() argument
111 static_cast<uint32_t>(minInterval.getMilliseconds())); in controlMeasurementSession()
/system/chre/platform/include/chre/platform/
Dplatform_gnss.h58 bool controlLocationSession(bool enable, Milliseconds minInterval,
78 bool controlMeasurementSession(bool enable, Milliseconds minInterval);
/system/chre/platform/slpi/smgr/include/chre/target_platform/
Dplatform_sensor_base.h59 uint64_t minInterval; variable
/system/chre/platform/slpi/see/
Dplatform_sensor.cc297 uint64_t minInterval = sensorTypeIsOneShot(sensorType) ? in addSensor() local
307 sensor.initBase(sensorType, minInterval, sensorName, lastEvent, in addSensor()
577 SensorType sensorType,uint64_t minInterval, const char *sensorName, in initBase() argument
580 mMinInterval = minInterval; in initBase()
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc333 sensor.minInterval = sensorTypeIsOneShot(sensorType) ? in addSensor()
1074 uint8_t calType, uint64_t minInterval, in populateSensorRequest() argument
1090 isOneShot ? kDefaultInterval : std::max(minInterval, kDefaultInterval); in populateSensorRequest()
1183 uint64_t minInterval, const SensorRequest& request) { in makeBufferingReq() argument
1192 minInterval, sensorRequest.get()); in makeBufferingReq()
1235 sensor->calType, sensor->minInterval, request); in makeRequest()
1462 return minInterval; in getMinInterval()
1482 minInterval = other.minInterval; in operator =()
/system/chre/chre_api/include/chre_api/chre/
Dsensor.h431 uint64_t minInterval; member
/system/chre/chre_api/legacy/v1_1/chre/
Dsensor.h573 uint64_t minInterval; member
/system/bt/binder/android/bluetooth/
DIBluetoothGatt.aidl98 void leConnectionUpdate(int clientIf, String address, int minInterval, in leConnectionUpdate() argument
/system/chre/apps/sensor_world/
Dsensor_world.cc273 info.isOneShot, info.minInterval); in nanoappStart()