Home
last modified time | relevance | path

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

/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsRecorder.java91 private final NetworkStatsCollection mPending; field in NetworkStatsRecorder
117 mPending = null; in NetworkStatsRecorder()
140 mPending = new NetworkStatsCollection(bucketDuration); in NetworkStatsRecorder()
143 mPendingRewriter = new CombiningRewriter(mPending); in NetworkStatsRecorder()
155 if (mPending != null) { in resetLocked()
156 mPending.reset(); in resetLocked()
226 res.recordCollection(mPending); in loadLocked()
290 if (mPending != null) { in recordSnapshotLocked()
291 mPending.recordData(ident, entry.uid, entry.set, entry.tag, start, end, entry); in recordSnapshotLocked()
319 final long pendingBytes = mPending.getTotalBytes(); in maybePersistLocked()
[all …]
/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/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/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1939 private final CopyOnWriteArrayList<Intent> mPending; field in ContactSaveService.State
1942 mPending = new CopyOnWriteArrayList<>(); in State()
1946 mPending = new CopyOnWriteArrayList<>(pendingActions); in State()
1950 return mPending.isEmpty(); in isIdle()
1954 return mPending.isEmpty() ? null : mPending.get(0); in getCurrentIntent()
1962 for (Intent intent : mPending) { in getNextIntentWithAction()
1975 if (mPending.isEmpty()) { in onFinish()
1978 final String action = mPending.get(0).getAction(); in onFinish()
1980 mPending.remove(0); in onFinish()
1988 mPending.add(intent); in onStart()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java366 private final ArrayList<ContentProviderOperation> mPending = new ArrayList<>(); field in ModernMediaScanner.Scan
954 mPending.add(op); in addPending()
962 if (mPending.size() > BATCH_SIZE) { in maybeApplyPending()
969 if (mPending.isEmpty()) return; in applyPending()
973 ContentProviderResult[] results = mResolver.applyBatch(AUTHORITY, mPending); in applyPending()
976 ContentProviderOperation operation = mPending.get(index); in applyPending()
994 mPending.clear(); in applyPending()