Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/connectivity/
DDnsEventListenerService.java110 DnsEventBatch batch = mEventBatches.remove(network.netId);
111 if (batch != null) {
112 batch.logAndClear();
133 DnsEventBatch batch = mEventBatches.get(netId); in onDnsEvent() local
134 if (batch == null) { in onDnsEvent()
135 batch = new DnsEventBatch(netId); in onDnsEvent()
136 mEventBatches.put(netId, batch); in onDnsEvent()
138 batch.addResult((byte) eventType, (byte) returnCode, latencyMs); in onDnsEvent()
145 for (DnsEventBatch batch : mEventBatches.values()) { in dump()
146 pw.println(batch.toString()); in dump()
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp165 Batch* batch = new Batch(this, "Batch0"); in CpuScriptGroup2Impl() local
180 if (batch->conflict(cc)) { in CpuScriptGroup2Impl()
181 mBatches.push_back(batch); in CpuScriptGroup2Impl()
184 batch = new Batch(this, ss.str().c_str()); in CpuScriptGroup2Impl()
187 batch->mClosures.push_back(cc); in CpuScriptGroup2Impl()
190 rsAssert(!batch->mClosures.empty()); in CpuScriptGroup2Impl()
191 mBatches.push_back(batch); in CpuScriptGroup2Impl()
196 for (Batch* batch : mBatches) { in CpuScriptGroup2Impl()
197 batch->resolveFuncPtr(mScriptObj); in CpuScriptGroup2Impl()
214 for (Batch* batch : mBatches) { in ~CpuScriptGroup2Impl()
[all …]
/frameworks/native/libs/input/
DInputTransport.cpp453 Batch& batch = mBatches.editItemAt(batchIndex); in consume() local
454 if (canAddSample(batch, &mMsg)) { in consume()
455 batch.samples.push(mMsg); in consume()
466 batch, batch.samples.size(), outSeq, outEvent); in consume()
484 Batch& batch = mBatches.editTop(); in consume() local
485 batch.samples.push(mMsg); in consume()
521 Batch& batch = mBatches.editItemAt(i); in consumeBatch() local
523 result = consumeSamples(factory, batch, batch.samples.size(), in consumeBatch()
533 ssize_t split = findSampleNoLaterThan(batch, sampleTime); in consumeBatch()
538 result = consumeSamples(factory, batch, split + 1, outSeq, outEvent); in consumeBatch()
[all …]
/frameworks/base/libs/hwui/
DLayerBuilder.cpp346 for (const BatchBase* batch : mBatches) { in replayBakedOpsImpl() local
347 size_t size = batch->getOps().size(); in replayBakedOpsImpl()
348 if (size > 1 && batch->isMerging()) { in replayBakedOpsImpl()
349 int opId = batch->getOps()[0]->op->opId; in replayBakedOpsImpl()
350 const MergingOpBatch* mergingBatch = static_cast<const MergingOpBatch*>(batch); in replayBakedOpsImpl()
352 batch->getOps().data(), in replayBakedOpsImpl()
359 for (const BakedOpState* op : batch->getOps()) { in replayBakedOpsImpl()
379 for (const BatchBase* batch : mBatches) { in dump() local
380 batch->dump(); in dump()
DFrameBuilder.cpp674 batchid_t batch = op.paint->isAntiAlias() ? OpBatchType::AlphaVertices : OpBatchType::Vertices; in deferLinesOp() local
675 deferStrokeableOp(op, batch, BakedOpState::StrokeBehavior::Forced); in deferLinesOp()
708 batchid_t batch = op.paint->isAntiAlias() ? OpBatchType::AlphaVertices : OpBatchType::Vertices; in deferPointsOp() local
709 deferStrokeableOp(op, batch, BakedOpState::StrokeBehavior::Forced); in deferPointsOp()
/frameworks/native/services/sensorservice/
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, in batch() function
86 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
DSensorInterface.cpp65 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, in batch() function in android::HardwareSensor
67 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
DSensorFusion.cpp164 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0); in setDelay()
166 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(20), 0); in setDelay()
169 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0); in setDelay()
DSensorDevice.cpp196 mSensorDevice->batch(mSensorDevice, handle,info.bestBatchParams.flags, in activate()
235 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, in batch() function in android::SensorDevice
281 err = mSensorDevice->batch(mSensorDevice, handle, info.bestBatchParams.flags, in batch()
360 err = mSensorDevice->batch(mSensorDevice, sensor_handle, in enableAllSensors()
DSensorDevice.h44 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DLayoutBinderWriter.kt767 val batch = ExprModel.filterShouldRead(model.pendingExpressions).toArrayList() in <lambda>() constant
769 L.d("batch: %s", batch) in <lambda>()
770 while (!batch.none()) { in <lambda>()
771 val readNow = batch.filter { it.shouldReadNow(justRead) } in <lambda>()
775 L.d("new read now. batch size: %d, readNow size: %d", batch.size, readNow.size) in <lambda>()
776 nl(readWithDependants(readNow, justRead, batch, tmpDirtyFlags)) in <lambda>()
777 batch.removeAll(justRead) in <lambda>()
782 val batch = ExprModel.filterShouldRead(model.pendingExpressions).toArrayList() in <lambda>() constant
783 if (batch.isNotEmpty()) { in <lambda>()
786 batch.size, batch[0], batch[0].toCode().generate()) in <lambda>()
[all …]
/frameworks/base/docs/html/training/performance/battery/network/
Daction-app-traffic.jd11 <li><a href="#batch-schedule">Batch and Schedule Network Requests</a>
33 <h2 id="batch-schedule">Batch and Schedule Network Requests</h2>
60 device is charging. Schedulers defer and batch network requests system-wide, across all apps on
65 <h3 id="choosing-scheduler">Choosing a batch-and-scheduling API</h3>
68 Android provides three different APIs for your app to batch and schedule network requests. For
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java52 int period, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
58 request.maxScansToCache = batch; in createRequest()
63 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, in createRequest() argument
65 return createRequest(band, period, 0, 0, batch, bssidsPerScan, reportEvents); in createRequest()
72 int stepCount, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
80 request.maxScansToCache = batch; in createRequest()
/frameworks/native/include/input/
DInputTransport.h429 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/
DAlarmManagerService.java758 Batch batch = oldSet.get(batchNum); in rebatchAllAlarmsLocked() local
759 final int N = batch.size(); in rebatchAllAlarmsLocked()
761 reAddAlarmLocked(batch.get(i), nowElapsed, doValidate); in rebatchAllAlarmsLocked()
1161 Batch batch = new Batch(a); in setImplLocked() local
1162 addBatchLocked(mAlarmBatches, batch); in setImplLocked()
1164 Batch batch = mAlarmBatches.get(whichBatch); in setImplLocked() local
1165 if (batch.add(a)) { in setImplLocked()
1169 addBatchLocked(mAlarmBatches, batch); in setImplLocked()
2102 Batch batch = mAlarmBatches.get(0); in triggerAlarmsLocked() local
2103 if (batch.start > nowELAPSED) { in triggerAlarmsLocked()
[all …]
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg52 config.environment['DEBUGGER_ARGS'] = '-q -batch -n --args ' \
/frameworks/base/docs/html-intl/intl/in/guide/topics/providers/
Dcontent-provider-basics.jd60 <a href="#Batch">Akses batch</a>
920 …<a href="#Batch">Akses batch</a>: Anda bisa membuat sebuah batch panggilan akses dengan metode-met…
937 Akses batch dan modifikasi melalui intent dijelaskan dalam bagian-bagian berikut.
939 <h3 id="Batch">Akses batch</h3>
941 Akses batch ke penyedia berguna untuk menyisipkan baris dalam jumlah besar, atau menyisipkan
946 Untuk mengakses penyedia dalam "mode batch",
957 menyertakan cuplikan kode yang memperagakan penyisipan batch. Contoh aplikasi
959 berisi contoh akses batch dalam file sumber <code>ContactAdder.java</code>-nya
Dcontacts-provider.jd799 Modifikasi batch.
930 <h3 id="Transactions">Modifikasi batch</h3>
933 "batch mode", dengan membuat {@link java.util.ArrayList} dari
939 tidak konsisten. Modifikasi batch juga memudahkan penyisipan kontak mentah dan data detailnya
950 Modifikasi batch yang berisi operasi dalam jumlah besar bisa memblokir proses lain,
972 atomis terkecil adalah seluruh batch operasi. Jika menggunakan yield point, Anda akan mencegah
1010 operasi batch diterapkan, hasil tiap operasi akan disimpan dalam
1030 …Cuplikan kode berikut menampilkan cara menyisipkan kontak mentah baru dan data secara batch. Cupli…
1063 * Prepares the batch operation for inserting a new raw contact and its data. Even if
1132 * by the first operation in the batch.
[all …]
/frameworks/base/docs/html-intl/intl/ru/guide/topics/providers/
Dcontacts-provider.jd1063 * Prepares the batch operation for inserting a new raw contact and its data. Even if
1132 * by the first operation in the batch.
1152 * by the first operation in the batch.
1165 * Demonstrates a yield point. At the end of this insert, the batch operation's thread
1186 * Applies the array of ContentProviderOperation objects in batch. The results are
1297 // You would add the rest of your batch operations to "ops" here
1301 // Applies the batch. If the assert fails, an Exception is thrown
/frameworks/base/docs/html-intl/intl/ja/guide/topics/providers/
Dcontacts-provider.jd1063 * Prepares the batch operation for inserting a new raw contact and its data. Even if
1132 * by the first operation in the batch.
1152 * by the first operation in the batch.
1165 * Demonstrates a yield point. At the end of this insert, the batch operation's thread
1186 * Applies the array of ContentProviderOperation objects in batch. The results are
1297 // You would add the rest of your batch operations to "ops" here
1301 // Applies the batch. If the assert fails, an Exception is thrown
/frameworks/base/docs/html-intl/intl/zh-tw/guide/topics/providers/
Dcontacts-provider.jd1063 * Prepares the batch operation for inserting a new raw contact and its data. Even if
1132 * by the first operation in the batch.
1152 * by the first operation in the batch.
1165 * Demonstrates a yield point. At the end of this insert, the batch operation's thread
1186 * Applies the array of ContentProviderOperation objects in batch. The results are
1297 // You would add the rest of your batch operations to "ops" here
1301 // Applies the batch. If the assert fails, an Exception is thrown
/frameworks/base/docs/html-intl/intl/ko/guide/topics/providers/
Dcontacts-provider.jd1063 * Prepares the batch operation for inserting a new raw contact and its data. Even if
1132 * by the first operation in the batch.
1152 * by the first operation in the batch.
1165 * Demonstrates a yield point. At the end of this insert, the batch operation's thread
1186 * Applies the array of ContentProviderOperation objects in batch. The results are
1297 // You would add the rest of your batch operations to "ops" here
1301 // Applies the batch. If the assert fails, an Exception is thrown
/frameworks/base/docs/html-intl/intl/zh-cn/guide/topics/providers/
Dcontacts-provider.jd1063 * Prepares the batch operation for inserting a new raw contact and its data. Even if
1132 * by the first operation in the batch.
1152 * by the first operation in the batch.
1165 * Demonstrates a yield point. At the end of this insert, the batch operation's thread
1186 * Applies the array of ContentProviderOperation objects in batch. The results are
1297 // You would add the rest of your batch operations to "ops" here
1301 // Applies the batch. If the assert fails, an Exception is thrown
/frameworks/base/docs/html/guide/topics/providers/
Dcontacts-provider.jd938 "batch mode", by creating an {@link java.util.ArrayList} of
944 state. A batch modification also facilitates inserting a raw contact and its detail data at
955 A batch modification containing a large number of operations can block other processes,
977 atomic operation is the entire batch of operations. If you do use yield points, you prevent
1015 the batch operations are applied, the result of each operation is stored in an
1035 The following snippets show how to insert a new raw contact and data in batch. They
1068 * Prepares the batch operation for inserting a new raw contact and its data. Even if
1137 * by the first operation in the batch.
1157 * by the first operation in the batch.
1170 * Demonstrates a yield point. At the end of this insert, the batch operation's thread
[all …]
/frameworks/base/docs/html/training/game-controllers/
Dcontroller-input.jd491 <p>Note that joystick motion events may batch multiple movement samples together
523 // Process all historical movement samples in the batch
527 // earliest historical position in the batch
533 // Process the current movement sample in the batch (position -1)

12