Home
last modified time | relevance | path

Searched refs:pending (Results 1 – 25 of 57) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/
DBackgroundRestrictedAlarmsTest.java82 SparseArray<ArrayList<Alarm>> pending, ArrayList<Alarm> alarmsToDeliver) { in runCheckAllPendingAlarms() argument
84 AlarmManagerService.findAllUnrestrictedPendingBackgroundAlarmsLockedInner(pending, in runCheckAllPendingAlarms()
90 SparseArray<ArrayList<Alarm>> pending = new SparseArray<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty() local
94 runCheckAllPendingAlarms(pending, alarmsToDeliver); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty()
96 assertEquals("", toString(pending)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_empty()
102 SparseArray<ArrayList<Alarm>> pending = new SparseArray<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove() local
104 addPendingAlarm(pending, 100001, "a1", false); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove()
108 runCheckAllPendingAlarms(pending, alarmsToDeliver); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove()
110 assertEquals("[100001: a1]", toString(pending)); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_remove()
116 SparseArray<ArrayList<Alarm>> pending = new SparseArray<>(); in findAllUnrestrictedPendingBackgroundAlarmsLockedInner_single_nonremove() local
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothDiscoverableTimeoutReceiver.java40 PendingIntent pending = PendingIntent.getBroadcast( in setDiscoverableAlarm() local
45 if (pending != null) { in setDiscoverableAlarm()
47 alarmManager.cancel(pending); in setDiscoverableAlarm()
50 pending = PendingIntent.getBroadcast( in setDiscoverableAlarm()
53 alarmManager.set(AlarmManager.RTC_WAKEUP, alarmTime, pending); in setDiscoverableAlarm()
61 PendingIntent pending = PendingIntent.getBroadcast( in cancelDiscoverableAlarm() local
63 if (pending != null) { in cancelDiscoverableAlarm()
68 alarmManager.cancel(pending); in cancelDiscoverableAlarm()
/frameworks/av/media/bufferpool/1.0/
DBufferStatus.cpp119 std::list<BufferId> &pending, std::list<BufferId> &posted) { in postBufferRelease() argument
120 if (mValid && pending.size() > 0) { in postBufferRelease()
122 avail = std::min(avail, pending.size()); in postBufferRelease()
125 BufferId id = pending.front(); in postBufferRelease()
136 pending.pop_front(); in postBufferRelease()
145 std::list<BufferId> &pending, std::list<BufferId> &posted) { in postBufferStatusMessage() argument
148 size_t numPending = pending.size(); in postBufferStatusMessage()
152 BufferId id = pending.front(); in postBufferStatusMessage()
163 pending.pop_front(); in postBufferStatusMessage()
DBufferStatus.h109 std::list<BufferId> &pending, std::list<BufferId> &posted);
133 std::list<BufferId> &pending, std::list<BufferId> &posted);
DAccessorImpl.cpp443 auto pending = mPendingTransactions.find(connectionId); in handleClose() local
444 if (pending != mPendingTransactions.end()) { in handleClose()
445 for (const TransactionId& transactionId : pending->second) { in handleClose()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessIdleJob.java45 JobInfo pending = jobScheduler.getPendingJob(JOB_ID); in scheduleJob() local
52 if (pending != null && !pending.equals(jobInfo)) { in scheduleJob()
54 pending = null; in scheduleJob()
57 if (pending == null) { in scheduleJob()
/frameworks/av/media/bufferpool/2.0/
DBufferStatus.cpp132 std::list<BufferId> &pending, std::list<BufferId> &posted) { in postBufferRelease() argument
133 if (mValid && pending.size() > 0) { in postBufferRelease()
135 avail = std::min(avail, pending.size()); in postBufferRelease()
138 BufferId id = pending.front(); in postBufferRelease()
149 pending.pop_front(); in postBufferRelease()
181 std::list<BufferId> &pending, std::list<BufferId> &posted) { in postBufferStatusMessage() argument
184 size_t numPending = pending.size(); in postBufferStatusMessage()
188 BufferId id = pending.front(); in postBufferStatusMessage()
199 pending.pop_front(); in postBufferStatusMessage()
DBufferStatus.h116 std::list<BufferId> &pending, std::list<BufferId> &posted);
140 std::list<BufferId> &pending, std::list<BufferId> &posted);
DAccessorImpl.cpp400 Pending pending(needsAck, from, to, left, impl); in onInvalidationRequest() local
401 mPendings.push_back(pending); in onInvalidationRequest()
644 auto pending = mPendingTransactions.find(connectionId); in handleClose() local
645 if (pending != mPendingTransactions.end()) { in handleClose()
646 for (const TransactionId& transactionId : pending->second) { in handleClose()
/frameworks/av/media/codec2/components/base/
DSimpleC2Component.cpp275 while (!queue->pending().empty()) { in flush_sm()
276 flushedWork->push_back(std::move(queue->pending().begin()->second)); in flush_sm()
277 queue->pending().erase(queue->pending().begin()); in flush_sm()
342 queue->pending().clear(); in stop()
363 queue->pending().clear(); in reset()
396 if (queue->pending().count(frameIndex) == 0) { in finish()
400 work = std::move(queue->pending().at(frameIndex)); in finish()
401 queue->pending().erase(frameIndex); in finish()
421 if (queue->pending().count(frameIndex) == 0) { in cloneAndSend()
425 work->input.flags = queue->pending().at(frameIndex)->input.flags; in cloneAndSend()
[all …]
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_manager_service.cpp25 void DisplayManager::SetNotificationsPending(bool pending) { in SetNotificationsPending() argument
26 auto status = service_->ModifyChannelEvents(channel_id_, pending ? 0 : POLLIN, in SetNotificationsPending()
27 pending ? POLLIN : 0); in SetNotificationsPending()
Ddisplay_manager_service.h29 void SetNotificationsPending(bool pending);
/frameworks/native/services/surfaceflinger/Scheduler/
DLayerHistory.h56 virtual void setConfigChangePending(bool pending) = 0;
149 void setConfigChangePending(bool pending) override { mConfigChangePending = pending; } in setConfigChangePending() argument
/frameworks/base/core/java/android/app/
DLoaderManager.java417 LoaderInfo pending = mPendingLoader; in onLoadCanceled() local
418 if (pending != null) { in onLoadCanceled()
422 if (DEBUG) Log.v(TAG, " Switching to pending loader: " + pending); in onLoadCanceled()
426 installLoader(pending); in onLoadCanceled()
446 LoaderInfo pending = mPendingLoader; in onLoadComplete() local
447 if (pending != null) { in onLoadComplete()
451 if (DEBUG) Log.v(TAG, " Switching to pending loader: " + pending); in onLoadComplete()
455 installLoader(pending); in onLoadComplete()
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
DFixVibrateSetting.java113 PendingIntent pending = PendingIntent.getActivity(this, 0, intent, 0); in test() local
121 .setContentIntent(pending) in test()
/frameworks/base/core/java/android/content/
DSyncStatusInfo.java138 public boolean pending; field in SyncStatusInfo
191 parcel.writeInt(pending ? 1 : 0); in writeToParcel()
246 pending = parcel.readInt() != 0; in SyncStatusInfo()
332 pending = other.pending; in copyFrom()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DActivityLaunchAnimator.java125 private void setAnimationPending(boolean pending) { in setAnimationPending() argument
126 mAnimationPending = pending; in setAnimationPending()
127 mNotificationShadeWindowViewController.setExpandAnimationPending(pending); in setAnimationPending()
128 if (pending) { in setAnimationPending()
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DTestPackageInstaller.java136 PendingIntent pending = PendingIntent.getBroadcast(mContext, sessionId, intent, in getIntentSender() local
138 return pending.getIntentSender(); in getIntentSender()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java314 final JobStatus pending = pendingJobs.get(i); in assignJobsToContextsInternalLocked() local
317 int jobRunningContext = findJobContextIdFromMap(pending, contextIdToJobMap); in assignJobsToContextsInternalLocked()
322 final int priority = mService.evaluateJobPriorityLocked(pending); in assignJobsToContextsInternalLocked()
323 pending.lastEvaluatedPriority = priority; in assignJobsToContextsInternalLocked()
325 mJobCountTracker.incrementPendingJobCount(isFgJob(pending)); in assignJobsToContextsInternalLocked()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java472 final LinkedList<File> pending = new LinkedList<>(); in querySearchDocuments() local
473 pending.add(folder); in querySearchDocuments()
474 while (!pending.isEmpty() && result.getCount() < 24) { in querySearchDocuments()
475 final File file = pending.removeFirst(); in querySearchDocuments()
480 pending.add(child); in querySearchDocuments()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationShadeWindowViewController.java432 public void setExpandAnimationPending(boolean pending) { in setExpandAnimationPending() argument
433 if (mExpandAnimationPending != pending) { in setExpandAnimationPending()
434 mExpandAnimationPending = pending; in setExpandAnimationPending()
/frameworks/base/wifi/java/android/net/wifi/
DWifiMigration.java436 public @NonNull Builder setP2pFactoryResetPending(boolean pending) { in setP2pFactoryResetPending() argument
437 mP2pFactoryResetPending = pending; in setP2pFactoryResetPending()
/frameworks/base/core/proto/android/server/
Djobscheduler.proto111 // How long this job has been pending.
116 // From a service that has currently active or pending jobs.
140 // How long this job was pending before it became active.
354 // pending, rather than always running the TOTAL number of FG jobs.
791 // True if the PackageEntry is currently pending or has been pending in
793 optional bool pending = 6; field
1085 // there are the config_num_max_total_jobs count of foreground jobs pending.
1093 // Number of pending foreground jobs.
1095 // Number of pending background jobs.
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastDispatcher.java269 int pending = 0; in pendingInDeferralsList() local
272 pending += list.get(i).size(); in pendingInDeferralsList()
274 return pending; in pendingInDeferralsList()
/frameworks/base/core/java/android/widget/
DVideoView.java418 for (Pair<InputStream, MediaFormat> pending: mPendingSubtitleTracks) { in openVideo()
420 mMediaPlayer.addSubtitleSource(pending.first, pending.second); in openVideo()

123