Home
last modified time | relevance | path

Searched refs:ISensorsSubHal (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/sensors/2.0/multihal/include/
DSubHal.h102 class ISensorsSubHal : public ISensors {
155 using ::android::hardware::sensors::V2_0::implementation::ISensorsSubHal;
169 __attribute__((visibility("default"))) extern "C" ISensorsSubHal* sensorsHalGetSubHal(
DHalProxy.h60 using ISensorsSubHal = ::android::hardware::sensors::V2_0::implementation::ISensorsSubHal; variable
64 explicit HalProxy(std::vector<ISensorsSubHal*>& subHalList);
168 std::vector<ISensorsSubHal*> mSubHalList;
189 ISensorsSubHal* mDirectChannelSubHal = nullptr;
333 void setDirectChannelFlags(SensorInfo* sensorInfo, ISensorsSubHal* subHal);
341 ISensorsSubHal* getSubHalForSensorHandle(int32_t sensorHandle);
/hardware/interfaces/sensors/2.0/multihal/tests/
DHalProxy_test.cpp192 std::vector<ISensorsSubHal*> fakeSubHals{&subHal}; in TEST()
205 std::vector<ISensorsSubHal*> fakeSubHals; in TEST()
227 std::vector<ISensorsSubHal*> fakeSubHals{&subHal1, &subHal2}; in TEST()
244 std::vector<ISensorsSubHal*> fakeSubHals{&subHal1, &subHal2}; in TEST()
261 std::vector<ISensorsSubHal*> fakeSubHals{&subHal1, &subHal2}; in TEST()
272 std::vector<ISensorsSubHal*> fakeSubHals{&subHal1, &subHal2, &subHal3}; in TEST()
283 std::vector<ISensorsSubHal*> subHals{&subHal}; in TEST()
300 std::vector<ISensorsSubHal*> subHals{&subHal}; in TEST()
316 std::vector<ISensorsSubHal*> subHals{&subHal}; in TEST()
342 std::vector<ISensorsSubHal*> subHals{&subHal}; in TEST()
[all …]
/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp45 typedef ISensorsSubHal*(SensorsHalGetSubHalFunc)(uint32_t*);
90 HalProxy::HalProxy(std::vector<ISensorsSubHal*>& subHalList) : mSubHalList(subHalList) { in HalProxy()
111 ISensorsSubHal* subHal = mSubHalList[subHalIndex]; in setOperationMode()
121 ISensorsSubHal* subHal = mSubHalList[i]; in setOperationMode()
302 for (ISensorsSubHal* subHal : mSubHalList) { in debug()
376 ISensorsSubHal* subHal = sensorsHalGetSubHal(&version); in initializeSubHalListFromConfigFile()
399 ISensorsSubHal* subHal = mSubHalList[subHalIndex]; in initializeSensorList()
629 void HalProxy::setDirectChannelFlags(SensorInfo* sensorInfo, ISensorsSubHal* subHal) { in setDirectChannelFlags()
643 ISensorsSubHal* HalProxy::getSubHalForSensorHandle(int32_t sensorHandle) { in getSubHalForSensorHandle()
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/
DSensorsSubHal.h40 class SensorsSubHal : public ISensorsSubHal, public ISensorsEventCallback {
DSensorsSubHal.cpp22 ISensorsSubHal* sensorsHalGetSubHal(uint32_t* version) { in sensorsHalGetSubHal()