Home
last modified time | relevance | path

Searched refs:subHal (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/sensors/common/default/2.X/multihal/tests/
DHalProxy_test.cpp224 AllSensorsSubHal<SensorsSubHalV2_0> subHal; in TEST() local
225 std::vector<ISensorsSubHal*> fakeSubHals{&subHal}; in TEST()
229 subHal.getSensorsList([&](const auto& subHalSensorsList) { in TEST()
315 AllSensorsSubHal<SensorsSubHalV2_0> subHal; in TEST() local
316 std::vector<ISensorsSubHal*> subHals{&subHal}; in TEST()
324 subHal.postEvents(convertToNewEvents(events), false /* wakeup */); in TEST()
332 AllSensorsSubHal<SensorsSubHalV2_0> subHal; in TEST() local
333 std::vector<ISensorsSubHal*> subHals{&subHal}; in TEST()
341 subHal.postEvents(convertToNewEvents(events), false /* wakeup */); in TEST()
348 AllSensorsSubHal<SensorsSubHalV2_0> subHal; in TEST() local
[all …]
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DSubHalWrapper.h96 SubHalWrapperBase(T* subHal) : mSubHal(subHal){}; in SubHalWrapperBase() argument
151 SubHalWrapperV2_0(V2_0::implementation::ISensorsSubHal* subHal) : SubHalWrapperBase(subHal){}; in SubHalWrapperV2_0() argument
163 SubHalWrapperV2_1(V2_1::implementation::ISensorsSubHal* subHal) : SubHalWrapperBase(subHal) {} in SubHalWrapperV2_1() argument
DHalProxy.h338 void setDirectChannelFlags(SensorInfo* sensorInfo, std::shared_ptr<ISubHalWrapperBase> subHal);
/hardware/interfaces/sensors/common/default/2.X/multihal/
DHalProxy.cpp91 for (ISensorsSubHalV2_0* subHal : subHalList) { in HalProxy()
92 mSubHalList.push_back(std::make_unique<SubHalWrapperV2_0>(subHal)); in HalProxy()
100 for (ISensorsSubHalV2_0* subHal : subHalList) { in HalProxy()
101 mSubHalList.push_back(std::make_unique<SubHalWrapperV2_0>(subHal)); in HalProxy()
104 for (ISensorsSubHalV2_1* subHal : subHalListV2_1) { in HalProxy()
105 mSubHalList.push_back(std::make_unique<SubHalWrapperV2_1>(subHal)); in HalProxy()
370 for (auto& subHal : mSubHalList) { in debug() local
371 stream << " Name: " << subHal->getName() << std::endl; in debug()
374 subHal->debug(fd, {}); in debug()
441 ISensorsSubHalV2_0* subHal = sensorsHalGetSubHal(&version); in initializeSubHalListFromConfigFile() local
[all …]
/hardware/libhardware/modules/sensors/dynamic_sensor/
DDynamicSensorsSubHal.cpp234 static android::SensorHalExt::DynamicSensorsSubHal subHal; in sensorsHalGetSubHal_2_1() local
237 return &subHal; in sensorsHalGetSubHal_2_1()