Home
last modified time | relevance | path

Searched refs:isPending (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java281 public static boolean isPending(Context context) { in isPending() method in RestoreDbTask
285 public static void setPending(Context context, boolean isPending) { in setPending() argument
286 FileLog.d(TAG, "Restore data received through full backup " + isPending); in setPending()
287 Utilities.getPrefs(context).edit().putBoolean(RESTORE_TASK_PENDING, isPending).commit(); in setPending()
/packages/modules/ExtServices/java/tests/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImplUnitTest.java135 assertThat(service.mSupportedCheckers.get("pkg").isPending()).isFalse(); in testOnRequestHealthCheck()
139 assertThat(service.mSupportedCheckers.get("pkg").isPending()).isTrue(); in testOnRequestHealthCheck()
152 assertThat(service.mSupportedCheckers.get("pkg").isPending()).isFalse(); in testOnCancelHealthCheck()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DSyncStateSwitchPreference.java102 public void setPending(boolean isPending) { in setPending() argument
103 mIsPending = isPending; in setPending()
/packages/apps/Settings/src/com/android/settings/accounts/
DSyncStateSwitchPreference.java116 public void setPending(boolean isPending) { in setPending() argument
117 mIsPending = isPending; in setPending()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigStoreTest.java307 assertFalse(mAlarmManager.isPending(WifiConfigStore.BUFFERED_WRITE_ALARM_TAG)); in testForceWrite()
328 assertTrue(mAlarmManager.isPending(WifiConfigStore.BUFFERED_WRITE_ALARM_TAG)); in testBufferedWrite()
361 assertTrue(mAlarmManager.isPending(WifiConfigStore.BUFFERED_WRITE_ALARM_TAG)); in testForceWriteAfterBufferedWrite()
371 assertFalse(mAlarmManager.isPending(WifiConfigStore.BUFFERED_WRITE_ALARM_TAG)); in testForceWriteAfterBufferedWrite()
399 assertTrue(mAlarmManager.isPending(WifiConfigStore.BUFFERED_WRITE_ALARM_TAG)); in testForceWriteWithNoNewDataAfterBufferedWrite()
408 assertFalse(mAlarmManager.isPending(WifiConfigStore.BUFFERED_WRITE_ALARM_TAG)); in testForceWriteWithNoNewDataAfterBufferedWrite()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java706 String mimeType, long lastModifiedMs, int extraFlags, boolean isPending) { in includeDownload() argument
726 if (!isPending) { in includeDownload()
938 final boolean isPending = mediaCursor.getInt( in includeDownloadFromMediaStore()
941 int extraFlags = isPending ? Document.FLAG_PARTIAL : 0; in includeDownloadFromMediaStore()
945 if (!isPending) { in includeDownloadFromMediaStore()
950 lastModifiedMs, extraFlags, isPending); in includeDownloadFromMediaStore()
/packages/modules/ExtServices/java/src/android/ext/services/watchdog/
DExplicitHealthChecker.java38 boolean isPending(); in isPending() method
DNetworkChecker.java69 public boolean isPending() { in isPending() method in NetworkChecker
DExplicitHealthCheckServiceImpl.java110 if (checker.isPending()) { in onGetRequestedPackages()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java201 String mimeType, boolean isPending) { in getContentValuesForData() argument
209 if (isPending) { in getContentValuesForData()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetsRestoredReceiver.java60 if (!RestoreDbTask.isPending(context)) { in restoreAppWidgetIds()
DLauncherProvider.java156 if (RestoreDbTask.isPending(getContext())) { in createDbIfNotExists()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java6347 final Supplier<Boolean> isPending = new CachedSupplier<>(() -> {
6348 return isPending(finalUri);
6357 } else if (isPending.get()) {
7488 final boolean isPending;
7498 isPending = c.getInt(2) != 0;
7512 if (isPending && !isPendingFromFuse(file)) {
7623 if (!isPending && forWrite && listener != null) {
7657 private boolean isPending(Uri uri) {
8137 final boolean isPending;
8144 isPending = c.getInt(2) != 0;
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java535 final boolean isPending = c.getInt(3) == 1; in reconcileAndClean()
540 if (isPending && dateExpire > System.currentTimeMillis() / 1000) { in reconcileAndClean()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DTouchInteractionService.java854 if (RestoreDbTask.isPending(this) || !mDeviceState.isUserSetupComplete()) { in preloadOverview()