Home
last modified time | relevance | path

Searched refs:channelHandle (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/sensors/1.0/default/
DSensors.cpp284 int32_t channelHandle = static_cast<int32_t>(err); in registerDirectChannel() local
285 _hidl_cb(Result::OK, channelHandle); in registerDirectChannel()
290 Return<Result> Sensors::unregisterDirectChannel(int32_t channelHandle) { in unregisterDirectChannel() argument
297 mSensorDevice->register_direct_channel(mSensorDevice, nullptr, channelHandle); in unregisterDirectChannel()
303 int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() argument
321 sensorHandle, channelHandle, &cfg); in configDirectReport()
DSensors.h59 Return<Result> unregisterDirectChannel(int32_t channelHandle) override;
62 int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
/hardware/interfaces/sensors/1.0/vts/functional/
DVtsHalSensorsV1_0TargetTest.cpp62 Return<Result> unregisterDirectChannel(int32_t channelHandle) override { in unregisterDirectChannel() argument
63 return S()->unregisterDirectChannel(channelHandle); in unregisterDirectChannel()
66 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() argument
68 return S()->configDirectReport(sensorHandle, channelHandle, rate, _hidl_cb); in configDirectReport()
95 [&] (auto result, auto channelHandle) { in registerDirectChannel() argument
97 mDirectChannelHandles.insert(channelHandle); in registerDirectChannel()
99 cb(result, channelHandle); in registerDirectChannel()
/hardware/interfaces/sensors/1.0/
DISensors.hal153 * @return channelHandle a positive integer used for referencing registered
158 generates (Result result, int32_t channelHandle);
167 * @param channelHandle handle of direct channel to be unregistered.
171 unregisterDirectChannel(int32_t channelHandle) generates (Result result);
182 * @param channelHandle handle of direct channel to be configured.
186 * rate level is not supported by sensor, channelHandle does not
194 int32_t sensorHandle, int32_t channelHandle, RateLevel rate)
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp146 Return<Result> unregisterDirectChannel(int32_t channelHandle) override { in unregisterDirectChannel() argument
147 return getSensors()->unregisterDirectChannel(channelHandle); in unregisterDirectChannel()
150 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate, in configDirectReport() argument
152 return getSensors()->configDirectReport(sensorHandle, channelHandle, rate, _hidl_cb); in configDirectReport()
203 getSensors()->registerDirectChannel(mem, [&](auto result, auto channelHandle) { in registerDirectChannel() argument
205 mDirectChannelHandles.insert(channelHandle); in registerDirectChannel()
207 cb(result, channelHandle); in registerDirectChannel()
877 registerDirectChannel(mem->getSharedMemInfo(), [&](Result result, int32_t channelHandle) { in verifyRegisterDirectChannel() argument
880 ASSERT_GT(channelHandle, 0); in verifyRegisterDirectChannel()
888 ASSERT_EQ(channelHandle, -1); in verifyRegisterDirectChannel()
[all …]
/hardware/interfaces/sensors/common/vts/utils/
DSensorsHidlTestBase.cpp279 int32_t channelHandle; in testDirectReportOperation() local
281 [&channelHandle](auto result, auto channelHandle_) { in testDirectReportOperation()
283 channelHandle = channelHandle_; in testDirectReportOperation()
292 configDirectReport(sensor.sensorHandle, channelHandle, rate, in testDirectReportOperation()
354 configDirectReport(sensor.sensorHandle, channelHandle, RateLevel::STOP, in testDirectReportOperation()
356 EXPECT_EQ(unregisterDirectChannel(channelHandle), Result::OK); in testDirectReportOperation()
/hardware/interfaces/sensors/2.0/default/
DSensors.h81 Return<Result> unregisterDirectChannel(int32_t channelHandle) override;
83 Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle, RateLevel rate,
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h81 virtual Return<Result> unregisterDirectChannel(int32_t channelHandle) = 0;
82 virtual Return<void> configDirectReport(int32_t sensorHandle, int32_t channelHandle,
/hardware/interfaces/sensors/2.0/
DISensors.hal230 * @return channelHandle a positive integer used for referencing registered
236 int32_t channelHandle);
245 * @param channelHandle handle of direct channel to be unregistered.
249 unregisterDirectChannel(int32_t channelHandle) generates (Result result);
260 * @param channelHandle handle of direct channel to be configured.
263 * rate level is not supported by sensor, channelHandle does not exist,
271 int32_t channelHandle,
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraPostProc.h187 QCameraChannel *getChannelByHandle(uint32_t channelHandle);
DQCamera2HWI.h467 QCameraChannel *getChannelByHandle(uint32_t channelHandle);
DQCameraPostProc.cpp4205 QCameraChannel *QCameraPostProcessor::getChannelByHandle(uint32_t channelHandle) in getChannelByHandle() argument
4207 QCameraChannel *pChannel = m_parent->getChannelByHandle(channelHandle); in getChannelByHandle()
4212 (validate_handle(mPPChannels[i]->getMyHandle(), channelHandle))) { in getChannelByHandle()
DQCamera2HWI.cpp9040 QCameraChannel *QCamera2HardwareInterface::getChannelByHandle(uint32_t channelHandle) in getChannelByHandle() argument
9044 (validate_handle(m_channels[i]->getMyHandle(), channelHandle))) { in getChannelByHandle()