HomeSort by relevance Sort by last modified time
    Searched defs:sensor_event (Results 1 - 3 of 3) 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...]
  /frameworks/native/services/sensorservice/
SensorEventConnection.cpp 228 // next sensor_event.
332 // If there was a wake_up sensor_event, reset the flag.
441 // If there was a wake_up sensor_event, reset the flag.
561 sensors_event_t sensor_event; local
562 memcpy(&sensor_event, buf, sizeof(sensors_event_t));
564 mService->getSensorInterfaceFromHandle(sensor_event.sensor);
570 sensor_event.type = si->getSensor().getType();
571 dev.injectSensorData(&sensor_event);
  /frameworks/base/core/jni/
android_hardware_SensorManager.cpp 422 // Create a sensor_event from the above data which can be injected into the HAL.
423 ASensorEvent sensor_event; local
424 memset(&sensor_event, 0, sizeof(sensor_event));
425 sensor_event.sensor = handle;
426 sensor_event.timestamp = timestamp;
427 env->GetFloatArrayRegion(values, 0, env->GetArrayLength(values), sensor_event.data);
428 return receiver->getSensorEventQueue()->injectSensorEvent(sensor_event);

Completed in 390 milliseconds