Home
last modified time | relevance | path

Searched refs:batch (Results 1 – 25 of 71) sorted by relevance

123

/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp417 auto batch = std::make_shared<InflightBatch>(); in registerBatch() local
418 batch->mFirstFrame = frameNumber; in registerBatch()
419 batch->mBatchSize = batchSize; in registerBatch()
420 batch->mLastFrame = batch->mFirstFrame + batch->mBatchSize - 1; in registerBatch()
421 batch->mNumPartialResults = mNumPartialResults; in registerBatch()
423 batch->mBatchBufs.emplace(id, batch->mBatchSize); in registerBatch()
426 mInflightBatches.push_back(batch); in registerBatch()
454 std::shared_ptr<InflightBatch> batch = mInflightBatches[0]; in checkAndRemoveFirstBatch() local
457 Mutex::Autolock _l(batch->mLock); in checkAndRemoveFirstBatch()
458 if (batch->allDelivered()) { in checkAndRemoveFirstBatch()
[all …]
DCameraDeviceSession.h260 std::shared_ptr<InflightBatch> batch, uint32_t lastPartialResultIdx);
268 void sendBatchShutterCbsLocked(std::shared_ptr<InflightBatch> batch);
270 void sendBatchBuffersLocked(std::shared_ptr<InflightBatch> batch);
273 std::shared_ptr<InflightBatch> batch, const std::vector<int>& streams);
/hardware/libhardware/modules/sensors/dynamic_sensor/
Dsensors.cpp41 device.batch = BatchWrapper; in SensorContext()
68 int SensorContext::batch( in batch() function in SensorContext
72 return mDynamicSensorManager->batch(handle, sampling_period_ns, max_report_latency_ns); in batch()
110 return reinterpret_cast<SensorContext *>(dev)->batch( in BatchWrapper()
DBaseSensorObject.h51 virtual int batch(int64_t samplePeriod, int64_t batchPeriod) = 0; in REF_BASE()
DDynamicSensorManager.cpp95 int DynamicSensorManager::batch(int handle, nsecs_t sample_period, nsecs_t batch_period) { in batch() function in android::SensorHalExt::DynamicSensorManager
102 return s->batch(sample_period, batch_period); in batch()
107 return batch(handle, sample_period, 0); in setDelay()
DDummyDynamicAccelDaemon.h49 virtual int batch(nsecs_t sample_period, nsecs_t batch_period);
Dsensors.h52 int batch(int handle, int64_t sampling_period_ns,
DDynamicSensorsSubHal.cpp73 Return<Result> DynamicSensorsSubHal::batch( in batch() function in android::SensorHalExt::DynamicSensorsSubHal
76 int rc = mDynamicSensorManager->batch(sensor_handle, sampling_period_ns, in batch()
/hardware/interfaces/gnss/1.0/
DIGnssBatching.hal60 * Time interval between samples in the location batch, in nano
82 * Return the batch size (in number of GnssLocation objects)
92 * @return batchSize number of location objects supported per batch
98 * asleep and the device can batch locations in the hardware.
138 * Closes the interface. If any batch operations are in progress,
139 * they must be stopped. If any locations are in the hardware batch, they
/hardware/invensense/65xx/libsensors_iio/
Dsensors_mpl.cpp95 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
319 int sensors_poll_context_t::batch(int handle, int flags, int64_t period_ns, in batch() function in sensors_poll_context_t
323 return mSensor->batch(handle, flags, period_ns, timeout); in batch()
370 return ctx->batch(handle, flags, period_ns, timeout); in poll__batch()
400 dev->device.batch = poll__batch; in open_sensors()
DSensorBase.h97 virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp635 std::shared_ptr<InflightBatch> batch = pair.second; in processCaptureResult_3_4() local
637 Mutex::Autolock _l(batch->mLock); in processCaptureResult_3_4()
639 if (batch->mRemoved) { in processCaptureResult_3_4()
648 batch->mResultMds[result.v3_2.partialResult].mMds.push_back( in processCaptureResult_3_4()
656 auto it = batch->mBatchBufs.find(buffer.streamId); in processCaptureResult_3_4()
657 if (it != batch->mBatchBufs.end()) { in processCaptureResult_3_4()
682 if (result.v3_2.frameNumber == batch->mLastFrame) { in processCaptureResult_3_4()
685 sendBatchMetadataLocked(batch, result.v3_2.partialResult); in processCaptureResult_3_4()
689 sendBatchBuffersLocked(batch, filledStreams); in processCaptureResult_3_4()
695 if (result.v3_2.frameNumber == batch->mLastFrame) { in processCaptureResult_3_4()
/hardware/invensense/6515/libsensors_iio/
Dsensors_mpl.cpp118 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
357 int sensors_poll_context_t::batch(int handle, int flags, int64_t period_ns, in batch() function in sensors_poll_context_t
361 return mSensor->batch(handle, flags, period_ns, timeout); in batch()
432 return ctx->batch(handle, flags, period_ns, timeout); in poll__batch()
469 dev->device.batch = poll__batch; in open_sensors()
DSensorBase.h98 virtual int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
/hardware/interfaces/sensors/common/default/2.X/multihal/include/
DSubHalWrapper.h72 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
114 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() function
116 return mSubHal->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
DHalProxy.h106 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
409 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() function
411 return HalProxy::batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
/hardware/interfaces/power/stats/1.0/vts/functional/
DVtsHalPowerStatsV1_0TargetTest.cpp518 uint32_t batch = std::max(1, (int)((std::rand() % totalSamples) * railsInSample)); in readEnergy() local
519 ALOGI("Read energy, timsMs: %u, batch: %u", timeMs, batch); in readEnergy()
520 std::vector<EnergyData> data(batch); in readEnergy()
522 rc = mQueue->readBlocking(&data[0], batch, timeout_ns); in readEnergy()
526 sampleCount = sampleCount + batch; in readEnergy()
527 if (batch > totalQuants - sampleCount) { in readEnergy()
528 batch = 1; in readEnergy()
/hardware/interfaces/sensors/common/default/2.X/multihal/tests/fake_subhal/
DSensorsSubHal.h61 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
132 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() function
134 return ISensorsSubHalBase::batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
/hardware/interfaces/sensors/common/utils/
DISensorsWrapper.h87 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
143 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() function
145 return mSensors->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
/hardware/interfaces/camera/device/1.0/
DICameraDeviceCallback.hal98 * Send a batch of image data buffer to the camera service, with timestamps
106 * @param batch a vector messages. Each message contains a image buffer and a timestamp. The
111 handleCallbackTimestampBatch(DataCallbackMsg msgType, vec<HandleTimestampMessage> batch);
/hardware/interfaces/sensors/2.1/
Dtypes.hal115 * number of events reserved for this sensor in the batch mode FIFO.
143 * through batch()/setDelay() the events will be generated at this frequency
146 * batch FIFO may be full.
/hardware/interfaces/sensors/1.0/default/
DSensors.h47 Return<Result> batch(
/hardware/interfaces/sensors/common/vts/utils/include/sensors-vts-utils/
DSensorsHidlTestBase.h191 virtual Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs,
269 ASSERT_EQ(batch(handle, samplingPeriodInNs, batchingPeriodInNs), Result::OK); in testStreamingOperation()
334 ASSERT_EQ(batch(handle, firstCollectionPeriod, batchingPeriodInNs), Result::OK);
341 ASSERT_EQ(batch(handle, secondCollectionPeriod, batchingPeriodInNs), Result::OK);
437 ASSERT_EQ(batch(handle, minSamplingPeriodInNs, INT64_MAX), Result::OK); in testBatchingOperation()
/hardware/interfaces/sensors/common/vts/2_X/
DVtsHalSensorsV2_XTargetTest.h192 Return<Result> batch(int32_t sensorHandle, int64_t samplingPeriodNs, in batch() function
194 return getSensors()->batch(sensorHandle, samplingPeriodNs, maxReportLatencyNs); in batch()
506 batch(sensorInfo.sensorHandle, sensorInfo.minDelay, 0 /* maxReportLatencyNs */); in activateAllSensors()
605 batch(sensor.sensorHandle, sensor.maxDelay, 0 /* maxReportLatencyNs */); in runFlushTest()
696 ASSERT_EQ(batch(sensor.sensorHandle, samplingPeriodNs, 0 /* maxReportLatencyNs */), in TEST_P()
703 ASSERT_EQ(batch(sensor.sensorHandle, sensor.maxDelay, 0 /* maxReportLatencyNs */), in TEST_P()
711 ASSERT_EQ(batch(sensor.sensorHandle, sensor.minDelay, 0 /* maxReportLatencyNs */), in TEST_P()
727 batch(sensor.sensorHandle, sensor.minDelay, 0 /* maxReportLatencyNs */); in TEST_P()
/hardware/libhardware/modules/sensors/
Dmultihal.cpp198 int batch(int handle, int flags, int64_t period_ns, int64_t timeout);
403 int sensors_poll_context_t::batch(int handle, int flags, int64_t period_ns, int64_t timeout) { in batch() function in sensors_poll_context_t
409 retval = v1->batch(v1, local_handle, flags, period_ns, timeout); in batch()
558 return ctx->batch(handle, flags, period_ns, timeout); in device__batch()
803 dev->proxy_device.batch = device__batch; in open_sensors()

123