Searched refs:batch (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
H A DDnsEventListenerService.java110 DnsEventBatch batch = mEventBatches.remove(network.netId);
111 if (batch != null) {
112 batch.logAndClear();
133 DnsEventBatch batch = mEventBatches.get(netId);
134 if (batch == null) {
135 batch = new DnsEventBatch(netId);
136 mEventBatches.put(netId, batch);
138 batch.addResult((byte) eventType, (byte) returnCode, latencyMs);
145 for (DnsEventBatch batch : mEventBatches.values()) {
146 pw.println(batch
[all...]
/frameworks/rs/cpu_ref/
H A DrsCpuScriptGroup2.cpp112 // An invoke should be in a batch by itself, so it conflicts with any other
165 Batch* batch = new Batch(this, "Batch0"); local
180 if (batch->conflict(cc)) {
181 mBatches.push_back(batch);
184 batch = new Batch(this, ss.str().c_str());
187 batch->mClosures.push_back(cc);
190 rsAssert(!batch->mClosures.empty());
191 mBatches.push_back(batch);
196 for (Batch* batch : mBatches) {
197 batch
[all...]
/frameworks/native/services/sensorservice/
H A DSensorInterface.h38 virtual status_t batch(void* ident, int handle, int /*flags*/, int64_t samplingPeriodNs,
54 virtual status_t batch(void* ident, int handle, int, int64_t samplingPeriodNs,
86 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
H A DSensorInterface.cpp65 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, function in class:android::HardwareSensor
67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs,
H A DSensorDevice.h44 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
46 // Call batch with timeout zero instead of calling setDelay() for newer devices.
66 // batch call. For continous mode clients, maxBatchReportLatency is set to zero.
80 // Store batch parameters in the KeyedVector and the optimal batch_rate and timeout in
81 // bestBatchParams. For every batch() call corresponding params are stored in batchParams
82 // vector. A continuous mode request is batch(... timeout=0 ..) followed by activate(). A batch
83 // mode request is batch(... timeout > 0 ...) followed by activate().
84 // Info is a per-sensor data structure which contains the batch parameters for each client that
88 // Key is the unique identifier(ident) for each client, value is the batch parameter
[all...]
H A DSensorFusion.cpp160 // Call batch with timeout zero instead of setDelay().
164 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0);
166 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(20), 0);
169 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0);
H A DSensorDevice.cpp176 // Log error. Every activate call should be preceded by a batch() call.
177 ALOGE("\t >>>ERROR: activate called without batch");
189 // Call batch for this sensor with the previously calculated best effort
191 // events, and the best effort batch parameters might have changed.
193 "\t>>> actuating h/w batch %d %d %" PRId64 " %" PRId64, handle,
196 mSensorDevice->batch(mSensorDevice, handle,info.bestBatchParams.flags,
224 // On older devices which do not support batch, call setDelay().
235 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, function in class:android::SensorDevice
250 "SensorDevice::batch: ident=%p, handle=0x%08x, flags=%d, period_ns=%" PRId64 " timeout=%" PRId64,
260 // A batch ha
[all...]
H A DSensorService.cpp1060 ALOGD_IF(DEBUG_CONNECTIONS, "Calling batch handle==%d flags=%d"
1064 status_t err = sensor->batch(connection.get(), handle, 0, samplingPeriodNs,
1109 // batch/activate has failed, reset our state.
/frameworks/native/libs/input/
H A DInputTransport.cpp425 ALOGD("channel '%s' consumer ~ consumed batch event, seq=%u",
453 Batch& batch = mBatches.editItemAt(batchIndex); local
454 if (canAddSample(batch, &mMsg)) {
455 batch.samples.push(mMsg);
457 ALOGD("channel '%s' consumer ~ appended to batch event",
462 // We cannot append to the batch in progress, so we need to consume
463 // the previous batch right now and defer the new message until later.
466 batch, batch.samples.size(), outSeq, outEvent);
472 ALOGD("channel '%s' consumer ~ consumed batch even
484 Batch& batch = mBatches.editTop(); local
521 Batch& batch = mBatches.editItemAt(i); local
555 consumeSamples(InputEventFactoryInterface* factory, Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent) argument
881 const Batch& batch = mBatches.itemAt(i); local
954 canAddSample(const Batch& batch, const InputMessage *msg) argument
970 findSampleNoLaterThan(const Batch& batch, nsecs_t time) argument
[all...]
/frameworks/base/libs/hwui/
H A DLayerBuilder.cpp116 * Checks if a (mergeable) op can be merged into this batch
150 * Exploits the fact that if a op or batch is clipped on a side, its bounds will equal its
188 // check, and doesn't extend past a side of the clip that's in use by the merged batch.
211 // if no target, merging ops still iterate to find similar batch to insert after
219 // TODO: also consider shader shared between batch types
227 // of the same batch/paint could swap order, such as with a non-mergeable
301 // new non-merging batch
313 // Try to merge with any existing batch with same mergeId
329 // new merging batch
346 for (const BatchBase* batch
[all...]
H A DFrameBuilder.cpp577 * Returns batch id for tessellatable shapes, based on paint. Checks to see if path effect/AA will
674 batchid_t batch = op.paint->isAntiAlias() ? OpBatchType::AlphaVertices : OpBatchType::Vertices; local
675 deferStrokeableOp(op, batch, BakedOpState::StrokeBehavior::Forced);
708 batchid_t batch = op.paint->isAntiAlias() ? OpBatchType::AlphaVertices : OpBatchType::Vertices; local
709 deferStrokeableOp(op, batch, BakedOpState::StrokeBehavior::Forced);
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
H A DLayoutBinderWriter.kt767 val batch = ExprModel.filterShouldRead(model.pendingExpressions).toArrayList()
769 L.d("batch: %s", batch)
770 while (!batch.none()) {
771 val readNow = batch.filter { it.shouldReadNow(justRead) }
773 throw IllegalStateException("do not know what I can read. bailing out ${batch.joinToString("\n")}")
775 L.d("new read now. batch size: %d, readNow size: %d", batch.size, readNow.size)
776 nl(readWithDependants(readNow, justRead, batch, tmpDirtyFlags))
777 batch
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DScanTestUtil.java52 int period, int batch, int bssidsPerScan, int reportEvents) {
58 request.maxScansToCache = batch;
63 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, argument
65 return createRequest(band, period, 0, 0, batch, bssidsPerScan, reportEvents);
72 int stepCount, int batch, int bssidsPerScan, int reportEvents) {
80 request.maxScansToCache = batch;
51 createRequest(WifiScanner.ChannelSpec[] channels, int period, int batch, int bssidsPerScan, int reportEvents) argument
71 createRequest(int band, int period, int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) argument
/frameworks/native/include/input/
H A DInputTransport.h289 * to determine whether a pending batch is available to be consumed.
336 /* Returns true if there is a pending batch.
417 // a batch, we append a record here that associates the last sequence number in the
418 // batch with the previous one. When the finished signal is sent, we traverse the
419 // chain to individually finish all input messages that were part of the batch.
429 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent);
444 static bool canAddSample(const Batch& batch, const InputMessage* msg);
445 static ssize_t findSampleNoLaterThan(const Batch& batch, nsecs_t time);
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java397 // narrows the batch if necessary; presumes that canHold(alarm) is true
453 // commit the new batch bounds
492 // commit the new batch bounds
528 // commit the new batch bounds
559 // commit the new batch bounds
722 // returns true if the batch was added at the head
732 // Return the index of the matching batch, or -1 if none found.
758 Batch batch = oldSet.get(batchNum);
759 final int N = batch.size();
761 reAddAlarmLocked(batch
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DScriptScanner.ll35 %option batch
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
H A DExprModelTest.java405 Expr[] batch = {d, e, u1, u2, u1GetCondD, u2GetCondE, xxPlusU2getCondE, abTernary,
407 assertExactMatch(shouldRead, batch);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 452 milliseconds