Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DInputTransport.cpp446 Batch& batch = mBatches.editItemAt(batchIndex); in consume() local
447 if (canAddSample(batch, &mMsg)) { in consume()
448 batch.samples.push(mMsg); in consume()
459 batch, batch.samples.size(), outSeq, outEvent); in consume()
477 Batch& batch = mBatches.editTop(); in consume() local
478 batch.samples.push(mMsg); in consume()
513 Batch& batch = mBatches.editItemAt(i); in consumeBatch() local
515 result = consumeSamples(factory, batch, batch.samples.size(), in consumeBatch()
525 ssize_t split = findSampleNoLaterThan(batch, sampleTime); in consumeBatch()
530 result = consumeSamples(factory, batch, split + 1, outSeq, outEvent); in consumeBatch()
[all …]
/frameworks/native/services/sensorservice/
DSensorInterface.cpp53 status_t HardwareSensor::batch(void* ident, int handle, int flags, in batch() function in android::HardwareSensor
55 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.cpp169 mSensorDevice->batch(mSensorDevice, handle,info.bestBatchParams.flags, in activate()
203 status_t SensorDevice::batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, in batch() function in android::SensorDevice
214 return mSensorDevice->batch(mSensorDevice, handle, flags, samplingPeriodNs, in batch()
220 errDryRun = mSensorDevice->batch(mSensorDevice, handle, flags | SENSORS_BATCH_DRY_RUN, in batch()
264 err = mSensorDevice->batch(mSensorDevice, handle, info.bestBatchParams.flags, in batch()
DSensorDevice.h88 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
DSensorService.cpp596 status_t err = sensor->batch(connection.get(), handle, reservedFlags, samplingPeriodNs, in enable()
/frameworks/base/services/java/com/android/server/
DAlarmManagerService.java383 Batch batch = oldSet.get(batchNum); in rebatchAllAlarmsLocked() local
384 final int N = batch.size(); in rebatchAllAlarmsLocked()
386 Alarm a = batch.get(i); in rebatchAllAlarmsLocked()
401 a.repeatInterval, a.operation, batch.standalone, doValidate, a.workSource); in rebatchAllAlarmsLocked()
582 Batch batch = new Batch(a); in setImplLocked() local
583 batch.standalone = isStandalone; in setImplLocked()
584 addBatchLocked(mAlarmBatches, batch); in setImplLocked()
586 Batch batch = mAlarmBatches.get(whichBatch); in setImplLocked() local
587 if (batch.add(a)) { in setImplLocked()
591 addBatchLocked(mAlarmBatches, batch); in setImplLocked()
[all …]
/frameworks/native/include/input/
DInputTransport.h419 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent);
434 static bool canAddSample(const Batch& batch, const InputMessage* msg);
435 static ssize_t findSampleNoLaterThan(const Batch& batch, nsecs_t time);
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg52 config.environment['DEBUGGER_ARGS'] = '-q -batch -n --args ' \
/frameworks/base/docs/html/google/play-services/
Dlocation.jd65 …<em>Simple but powerful APIs</em>: Allows batch addition and removal of geofences. Ability to mana…
/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/google/play/billing/
Dbilling_admin.jd86 Products UI (see figure 2), or you can add a batch of items by importing the items from a
187 <h3 id="billing-bulk-add">Adding a batch of items to a product list</h3>
189 <p>To add a batch of items to a product list using a CSV file, you first need to create your CSV
Dgp-purchase-status-api.jd153 reaching or has passed the expiration date. Typically, your servers would run a batch
/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,
Dandroid-4.4.jd475 …tolerate for delivery of new sensor events. For example, if you specify a batch latency of one min…
477 …@link android.hardware.SensorManager#flush flush()} to capture the latest batch of events. To esti…
480 … device does not support batching, then the system gracefully ignores the batch latency argument a…
Dkitkat.jd366 delivery of events between batch cycles.
/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/training/efficient-downloads/
Defficient-network-access.jd122 <p>That means you should batch your transfers by queuing delay tolerant transfers, and preempting s…