HomeSort by relevance Sort by last modified time
    Searched refs:sensor_event (Results 1 - 4 of 4) sorted by null

  /device/google/contexthub/util/nanotool/
sensorevent.cpp 33 SensorEvent *sensor_event = nullptr; local
51 sensor_event = new TripleAxisSensorEvent();
58 sensor_event = new SingleAxisSensorEvent();
79 sensor_event = new SingleAxisIntSensorEvent();
83 sensor_event = new CompressedTripleAxisSensorEvent();
91 if (sensor_event &&
92 (!sensor_event->Populate(buffer) || !sensor_event->SizeIsValid())) {
94 delete sensor_event;
95 sensor_event = nullptr
    [all...]
contexthub.cpp 563 SensorEvent *sensor_event = reinterpret_cast<SensorEvent*>(
565 keep_going = callback(*sensor_event);
  /frameworks/base/core/jni/
android_hardware_SensorManager.cpp 472 // Create a sensor_event from the above data which can be injected into the HAL.
473 ASensorEvent sensor_event; local
474 memset(&sensor_event, 0, sizeof(sensor_event));
475 sensor_event.sensor = handle;
476 sensor_event.timestamp = timestamp;
477 env->GetFloatArrayRegion(values, 0, env->GetArrayLength(values), sensor_event.data);
478 return receiver->getSensorEventQueue()->injectSensorEvent(sensor_event);
  /frameworks/native/services/sensorservice/
SensorEventConnection.cpp 230 // next sensor_event.
334 // If there was a wake_up sensor_event, reset the flag.
443 // If there was a wake_up sensor_event, reset the flag.
570 sensors_event_t sensor_event; local
571 memcpy(&sensor_event, buf, sizeof(sensors_event_t));
573 mService->getSensorInterfaceFromHandle(sensor_event.sensor);
579 sensor_event.type = si->getSensor().getType();
580 dev.injectSensorData(&sensor_event);

Completed in 2450 milliseconds