Searched refs:occ (Results 1 – 2 of 2) sorted by relevance
/device/google/contexthub/firmware/app/chre/common/ |
D | chre10_app.c | 80 struct chreSensorOccurrenceData occ; in processSingleAxisData() local 82 initDataHeader(&occ.header, src->referenceTime, sensorHandle); in processSingleAxisData() 83 occ.readings[0].timestampDelta = 0; in processSingleAxisData() 87 occ.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData() 89 … nanoappHandleEvent(CHRE_INSTANCE_ID, CHRE_EVENT_SENSOR_DATA_EVENT_BASE | sensorType, &occ); in processSingleAxisData() 136 struct chreSensorOccurrenceData occ; in processEmbeddedData() local 138 initDataHeader(&occ.header, eOsSensorGetTime(), sensorHandle); in processEmbeddedData() 139 occ.readings[0].timestampDelta = 0; in processEmbeddedData() 141 nanoappHandleEvent(CHRE_INSTANCE_ID, CHRE_EVENT_SENSOR_DATA_EVENT_BASE | sensorType, &occ); in processEmbeddedData()
|
D | chre_app.c | 80 struct chreSensorOccurrenceData occ; in processSingleAxisData() local 82 initDataHeader(&occ.header, src->referenceTime, sensorHandle); in processSingleAxisData() 83 occ.readings[0].timestampDelta = 0; in processSingleAxisData() 87 occ.header.baseTimestamp += src->samples[i].deltaTime; in processSingleAxisData() 89 … nanoappHandleEvent(CHRE_INSTANCE_ID, CHRE_EVENT_SENSOR_DATA_EVENT_BASE | sensorType, &occ); in processSingleAxisData() 136 struct chreSensorOccurrenceData occ; in processEmbeddedData() local 138 initDataHeader(&occ.header, eOsSensorGetTime(), sensorHandle); in processEmbeddedData() 139 occ.readings[0].timestampDelta = 0; in processEmbeddedData() 141 nanoappHandleEvent(CHRE_INSTANCE_ID, CHRE_EVENT_SENSOR_DATA_EVENT_BASE | sensorType, &occ); in processEmbeddedData()
|