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

/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DAlarmManagerServiceTest.java82 SparseArray<ArrayList<Alarm>> pending, ArrayList<Alarm> alarmsToDeliver) {
84 AlarmManagerService.findAllUnrestrictedPendingBackgroundAlarmsLockedInner(pending,
90 SparseArray<ArrayList<Alarm>> pending = new SparseArray<>();
94 runCheckAllPendingAlarms(pending, alarmsToDeliver);
96 assertEquals("", toString(pending));
102 SparseArray<ArrayList<Alarm>> pending = new SparseArray<>();
104 addPendingAlarm(pending, 100001, "a1", false);
108 runCheckAllPendingAlarms(pending, alarmsToDeliver);
110 assertEquals("[100001: a1]", toString(pending));
116 SparseArray<ArrayList<Alarm>> pending
81 runCheckAllPendingAlarms( SparseArray<ArrayList<Alarm>> pending, ArrayList<Alarm> alarmsToDeliver) argument
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DBluetoothDiscoverableTimeoutReceiver.java40 PendingIntent pending = PendingIntent.getBroadcast(
45 if (pending != null) {
47 alarmManager.cancel(pending);
50 pending = PendingIntent.getBroadcast(
53 alarmManager.set(AlarmManager.RTC_WAKEUP, alarmTime, pending);
61 PendingIntent pending = PendingIntent.getBroadcast(
63 if (pending != null) {
68 alarmManager.cancel(pending);
/frameworks/base/services/core/java/com/android/server/display/
H A DBrightnessIdleJob.java45 JobInfo pending = jobScheduler.getPendingJob(JOB_ID);
52 if (pending != null && !pending.equals(jobInfo)) {
54 pending = null;
57 if (pending == null) {
/frameworks/native/libs/vr/libvrflinger/
H A Ddisplay_manager_service.cpp25 void DisplayManager::SetNotificationsPending(bool pending) { argument
26 auto status = service_->ModifyChannelEvents(channel_id_, pending ? 0 : POLLIN,
27 pending ? POLLIN : 0);
H A Ddisplay_manager_service.h25 // Sets or clears the channel event mask to indicate pending events that the
27 // When |pending| is true the POLLIN bit is set in the event mask; when
28 // |pending| is false the POLLIN bit is cleared in the event mask.
29 void SetNotificationsPending(bool pending);
/frameworks/base/tests/FixVibrateSetting/src/com/android/fixvibratesetting/
H A DFixVibrateSetting.java113 PendingIntent pending = PendingIntent.getActivity(this, 0, intent, 0);
121 .setContentIntent(pending)
/frameworks/base/core/java/android/app/
H A DLoaderManager.java417 LoaderInfo pending = mPendingLoader;
418 if (pending != null) {
419 // There is a new request pending and we were just
422 if (DEBUG) Log.v(TAG, " Switching to pending loader: " + pending);
426 installLoader(pending);
446 LoaderInfo pending = mPendingLoader;
447 if (pending != null) {
448 // There is a new request pending and we were just
451 if (DEBUG) Log.v(TAG, " Switching to pending loade
[all...]
H A DActivityTransitionCoordinator.java846 * Cancels any pending transitions and returns true if there is a transition is in
983 Runnable pending = mPendingTransition;
985 if (pending != null) {
986 startTransition(pending);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DActivityLaunchAnimator.java99 private void setAnimationPending(boolean pending) { argument
100 mAnimationPending = pending;
101 mStatusBarWindow.setExpandAnimationPending(pending);
102 if (pending) {
/frameworks/base/core/java/android/content/
H A DSyncStatusInfo.java126 public boolean pending; field in class:SyncStatusInfo
175 parcel.writeInt(pending ? 1 : 0);
229 pending = parcel.readInt() != 0;
296 pending = other.pending;
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java170 Int32Ref pending = new Int32Ref(0);
174 Os.ioctlInt(myFd, OsConstants.TIOCOUTQ, pending);
179 if (pending.value <= 0) {
/frameworks/base/core/java/com/android/internal/content/
H A DFileSystemProvider.java401 final LinkedList<File> pending = new LinkedList<>();
402 pending.add(folder);
403 while (!pending.isEmpty() && result.getCount() < 24) {
404 final File file = pending.removeFirst();
407 pending.add(child);
/frameworks/base/core/java/android/widget/
H A DVideoView.java405 for (Pair<InputStream, MediaFormat> pending: mPendingSubtitleTracks) {
407 mMediaPlayer.addSubtitleSource(pending.first, pending.second);
H A DSearchView.java1651 PendingIntent pending = PendingIntent.getActivity(getContext(), 0, queryIntent,
1654 // Now set up the bundle that will be inserted into the pending intent
1695 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending);
2023 * pending {@link InputMethodManager#showSoftInput(View, int)} request (if any).
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java400 public void setExpandAnimationPending(boolean pending) { argument
401 mExpandAnimationPending = pending;
/frameworks/native/libs/gui/
H A DFrameTimestamps.cpp90 bool pending, const FenceTime& fenceTime) {
95 } else if (pending || signalTime == Fence::SIGNAL_TIME_PENDING) {
89 dumpFenceTime(String8& outString, const char* name, bool pending, const FenceTime& fenceTime) argument
/frameworks/base/services/core/java/com/android/server/vr/
H A DVrManagerService.java240 // Set pending state to current state.
521 // If there is a pending state change, we'd better deal with that first
1207 * Apply the pending VR state. If no state is pending, disconnect any currently bound
1215 * Apply the pending VR state.
1218 * service will be disconnected if no state is pending. If this is {@code false} then the
1219 * nothing will be changed when there is no pending state.
1274 VrState pending;
1287 pending = new VrState(targetEnabledState, running2dInVr, targetListener,
1291 // We're not allowed to be in VR mode. Make this state pending
[all...]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java4018 * Adds all pending updates in {@param outUpdates} keys by the update time.
4498 final int pending = countPendingUpdates(updates);
4500 Slog.i(TAG, "Provider " + provider + " pending: " + pending);
4502 if (pending > 0) {
4503 int[] oldIds = new int[pending];
4504 int[] newIds = new int[pending];
4532 final int pending = countPendingUpdates(updates);
4534 Slog.i(TAG, "Host " + host + " pending: " + pending);
[all...]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverableKeyStoreDb.java805 * @param pending Should create snapshot flag.
810 public long setShouldCreateSnapshot(int userId, int uid, boolean pending) { argument
812 RecoveryServiceMetadataEntry.COLUMN_NAME_SHOULD_CREATE_SNAPSHOT, pending ? 1 : 0);
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java1007 status.pending = pendingValue;
1382 /** Return true if the pending status is true of any matching authorities. */
1395 if (cur.pending) {
1703 * Ensure the old pending.bin is deleted, as it has been changed to pending.xml.
1704 * pending.xml was used starting in KLP.
1708 File file = new File(syncDir, "pending.bin");
2054 map.put("pending", "pending");
2101 st.pending
[all...]
H A DSyncManager.java143 * periodic sync. We don't allow the periodic job to run while any job initiated by it is pending.
325 // Called because it gets all pending jobs and stores them in mScheduledSyncs cache.
533 // Set the pending status of this EndPoint to true. Pending icon is
1531 // Check if duplicate syncs are pending. If found, keep one with least expected run time.
1551 List<SyncOperation> pending = getAllPendingSyncs();
1553 for (SyncOperation op : pending) {
1585 for (SyncOperation op : pending) {
1715 // Reset the back-off if there are no more syncs pending.
3183 // find the this job in the pending jobs list while looking for duplicates
3230 "periodic sync, pending");
[all...]
/frameworks/base/core/proto/android/server/
H A Djobscheduler.proto94 // How long this job has been pending.
99 // From a service that has currently active or pending jobs.
123 // How long this job has been pending.
438 // True if the PackageEntry is currently pending or has been pending in
440 optional bool pending = 6;
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DSearchView.java1588 PendingIntent pending = PendingIntent.getActivity(getContext(), 0, queryIntent,
1591 // Now set up the bundle that will be inserted into the pending intent
1633 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending);
1974 * pending {@link InputMethodManager#showSoftInput(View, int)} request (if any).
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java1513 * while in the sleep state until there is a pending transition out of sleep, in which case
1716 * A global counter for generating sequence numbers to uniquely identify pending process starts.
1722 * Contains {@link ProcessRecord} objects for pending process starts.
4515 private boolean handleProcessStartedLocked(ProcessRecord pending, argument
4519 if (pending.pid == startResult.pid) {
4520 pending.usingWrapper = startResult.usingWrapper;
4525 return handleProcessStartedLocked(pending, startResult.pid, startResult.usingWrapper,
6652 // Clear its pending alarms
7322 // Remove pending intents. For now we only do this when force
7325 // such packages, so they can be left with bad pending intent
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java304 private static final String TAG_ADMIN_BROADCAST_PENDING = "admin-broadcast-pending";
3216 String pending = parser.getAttributeValue(null, ATTR_VALUE);
3217 policy.mAdminBroadcastPending = Boolean.toString(true).equals(pending);

Completed in 336 milliseconds