Searched refs:pending (Results 1 - 23 of 23) 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/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/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUFlowManager.java374 OSUFlow pending;
376 pending = mCurrent;
378 Log.d(OSUManager.TAG, "Network change, current flow: " + pending);
379 if (pending != null) {
380 pending.networkChange();
/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.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/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/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 DHWC2.cpp177 for (auto& pending : mPendingHotplugs) {
178 auto& display = pending.first;
179 auto connected = pending.second;
180 ALOGV("Sending pending hotplug(%" PRIu64 ", %s)", display->getId(),
189 for (auto& pending : mPendingRefreshes) {
190 mRefresh(std::move(pending));
197 for (auto& pending : mPendingVsyncs) {
198 auto& display = pending.first;
199 auto timestamp = pending.second;
/frameworks/base/core/java/com/android/internal/content/
H A DFileSystemProvider.java316 final LinkedList<File> pending = new LinkedList<>();
317 pending.add(folder);
318 while (!pending.isEmpty() && result.getCount() < 24) {
319 final File file = pending.removeFirst();
322 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);
2036 * pending {@link InputMethodManager#showSoftInput(View, int)} request (if any).
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp445 for (auto pending : mPendingVsyncs) {
446 auto hwc1DisplayId = pending.first;
453 auto timestamp = pending.second;
462 for (auto pending : mPendingHotplugs) {
463 auto hwc1DisplayId = pending.first;
470 auto connected = pending.second;
475 // Call pending callbacks without the state lock held
2121 auto pending = mSourceCrop;
2123 static_cast<int32_t>(std::ceil(pending.left));
2125 static_cast<int32_t>(std::ceil(pending
[all...]
/frameworks/base/services/core/java/com/android/server/vr/
H A DVrManagerService.java169 // Set pending state to current state.
363 // If there is a pending state change, we'd better deal with that first
974 * Apply the pending VR state. If no state is pending, disconnect any currently bound
982 * Apply the pending VR state.
985 * service will be disconnected if no state is pending. If this is {@code false} then the
986 * nothing will be changed when there is no pending state.
1050 VrState pending;
1066 pending = new VrState(
1070 // We're not allowed to be in VR mode. Make this state pending
[all...]
/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/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java3902 * Adds all pending updates in {@param outUpdates} keys by the update time.
4416 final int pending = countPendingUpdates(updates);
4418 Slog.i(TAG, "Provider " + provider + " pending: " + pending);
4420 if (pending > 0) {
4421 int[] oldIds = new int[pending];
4422 int[] newIds = new int[pending];
4450 final int pending = countPendingUpdates(updates);
4452 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.java128 * periodic sync. We don't allow the periodic job to run while any job initiated by it is pending.
307 // Called because it gets all pending jobs and stores them in mScheduledSyncs cache.
482 // Set the pending status of this EndPoint to true. Pending icon is
1381 // Check if duplicate syncs are pending. If found, keep one with least expected run time.
1397 List<SyncOperation> pending = getAllPendingSyncs();
1399 for (SyncOperation op : pending) {
1413 for (SyncOperation op : pending) {
1504 // Reset the back-off if there are no more syncs pending.
2622 // find the this job in the pending jobs list while looking for duplicates
3108 // removed from JobScheduler's pending job
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSearchView.java1587 PendingIntent pending = PendingIntent.getActivity(getContext(), 0, queryIntent,
1590 // Now set up the bundle that will be inserted into the pending intent
1632 voiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT, pending);
1973 * pending {@link InputMethodManager#showSoftInput(View, int)} request (if any).
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java241 private static final String TAG_ADMIN_BROADCAST_PENDING = "admin-broadcast-pending";
2862 String pending = parser.getAttributeValue(null, ATTR_VALUE);
2863 policy.mAdminBroadcastPending = Boolean.toString(true).equals(pending);

Completed in 589 milliseconds