Home
last modified time | relevance | path

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

12

/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp160 Batch* batch = new Batch(this, "Batch0"); in CpuScriptGroup2Impl() local
175 if (batch->conflict(cc)) { in CpuScriptGroup2Impl()
176 mBatches.push_back(batch); in CpuScriptGroup2Impl()
179 batch = new Batch(this, ss.str().c_str()); in CpuScriptGroup2Impl()
182 batch->mClosures.push_back(cc); in CpuScriptGroup2Impl()
185 rsAssert(!batch->mClosures.empty()); in CpuScriptGroup2Impl()
186 mBatches.push_back(batch); in CpuScriptGroup2Impl()
191 for (Batch* batch : mBatches) { in CpuScriptGroup2Impl()
192 batch->resolveFuncPtr(mScriptObj); in CpuScriptGroup2Impl()
209 for (Batch* batch : mBatches) { in ~CpuScriptGroup2Impl()
[all …]
/frameworks/native/libs/input/
DInputTransport.cpp449 Batch& batch = mBatches.editItemAt(batchIndex); in consume() local
450 if (canAddSample(batch, &mMsg)) { in consume()
451 batch.samples.push(mMsg); in consume()
462 batch, batch.samples.size(), outSeq, outEvent); in consume()
480 Batch& batch = mBatches.editTop(); in consume() local
481 batch.samples.push(mMsg); in consume()
516 Batch& batch = mBatches.editItemAt(i); in consumeBatch() local
518 result = consumeSamples(factory, batch, batch.samples.size(), in consumeBatch()
528 ssize_t split = findSampleNoLaterThan(batch, sampleTime); in consumeBatch()
533 result = consumeSamples(factory, batch, split + 1, outSeq, outEvent); in consumeBatch()
[all …]
/frameworks/native/services/sensorservice/
DSensorInterface.cpp50 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, in batch() function in android::HardwareSensor
52 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
DSensorInterface.h43 virtual status_t batch(void* ident, int handle, int /*flags*/, int64_t samplingPeriodNs, in batch() function
76 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
DSensorFusion.cpp122 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0); in setDelay()
123 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(20), 0); in setDelay()
124 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0); in setDelay()
DSensorDevice.cpp181 mSensorDevice->batch(mSensorDevice, handle,info.bestBatchParams.flags, in activate()
220 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, in batch() function in android::SensorDevice
266 err = mSensorDevice->batch(mSensorDevice, handle, info.bestBatchParams.flags, in batch()
346 err = mSensorDevice->batch(mSensorDevice, sensor_handle, in enableAllSensors()
DSensorDevice.h96 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DLayoutBinderWriter.kt721 val batch = ExprModel.filterShouldRead(model.getPendingExpressions()).toArrayList() in <lambda>() constant
722 L.d("batch: %s", batch) in <lambda>()
724 while (!batch.none()) { in <lambda>()
725 val readNow = batch.filter { it.shouldReadNow(mJustRead) } in <lambda>()
729 … L.d("new read now. batch size: %d, readNow size: %d", batch.size(), readNow.size()) in <lambda>()
732 nl(readWithDependants(it, mJustRead, batch, tmpDirtyFlags)) in <lambda>()
734 batch.removeAll(mJustRead) in <lambda>()
739 val batch = ExprModel.filterShouldRead(model.getPendingExpressions()).toArrayList() in <lambda>() constant
740 if (batch.isNotEmpty()) { in <lambda>()
808 fun readWithDependants(expr : Expr, mJustRead : MutableList<Expr>, batch : MutableList<Expr>, in readWithDependants()
[all …]
/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.java664 Batch batch = oldSet.get(batchNum); in rebatchAllAlarmsLocked() local
665 final int N = batch.size(); in rebatchAllAlarmsLocked()
667 reAddAlarmLocked(batch.get(i), nowElapsed, doValidate); in rebatchAllAlarmsLocked()
1012 Batch batch = new Batch(a); in setImplLocked() local
1013 addBatchLocked(mAlarmBatches, batch); in setImplLocked()
1015 Batch batch = mAlarmBatches.get(whichBatch); in setImplLocked() local
1016 if (batch.add(a)) { in setImplLocked()
1020 addBatchLocked(mAlarmBatches, batch); in setImplLocked()
1838 Batch batch = mAlarmBatches.get(0); in triggerAlarmsLocked() local
1839 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/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 …]
Dcontent-provider-basics.jd922 <a href="#Batch">Batch access</a>: You can create a batch of access calls with methods in
948 To access a provider in "batch mode",
959 includes a code snippet that demonstrates batch insertion. The
961 sample application contains an example of batch access in its <code>ContactAdder.java</code>
/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)
/frameworks/base/docs/html-intl/intl/ko/preview/testing/
Dperformance.jd631 …이런 식으로 데이터를 제대로 수집하고 프로파일링한다는 것은 같은 테스트를 여러 번 거듭 실행하면서 얻어지는 결과를 평균 또는 중간값(너무 복잡해지니 이것을 '배치(batch)'…
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java369 Expr[] batch = {d, e, u1, u2, u1GetCondD, u2GetCondE, xxPlusU2getCondE, abTernary, in testPostConditionalDependencies() local
371 assertExactMatch(shouldRead, batch); in testPostConditionalDependencies()
/frameworks/base/docs/html/preview/testing/
Dperformance.jd661 sake of simplicity, let’s call this a ‘batch’) This gives you the rough approximation of
668 post-change batch, then you generally have an overall win wrt performance for that
676 isn’t caused by your application) then you may want to re-run the batch in order to get
/frameworks/compile/mclinker/lib/Script/
DScriptScanner.ll35 %option batch
/frameworks/base/docs/html/google/play/billing/
Dbilling_admin.jd94 Products UI (see figure 2), or you can add a batch of items by importing the items from a
194 <h3 id="billing-bulk-add">Adding a batch of items to a product list</h3>
196 <p>To add a batch of items to a product list using a CSV file, you first need to create your CSV
/frameworks/base/docs/html/training/tv/tif/
Dchannel.jd148 <h3 id="batch">Batch Loading Channel Data</h3>
/frameworks/base/docs/html/about/versions/
Dandroid-3.1-highlights.jd329 additional ways. The platform provides motion events to applications as a batch,
330 and applications can query the details of the movements included in the batch,
/frameworks/base/docs/html/google/play/
Ddeveloper-api.jd214 reaching or has passed the expiration date. Typically, your servers would run a batch
/frameworks/base/docs/html/guide/topics/ui/
Dmenus.jd527 <li>For batch contextual actions on groups of items in a {@link
635 <h4 id="CABforListView">Enabling batch contextual actions in a ListView or GridView</h4>
639 allow users to perform batch actions, you should:</p>
/frameworks/base/docs/html/guide/practices/
Dcompatibility.jd229 are now inexact by default so the system can batch app alarms and preserve system power,
/frameworks/base/docs/html/training/efficient-downloads/
Defficient-network-access.jd122 <p>That means you should batch your transfers by queuing delay tolerant transfers, and preempting s…

12