Home
last modified time | relevance | path

Searched refs:mPending (Results 1 – 4 of 4) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadScanner.java69 private HashMap<String, ScanRequest> mPending = Maps.newHashMap(); field in DownloadScanner
101 if (mPending.isEmpty()) { in hasPendingScans()
106 for (ScanRequest req : mPending.values()) { in hasPendingScans()
125 mPending.put(req.path, req); in requestScan()
142 for (ScanRequest req : mPending.values()) { in onMediaScannerConnected()
152 req = mPending.remove(path); in onScanCompleted()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DDelayedDiscovery.java39 private final Map<Uri, DiscoveredPrinter> mPending = new HashMap<>(); field in DelayedDiscovery
60 DiscoveredPrinter old = mPending.put(printer.getUri(), printer); in DelayedDiscovery()
63 DiscoveredPrinter pending = mPending.remove(printer.getUri()); in DelayedDiscovery()
74 mPending.remove(printer.getUri()); in DelayedDiscovery()
100 mPending.clear(); in onStop()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java217 private final ArrayList<ContentProviderOperation> mPending = new ArrayList<>(); field in ModernMediaScanner.Scan
315 mPending.add(ContentProviderOperation.newDelete(uri).build()); in reconcileAndClean()
329 mPending.addAll( in resolvePlaylists()
342 if (!mPending.isEmpty()) { in close()
411 mPending.add(op); in visitFile()
431 if (mPending.size() > BATCH_SIZE) { in maybeApplyPending()
439 ContentProviderResult[] results = mResolver.applyBatch(AUTHORITY, mPending); in applyPending()
442 ContentProviderOperation operation = mPending.get(index); in applyPending()
466 mPending.clear(); in applyPending()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1931 private final CopyOnWriteArrayList<Intent> mPending; field in ContactSaveService.State
1934 mPending = new CopyOnWriteArrayList<>(); in State()
1938 mPending = new CopyOnWriteArrayList<>(pendingActions); in State()
1942 return mPending.isEmpty(); in isIdle()
1946 return mPending.isEmpty() ? null : mPending.get(0); in getCurrentIntent()
1954 for (Intent intent : mPending) { in getNextIntentWithAction()
1967 if (mPending.isEmpty()) { in onFinish()
1970 final String action = mPending.get(0).getAction(); in onFinish()
1972 mPending.remove(0); in onFinish()
1980 mPending.add(intent); in onStart()