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.java375 final ArrayMap<String, ? extends BatteryStats.Timer> syncs = in testSyncs() local
377 assertEquals(1, syncs.size()); in testSyncs()
378 BatteryStats.Timer timer = syncs.valueAt(0); in testSyncs()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1321 final List<SyncInfo> syncs = getCurrentSyncsLocked(userId); in getCurrentSyncsCopy() local
1323 for (SyncInfo sync : syncs) { in getCurrentSyncsCopy()
1338 ArrayList<SyncInfo> syncs = mCurrentSyncs.get(userId); in getCurrentSyncsLocked() local
1339 if (syncs == null) { in getCurrentSyncsLocked()
1340 syncs = new ArrayList<SyncInfo>(); in getCurrentSyncsLocked()
1341 mCurrentSyncs.put(userId, syncs); in getCurrentSyncsLocked()
1343 return syncs; in getCurrentSyncsLocked()
/frameworks/base/core/java/android/content/
DContentResolver.java2736 final List<SyncInfo> syncs = getContentService().getCurrentSyncs(); in getCurrentSync() local
2737 if (syncs.isEmpty()) { in getCurrentSync()
2740 return syncs.get(0); in getCurrentSync()
/frameworks/base/core/java/android/os/
DBatteryStats.java4076 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpCheckinLocked() local
4077 for (int isy=syncs.size()-1; isy>=0; isy--) { in dumpCheckinLocked()
4078 final Timer timer = syncs.valueAt(isy); in dumpCheckinLocked()
4087 dumpLine(pw, uid, category, SYNC_DATA, "\"" + syncs.keyAt(isy) + "\"", in dumpCheckinLocked()
5671 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpLocked() local
5672 for (int isy=syncs.size()-1; isy>=0; isy--) { in dumpLocked()
5673 final Timer timer = syncs.valueAt(isy); in dumpLocked()
5684 sb.append(syncs.keyAt(isy)); in dumpLocked()
7477 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpProtoAppsLocked() local
7478 for (int isy = syncs.size() - 1; isy >= 0; --isy) { in dumpProtoAppsLocked()
[all …]
/frameworks/base/core/proto/android/os/
Dbatterystats.proto786 repeated Sync syncs = 22; field