Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coalescer/
DGroupCoalescer.java176 final EventBatch batch = mBatches.get(sbn.getGroupKey()); in maybeEmitBatch() local
180 } else if (batch != null in maybeEmitBatch()
181 && mClock.uptimeMillis() - batch.mCreatedTimestamp >= mMaxGroupLingerDuration) { in maybeEmitBatch()
182 mLogger.logMaxBatchTimeout(sbn.getKey(), batch.mGroupKey); in maybeEmitBatch()
183 emitBatch(batch); in maybeEmitBatch()
200 final EventBatch batch = getOrBuildBatch(sbn.getGroupKey()); in handleNotificationPosted() local
205 batch.mMembers.size(), in handleNotificationPosted()
208 batch); in handleNotificationPosted()
211 batch.mMembers.add(event); in handleNotificationPosted()
212 resetShortTimeout(batch); in handleNotificationPosted()
[all …]
DCoalescedEvent.kt27 var batch: EventBatch? variable in com.android.systemui.statusbar.notification.collection.coalescer.CoalescedEvent
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DBatchingAlarmStore.java106 for (final Batch batch : mAlarmBatches) { in getNextWakeFromIdleAlarm()
107 if ((batch.mFlags & AlarmManager.FLAG_WAKE_FROM_IDLE) == 0) { in getNextWakeFromIdleAlarm()
110 for (int i = 0; i < batch.size(); i++) { in getNextWakeFromIdleAlarm()
111 final Alarm a = batch.get(i); in getNextWakeFromIdleAlarm()
124 for (final Batch batch : oldBatches) { in rebatchAllAlarms()
125 for (int i = 0; i < batch.size(); i++) { in rebatchAllAlarms()
126 insertAndBatchAlarm(batch.get(i)); in rebatchAllAlarms()
159 final Batch batch = mAlarmBatches.get(0); in removePendingAlarms() local
160 if (batch.mStart > nowElapsed) { in removePendingAlarms()
164 for (int i = 0; i < batch.size(); i++) { in removePendingAlarms()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuScriptGroup2.cpp164 Batch* batch = new Batch(this, "Batch0"); in CpuScriptGroup2Impl() local
179 if (batch->conflict(cc)) { in CpuScriptGroup2Impl()
180 mBatches.push_back(batch); in CpuScriptGroup2Impl()
184 batch = new Batch(this, batchStr.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.cpp763 Batch& batch = mBatches[batchIndex]; in consume() local
764 if (canAddSample(batch, &mMsg)) { in consume()
765 batch.samples.push_back(mMsg); in consume()
774 const size_t count = batch.samples.size(); in consume()
776 const InputMessage& msg = batch.samples[i]; in consume()
779 batch.samples.erase(batch.samples.begin(), batch.samples.begin() + count); in consume()
785 status_t result = consumeSamples(factory, batch, batch.samples.size(), in consume()
803 Batch batch; in consume() local
804 batch.samples.push_back(mMsg); in consume()
805 mBatches.push_back(batch); in consume()
[all …]
/frameworks/native/services/sensorservice/
DSensorInterface.h39 virtual status_t batch(void* ident, int handle, int /*flags*/, int64_t samplingPeriodNs,
58 virtual status_t batch(void* ident, int handle, int, int64_t samplingPeriodNs, in batch() function
93 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
DSensorInterface.cpp66 status_t HardwareSensor::batch(void* ident, int /*handle*/, int flags, in batch() function in android::HardwareSensor
68 return mSensorDevice.batch(ident, mSensor.getHandle(), flags, samplingPeriodNs, in batch()
DSensorFusion.cpp167 mSensorDevice.batch(ident, mAcc.getHandle(), 0, ns, 0); in setDelay()
169 mSensorDevice.batch(ident, mMag.getHandle(), 0, ms2ns(10), 0); in setDelay()
172 mSensorDevice.batch(ident, mGyro.getHandle(), 0, mTargetDelayNs, 0); in setDelay()
DSensorDevice.cpp728 checkReturn(mSensors->batch( in activateLocked()
766 status_t SensorDevice::batch( in batch() function in android::SensorDevice
833 err = checkReturnAndGetStatus(mSensors->batch( in updateBatchParamsLocked()
841 return batch(ident, handle, 0, samplingPeriodNs, 0); in setDelay()
952 status_t err = checkReturnAndGetStatus(mSensors->batch( in enableAllSensors()
DSensorDevice.h94 status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
/frameworks/hardware/interfaces/sensorservice/1.0/
DIEventQueue.hal26 * max batch report latency. If enableSensor is called multiple times on the
34 * max batch report latency in microseconds.
/frameworks/base/cmds/incidentd/src/
DReporter.h194 ReportWriter(const sp<ReportBatch>& batch);
262 const sp<ReportBatch>& batch,
DIncidentService.cpp182 sp<ReportBatch> batch; in take_report() local
185 batch = mThrottler->filterBatch(mBatch); in take_report()
188 if (batch->empty()) { in take_report()
193 sp<Reporter> reporter = new Reporter(mWorkDirectory, batch, mRegisteredSections); in take_report()
206 if (batch->hasPersistedReports()) { in take_report()
DReporter.cpp385 ReportWriter::ReportWriter(const sp<ReportBatch>& batch) in ReportWriter() argument
386 :mBatch(batch), in ReportWriter()
520 const sp<ReportBatch>& batch, in Reporter() argument
523 mWriter(batch), in Reporter()
524 mBatch(batch), in Reporter()
/frameworks/native/include/input/
DInputTransport.h641 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent);
661 static bool canAddSample(const Batch& batch, const InputMessage* msg);
662 static ssize_t findSampleNoLaterThan(const Batch& batch, nsecs_t time);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotifCollection.java369 private void onNotificationGroupPosted(List<CoalescedEvent> batch) { in onNotificationGroupPosted() argument
372 mLogger.logNotifGroupPosted(batch.get(0).getSbn().getGroupKey(), batch.size()); in onNotificationGroupPosted()
374 for (CoalescedEvent event : batch) { in onNotificationGroupPosted()
/frameworks/compile/libbcc/tests/debuginfo/host-tests/
Dlit.cfg52 config.environment['DEBUGGER_ARGS'] = '-q -batch -n --args ' \
/frameworks/rs/perf-test-scripts/
Dtiming117 -b|--batch)
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceUser.hal78 * batch of repeating requests, if any. If there is no previous
79 * batch, the frame number returned will be -1.)
/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.md39 …ill return `NULL` event with status `WOULD_BLOCK` if those events caused a new batch to be started.
/frameworks/compile/mclinker/lib/Script/
DScriptScanner.ll35 %option batch
/frameworks/base/core/proto/android/server/
Djobscheduler.proto182 // Don't batch a non-ACTIVE job if it's been delayed due to force batching attempts for
1102 // Amount of time since JobScheduler first tried to force batch this job. Will be 0 if there
Dpowermanagerservice.proto165 // We are currently in the middle of a batch change of uids.
/frameworks/base/proto/src/
Dipconnectivity.proto583 // A batch of DNS lookups.
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java7691 final Installer.Batch batch = new Installer.Batch(); in PackageManagerService()
7701 prepareAppDataAndMigrate(batch, pkg, UserHandle.USER_SYSTEM, storageFlags, in PackageManagerService()
7707 executeBatchLI(batch); in PackageManagerService()
25534 private void executeBatchLI(@NonNull Installer.Batch batch) {
25536 batch.execute(mInstaller);
25682 Installer.Batch batch = new Installer.Batch();
25703 prepareAppDataAndMigrate(batch, ps.pkg, userId, flags, migrateAppData);
25707 executeBatchLI(batch);
25733 Installer.Batch batch = new Installer.Batch();
25748 prepareAppData(batch, pkg, user.id, flags).thenRun(() -> {
[all …]

12