/hardware/interfaces/sensors/2.0/vts/functional/ |
D | VtsHalSensorsV2_0TargetTest.cpp | 75 void waitForFlushEvents(const std::vector<SensorInfo>& sensorsToWaitFor, in waitForFlushEvents() 87 void waitForEvents(const std::vector<SensorInfo>& sensorsToWaitFor, milliseconds timeout) { in waitForEvents() 93 bool flushesReceived(const std::vector<SensorInfo>& sensorsToWaitFor, int32_t numCallsToFlush) { in flushesReceived() 94 for (const SensorInfo& sensor : sensorsToWaitFor) { in flushesReceived() 102 bool eventsReceived(const std::vector<SensorInfo>& sensorsToWaitFor) { in eventsReceived() 103 for (const SensorInfo& sensor : sensorsToWaitFor) { in eventsReceived() 134 SensorInfo defaultSensorByType(SensorType type) override; 135 std::vector<SensorInfo> getSensorsList(); 175 void runSingleFlushTest(const std::vector<SensorInfo>& sensors, bool activateSensor, 177 void runFlushTest(const std::vector<SensorInfo>& sensors, bool activateSensor, [all …]
|
D | SensorsHidlEnvironmentV2_0.cpp | 29 using ::android::hardware::sensors::V1_0::SensorInfo; 49 Return<void> onDynamicSensorsConnected(const hidl_vec<SensorInfo>& /* sensorInfos */) { in onDynamicSensorsConnected() 87 std::vector<SensorInfo> sensorList; in resetHal() 88 if (!mSensors->getSensorsList([&](const hidl_vec<SensorInfo>& list) { sensorList = list; }) in resetHal()
|
/hardware/interfaces/sensors/2.0/multihal/include/ |
D | HalProxy.h | 58 using SensorInfo = ::android::hardware::sensors::V1_0::SensorInfo; variable 100 Return<void> onDynamicSensorsConnected(const hidl_vec<SensorInfo>& dynamicSensorsAdded, 127 const SensorInfo& getSensorInfo(int32_t sensorHandle) { return mSensors[sensorHandle]; } in getSensorInfo() 180 std::map<int32_t, SensorInfo> mSensors; 183 std::map<int32_t, SensorInfo> mDynamicSensors; 333 void setDirectChannelFlags(SensorInfo* sensorInfo, ISensorsSubHal* subHal); 383 using SensorInfo = ::android::hardware::sensors::V1_0::SensorInfo; variable 390 const hidl_vec<SensorInfo>& dynamicSensorsAdded) override { in onDynamicSensorsConnected()
|
D | SubHal.h | 38 using ::android::hardware::sensors::V1_0::SensorInfo;
|
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/ |
D | SensorsSubHal.cpp | 58 std::vector<SensorInfo> sensors; in getSensorsList() 146 SensorInfo info = sensor.second->getSensorInfo(); in debug() 202 std::vector<SensorInfo> sensors; in getSensorsList() 204 SensorInfo sensorInfo = sensor.second->getSensorInfo(); in getSensorsList() 214 std::vector<SensorInfo> sensors; in getSensorsList() 216 SensorInfo sensorInfo = sensor.second->getSensorInfo(); in getSensorsList() 226 const std::vector<SensorInfo>& sensorsAdded) { in addDynamicSensors()
|
D | Sensor.h | 30 using ::android::hardware::sensors::V1_0::SensorInfo; 51 const SensorInfo& getSensorInfo() const; 70 SensorInfo mSensorInfo;
|
D | SensorsSubHal.h | 156 void addDynamicSensors(const std::vector<SensorInfo>& sensorsAdded);
|
/hardware/interfaces/sensors/1.0/vts/functional/ |
D | SensorsHidlEnvironmentV1_0.cpp | 26 using ::android::hardware::sensors::V1_0::SensorInfo; 52 std::vector<SensorInfo> sensorList; in resetHal() 54 ->getSensorsList([&](const hidl_vec<SensorInfo>& list) { in resetHal()
|
D | VtsHalSensorsV1_0TargetTest.cpp | 49 SensorInfo defaultSensorByType(SensorType type) override; 50 std::vector<SensorInfo> getSensorsList(); 116 SensorInfo SensorsHidlTest::defaultSensorByType(SensorType type) { in defaultSensorByType() 117 SensorInfo ret; in defaultSensorByType() 134 std::vector<SensorInfo> SensorsHidlTest::getSensorsList() { in getSensorsList() 135 std::vector<SensorInfo> ret; in getSensorsList() 196 std::vector<SensorInfo> sensorList = getSensorsList(); in TEST_P() 214 std::vector<SensorInfo> sensorList = getSensorsList(); in TEST_P() 215 std::vector<SensorInfo> sensorSupportInjection; in TEST_P()
|
/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/2.0/multihal/tests/ |
D | HalProxy_test.cpp | 38 using ::android::hardware::sensors::V1_0::SensorInfo; 64 const hidl_vec<SensorInfo>& /*dynamicSensorsAdded*/) override { in onDynamicSensorsConnected() argument 80 const hidl_vec<SensorInfo>& dynamicSensorsAdded) override { in onDynamicSensorsConnected() 94 const std::vector<SensorInfo>& getSensorsConnected() const { return mSensorsConnected; } in getSensorsConnected() 100 std::vector<SensorInfo> mSensorsConnected; 114 void testSensorsListFromProxyAndSubHal(const std::vector<SensorInfo>& proxySensorsList, 115 const std::vector<SensorInfo>& subHalSensorsList); 126 void testSensorsListForOneDirectChannelEnabledSubHal(const std::vector<SensorInfo>& sensorsList, 186 std::vector<SensorInfo>& sensors, 210 std::vector<SensorInfo> proxySensorsList, combinedSubHalSensorsList; in TEST() [all …]
|
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/ |
D | SensorsHidlTestBase.h | 42 using ::android::hardware::sensors::V1_0::SensorInfo; 69 virtual SensorInfo defaultSensorByType(SensorType type) = 0; 119 static bool isDirectReportRateSupported(SensorInfo sensor, RateLevel rate); 120 static bool isDirectChannelTypeSupported(SensorInfo sensor, SharedMemType type);
|
/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
|
D | config_parser.cpp | 62 std::map<std::string, SensorInfo> ParseSensorInfo(std::string_view config_path) { in ParseSensorInfo() 64 std::map<std::string, SensorInfo> sensors_parsed; in ParseSensorInfo()
|
/hardware/interfaces/sensors/2.0/default/ |
D | Sensor.h | 31 using ::android::hardware::sensors::V1_0::SensorInfo; 51 const SensorInfo& getSensorInfo() const; 70 SensorInfo mSensorInfo;
|
D | Sensors.cpp | 64 std::vector<SensorInfo> sensors; in getSensorsList()
|
/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);
|
D | ISensors.hal | 23 import @1.0::SensorInfo; 31 * The SensorInfo for each sensor returned by getSensorsList must be stable 33 * entire system restarts. The SensorInfo for each sensor must not change 38 getSensorsList() generates (vec<SensorInfo> list);
|
/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()
|
D | convert.cpp | 27 void convertFromSensor(const sensor_t &src, SensorInfo *dst) { in convertFromSensor() 46 const ::android::hardware::sensors::V1_0::SensorInfo &src, in convertToSensor()
|
/hardware/interfaces/sensors/common/vts/utils/ |
D | SensorsHidlTestBase.cpp | 223 bool SensorsHidlTestBase::isDirectReportRateSupported(SensorInfo sensor, RateLevel rate) { in isDirectReportRateSupported() 229 bool SensorsHidlTestBase::isDirectChannelTypeSupported(SensorInfo sensor, SharedMemType type) { in isDirectChannelTypeSupported() 254 SensorInfo sensor = defaultSensorByType(type); in testDirectReportOperation() 371 SensorInfo sensor = defaultSensorByType(type); in testStreamingOperation() 429 SensorInfo sensor = defaultSensorByType(type); in testSamplingRateHotSwitchOperation() 525 SensorInfo sensor = defaultSensorByType(type); in testBatchingOperation()
|
/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_;
|
D | thermal-helper.cpp | 204 [](std::pair<std::string, SensorInfo> const &sensor) { in ThermalHelper() 253 const SensorInfo &sensor_info = sensor_info_map_.at(sensor_name.data()); in readTemperature() 565 const SensorInfo &sensor_info = sensor_info_map_.at(name_status_pair.first); in thermalWatcherCallbackFunc()
|
/hardware/interfaces/sensors/2.0/multihal/ |
D | HalProxy.cpp | 99 std::vector<SensorInfo> sensors; in getSensorsList() 314 Return<void> HalProxy::onDynamicSensorsConnected(const hidl_vec<SensorInfo>& dynamicSensorsAdded, in onDynamicSensorsConnected() 316 std::vector<SensorInfo> sensors; in onDynamicSensorsConnected() 319 for (SensorInfo sensor : dynamicSensorsAdded) { in onDynamicSensorsConnected() 401 for (SensorInfo sensor : list) { in initializeSensorList() 629 void HalProxy::setDirectChannelFlags(SensorInfo* sensorInfo, ISensorsSubHal* subHal) { in setDirectChannelFlags() 700 const SensorInfo& sensor = mHalProxy->getSensorInfo(event.sensorHandle); in processEvents()
|
/hardware/interfaces/sensors/1.0/ |
D | ISensors.hal | 23 getSensorsList() generates (vec<SensorInfo> list); 70 * @return dynamicSensorsAdded vector of SensorInfo contains dynamic sensor 78 vec<SensorInfo> dynamicSensorsAdded);
|