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