Home
last modified time | relevance | path

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

123456

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
H A DGroupCoalescer.java180 } else if (batch != null in maybeEmitBatch()
183 emitBatch(batch); in maybeEmitBatch()
208 batch); in handleNotificationPosted()
211 batch.mMembers.add(event); in handleNotificationPosted()
212 resetShortTimeout(batch); in handleNotificationPosted()
222 if (batch == null) { in getOrBuildBatch()
226 return batch; in getOrBuildBatch()
233 batch.mCancelShortTimeout = in resetShortTimeout()
243 if (batch != mBatches.get(batch.mGroupKey)) { in emitBatch()
246 if (batch.mMembers.isEmpty()) { in emitBatch()
[all …]
/aosp12/packages/modules/NeuralNetworks/common/
H A DQuantUtils.cpp87 for (int batch = 0; batch < n_batch; ++batch) { in ApplySigmoid() local
91 const int index = batch * n_input + c; in ApplySigmoid()
101 for (int batch = 0; batch < n_batch; ++batch) { in CwiseMul() local
103 const int index = batch * n_input + i; in CwiseMul()
114 for (int batch = 0; batch < n_batch; ++batch) { in CwiseMul() local
116 const int index = batch * n_input + i; in CwiseMul()
140 for (int batch = 0; batch < n_batch; ++batch) { in CwiseAdd() local
142 const int index = batch * n_input + i; in CwiseAdd()
151 for (int batch = 0; batch < n_batch; ++batch) { in CwiseClipping() local
153 const int index = batch * n_input + i; in CwiseClipping()
[all …]
H A DQuantUtils.h36 for (int batch = 0; batch < n_batch; ++batch) { in MatrixBatchVectorMultiplyAccumulate() local
40 int8_t input_val = input[batch * n_input + col]; in MatrixBatchVectorMultiplyAccumulate()
46 acc += output[batch * n_output + row]; in MatrixBatchVectorMultiplyAccumulate()
53 output[batch * n_output + row] = static_cast<T>(acc); in MatrixBatchVectorMultiplyAccumulate()
153 for (int batch = 0; batch < n_batch; ++batch) { in ApplyTanh() local
155 const int index = batch * n_input + i; in ApplyTanh()
/aosp12/hardware/interfaces/camera/device/3.2/default/
H A DCameraDeviceSession.cpp418 batch->mFirstFrame = frameNumber; in registerBatch()
419 batch->mBatchSize = batchSize; in registerBatch()
420 batch->mLastFrame = batch->mFirstFrame + batch->mBatchSize - 1; in registerBatch()
423 batch->mBatchBufs.emplace(id, batch->mBatchSize); in registerBatch()
426 mInflightBatches.push_back(batch); in registerBatch()
459 batch->mRemoved = true; in checkAndRemoveFirstBatch()
471 if (batch->mShutterDelivered) { in sendBatchShutterCbsLocked()
481 batch->mShutterDelivered = true; in sendBatchShutterCbsLocked()
482 batch->mShutterMsgs.clear(); in sendBatchShutterCbsLocked()
701 if (batch->mRemoved) { in notify()
[all …]
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
H A DBatchingAlarmStore.java106 for (final Batch batch : mAlarmBatches) { in getNextWakeFromIdleAlarm()
110 for (int i = 0; i < batch.size(); i++) { in getNextWakeFromIdleAlarm()
111 final Alarm a = batch.get(i); in getNextWakeFromIdleAlarm()
124 for (final Batch batch : oldBatches) { in rebatchAllAlarms()
126 insertAndBatchAlarm(batch.get(i)); in rebatchAllAlarms()
160 if (batch.mStart > nowElapsed) { in removePendingAlarms()
165 removedAlarms.add(batch.get(i)); in removePendingAlarms()
189 for (final Batch batch : mAlarmBatches) { in asList()
191 allAlarms.add(batch.get(i)); in asList()
247 if (batch.add(alarm)) { in insertAndBatchAlarm()
[all …]
/aosp12/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup2.cpp179 if (batch->conflict(cc)) { in CpuScriptGroup2Impl()
180 mBatches.push_back(batch); in CpuScriptGroup2Impl()
187 batch->mClosures.push_back(cc); in CpuScriptGroup2Impl()
191 mBatches.push_back(batch); in CpuScriptGroup2Impl()
214 for (Batch* batch : mBatches) { in ~CpuScriptGroup2Impl()
215 delete batch; in ~CpuScriptGroup2Impl()
416 rsAssert(batch->size() > 0); in compile()
419 ss << batch->mName << ":"; in compile()
574 for (auto batch : mBatches) { in execute() local
575 batch->setGlobalsForBatch(); in execute()
[all …]
/aosp12/system/libhidl/transport/allocator/1.0/default/
H A DAshmemAllocator.cpp68 hidl_vec<hidl_memory> batch; in batchAllocate() local
69 batch.resize(count); in batchAllocate()
73 batch[allocated] = allocateOne(size); in batchAllocate()
75 if (batch[allocated].handle() == nullptr) { in batchAllocate()
87 _hidl_cb(true /* success */, batch); in batchAllocate()
91 cleanup(std::move(batch[i])); in batchAllocate()
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DBatchingNamedTaskExecutor.java65 NamedTask[] batch = new NamedTask[0]; in executeNextBatch() local
69 batch = nextTasks.toArray(batch); in executeNextBatch()
74 for (NamedTask task : batch) { in executeNextBatch()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppService.java900 BluetoothOppBatch batch = mBatches.get(i); in updateShare() local
908 BluetoothOppBatch batch = mBatches.get(i); in updateShare() local
936 removeBatch(batch); in updateShare()
955 BluetoothOppBatch batch = mBatches.get(i); in deleteShare() local
956 if (batch.hasShare(info)) { in deleteShare()
960 batch.cancelBatch(); in deleteShare()
962 if (batch.isEmpty()) { in deleteShare()
966 removeBatch(batch); in deleteShare()
1008 private void removeBatch(BluetoothOppBatch batch) { in removeBatch() argument
1010 Log.v(TAG, "Remove batch " + batch.mId); in removeBatch()
[all …]
/aosp12/frameworks/native/libs/input/
H A DInputTransport.cpp783 batch.samples.erase(batch.samples.begin(), batch.samples.begin() + count); in consume()
789 status_t result = consumeSamples(factory, batch, batch.samples.size(), in consume()
807 Batch batch; in consume() local
879 Batch& batch = mBatches[i]; in consumeBatch() local
881 result = consumeSamples(factory, batch, batch.samples.size(), outSeq, outEvent); in consumeBatch()
897 if (batch.samples.empty()) { in consumeBatch()
901 next = &batch.samples[0]; in consumeBatch()
932 batch.samples.erase(batch.samples.begin(), batch.samples.begin() + count); in consumeSamples()
1301 const Batch& batch = mBatches[0]; in getPendingBatchSource() local
1308 const Batch& batch = mBatches[i]; in findBatch() local
[all …]
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/
H A 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()
/aosp12/hardware/interfaces/gnss/1.0/
H A 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
/aosp12/frameworks/native/services/sensorservice/
H A DSensorInterface.h39 virtual status_t batch(void* ident, int handle, int /*flags*/, int64_t samplingPeriodNs,
55 virtual status_t batch(void* ident, int handle, int, int64_t samplingPeriodNs, in batch() function
88 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
H A DSensorInterface.cpp66 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, in batch() function in android::HardwareSensor
68 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSelectionManager.java158 int batch = 50; in expandMediaSet() local
162 int count = index + batch < total in expandMediaSet()
163 ? batch in expandMediaSet()
173 index += batch; in expandMediaSet()
/aosp12/hardware/interfaces/camera/device/3.4/default/
H A 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()
/aosp12/hardware/invensense/65xx/libsensors_iio/
H A 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()
/aosp12/hardware/invensense/6515/libsensors_iio/
H A 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()
/aosp12/packages/services/Car/tests/BugReportApp/libs/
H A Dgoogle-api-client-1.30.2.jar ... com/google/api/client/googleapis/batch/ com/google/api/client/googleapis ...
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/
H A Dgoogle-api-client-1.30.10.jar ... com/google/api/client/googleapis/batch/ com/google/api/client/googleapis ...
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DScanTestUtil.java62 int period, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
68 request.maxScansToCache = batch; in createRequest()
73 public static WifiScanner.ScanSettings createRequest(int type, int band, int period, int batch, in createRequest() argument
76 batch, bssidsPerScan, reportEvents); in createRequest()
79 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, in createRequest() argument
81 return createRequest(WifiScanner.SCAN_TYPE_HIGH_ACCURACY, band, period, 0, 0, batch, in createRequest()
89 int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
98 request.maxScansToCache = batch; in createRequest()
/aosp12/hardware/interfaces/power/stats/1.0/vts/functional/
H A 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()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsTransaction.java71 public ContactsTransaction(boolean batch) { in ContactsTransaction() argument
72 mBatch = batch; in ContactsTransaction()
/aosp12/hardware/interfaces/sensors/common/default/2.X/multihal/include/
H A 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()
/aosp12/system/libhidl/transport/allocator/1.0/
H A DIAllocator.hal39 * @return batch Unmapped memory objects.
41 batchAllocate(uint64_t size, uint64_t count) generates (bool success, vec<memory> batch);

123456