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.java1338 final List<SyncInfo> syncs = getCurrentSyncsLocked(userId); in getCurrentSyncsCopy() local
1340 for (SyncInfo sync : syncs) { in getCurrentSyncsCopy()
1355 ArrayList<SyncInfo> syncs = mCurrentSyncs.get(userId); in getCurrentSyncsLocked() local
1356 if (syncs == null) { in getCurrentSyncsLocked()
1357 syncs = new ArrayList<SyncInfo>(); in getCurrentSyncsLocked()
1358 mCurrentSyncs.put(userId, syncs); in getCurrentSyncsLocked()
1360 return syncs; in getCurrentSyncsLocked()
/frameworks/base/core/java/android/content/
DContentResolver.java3055 final List<SyncInfo> syncs = getContentService().getCurrentSyncs();
3056 if (syncs.isEmpty()) {
3059 return syncs.get(0);
/frameworks/base/core/java/android/os/
DBatteryStats.java4249 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpCheckinLocked() local
4250 for (int isy=syncs.size()-1; isy>=0; isy--) { in dumpCheckinLocked()
4251 final Timer timer = syncs.valueAt(isy); in dumpCheckinLocked()
4260 dumpLine(pw, uid, category, SYNC_DATA, "\"" + syncs.keyAt(isy) + "\"", in dumpCheckinLocked()
5830 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpLocked()
5831 for (int isy=syncs.size()-1; isy>=0; isy--) { in dumpLocked()
5832 final Timer timer = syncs.valueAt(isy); in dumpLocked()
5843 sb.append(syncs.keyAt(isy)); in dumpLocked()
7654 final ArrayMap<String, ? extends Timer> syncs = u.getSyncStats(); in dumpProtoAppsLocked() local
7655 for (int isy = syncs.size() - 1; isy >= 0; --isy) { in dumpProtoAppsLocked()
[all …]
/frameworks/base/core/proto/android/os/
Dbatterystats.proto790 repeated Sync syncs = 22; field