Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsBackgroundStatsTest.java377 final ArrayMap<String, ? extends BatteryStats.Timer> syncs = in testSyncs() local
379 assertEquals(1, syncs.size()); in testSyncs()
380 BatteryStats.Timer timer = syncs.valueAt(0); in testSyncs()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1358 final List<SyncInfo> syncs = getCurrentSyncsLocked(userId); in getCurrentSyncsCopy() local
1360 for (SyncInfo sync : syncs) { in getCurrentSyncsCopy()
1375 ArrayList<SyncInfo> syncs = mCurrentSyncs.get(userId); in getCurrentSyncsLocked() local
1376 if (syncs == null) { in getCurrentSyncsLocked()
1377 syncs = new ArrayList<SyncInfo>(); in getCurrentSyncsLocked()
1378 mCurrentSyncs.put(userId, syncs); in getCurrentSyncsLocked()
1380 return syncs; in getCurrentSyncsLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java4228 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpCheckinLocked() local
4229 for (int isy=syncs.size()-1; isy>=0; isy--) { in dumpCheckinLocked()
4230 final Timer timer = syncs.valueAt(isy); in dumpCheckinLocked()
4239 dumpLine(pw, uid, category, SYNC_DATA, "\"" + syncs.keyAt(isy) + "\"", in dumpCheckinLocked()
5811 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpLocked()
5812 for (int isy=syncs.size()-1; isy>=0; isy--) { in dumpLocked()
5813 final Timer timer = syncs.valueAt(isy); in dumpLocked()
5824 sb.append(syncs.keyAt(isy)); in dumpLocked()
7628 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpProtoAppsLocked() local
7629 for (int isy = syncs.size() - 1; isy >= 0; --isy) { in dumpProtoAppsLocked()
[all …]
/frameworks/base/core/java/android/content/
DContentResolver.java3478 final List<SyncInfo> syncs = getContentService().getCurrentSyncs();
3479 if (syncs.isEmpty()) {
3482 return syncs.get(0);
/frameworks/base/core/proto/android/os/
Dbatterystats.proto790 repeated Sync syncs = 22; field