/frameworks/base/cmds/incidentd/src/ |
H A D | Reporter.cpp | 108 Reporter::Reporter(const char* directory) : batch() { 138 for (ReportRequestSet::iterator it = batch.begin(); it != batch.end(); it++) { 164 batch.setMainFd(mainFd); 165 batch.setMainDest(mainDest); 169 for (ReportRequestSet::iterator it = batch.begin(); it != batch.end(); it++) { 176 headers.Execute(&batch); 187 if (this->batch.containsSection(id)) { 189 for (ReportRequestSet::iterator it = batch [all...] |
H A D | Reporter.h | 89 ReportRequestSet batch; member in class:android::os::incidentd::Reporter 95 // Run the report as described in the batch and args parameters.
|
H A D | IncidentService.cpp | 167 reporter->batch.add(request); 176 // up while we're doing this, and we'll handle them in their next batch.
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuScriptGroup2.cpp | 111 // An invoke should be in a batch by itself, so it conflicts with any other 164 Batch* batch = new Batch(this, "Batch0"); local 179 if (batch->conflict(cc)) { 180 mBatches.push_back(batch); 184 batch = new Batch(this, batchStr.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 D | SensorInterface.cpp | 65 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 D | SensorInterface.h | 38 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 D | SensorFusion.cpp | 160 // 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(10), 0); 169 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0);
|
H A D | SensorDevice.cpp | 263 // Log error. Every activate call should be preceded by a batch() call. 264 ALOGE("\t >>>ERROR: activate called without batch"); 282 // Call batch for this sensor with the previously calculated best effort 284 // events, and the best effort batch parameters might have changed. 286 "\t>>> actuating h/w batch 0x%08x %" PRId64 " %" PRId64, handle, 288 checkReturn(mSensors->batch( 316 status_t SensorDevice::batch( function in class:android::SensorDevice 332 "SensorDevice::batch: ident=%p, handle=0x%08x, flags=%d, period_ns=%" PRId64 " timeout=%" PRId64, 347 // A batch has already been called with this ident. Update the batch parameter [all...] |
H A D | SensorDevice.h | 81 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, 83 // Call batch with timeout zero instead of calling setDelay() for newer devices. 115 // batch call. For continous mode clients, maxBatchReportLatency is set to zero. 124 // The update mTBatch will be the min of original mTBatch and the apparent batch period 125 // of the other. the apparent batch is the maximum of mTBatch and mTSample, 132 // Store batch parameters in the KeyedVector and the optimal batch_rate and timeout in 133 // bestBatchParams. For every batch() call corresponding params are stored in batchParams 134 // vector. A continuous mode request is batch(... timeout=0 ..) followed by activate(). A batch 135 // mode request is batch( [all...] |
H A D | SensorService.cpp | 1389 ALOGD_IF(DEBUG_CONNECTIONS, "Calling batch handle==%d flags=%d" 1393 status_t err = sensor->batch(connection.get(), handle, 0, samplingPeriodNs, 1430 // batch/activate has failed, reset our state.
|
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 428 ALOGD("channel '%s' consumer ~ consumed batch event, seq=%u", 456 Batch& batch = mBatches.editItemAt(batchIndex); local 457 if (canAddSample(batch, &mMsg)) { 458 batch.samples.push(mMsg); 460 ALOGD("channel '%s' consumer ~ appended to batch event", 465 // We cannot append to the batch in progress, so we need to consume 466 // the previous batch right now and defer the new message until later. 469 batch, batch.samples.size(), outSeq, outEvent, displayId); 475 ALOGD("channel '%s' consumer ~ consumed batch even 487 Batch& batch = mBatches.editTop(); local 525 Batch& batch = mBatches.editItemAt(i); local 559 consumeSamples(InputEventFactoryInterface* factory, Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent, int32_t* displayId) argument 908 const Batch& batch = mBatches.itemAt(i); local 981 canAddSample(const Batch& batch, const InputMessage *msg) argument 997 findSampleNoLaterThan(const Batch& batch, nsecs_t time) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | LayerBuilder.cpp | 110 * Checks if a (mergeable) op can be merged into this batch 145 * Exploits the fact that if a op or batch is clipped on a side, its bounds will equal its 186 // check, and doesn't extend past a side of the clip that's in use by the merged batch. 209 // if no target, merging ops still iterate to find similar batch to insert after 217 // TODO: also consider shader shared between batch types 225 // of the same batch/paint could swap order, such as with a non-mergeable 298 // new non-merging batch 310 // Try to merge with any existing batch with same mergeId 326 // new merging batch 343 for (const BatchBase* batch [all...] |
H A D | FrameBuilder.cpp | 567 * Returns batch id for tessellatable shapes, based on paint. Checks to see if path effect/AA will 659 batchid_t batch = op.paint->isAntiAlias() ? OpBatchType::AlphaVertices : OpBatchType::Vertices; local 660 deferStrokeableOp(op, batch, BakedOpState::StrokeBehavior::Forced); 692 batchid_t batch = op.paint->isAntiAlias() ? OpBatchType::AlphaVertices : OpBatchType::Vertices; local 693 deferStrokeableOp(op, batch, BakedOpState::StrokeBehavior::Forced);
|
/frameworks/base/cmds/incidentd/tests/ |
H A D | Reporter_test.cpp | 150 reporter->batch.add(r1); 151 reporter->batch.add(r2); 175 reporter->batch.add(r); 192 reporter->batch.add(r); 195 IncidentMetadata metadata = reporter->batch.metadata();
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | ScanTestUtil.java | 52 int period, int batch, int bssidsPerScan, int reportEvents) { 58 request.maxScansToCache = batch; 63 public static WifiScanner.ScanSettings createRequest(int type, int band, int period, int batch, argument 66 batch, bssidsPerScan, reportEvents); 69 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, argument 71 return createRequest(WifiScanner.TYPE_HIGH_ACCURACY, band, period, 0, 0, batch, 79 int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) { 88 request.maxScansToCache = batch; 51 createRequest(WifiScanner.ChannelSpec[] channels, int period, int batch, int bssidsPerScan, int reportEvents) argument 78 createRequest(int type, int band, int period, int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) argument
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
H A D | LayoutBinderWriter.kt | 926 val batch = ExprModel.filterShouldRead(model.pendingExpressions) 928 L.d("batch: %s", batch) 929 while (!batch.none()) { 930 val readNow = batch.filter { it.shouldReadNow(justRead) } 932 throw IllegalStateException("do not know what I can read. bailing out ${batch.joinToString("\n")}") 934 L.d("new read now. batch size: %d, readNow size: %d", batch.size, readNow.size) 935 nl(readWithDependants(readNow, justRead, batch, tmpDirtyFlags)) 936 batch [all...] |
/frameworks/native/include/input/ |
H A D | InputTransport.h | 291 * to determine whether a pending batch is available to be consumed. 338 /* Returns true if there is a pending batch. 453 // a batch, we append a record here that associates the last sequence number in the 454 // batch with the previous one. When the finished signal is sent, we traverse the 455 // chain to individually finish all input messages that were part of the batch. 465 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent, 481 static bool canAddSample(const Batch& batch, const InputMessage* msg); 482 static ssize_t findSampleNoLaterThan(const Batch& batch, nsecs_t time);
|
/frameworks/rs/perf-test-scripts/ |
H A D | timing | 57 -b, --batch run all tests together for speed 117 -b|--batch) 173 [ $BATCH_MODE -eq 0 ] && echo "Running tests:" || echo "Running tests (in batch mode):" 252 # concatenate all tests together to run in batch 305 fi # single or batch mode
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AlarmManagerService.java | 530 // narrows the batch if necessary; presumes that canHold(alarm) is true 589 // commit the new batch bounds 767 // returns true if the batch was added at the head 784 final Batch batch = mAlarmBatches.get(whichBatch); 785 if (batch.add(alarm)) { 786 // The start time of this batch advanced, so batch ordering may 789 addBatchLocked(mAlarmBatches, batch); 794 // Return the index of the matching batch, or -1 if none found. 859 Batch batch [all...] |
/frameworks/compile/mclinker/lib/Script/ |
H A D | ScriptScanner.ll | 35 %option batch
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/ |
H A D | ExprModelTest.java | 412 Expr[] batch = {d, e, u1, u2, u1GetCondD, u2GetCondE, xxPlusU2getCondE, abTernary, 414 assertExactMatch(shouldRead, batch);
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |