/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()
|
/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);
|
/hardware/google/pixel/thermal/ |
D | thermal-helper.h | 140 const std::unordered_map<std::string, SensorInfo> &GetSensorInfoMap() const { in GetSensorInfoMap() 179 void setMinTimeout(SensorInfo *sensor_info); 195 size_t getTargetStateOfPID(const SensorInfo &sensor_info, const SensorStatus &sensor_status); 197 float pidPowerCalculator(const Temperature_2_0 &temp, const SensorInfo &sensor_info, 203 const SensorInfo &sensor_info, float total_power_budget, 206 const SensorInfo &sensor_info); 207 void computeCoolingDevicesRequest(std::string_view sensor_name, const SensorInfo &sensor_info, 218 std::unordered_map<std::string, SensorInfo> sensor_info_map_;
|
/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 | 38 class SensorsHidlTest : public SensorsHidlTestBase<SensorType, Event, SensorInfo> { 50 SensorInfo defaultSensorByType(SensorType type) override; 51 std::vector<SensorInfo> getSensorsList(); 117 SensorInfo SensorsHidlTest::defaultSensorByType(SensorType type) { in defaultSensorByType() 118 SensorInfo ret; in defaultSensorByType() 135 std::vector<SensorInfo> SensorsHidlTest::getSensorsList() { in getSensorsList() 136 std::vector<SensorInfo> ret; in getSensorsList() 206 std::vector<SensorInfo> sensorList = getSensorsList(); in TEST_P() 224 std::vector<SensorInfo> sensorList = getSensorsList(); in TEST_P() 225 std::vector<SensorInfo> sensorSupportInjection; in TEST_P()
|
/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/ |
D | Sensor.h | 51 using SensorInfo = ::android::hardware::sensors::V2_1::SensorInfo; variable 57 const SensorInfo& getSensorInfo() const; 77 SensorInfo mSensorInfo;
|
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/ |
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/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/2.1/default/ |
D | SensorsV2_1.h | 39 Return<void> onDynamicSensorsConnected(const hidl_vec<V1_0::SensorInfo>& sensorInfos) override { in onDynamicSensorsConnected() 59 std::vector<V1_0::SensorInfo> sensors; in getSensorsList()
|
/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/interfaces/sensors/2.0/default/ |
D | SensorsV2_0.h | 33 std::vector<V1_0::SensorInfo> sensors; in getSensorsList()
|
/hardware/google/camera/common/sensor_listener/ |
D | goog_sensor_environment.cc | 31 using ::android::hardware::sensors::V1_0::SensorInfo; 128 SensorInfo sensor; in GetSensorHandle()
|
D | goog_sensor_sync.cc | 39 using ::android::hardware::sensors::V1_0::SensorInfo; 134 SensorInfo info; in GetSensorHandle() 146 for (const SensorInfo& item : list) { in GetSensorHandle()
|
D | goog_gyro_direct.h | 150 ::android::hardware::sensors::V1_0::SensorInfo sensor_info_;
|
/hardware/google/pixel/thermal/utils/ |
D | config_parser.h | 99 struct SensorInfo { struct 131 std::unordered_map<std::string, SensorInfo> ParseSensorInfo(std::string_view config_path); argument
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | DynamicSensorsSubHal.cpp | 30 using ::android::hardware::sensors::V2_1::SensorInfo; 112 std::vector<SensorInfo> sensors; in getSensorsList_2_1() 207 hidl_vec<SensorInfo> sensor_list; in onSensorConnected()
|
/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() 382 Return<void> HalProxy::onDynamicSensorsConnected(const hidl_vec<SensorInfo>& dynamicSensorsAdded, in onDynamicSensorsConnected() 384 std::vector<SensorInfo> sensors; in onDynamicSensorsConnected() 387 for (SensorInfo sensor : dynamicSensorsAdded) { in onDynamicSensorsConnected() 478 for (SensorInfo sensor : list) { in initializeSensorList() 710 void HalProxy::setDirectChannelFlags(SensorInfo* sensorInfo, in setDirectChannelFlags()
|