/frameworks/native/services/sensorservice/ |
D | RotationVectorSensor.cpp | 46 bool RotationVectorSensor::process(sensors_event_t* outEvent, in process() argument 52 *outEvent = event; in process() 53 outEvent->data[0] = q.x; in process() 54 outEvent->data[1] = q.y; in process() 55 outEvent->data[2] = q.z; in process() 56 outEvent->data[3] = q.w; in process() 57 outEvent->sensor = getSensorToken(); in process() 58 outEvent->type = getSensorType(); in process() 132 bool GyroDriftSensor::process(sensors_event_t* outEvent, in process() argument 138 *outEvent = event; in process() [all …]
|
D | LinearAccelerationSensor.cpp | 49 bool LinearAccelerationSensor::process(sensors_event_t* outEvent, in process() argument 52 bool result = mGravitySensor.process(outEvent, event); in process() 54 outEvent->data[0] = event.acceleration.x - outEvent->data[0]; in process() 55 outEvent->data[1] = event.acceleration.y - outEvent->data[1]; in process() 56 outEvent->data[2] = event.acceleration.z - outEvent->data[2]; in process() 57 outEvent->sensor = '_lin'; in process() 58 outEvent->type = SENSOR_TYPE_LINEAR_ACCELERATION; in process()
|
D | OrientationSensor.cpp | 47 bool OrientationSensor::process(sensors_event_t* outEvent, in process() argument 61 *outEvent = event; in process() 62 outEvent->orientation.azimuth = g.x; in process() 63 outEvent->orientation.pitch = g.y; in process() 64 outEvent->orientation.roll = g.z; in process() 65 outEvent->orientation.status = SENSOR_STATUS_ACCURACY_HIGH; in process() 66 outEvent->sensor = '_ypr'; in process() 67 outEvent->type = SENSOR_TYPE_ORIENTATION; in process()
|
D | GravitySensor.cpp | 54 bool GravitySensor::process(sensors_event_t* outEvent, in process() argument 67 *outEvent = event; in process() 68 outEvent->data[0] = g.x; in process() 69 outEvent->data[1] = g.y; in process() 70 outEvent->data[2] = g.z; in process() 71 outEvent->sensor = '_grv'; in process() 72 outEvent->type = SENSOR_TYPE_GRAVITY; in process()
|
D | CorrectedGyroSensor.cpp | 55 bool CorrectedGyroSensor::process(sensors_event_t* outEvent, in process() argument 60 *outEvent = event; in process() 61 outEvent->data[0] -= bias.x; in process() 62 outEvent->data[1] -= bias.y; in process() 63 outEvent->data[2] -= bias.z; in process() 64 outEvent->sensor = '_cgy'; in process()
|
D | LimitedAxesImuSensor.cpp | 65 bool LimitedAxesImuSensor::process(sensors_event_t* outEvent, const sensors_event_t& event) { in process() argument 67 *outEvent = event; in process() 69 outEvent->data[0 + imu3dDataSize] = 1; in process() 70 outEvent->data[1 + imu3dDataSize] = 1; in process() 71 outEvent->data[2 + imu3dDataSize] = 1; in process() 72 outEvent->sensor = mSensor.getHandle(); in process() 73 outEvent->type = mSensor.getType(); in process()
|
D | RotationVectorSensor.h | 38 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override; 62 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override;
|
D | SensorInterface.cpp | 56 bool HardwareSensor::process(sensors_event_t* outEvent, in process() argument 58 *outEvent = event; in process()
|
D | SensorInterface.h | 35 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) = 0; 84 virtual bool process(sensors_event_t* outEvent,
|
D | OrientationSensor.h | 37 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override;
|
D | LinearAccelerationSensor.h | 38 virtual bool process(sensors_event_t* outEvent,
|
D | CorrectedGyroSensor.h | 39 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override;
|
D | GravitySensor.h | 39 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override;
|
D | LimitedAxesImuSensor.h | 35 virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event) override;
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/usage/ |
D | UserUsageStatsServiceTest.java | 115 Event outEvent = new Event(); in testReportEvent_eventAppearsInQueries() local 116 events.getNextEvent(outEvent); in testReportEvent_eventAppearsInQueries() 117 if (outEvent.mEventType == ACTIVITY_RESUMED) { in testReportEvent_eventAppearsInQueries() 142 Event outEvent = new Event(); in testReportEvent_packageUsedEventNotTracked() local 143 events.getNextEvent(outEvent); in testReportEvent_packageUsedEventNotTracked() 144 if (outEvent.mEventType == APP_COMPONENT_USED) { in testReportEvent_packageUsedEventNotTracked() 173 Event outEvent = new Event(); in testQueryEarliestEventsForPackage() local 174 events.getNextEvent(outEvent); in testQueryEarliestEventsForPackage() 175 if (outEvent.mEventType == ACTIVITY_RESUMED) { in testQueryEarliestEventsForPackage() 210 Event outEvent = new Event(); in testQueryEarliestEventsForPackage_Caching() local [all …]
|
/frameworks/base/core/jni/ |
D | android_view_InputQueue.cpp | 94 status_t InputQueue::getEvent(InputEvent** outEvent) { in getEvent() argument 96 *outEvent = NULL; in getEvent() 98 *outEvent = mPendingEvents[0]; in getEvent() 113 return *outEvent != NULL ? OK : WOULD_BLOCK; in getEvent()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 734 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent) { in consume() argument 741 *outEvent = nullptr; in consume() 745 while (!*outEvent) { in consume() 759 result = consumeBatch(factory, frameTime, outSeq, outEvent); in consume() 760 if (*outEvent) { in consume() 779 *outEvent = keyEvent; in consume() 813 outSeq, outEvent); in consume() 846 *outEvent = motionEvent; in consume() 869 *outEvent = focusEvent; in consume() 879 *outEvent = captureEvent; in consume() [all …]
|
/frameworks/base/core/jni/include/android_runtime/ |
D | android_view_InputQueue.h | 45 status_t getEvent(InputEvent** outEvent);
|
/frameworks/native/include/input/ |
D | InputTransport.h | 488 uint32_t* outSeq, InputEvent** outEvent); 643 nsecs_t frameTime, uint32_t* outSeq, InputEvent** outEvent); 645 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent);
|
/frameworks/base/native/android/ |
D | input.cpp | 328 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent) { in AInputQueue_getEvent() argument 332 *outEvent = event; in AInputQueue_getEvent()
|
/frameworks/native/include/android/ |
D | input.h | 1426 int32_t AInputQueue_getEvent(AInputQueue* queue, AInputEvent** outEvent);
|
/frameworks/native/libs/input/tests/ |
D | InputEvent_test.cpp | 553 MotionEvent outEvent; in TEST_F() local 558 outEvent.readFromParcel(&parcel); in TEST_F() 560 ASSERT_NO_FATAL_FAILURE(assertEqualsEventWithHistory(&outEvent)); in TEST_F()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 788 std::optional<uint32_t> receiveEvent(InputEvent** outEvent = nullptr) { in receiveEvent() argument 816 if (outEvent != nullptr) { in receiveEvent() 817 *outEvent = event; in receiveEvent() 1226 std::optional<uint32_t> receiveEvent(InputEvent** outEvent = nullptr) { in receiveEvent() argument 1231 return mInputReceiver->receiveEvent(outEvent); in receiveEvent()
|