Home | History | Annotate | Download | only in hidl

Lines Matching refs:src

31 SensorInfo convertSensor(const Sensor& src) {
33 const String8& name = src.getName();
34 const String8& vendor = src.getVendor();
37 dst.version = src.getVersion();
38 dst.sensorHandle = src.getHandle();
40 src.getType());
43 dst.maxRange = src.getMaxValue();
44 dst.resolution = src.getResolution();
45 dst.power = src.getPowerUsage();
46 dst.minDelay = src.getMinDelay();
47 dst.fifoReservedEventCount = src.getFifoReservedEventCount();
48 dst.fifoMaxEventCount = src.getFifoMaxEventCount();
49 dst.typeAsString = src.getStringType();
50 dst.requiredPermission = src.getRequiredPermission();
51 dst.maxDelay = src.getMaxDelay();
52 dst.flags = src.getFlags();
77 ::android::hardware::sensors::V1_0::Event convertEvent(const ::ASensorEvent& src) {
80 reinterpret_cast<const sensors_event_t&>(src), &dst);