Home
last modified time | relevance | path

Searched refs:SensorInfo (Results 1 – 19 of 19) sorted by relevance

/frameworks/hardware/interfaces/sensorservice/aidl/vts/
DVtsHalSensorManagerTargetTest.cpp40 using aidl::android::hardware::sensors::SensorInfo;
83 ndk::ScopedAStatus GetSensorList(std::vector<SensorInfo>* out_info, in GetSensorList()
84 const std::function<bool(SensorInfo)>& pred = nullptr) { in GetSensorList()
109 std::vector<SensorInfo> sensorList; in TEST_P()
115 std::vector<SensorInfo> sensorList; in TEST_P()
117 return info.flags & SensorInfo::SENSOR_FLAG_BITS_DIRECT_CHANNEL_ASHMEM; in TEST_P()
189 std::vector<SensorInfo> sensorList; in TEST_P()
194 SensorInfo info; in TEST_P()
207 std::vector<SensorInfo> sensorList; in TEST_P()
210 if (!(info.flags & SensorInfo::SENSOR_FLAG_BITS_DIRECT_CHANNEL_ASHMEM)) return false; in TEST_P()
[all …]
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp34 using aidl::android::hardware::sensors::SensorInfo;
128 SensorInfo sensor; in getDefaultSensor()
356 return reinterpret_cast<const SensorInfo *>(sensor)->name.c_str(); in ASensor_getName()
361 return reinterpret_cast<const SensorInfo *>(sensor)->vendor.c_str(); in ASensor_getVendor()
367 reinterpret_cast<const SensorInfo *>(sensor)->type); in ASensor_getType()
372 return reinterpret_cast<const SensorInfo *>(sensor)->resolution; in ASensor_getResolution()
377 return reinterpret_cast<const SensorInfo*>(sensor)->minDelayUs; in ASensor_getMinDelay()
382 return reinterpret_cast<const SensorInfo *>(sensor)->fifoMaxEventCount; in ASensor_getFifoMaxEventCount()
387 return reinterpret_cast<const SensorInfo *>(sensor)->fifoReservedEventCount; in ASensor_getFifoReservedEventCount()
392 return reinterpret_cast<const SensorInfo *>(sensor)->typeAsString.c_str(); in ASensor_getStringType()
[all …]
DASensorManager.h55 using SensorInfo = aidl::android::hardware::sensors::SensorInfo; member
67 std::vector<SensorInfo> mSensors;
DASensorEventQueue.cpp25 using aidl::android::hardware::sensors::SensorInfo;
46 mQueueImpl->enableSensor(reinterpret_cast<const SensorInfo*>(sensor)->sensorHandle, in registerSensor()
78 mQueueImpl->disableSensor(reinterpret_cast<const SensorInfo*>(sensor)->sensorHandle); in disableSensor()
/frameworks/hardware/interfaces/sensorservice/aidl/android/frameworks/sensorservice/
DISensorManager.aidl7 import android.hardware.sensors.SensorInfo;
101 SensorInfo getDefaultSensor(in SensorType type); in getDefaultSensor()
110 SensorInfo[] getSensorList(); in getSensorList()
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp29 using ::android::hardware::sensors::V1_0::SensorInfo;
31 SensorInfo convertSensor(const Sensor& src) { in convertSensor()
32 SensorInfo dst; in convertSensor()
Dutils.h30 ::android::hardware::sensors::V1_0::SensorInfo convertSensor(const ::android::Sensor &src);
DSensorManager.cpp41 using ::android::hardware::sensors::V1_0::SensorInfo;
77 hidl_vec<SensorInfo> ret; in getSensorList()
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/1/android/frameworks/sensorservice/
DISensorManager.aidl25 android.hardware.sensors.SensorInfo getDefaultSensor(in android.hardware.sensors.SensorType type); in getDefaultSensor()
26 android.hardware.sensors.SensorInfo[] getSensorList(); in getSensorList()
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/current/android/frameworks/sensorservice/
DISensorManager.aidl25 android.hardware.sensors.SensorInfo getDefaultSensor(in android.hardware.sensors.SensorType type); in getDefaultSensor()
26 android.hardware.sensors.SensorInfo[] getSensorList(); in getSensorList()
/frameworks/native/services/sensorservice/aidl/
DSensorManager.cpp43 using ::aidl::android::hardware::sensors::SensorInfo;
141 SensorInfo convertSensor(Sensor src) { in convertSensor()
142 SensorInfo dst; in convertSensor()
164 SensorInfo* _aidl_return) { in getDefaultSensor()
174 ndk::ScopedAStatus SensorManagerAidl::getSensorList(std::vector<SensorInfo>* _aidl_return) { in getSensorList()
/frameworks/native/services/sensorservice/aidl/include/sensorserviceaidl/
DSensorManagerAidl.h51 ::aidl::android::hardware::sensors::SensorInfo* _aidl_return) override;
53 std::vector<::aidl::android::hardware::sensors::SensorInfo>* _aidl_return) override;
/frameworks/native/services/sensorservice/
DHidlSensorHalWrapper.cpp81 using SensorInfo = ::android::hardware::sensors::V2_1::SensorInfo; typedef
88 const hidl_vec<SensorInfo>& dynamicSensorsAdded) override { in onDynamicSensorsConnected_2_1()
90 for (const android::hardware::sensors::V2_1::SensorInfo& info : dynamicSensorsAdded) { in onDynamicSensorsConnected_2_1()
101 const hidl_vec<android::hardware::sensors::V1_0::SensorInfo>& dynamicSensorsAdded) in onDynamicSensorsConnected()
522 const hidl_vec<SensorInfo>& dynamicSensorsAdded, in convertToSensorEvents()
DAidlSensorHalWrapper.cpp32 using ::aidl::android::hardware::sensors::SensorInfo;
70 const std::vector<SensorInfo> &sensorInfos) override { in onDynamicSensorsConnected()
72 for (const SensorInfo &sensorInfo : sensorInfos) { in onDynamicSensorsConnected()
215 std::vector<SensorInfo> list; in getSensorsList()
DHidlSensorHalWrapper.h32 using android::hardware::sensors::V2_1::SensorInfo;
151 const hardware::hidl_vec<SensorInfo>& dynamicSensorsAdded,
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
DVtsHalSensorManagerV1_0TargetTest.cpp47 using ::android::hardware::sensors::V1_0::SensorInfo;
109 android::base::Result<std::vector<SensorInfo>> GetSensorList( in GetSensorList()
110 const std::function<bool(SensorInfo)> &pred = nullptr) { in GetSensorList()
112 std::vector<SensorInfo> out_info; in GetSensorList()
/frameworks/hardware/interfaces/sensorservice/1.0/
DISensorManager.hal23 import android.hardware.sensors@1.0::SensorInfo;
40 getSensorList() generates (vec<SensorInfo> list, Result result);
51 generates (SensorInfo sensor, Result result);
/frameworks/native/services/inputflinger/tests/
DFakeEventHub.h41 struct SensorInfo { struct
62 std::unordered_map<int32_t, SensorInfo> sensorsByAbsCode; argument
DFakeEventHub.cpp168 SensorInfo info; in addSensorAxis()
354 const SensorInfo& info = it->second; in mapSensor()