/hardware/interfaces/sensors/common/utils/ |
D | convertV2_1.h | 32 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 …]
|
D | ISensorsCallbackWrapper.h | 49 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()
|
D | ISensorsWrapper.h | 261 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/ |
D | HalProxyCallback.h | 47 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
|
D | HalProxy.h | 62 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);
|
D | SubHalWrapper.h | 53 using SensorInfo = ::android::hardware::sensors::V2_1::SensorInfo; variable
|
/hardware/interfaces/sensors/1.0/default/include/sensors/ |
D | convert.h | 30 void convertFromSensor(const sensor_t &src, SensorInfo *dst); 31 void convertToSensor(const SensorInfo &src, sensor_t *dst);
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | SensorsHidlEnvironmentV1_0.cpp | 26 using ::android::hardware::sensors::V1_0::SensorInfo; 59 std::vector<SensorInfo> sensorList; in resetHal() 61 ->getSensorsList([&](const hidl_vec<SensorInfo>& list) { in resetHal()
|
D | VtsHalSensorsV1_0TargetTest.cpp | 36 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/ |
D | Sensor.h | 50 using SensorInfo = ::android::hardware::sensors::V2_1::SensorInfo; variable 56 const SensorInfo& getSensorInfo() const; 75 SensorInfo mSensorInfo;
|
/hardware/interfaces/sensors/2.1/ |
D | ISensorsCallback.hal | 20 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/ |
D | SensorsSubHal.cpp | 92 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()
|
D | IHalProxyCallbackWrapper.h | 44 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()
|
D | Sensor.h | 30 using ::android::hardware::sensors::V2_1::SensorInfo; 51 const SensorInfo& getSensorInfo() const; 70 SensorInfo mSensorInfo;
|
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/ |
D | HalProxy_test.cpp | 41 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/ |
D | config_parser.h | 39 struct SensorInfo { struct 50 std::map<std::string, SensorInfo> ParseSensorInfo(std::string_view config_path); argument
|
/hardware/interfaces/sensors/common/vts/2_X/ |
D | SensorsHidlEnvironmentV2_X.cpp | 32 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/ |
D | ISensorsCallback.hal | 19 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/ |
D | Sensors.cpp | 120 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/ |
D | thermal-helper.h | 106 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/ |
D | SubHal.h | 38 using ::android::hardware::sensors::V1_0::SensorInfo;
|
/hardware/interfaces/sensors/common/default/2.X/multihal/ |
D | HalProxy.cpp | 116 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()
|
D | HalProxyCallback.cpp | 72 const V2_1::SensorInfo& sensor = mCallback->getSensorInfo(event.sensorHandle); in processEvents()
|
/hardware/interfaces/sensors/2.1/default/ |
D | SensorsV2_1.h | 39 Return<void> onDynamicSensorsConnected(const hidl_vec<V1_0::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected()
|
D | SensorsV2_1.cpp | 58 std::vector<SensorInfo> sensors; in getSensorsList_2_1()
|