Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/provider/
DRestoreDbTask.java236 public static boolean isPending(Context context) { in isPending() method in RestoreDbTask
240 public static void setPending(Context context, boolean isPending) { in setPending() argument
241 FileLog.d(TAG, "Restore data received through full backup " + isPending); in setPending()
242 Utilities.getPrefs(context).edit().putBoolean(RESTORE_TASK_PENDING, isPending).commit(); in setPending()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DSyncStateSwitchPreference.java116 public void setPending(boolean isPending) { in setPending() argument
117 mIsPending = isPending; in setPending()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java702 String mimeType, long lastModifiedMs, int extraFlags, boolean isPending) { in includeDownload() argument
722 if (!isPending) { in includeDownload()
908 final boolean isPending = mediaCursor.getInt( in includeDownloadFromMediaStore()
911 int extraFlags = isPending ? Document.FLAG_PARTIAL : 0; in includeDownloadFromMediaStore()
915 if (!isPending) { in includeDownloadFromMediaStore()
920 lastModifiedMs, extraFlags, isPending); in includeDownloadFromMediaStore()
DDownloadProvider.java1041 final boolean isPending = downloadValues.getAsInteger(Downloads.Impl.COLUMN_STATUS) in convertToMediaProviderValues()
1043 mediaValues.put(MediaStore.Downloads.IS_PENDING, isPending ? 1 : 0); in convertToMediaProviderValues()
/packages/modules/ExtServices/src/android/ext/services/watchdog/
DExplicitHealthChecker.java38 boolean isPending(); in isPending() method
DNetworkChecker.java69 public boolean isPending() { in isPending() method in NetworkChecker
DExplicitHealthCheckServiceImpl.java105 if (checker.isPending()) { in onGetRequestedPackages()
/packages/apps/Launcher3/src/com/android/launcher3/
DAppWidgetsRestoredReceiver.java55 if (!RestoreDbTask.isPending(context)) { in restoreAppWidgetIds()
DLauncherProvider.java160 if (RestoreDbTask.isPending(getContext())) { in createDbIfNotExists()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java4564 final Supplier<Boolean> isPending = new CachedSupplier<>(() -> { in updateInternal() local
4565 return isPending(finalUri); in updateInternal()
4574 } else if (isPending.get()) { in updateInternal()
5340 final boolean isPending; in openFileAndEnforcePathPermissionsHelper()
5350 isPending = c.getInt(2) != 0; in openFileAndEnforcePathPermissionsHelper()
5362 if (isPending && hasOwner && !callerIsOwner) { in openFileAndEnforcePathPermissionsHelper()
5418 if (!isPending && forWrite && listener != null) { in openFileAndEnforcePathPermissionsHelper()
5443 private boolean isPending(Uri uri) { in isPending() method in MediaProvider