/system/chre/chre_api/include/chre_api/chre/ |
D | sensor.h | 611 uint32_t sensorHandle; member 633 uint32_t sensorHandle; member 673 bool chreGetSensorInfo(uint32_t sensorHandle, struct chreSensorInfo *info); 698 bool chreGetSensorSamplingStatus(uint32_t sensorHandle, 798 bool chreSensorConfigure(uint32_t sensorHandle, 809 uint32_t sensorHandle, enum chreSensorConfigureMode mode) { in chreSensorConfigureModeOnly() argument 810 return chreSensorConfigure(sensorHandle, in chreSensorConfigureModeOnly() 851 uint32_t sensorHandle, enum chreSensorConfigureMode mode, in chreSensorConfigureWithBatchInterval() argument 864 result = chreSensorConfigure(sensorHandle, mode, sampleInterval, in chreSensorConfigureWithBatchInterval() 926 bool chreSensorConfigureBiasEvents(uint32_t sensorHandle, bool enable); [all …]
|
D | sensor_types.h | 290 uint32_t sensorHandle; member
|
/system/chre/platform/shared/ |
D | chre_api_sensor.cc | 114 DLL_EXPORT bool chreGetSensorInfo(uint32_t sensorHandle, in chreGetSensorInfo() argument 123 getSensorInfo(sensorHandle, *nanoapp, info); in chreGetSensorInfo() 139 uint32_t sensorHandle, struct chreSensorSamplingStatus *status) { in chreGetSensorSamplingStatus() argument 145 getSensorSamplingStatus(sensorHandle, status); in chreGetSensorSamplingStatus() 150 DLL_EXPORT bool chreSensorConfigure(uint32_t sensorHandle, in chreSensorConfigure() argument 158 .setSensorRequest(nanoapp, sensorHandle, sensorRequest); in chreSensorConfigure() 161 DLL_EXPORT bool chreSensorConfigureBiasEvents(uint32_t sensorHandle, in chreSensorConfigureBiasEvents() argument 165 .configureBiasEvents(nanoapp, sensorHandle, enable); in chreSensorConfigureBiasEvents() 169 uint32_t sensorHandle, struct chreSensorThreeAxisData *bias) { in chreSensorGetThreeAxisBias() argument 171 .getThreeAxisBias(sensorHandle, bias); in chreSensorGetThreeAxisBias() [all …]
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | sensor.h | 478 uint32_t sensorHandle; member 511 bool chreGetSensorInfo(uint32_t sensorHandle, struct chreSensorInfo *info); 536 bool chreGetSensorSamplingStatus(uint32_t sensorHandle, 628 bool chreSensorConfigure(uint32_t sensorHandle, 639 uint32_t sensorHandle, enum chreSensorConfigureMode mode) { in chreSensorConfigureModeOnly() argument 640 return chreSensorConfigure(sensorHandle, in chreSensorConfigureModeOnly() 681 uint32_t sensorHandle, enum chreSensorConfigureMode mode, in chreSensorConfigureWithBatchInterval() argument 694 result = chreSensorConfigure(sensorHandle, mode, sampleInterval, in chreSensorConfigureWithBatchInterval()
|
D | sensor_types.h | 247 uint32_t sensorHandle; member
|
/system/chre/core/include/chre/core/ |
D | sensor_request_manager.h | 55 bool getSensorHandle(SensorType sensorType, uint32_t *sensorHandle) const; 70 bool setSensorRequest(Nanoapp *nanoapp, uint32_t sensorHandle, 81 bool getSensorInfo(uint32_t sensorHandle, const Nanoapp& nanoapp, 114 bool getSensorSamplingStatus(uint32_t sensorHandle, 135 Nanoapp *nanoapp, uint32_t sensorHandle, bool enable); 148 uint32_t sensorHandle, struct chreSensorThreeAxisData *bias) const; 161 bool flushAsync(Nanoapp *nanoapp, uint32_t sensorHandle, const void *cookie); 400 uint32_t sensorHandle, uint8_t errorCode, const FlushRequest& request); 409 void dispatchNextFlushRequest(uint32_t sensorHandle, SensorType sensorType);
|
/system/chre/core/ |
D | sensor_request_manager.cc | 99 uint32_t *sensorHandle) const { in getSensorHandle() 100 CHRE_ASSERT(sensorHandle); in getSensorHandle() 109 *sensorHandle = getSensorHandleFromSensorType(sensorType); in getSensorHandle() 117 uint32_t sensorHandle, const SensorRequest& sensorRequest) { in setSensorRequest() argument 121 SensorType sensorType = getSensorTypeFromSensorHandle(sensorHandle); in setSensorRequest() 209 bool SensorRequestManager::getSensorInfo(uint32_t sensorHandle, in getSensorInfo() argument 217 SensorType sensorType = getSensorTypeFromSensorHandle(sensorHandle); in getSensorInfo() 220 sensorHandle); in getSensorInfo() 225 PRIu32, sensorHandle); in getSensorInfo() 289 uint32_t sensorHandle, struct chreSensorSamplingStatus *status) const { in getSensorSamplingStatus() argument [all …]
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | sensor.h | 631 uint32_t sensorHandle; member 790 uint32_t sensorHandle; member 823 bool chreGetSensorInfo(uint32_t sensorHandle, struct chreSensorInfo *info); 848 bool chreGetSensorSamplingStatus(uint32_t sensorHandle, 940 bool chreSensorConfigure(uint32_t sensorHandle, 951 uint32_t sensorHandle, enum chreSensorConfigureMode mode) { in chreSensorConfigureModeOnly() argument 952 return chreSensorConfigure(sensorHandle, in chreSensorConfigureModeOnly() 993 uint32_t sensorHandle, enum chreSensorConfigureMode mode, in chreSensorConfigureWithBatchInterval() argument 1006 result = chreSensorConfigure(sensorHandle, mode, sampleInterval, in chreSensorConfigureWithBatchInterval()
|
/system/chre/chre_api/legacy/v1_0/chre/ |
D | sensor.h | 495 uint32_t sensorHandle; member 643 uint32_t sensorHandle; member 677 bool chreGetSensorInfo(uint32_t sensorHandle, struct chreSensorInfo *info); 702 bool chreGetSensorSamplingStatus(uint32_t sensorHandle, 794 bool chreSensorConfigure(uint32_t sensorHandle, 805 uint32_t sensorHandle, enum chreSensorConfigureMode mode) { in chreSensorConfigureModeOnly() argument 806 return chreSensorConfigure(sensorHandle, in chreSensorConfigureModeOnly()
|
/system/chre/platform/shared/nanoapp/ |
D | nanoapp_support_lib_dso.cc | 181 bool chreSensorConfigureBiasEvents(uint32_t sensorHandle, bool enable) { in chreSensorConfigureBiasEvents() argument 183 return (fptr != nullptr) ? fptr(sensorHandle, enable) : false; in chreSensorConfigureBiasEvents() 187 bool chreSensorGetThreeAxisBias(uint32_t sensorHandle, in chreSensorGetThreeAxisBias() argument 190 return (fptr != nullptr) ? fptr(sensorHandle, bias) : false; in chreSensorGetThreeAxisBias() 194 bool chreSensorFlushAsync(uint32_t sensorHandle, const void *cookie) { in chreSensorFlushAsync() argument 196 return (fptr != nullptr) ? fptr(sensorHandle, cookie) : false; in chreSensorFlushAsync()
|
/system/chre/apps/chqts/src/general_test/ |
D | basic_sensor_test_base.cc | 272 if (header->sensorHandle != mSensorHandle) { in sanityCheckHeader() 274 &header->sensorHandle); in sanityCheckHeader() 363 if (eventData->sensorHandle != mSensorHandle) { in handleSamplingChangeEvent() 365 &eventData->sensorHandle); in handleSamplingChangeEvent()
|
/system/chre/platform/slpi/ |
D | platform_nanoapp.cc | 100 uint32_t getBigImageSensorHandle(uint32_t sensorHandle) { in getBigImageSensorHandle() argument 101 SensorType sensorType = getSensorTypeFromSensorHandle(sensorHandle); in getBigImageSensorHandle() 155 bias.header.sensorHandle = in handleEvent() 156 getBigImageSensorHandle(bias.header.sensorHandle); in handleEvent()
|
/system/chre/apps/chqts/src/busy_startup/ |
D | busy_startup.cc | 111 if (header->sensorHandle != gSensorHandle) { in checkSensorEvent() 113 &header->sensorHandle); in checkSensorEvent()
|
/system/chre/platform/slpi/see/ |
D | platform_sensor.cc | 234 void postSamplingStatusEvent(uint32_t instanceId, uint32_t sensorHandle, in postSamplingStatusEvent() argument 240 event->sensorHandle = sensorHandle; in postSamplingStatusEvent() 264 event->header.sensorHandle = getSensorHandleFromSensorType(sensorType); in postSensorBiasEvent() 300 uint32_t sensorHandle = getSensorHandleFromSensorType(update.sensorType); in updateSamplingStatus() local 305 postSamplingStatusEvent(req.getInstanceId(), sensorHandle, newStatus); in updateSamplingStatus() 349 biasData->header.sensorHandle); in onSensorBiasEvent() 861 bias->header.sensorHandle = getSensorHandleFromSensorType(sensorType); in getThreeAxisBias()
|
D | see_cal_helper.cc | 62 biasData->header.sensorHandle = in getBias()
|
D | see_helper.cc | 1415 header->sensorHandle = getSensorHandleFromSensorType( in prepareSensorEvent()
|
/system/chre/core/tests/ |
D | sensor_request_test.cc | 32 uint32_t sensorHandle = getSensorHandleFromSensorType(sensorType); in TEST() local 33 sensorType = chre::getSensorTypeFromSensorHandle(sensorHandle); in TEST() 37 sensorHandle = getSensorHandleFromSensorType(sensorType); in TEST() 38 sensorType = chre::getSensorTypeFromSensorHandle(sensorHandle); in TEST()
|
/system/chre/platform/slpi/smgr/ |
D | platform_sensor.cc | 380 header->sensorHandle = getSensorHandleFromSensorType(sensorType); in populateSensorDataHeader() 863 void postSamplingStatusEvent(uint32_t instanceId, uint32_t sensorHandle, in postSamplingStatusEvent() argument 871 event->sensorHandle = sensorHandle; in postSamplingStatusEvent() 909 uint32_t sensorHandle = getSensorHandleFromSensorType( in updateSamplingStatus() local 916 postSamplingStatusEvent(req.getInstanceId(), sensorHandle, status); in updateSamplingStatus()
|
/system/chre/apps/sensor_world/ |
D | sensor_world.cc | 418 ev->sensorHandle, ev->status.interval, ev->status.latency, in nanoappHandleEvent()
|