Home
last modified time | relevance | path

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

123

/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/base/core/java/android/content/
DSyncStatusInfo.java43 public boolean pending; field in SyncStatusInfo
85 parcel.writeInt(pending ? 1 : 0); in writeToParcel()
115 pending = parcel.readInt() != 0; in SyncStatusInfo()
147 pending = other.pending; in SyncStatusInfo()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DChronograph.java80 List<Set<AlarmEntry>> pending = new ArrayList<Set<AlarmEntry>>(); in run() local
92 pending.add(entry.getValue()); in run()
102 for (Set<AlarmEntry> alarmEntries : pending) { in run()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DSaveFragment.java146 public void setPending(boolean pending) { in setPending() argument
147 mSave.setVisibility(pending ? View.INVISIBLE : View.VISIBLE); in setPending()
148 mProgress.setVisibility(pending ? View.VISIBLE : View.GONE); in setPending()
DBaseActivity.java450 void setPending(boolean pending) { in setPending() argument
453 save.setPending(pending); in setPending()
/frameworks/base/core/java/com/android/internal/os/
DSamplingProfilerIntegration.java53 private static final AtomicBoolean pending = new AtomicBoolean(false); field in SamplingProfilerIntegration
133 if (pending.compareAndSet(false, true)) { in writeSnapshot()
139 pending.set(false); in writeSnapshot()
/frameworks/base/core/java/android/app/
DLoaderManager.java403 LoaderInfo pending = mPendingLoader; in onLoadCanceled() local
404 if (pending != null) { in onLoadCanceled()
408 if (DEBUG) Log.v(TAG, " Switching to pending loader: " + pending); in onLoadCanceled()
412 installLoader(pending); in onLoadCanceled()
432 LoaderInfo pending = mPendingLoader; in onLoadComplete() local
433 if (pending != null) { in onLoadComplete()
437 if (DEBUG) Log.v(TAG, " Switching to pending loader: " + pending); in onLoadComplete()
441 installLoader(pending); in onLoadComplete()
DActivityTransitionCoordinator.java917 Runnable pending = mPendingTransition; in onTransitionStart() local
919 if (pending != null) { in onTransitionStart()
920 startTransition(pending); in onTransitionStart()
/frameworks/support/v4/java/android/support/v4/app/
DLoaderManager.java396 LoaderInfo pending = mPendingLoader; in onLoadCanceled() local
397 if (pending != null) { in onLoadCanceled()
401 if (DEBUG) Log.v(TAG, " Switching to pending loader: " + pending); in onLoadCanceled()
405 installLoader(pending); in onLoadCanceled()
425 LoaderInfo pending = mPendingLoader; in onLoadComplete() local
426 if (pending != null) { in onLoadComplete()
430 if (DEBUG) Log.v(TAG, " Switching to pending loader: " + pending); in onLoadComplete()
434 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/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java422 final LinkedList<File> pending = new LinkedList<File>(); in querySearchDocuments() local
423 pending.add(parent); in querySearchDocuments()
424 while (!pending.isEmpty() && result.getCount() < 24) { in querySearchDocuments()
425 final File file = pending.removeFirst(); in querySearchDocuments()
428 pending.add(child); in querySearchDocuments()
/frameworks/base/docs/html/training/notify-user/
Dexpanded.jd94 defines a pending intent that should be fired when the user
112 // This sets the pending intent that should be fired when the user clicks the
139 their associated pending intents) that will appear in the notification's
/frameworks/base/docs/html/preview/features/
Dpower-mgmt.jd37 …ef periods of time so that the system can perform app syncing and any other pending operations.</p>
54 <p>When the device exits Doze mode, it executes any jobs and syncs that are pending.</p>
94 state, allowing them to freely access the network and to execute any pending jobs and syncs. If the
/frameworks/base/core/jni/
Dandroid_net_LocalSocketImpl.cpp363 int pending; in socket_pending() local
364 int ret = ioctl(fd, TIOCOUTQ, &pending); in socket_pending()
375 return (jint)pending; in socket_pending()
/frameworks/base/docs/html/training/scheduling/
Dalarms.jd154 <li>A pending intent that fires when the alarm is triggered. When you set a second alarm
155 that uses the same pending intent, it replaces the original alarm.</li>
193 <li>{@link android.app.AlarmManager#ELAPSED_REALTIME}&mdash;Fires the pending intent based
198 fires the pending intent after the specified length of time has elapsed since device
201 <li>{@link android.app.AlarmManager#RTC}&mdash;Fires the pending intent
205 device to fire the pending intent at the specified time.</li>
/frameworks/base/docs/html/google/play/billing/v2/
Dbilling_integrate.jd624 <h5>Using the pending intent</h5>
626 <p>How you use the pending intent depends on which version of Android a device is running. On
627 Android 1.6, you must use the pending intent to launch the checkout UI in its own separate task
628 instead of your application's activity stack. On Android 2.0 and higher, you can use the pending
664 <p class="caution"><strong>Important:</strong> You must launch the pending intent from an activity
667 pending intent. If you do either of these, the Android system will not attach the pending intent to
692 must assume that a purchase request is pending from the time you receive a <code>RESULT_OK</code>
694 transaction is pending, the Google Play checkout UI displays an "Authorizing purchase..."
700 <li>Add an {@link android.app.Activity} to your application that shows users the status of pending
707 message that says "Purchase pending" when your application receives a <code>RESULT_OK</code>
[all …]
/frameworks/base/core/java/android/widget/
DVideoView.java352 for (Pair<InputStream, MediaFormat> pending: mPendingSubtitleTracks) { in openVideo()
354 mMediaPlayer.addSubtitleSource(pending.first, pending.second); in openVideo()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java3893 final int pending = countPendingUpdates(updates); in restoreFinished() local
3895 Slog.i(TAG, "Provider " + provider + " pending: " + pending); in restoreFinished()
3897 if (pending > 0) { in restoreFinished()
3898 int[] oldIds = new int[pending]; in restoreFinished()
3899 int[] newIds = new int[pending]; in restoreFinished()
3927 final int pending = countPendingUpdates(updates); in restoreFinished() local
3929 Slog.i(TAG, "Host " + host + " pending: " + pending); in restoreFinished()
3931 if (pending > 0) { in restoreFinished()
3932 int[] oldIds = new int[pending]; in restoreFinished()
3933 int[] newIds = new int[pending]; in restoreFinished()
[all …]
/frameworks/base/docs/html/design/patterns/
Dnotifications_k.jd173 pending, avoid creating
177 notifications of a particular kind are pending.</p>
188 sense of which notifications are pending and if they are interesting enough to
200 what kinds of notifications are currently pending.</p>
/frameworks/base/docs/html/tools/help/
Dsdk-manager.jd48 to the checkbox to indicate the pending update. An update icon
50 indicate pending removals.</p>
/frameworks/base/docs/html/training/wearables/apps/
Dalways-on.jd253 <p>The alarm manager launches a pending intent that updates the screen and schedules the next alarm.
254 The following example shows how to declare the alarm manager and the pending intent in the
282 <p>When the alarm triggers and launches the pending intent, update the screen and schedule the next
/frameworks/base/docs/html/guide/topics/appwidgets/
Dindex.jd1122 setOnClickFillInIntent()}. This entails setting up up a pending intent template
1137 android.appwidget.AppWidgetProvider} subclass) creates a pending intent that has
1157 <h5>Setting up the pending intent template</h5>
1160 android.appwidget.AppWidgetProvider} subclass) sets up a pending intent.
1161 Individuals items of a collection cannot set up their own pending intents.
1162 Instead, the collection as a whole sets up a pending intent template, and the
1216 …     // It does this by setting up a pending intent template. Individuals items of a collection
1217     // cannot set up their own pending intents. Instead, the collection as a whole sets
1218     // up a pending intent template, and the individual items set a fillInIntent
1288         // Next, set a fill-intent, which will be used to fill in the pending intent template
/frameworks/base/docs/html/training/multiple-threads/
Drun-code.jd133 any pending interrupt requests before attempting an operation :
/frameworks/base/docs/html/training/location/
Dgeofencing.jd188 // We use FLAG_UPDATE_CURRENT so that we get the same pending intent back when
297 // This is the same pending intent that was used in addGeofences().
/frameworks/base/docs/html/training/auto/messaging/
Dindex.jd167 pending intent. The app should discard the {@link
431 method and provide a pending intent to pass that user action back to your app. The
464 pending intents you created in the previous step.</p>
502 <dd>The pending intent object you created in

123