Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/2.0/multihal/tests/
DHalProxy_test.cpp191 AllSensorsSubHal subHal; in TEST() local
192 std::vector<ISensorsSubHal*> fakeSubHals{&subHal}; in TEST()
196 subHal.getSensorsList([&](const auto& subHalSensorsList) { in TEST()
282 AllSensorsSubHal subHal; in TEST() local
283 std::vector<ISensorsSubHal*> subHals{&subHal}; in TEST()
291 subHal.postEvents(events, false /* wakeup */); in TEST()
299 AllSensorsSubHal subHal; in TEST() local
300 std::vector<ISensorsSubHal*> subHals{&subHal}; in TEST()
308 subHal.postEvents(events, false /* wakeup */); in TEST()
315 AllSensorsSubHal subHal; in TEST() local
[all …]
/hardware/interfaces/sensors/2.0/multihal/
DHalProxy.cpp111 ISensorsSubHal* subHal = mSubHalList[subHalIndex]; in setOperationMode() local
112 result = subHal->setOperationMode(mode); in setOperationMode()
114 ALOGE("setOperationMode failed for SubHal: %s", subHal->getName().c_str()); in setOperationMode()
121 ISensorsSubHal* subHal = mSubHalList[i]; in setOperationMode() local
122 subHal->setOperationMode(mCurrentOperationMode); in setOperationMode()
191 auto subHal = mSubHalList[i]; in initialize() local
193 Result currRes = subHal->initialize(subHalCallback); in initialize()
196 ALOGE("Subhal '%s' failed to initialize.", subHal->getName().c_str()); in initialize()
302 for (ISensorsSubHal* subHal : mSubHalList) { in debug()
303 stream << " Name: " << subHal->getName() << std::endl; in debug()
[all …]
/hardware/interfaces/sensors/2.0/multihal/tests/fake_subhal/
DSensorsSubHal.cpp24 static ::android::hardware::sensors::V2_0::subhal::implementation::AllSensorsSubHal subHal; in sensorsHalGetSubHal()
27 subHal; in sensorsHalGetSubHal()
29 static ::android::hardware::sensors::V2_0::subhal::implementation::OnChangeSensorsSubHal subHal; in sensorsHalGetSubHal()
31 static ::android::hardware::sensors::V2_0::subhal::implementation::SensorsSubHal subHal; in sensorsHalGetSubHal()
34 return &subHal; in sensorsHalGetSubHal()
/hardware/interfaces/sensors/2.0/multihal/include/
DHalProxy.h333 void setDirectChannelFlags(SensorInfo* sensorInfo, ISensorsSubHal* subHal);