Searched refs:mPending (Results 1 – 4 of 4) sorted by relevance
69 private HashMap<String, ScanRequest> mPending = Maps.newHashMap(); field in DownloadScanner101 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()
39 private final Map<Uri, DiscoveredPrinter> mPending = new HashMap<>(); field in DelayedDiscovery60 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()
217 private final ArrayList<ContentProviderOperation> mPending = new ArrayList<>(); field in ModernMediaScanner.Scan315 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()
1931 private final CopyOnWriteArrayList<Intent> mPending; field in ContactSaveService.State1934 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()