Searched refs:sensor_event (Results 1 – 2 of 2) sorted by relevance
473 ASensorEvent sensor_event; in nativeInjectSensorData() local474 memset(&sensor_event, 0, sizeof(sensor_event)); in nativeInjectSensorData()475 sensor_event.sensor = handle; in nativeInjectSensorData()476 sensor_event.timestamp = timestamp; in nativeInjectSensorData()477 env->GetFloatArrayRegion(values, 0, env->GetArrayLength(values), sensor_event.data); in nativeInjectSensorData()478 return receiver->getSensorEventQueue()->injectSensorEvent(sensor_event); in nativeInjectSensorData()
730 sensors_event_t sensor_event; in handleEvent() local731 memcpy(&sensor_event, buf, sizeof(sensors_event_t)); in handleEvent()733 mService->getSensorInterfaceFromHandle(sensor_event.sensor); in handleEvent()739 sensor_event.type = si->getSensor().getType(); in handleEvent()740 dev.injectSensorData(&sensor_event); in handleEvent()