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

/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/core/java/android/content/
H A DSyncStatusInfo.java43 public boolean pending; field in class:SyncStatusInfo
85 parcel.writeInt(pending ? 1 : 0);
115 pending = parcel.readInt() != 0;
147 pending = other.pending;
/frameworks/base/core/java/com/android/internal/os/
H A DSamplingProfilerIntegration.java53 private static final AtomicBoolean pending = new AtomicBoolean(false); field in class:SamplingProfilerIntegration
133 if (pending.compareAndSet(false, true)) {
139 pending.set(false);
/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.java409 LoaderInfo pending = mPendingLoader;
410 if (pending != null) {
411 // There is a new request pending and we were just
414 if (DEBUG) Log.v(TAG, " Switching to pending loader: " + pending);
418 installLoader(pending);
438 LoaderInfo pending = mPendingLoader;
439 if (pending != null) {
440 // There is a new request pending and we were just
443 if (DEBUG) Log.v(TAG, " Switching to pending loade
[all...]
H A DActivityTransitionCoordinator.java784 * Cancels any pending transitions and returns true if there is a transition is in
921 Runnable pending = mPendingTransition;
923 if (pending != null) {
924 startTransition(pending);
/frameworks/support/fragment/java/android/support/v4/app/
H A DLoaderManager.java396 LoaderInfo pending = mPendingLoader;
397 if (pending != null) {
398 // There is a new request pending and we were just
401 if (DEBUG) Log.v(TAG, " Switching to pending loader: " + pending);
405 installLoader(pending);
425 LoaderInfo pending = mPendingLoader;
426 if (pending != null) {
427 // There is a new request pending and we were just
430 if (DEBUG) Log.v(TAG, " Switching to pending loade
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DSaveFragment.java183 public void setPending(boolean pending) { argument
184 mSave.setVisibility(pending ? View.INVISIBLE : View.VISIBLE);
185 mProgress.setVisibility(pending ? View.VISIBLE : View.GONE);
H A DBaseActivity.java563 public void setPending(boolean pending) { argument
566 save.setPending(pending);
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java170 MutableInt pending = new MutableInt(0);
174 Os.ioctlInt(myFd, OsConstants.TIOCOUTQ, pending);
179 if (pending.value <= 0) {
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2On1Adapter.cpp492 for (auto pending : mPendingVsyncs) {
493 auto hwc1DisplayId = pending.first;
500 auto timestamp = pending.second;
509 for (auto pending : mPendingHotplugs) {
510 auto hwc1DisplayId = pending.first;
517 auto connected = pending.second;
522 // Call pending callbacks without the state lock held
2226 auto pending = mSourceCrop.getPendingValue();
2228 static_cast<int32_t>(std::ceil(pending.left));
2230 static_cast<int32_t>(std::ceil(pending
[all...]
H A DHWC2.cpp228 for (auto& pending : mPendingHotplugs) {
229 auto& display = pending.first;
230 auto connected = pending.second;
231 ALOGV("Sending pending hotplug(%" PRIu64 ", %s)", display->getId(),
240 for (auto& pending : mPendingRefreshes) {
241 mRefresh(std::move(pending));
248 for (auto& pending : mPendingVsyncs) {
249 auto& display = pending.first;
250 auto timestamp = pending.second;
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java573 final LinkedList<File> pending = new LinkedList<File>();
574 pending.add(parent);
575 while (!pending.isEmpty() && result.getCount() < 24) {
576 final File file = pending.removeFirst();
579 pending.add(child);
/frameworks/base/core/java/android/widget/
H A DVideoView.java352 for (Pair<InputStream, MediaFormat> pending: mPendingSubtitleTracks) {
354 mMediaPlayer.addSubtitleSource(pending.first, pending.second);
H A DSearchView.java1677 PendingIntent pending = PendingIntent.getActivity(getContext(), 0, queryIntent,
1680 // Now set up the bundle that will be inserted into the pending intent
1721 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending);
/frameworks/base/services/core/java/com/android/server/vr/
H A DVrManagerService.java159 // Set pending state to current state.
339 // If there is a pending state change, we'd better deal with that first
869 * Apply the pending VR state. If no state is pending, disconnect any currently bound
877 * Apply the pending VR state.
880 * service will be disconnected if no state is pending. If this is {@code false} then the
881 * nothing will be changed when there is no pending state.
945 VrState pending = new VrState(enabled, targetPackageName, userId, callingPackage);
947 // We're not allowed to be in VR mode. Make this state pending. This will be
950 mPendingState = pending;
[all...]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java3813 * Adds all pending updates in {@param outUpdates} keys by the update time.
4327 final int pending = countPendingUpdates(updates);
4329 Slog.i(TAG, "Provider " + provider + " pending: " + pending);
4331 if (pending > 0) {
4332 int[] oldIds = new int[pending];
4333 int[] newIds = new int[pending];
4361 final int pending = countPendingUpdates(updates);
4363 Slog.i(TAG, "Host " + host + " pending: " + pending);
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java945 status.pending = pendingValue;
1283 /** Return true if the pending status is true of any matching authorities. */
1296 if (cur.pending) {
1604 * Ensure the old pending.bin is deleted, as it has been changed to pending.xml.
1605 * pending.xml was used starting in KLP.
1609 File file = new File(syncDir, "pending.bin");
1912 * erase it. Note that we don't deal with pending operations, active
1956 map.put("pending", "pending");
[all...]
H A DSyncManager.java127 * periodic sync. We don't allow the periodic job to run while any job initiated by it is pending.
306 // Called because it gets all pending jobs and stores them in mScheduledSyncs cache.
481 // Set the pending status of this EndPoint to true. Pending icon is
1376 // Check if duplicate syncs are pending. If found, keep one with least expected run time.
1392 List<SyncOperation> pending = getAllPendingSyncs();
1394 for (SyncOperation op : pending) {
1408 for (SyncOperation op : pending) {
1499 // Reset the back-off if there are no more syncs pending.
2615 // find the this job in the pending jobs list while looking for duplicates
3101 // removed from JobScheduler's pending job
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java1640 PendingIntent pending = PendingIntent.getActivity(getContext(), 0, queryIntent,
1643 // Now set up the bundle that will be inserted into the pending intent
1685 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java208 private static final String TAG_ADMIN_BROADCAST_PENDING = "admin-broadcast-pending";
2538 String pending = parser.getAttributeValue(null, ATTR_VALUE);
2539 policy.mAdminBroadcastPending = Boolean.toString(true).equals(pending);

Completed in 664 milliseconds