Searched refs:mPending (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsRecorder.java | 91 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/ |
D | DelayedDiscovery.java | 39 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/ |
D | DownloadScanner.java | 69 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/ |
D | ContactSaveService.java | 1939 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/ |
D | ModernMediaScanner.java | 366 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()
|