Home
last modified time | relevance | path

Searched refs:isOneShot (Results 1 – 25 of 28) sorted by relevance

12

/system/chre/core/include/chre/core/
Dtimer_pool.h65 const void *cookie, bool isOneShot) { in setNanoappTimer() argument
69 SystemCallbackType::FirstCallbackType, isOneShot); in setNanoappTimer()
146 bool isOneShot; member
210 SystemCallbackType callbackType, bool isOneShot);
Dsensor.h100 bool isOneShot() const { in isOneShot() function
101 return SensorTypeHelpers::isOneShot(getSensorType()); in isOneShot()
Dsensor_type_helpers.h37 static bool isOneShot(uint8_t sensorType) { in isOneShot() function
/system/chre/core/
Dtimer_pool.cc75 bool isOneShot) { in setTimer() argument
86 timerRequest.isOneShot = isOneShot; in setTimer()
293 if (request.isOneShot && request.instanceId == kSystemInstanceId) { in rescheduleAndRemoveExpiredTimersLocked()
297 copyRequest.expirationTime = request.isOneShot in rescheduleAndRemoveExpiredTimersLocked()
351 if (currentTimerRequest.isOneShot) { in handleTimerExpiredCallback()
Dsensor.cc73 info->isOneShot = isOneShot(); in populateSensorInfo()
Dsensor_request_manager.cc44 } else if (!isRequestOff && isRequestOneShot != sensor.isOneShot()) { in isSensorRequestValid()
178 if (sensor.isOneShot()) { in setSensorRequest()
423 } else if (mSensors[sensorHandle].isOneShot()) { in flushAsync()
447 mSensors[sensorHandle].isOneShot()) { in releaseSensorDataEvent()
514 if (sensor == nullptr || sensor->isOneShot()) { in handleSamplingStatusUpdate()
/system/chre/platform/linux/task_util/
Dtask.cc23 uint32_t id, bool isOneShot) in Task() argument
25 mRepeatInterval(isOneShot ? std::chrono::nanoseconds(0) in Task()
Dtask_manager.cc40 bool isOneShot) { in addTask() argument
52 Task task(func, intervalOrDelay, returnId, isOneShot); in addTask()
/system/chre/platform/linux/include/chre/platform/linux/task_util/
Dtask_manager.h70 bool isOneShot = false);
Dtask.h61 uint32_t id, bool isOneShot = false);
/system/chre/apps/test/common/chre_api_test/src/
Dchre_api_test_service.cc150 response.isOneShot = sensorInfo.isOneShot; in validateInputAndCallChreGetSensorInfo()
163 response.sensorType, response.isOnChange, response.isOneShot, in validateInputAndCallChreGetSensorInfo()
/system/chre/chre_api/legacy/v1_2/chre/
Dsensor.h416 uint8_t isOneShot : 1; member
/system/chre/chre_api/legacy/v1_0/chre/
Dsensor.h436 uint8_t isOneShot : 1; member
/system/chre/chre_api/legacy/v1_3/chre/
Dsensor.h535 uint8_t isOneShot : 1; member
/system/chre/chre_api/legacy/v1_4/chre/
Dsensor.h537 uint8_t isOneShot : 1; member
/system/chre/chre_api/legacy/v1_9/chre/
Dsensor.h581 uint8_t isOneShot : 1; member
/system/chre/chre_api/legacy/v1_5/chre/
Dsensor.h578 uint8_t isOneShot : 1; member
/system/chre/chre_api/include/chre_api/chre/
Dsensor.h591 uint8_t isOneShot : 1; member
/system/chre/platform/linux/
Dpal_sensor.cc45 .isOneShot = 0,
/system/chre/chre_api/legacy/v1_8/chre/
Dsensor.h578 uint8_t isOneShot : 1; member
/system/chre/chre_api/legacy/v1_6/chre/
Dsensor.h578 uint8_t isOneShot : 1; member
/system/chre/chre_api/legacy/v1_7/chre/
Dsensor.h578 uint8_t isOneShot : 1; member
/system/chre/chre_api/legacy/v1_1/chre/
Dsensor.h558 uint8_t isOneShot : 1; member
/system/chre/apps/sensor_world/
Dsensor_world.cc319 sensor.info.isOneShot ? CHRE_SENSOR_CONFIGURE_MODE_ONE_SHOT in handleTimerEvent()
448 info.sensorName, info.sensorType, info.isOnChange, info.isOneShot, in nanoappStart()
/system/chre/platform/slpi/see/
Dplatform_sensor_manager.cc338 SensorTypeHelpers::isOneShot(sensorType) in addSensor()
390 || (SensorTypeHelpers::isOneShot(sensorType) && in isStreamTypeCorrect()

12