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.java1357 final List<SyncInfo> syncs = getCurrentSyncsLocked(userId); in getCurrentSyncsCopy() local
1359 for (SyncInfo sync : syncs) { in getCurrentSyncsCopy()
1374 ArrayList<SyncInfo> syncs = mCurrentSyncs.get(userId); in getCurrentSyncsLocked() local
1375 if (syncs == null) { in getCurrentSyncsLocked()
1376 syncs = new ArrayList<SyncInfo>(); in getCurrentSyncsLocked()
1377 mCurrentSyncs.put(userId, syncs); in getCurrentSyncsLocked()
1379 return syncs; in getCurrentSyncsLocked()
/frameworks/base/core/java/android/os/
DBatteryStats.java4412 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpCheckinLocked() local
4413 for (int isy=syncs.size()-1; isy>=0; isy--) { in dumpCheckinLocked()
4414 final Timer timer = syncs.valueAt(isy); in dumpCheckinLocked()
4423 dumpLine(pw, uid, category, SYNC_DATA, "\"" + syncs.keyAt(isy) + "\"", in dumpCheckinLocked()
5881 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpLocked()
5882 for (int isy=syncs.size()-1; isy>=0; isy--) { in dumpLocked()
5883 final Timer timer = syncs.valueAt(isy); in dumpLocked()
5894 sb.append(syncs.keyAt(isy)); in dumpLocked()
7671 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpProtoAppsLocked() local
7672 for (int isy = syncs.size() - 1; isy >= 0; --isy) { in dumpProtoAppsLocked()
[all …]
/frameworks/base/core/java/android/content/
DContentResolver.java3534 final List<SyncInfo> syncs = getContentService().getCurrentSyncs();
3535 if (syncs.isEmpty()) {
3538 return syncs.get(0);
/frameworks/base/core/proto/android/os/
Dbatterystats.proto790 repeated Sync syncs = 22; field