Home
last modified time | relevance | path

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

12

/hardware/interfaces/sensors/common/utils/
DconvertV2_1.h32 static_assert(sizeof(V1_0::SensorInfo) == sizeof(V2_1::SensorInfo),
50 inline const V2_1::SensorInfo& convertToNewSensorInfo(const V1_0::SensorInfo& info) { in convertToNewSensorInfo()
51 return reinterpret_cast<const V2_1::SensorInfo&>(info); in convertToNewSensorInfo()
54 inline const V1_0::SensorInfo& convertToOldSensorInfo(const V2_1::SensorInfo& info) { in convertToOldSensorInfo()
55 return reinterpret_cast<const V1_0::SensorInfo&>(info); in convertToOldSensorInfo()
70 inline const hidl_vec<V2_1::SensorInfo>& convertToNewSensorInfos( in convertToNewSensorInfos()
71 const hidl_vec<V1_0::SensorInfo>& infos) { in convertToNewSensorInfos()
72 return reinterpret_cast<const hidl_vec<V2_1::SensorInfo>&>(infos); in convertToNewSensorInfos()
75 inline const hidl_vec<V1_0::SensorInfo>& convertToOldSensorInfos( in convertToOldSensorInfos()
76 const hidl_vec<V2_1::SensorInfo>& infos) { in convertToOldSensorInfos()
[all …]
DISensorsCallbackWrapper.h49 const hidl_vec<V2_1::SensorInfo>& sensorInfos) = 0;
60 const hidl_vec<V2_1::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected()
85 Return<void> onDynamicSensorsConnected(const hidl_vec<V2_1::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected()
DISensorsWrapper.h261 const hidl_vec<V1_0::SensorInfo>& /* sensorInfos */) override { in onDynamicSensorsConnected() argument
271 const hidl_vec<SensorInfo>& /* sensorInfos */) override { in onDynamicSensorsConnected_2_1() argument
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DHalProxyCallback.h47 const hidl_vec<V2_1::SensorInfo>& dynamicSensorsAdded, int32_t subHalIndex) = 0;
72 virtual const V2_1::SensorInfo& getSensorInfo(int32_t sensorHandle) = 0;
112 const hidl_vec<V1_0::SensorInfo>& dynamicSensorsAdded) override { in onDynamicSensorsConnected()
142 const hidl_vec<V2_1::SensorInfo>& dynamicSensorsAdded) override { in onDynamicSensorsConnected_2_1()
147 const hidl_vec<V1_0::SensorInfo>& /* dynamicSensorsAdded */) override { in onDynamicSensorsConnected() argument
DHalProxy.h62 using SensorInfo = ::android::hardware::sensors::V2_1::SensorInfo; variable
123 Return<void> onDynamicSensorsConnected(const hidl_vec<SensorInfo>& dynamicSensorsAdded,
132 const SensorInfo& getSensorInfo(int32_t sensorHandle) override { in getSensorInfo()
185 std::map<int32_t, SensorInfo> mSensors;
188 std::map<int32_t, SensorInfo> mDynamicSensors;
338 void setDirectChannelFlags(SensorInfo* sensorInfo, std::shared_ptr<ISubHalWrapperBase> subHal);
DSubHalWrapper.h53 using SensorInfo = ::android::hardware::sensors::V2_1::SensorInfo; variable
/hardware/interfaces/sensors/1.0/default/include/sensors/
Dconvert.h30 void convertFromSensor(const sensor_t &src, SensorInfo *dst);
31 void convertToSensor(const SensorInfo &src, sensor_t *dst);
/hardware/interfaces/sensors/1.0/vts/functional/
DSensorsHidlEnvironmentV1_0.cpp26 using ::android::hardware::sensors::V1_0::SensorInfo;
59 std::vector<SensorInfo> sensorList; in resetHal()
61 ->getSensorsList([&](const hidl_vec<SensorInfo>& list) { in resetHal()
DVtsHalSensorsV1_0TargetTest.cpp36 class SensorsHidlTest : public SensorsHidlTestBase<SensorType, Event, SensorInfo> {
48 SensorInfo defaultSensorByType(SensorType type) override;
49 std::vector<SensorInfo> getSensorsList();
115 SensorInfo SensorsHidlTest::defaultSensorByType(SensorType type) { in defaultSensorByType()
116 SensorInfo ret; in defaultSensorByType()
133 std::vector<SensorInfo> SensorsHidlTest::getSensorsList() { in getSensorsList()
134 std::vector<SensorInfo> ret; in getSensorsList()
195 std::vector<SensorInfo> sensorList = getSensorsList(); in TEST_P()
213 std::vector<SensorInfo> sensorList = getSensorsList(); in TEST_P()
214 std::vector<SensorInfo> sensorSupportInjection; in TEST_P()
/hardware/interfaces/sensors/common/default/2.X/
DSensor.h50 using SensorInfo = ::android::hardware::sensors::V2_1::SensorInfo; variable
56 const SensorInfo& getSensorInfo() const;
75 SensorInfo mSensorInfo;
/hardware/interfaces/sensors/2.1/
DISensorsCallback.hal20 import @2.1::SensorInfo;
29 * @param sensorInfos vector of SensorInfo for each dynamic sensor that
32 oneway onDynamicSensorsConnected_2_1(vec<SensorInfo> sensorInfos);
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DSensorsSubHal.cpp92 std::vector<SensorInfo> sensors; in getSensorsList()
180 SensorInfo info = sensor.second->getSensorInfo(); in debug()
210 std::vector<SensorInfo> sensors; in getSensorsList()
212 SensorInfo sensorInfo = sensor.second->getSensorInfo(); in getSensorsList()
222 std::vector<SensorInfo> sensors; in getSensorsList()
224 SensorInfo sensorInfo = sensor.second->getSensorInfo(); in getSensorsList()
234 const std::vector<SensorInfo>& sensorsAdded) { in addDynamicSensors()
DIHalProxyCallbackWrapper.h44 const hidl_vec<V2_1::SensorInfo>& sensorInfos) = 0;
76 Return<void> onDynamicSensorsConnected(const hidl_vec<V2_1::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected()
93 Return<void> onDynamicSensorsConnected(const hidl_vec<V2_1::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected()
DSensor.h30 using ::android::hardware::sensors::V2_1::SensorInfo;
51 const SensorInfo& getSensorInfo() const;
70 SensorInfo mSensorInfo;
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/
DHalProxy_test.cpp41 using ::android::hardware::sensors::V1_0::SensorInfo;
75 const hidl_vec<SensorInfo>& /*dynamicSensorsAdded*/) override { in onDynamicSensorsConnected() argument
90 const hidl_vec<::android::hardware::sensors::V2_1::SensorInfo>& /*dynamicSensorsAdded*/) in onDynamicSensorsConnected_2_1() argument
97 const hidl_vec<SensorInfo>& /*dynamicSensorsAdded*/) override { in onDynamicSensorsConnected() argument
113 const hidl_vec<SensorInfo>& dynamicSensorsAdded) override { in onDynamicSensorsConnected()
127 const std::vector<SensorInfo>& getSensorsConnected() const { return mSensorsConnected; } in getSensorsConnected()
133 std::vector<SensorInfo> mSensorsConnected;
147 void testSensorsListFromProxyAndSubHal(const std::vector<SensorInfo>& proxySensorsList,
148 const std::vector<SensorInfo>& subHalSensorsList);
159 void testSensorsListForOneDirectChannelEnabledSubHal(const std::vector<SensorInfo>& sensorsList,
[all …]
/hardware/google/pixel/thermal/utils/
Dconfig_parser.h39 struct SensorInfo { struct
50 std::map<std::string, SensorInfo> ParseSensorInfo(std::string_view config_path); argument
/hardware/interfaces/sensors/common/vts/2_X/
DSensorsHidlEnvironmentV2_X.cpp32 using ::android::hardware::sensors::V2_1::SensorInfo;
77 std::vector<SensorInfo> sensorList; in resetHal()
78 if (!mSensors->getSensorsList([&](const hidl_vec<SensorInfo>& list) { sensorList = list; }) in resetHal()
/hardware/interfaces/sensors/2.0/
DISensorsCallback.hal19 import @1.0::SensorInfo;
28 * @param sensorInfos vector of SensorInfo for each dynamic sensor that
31 oneway onDynamicSensorsConnected(vec<SensorInfo> sensorInfos);
/hardware/interfaces/sensors/1.0/default/
DSensors.cpp120 hidl_vec<SensorInfo> out; in getSensorsList()
125 SensorInfo *dst = &out[i]; in getSensorsList()
163 hidl_vec<SensorInfo> dynamicSensorsAdded; in poll()
218 SensorInfo info; in poll()
/hardware/google/pixel/thermal/
Dthermal-helper.h106 const std::map<std::string, SensorInfo> &GetSensorInfoMap() const { return sensor_info_map_; } in GetSensorInfoMap()
128 const std::map<std::string, SensorInfo> sensor_info_map_;
/hardware/interfaces/sensors/common/default/2.X/multihal/include/V2_0/
DSubHal.h38 using ::android::hardware::sensors::V1_0::SensorInfo;
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp116 std::vector<V2_1::SensorInfo> sensors; in getSensorsList_2_1()
125 std::vector<V1_0::SensorInfo> sensors; in getSensorsList()
380 Return<void> HalProxy::onDynamicSensorsConnected(const hidl_vec<SensorInfo>& dynamicSensorsAdded, in onDynamicSensorsConnected()
382 std::vector<SensorInfo> sensors; in onDynamicSensorsConnected()
385 for (SensorInfo sensor : dynamicSensorsAdded) { in onDynamicSensorsConnected()
476 for (SensorInfo sensor : list) { in initializeSensorList()
704 void HalProxy::setDirectChannelFlags(SensorInfo* sensorInfo, in setDirectChannelFlags()
DHalProxyCallback.cpp72 const V2_1::SensorInfo& sensor = mCallback->getSensorInfo(event.sensorHandle); in processEvents()
/hardware/interfaces/sensors/2.1/default/
DSensorsV2_1.h39 Return<void> onDynamicSensorsConnected(const hidl_vec<V1_0::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected()
DSensorsV2_1.cpp58 std::vector<SensorInfo> sensors; in getSensorsList_2_1()

12