Searched refs:SyncStorageEngine (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncStorageEngineTest.java | 43 private SyncStorageEngine mSyncStorageEngine; 53 mSyncStorageEngine = SyncStorageEngine.newTestInstance(mContext); in setUp() 61 final SyncStorageEngine other = SyncStorageEngine.newTestInstance(mContext); in testStatisticsReadWrite() 70 final SyncStorageEngine other = SyncStorageEngine.newTestInstance(mContext); in testStatusReadWrite() 78 private void populateDayStats(SyncStorageEngine.DayStats[] dayStats) { in populateDayStats() 81 final SyncStorageEngine.DayStats ds = new SyncStorageEngine.DayStats(i); in populateDayStats() 90 private void verifyDayStats(SyncStorageEngine.DayStats[] dayStats, in verifyDayStats() 91 SyncStorageEngine.DayStats[] dayStatsOther) { in verifyDayStats() 94 final SyncStorageEngine.DayStats ds = dayStats[i]; in verifyDayStats() 95 final SyncStorageEngine.DayStats dsOther = dayStatsOther[i]; in verifyDayStats()
|
D | SyncOperationTest.java | 145 SyncStorageEngine.EndPoint ep = new SyncStorageEngine.EndPoint(new Account("name", "type"), in testFailedPeriodicConversion()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 114 import com.android.server.content.SyncStorageEngine.AuthorityInfo; 115 import com.android.server.content.SyncStorageEngine.EndPoint; 116 import com.android.server.content.SyncStorageEngine.OnSyncRequestListener; 246 private SyncStorageEngine mSyncStorageEngine; 572 SyncStorageEngine.init(context, BackgroundThread.get().getLooper()); in SyncManager() 573 mSyncStorageEngine = SyncStorageEngine.getSingleton(); in SyncManager() 576 public void onSyncRequest(SyncStorageEngine.EndPoint info, int reason, Bundle extras, in SyncManager() 584 new SyncStorageEngine.PeriodicSyncAddedListener() { in SyncManager() 592 …mSyncStorageEngine.setOnAuthorityRemovedListener(new SyncStorageEngine.OnAuthorityRemovedListener(… in SyncManager() 797 public SyncStorageEngine getSyncStorageEngine() { in getSyncStorageEngine() [all …]
|
D | SyncOperation.java | 69 public final SyncStorageEngine.EndPoint target; 122 this(new SyncStorageEngine.EndPoint(account, provider, userId), owningUid, owningPackage, in SyncOperation() 126 private SyncOperation(SyncStorageEngine.EndPoint info, int owningUid, String owningPackage, in SyncOperation() 139 public SyncOperation(SyncStorageEngine.EndPoint info, int owningUid, String owningPackage, in SyncOperation() 321 SyncStorageEngine.EndPoint target = in maybeCreateFromJobExtras() 322 new SyncStorageEngine.EndPoint(account, provider, userId); in maybeCreateFromJobExtras() 339 final SyncStorageEngine.EndPoint other = toRun.target; in isConflict() 411 sb.append(SyncStorageEngine.SOURCES[syncSource]); in dump()
|
D | ContentService.java | 605 SyncStorageEngine.AuthorityInfo.UNDEFINED, in requestSync() 666 SyncStorageEngine.EndPoint info; in syncAsUser() 667 info = new SyncStorageEngine.EndPoint( in syncAsUser() 677 SyncStorageEngine.AuthorityInfo.UNDEFINED, in syncAsUser() 730 SyncStorageEngine.EndPoint info; in cancelSyncAsUser() 731 info = new SyncStorageEngine.EndPoint(account, authority, userId); in cancelSyncAsUser() 757 SyncStorageEngine.EndPoint info; in cancelRequest() 761 info = new SyncStorageEngine.EndPoint(account, provider, userId); in cancelRequest() 904 long defaultFlex = SyncStorageEngine.calculateDefaultFlexTime(pollFrequency); in addPeriodicSync() 908 SyncStorageEngine.EndPoint info = in addPeriodicSync() [all …]
|
D | SyncStorageEngine.java | 86 public class SyncStorageEngine { class 470 private static volatile SyncStorageEngine sSyncStorageEngine = null; 517 private SyncStorageEngine(Context context, File dataDir, Looper looper) { in SyncStorageEngine() method in SyncStorageEngine 552 public static SyncStorageEngine newTestInstance(Context context) { in newTestInstance() 553 return new SyncStorageEngine(context, context.getFilesDir(), Looper.getMainLooper()); in newTestInstance() 561 sSyncStorageEngine = new SyncStorageEngine(context, dataDir, looper); in init() 564 public static SyncStorageEngine getSingleton() { in getSingleton() 1298 event.append("" + resultMessage + " Source=" + SyncStorageEngine.SOURCES[item.source] in stopSyncEvent()
|
D | SyncLogger.java | 36 import com.android.server.content.SyncStorageEngine.EndPoint;
|
/frameworks/base/core/proto/android/server/ |
D | syncstorageengine.proto | 24 * Stores relevant information from a DayStats object in SyncStorageEngine. 29 optional int32 day = 1; // day of the year - defined by SyncStorageEngine#getCurrentDayLocked()
|
/frameworks/base/services/ |
D | art-profile | 15457 …ent/SyncManager;]Lcom/android/server/content/SyncStorageEngine;Lcom/android/server/content/SyncSto… 15468 …ent/SyncManager;]Lcom/android/server/content/SyncStorageEngine;Lcom/android/server/content/SyncSto… 15472 …ent/SyncManager;]Lcom/android/server/content/SyncStorageEngine;Lcom/android/server/content/SyncSto… 15479 …ent/SyncManager;]Lcom/android/server/content/SyncStorageEngine;Lcom/android/server/content/SyncSto… 15484 …ent/SyncManager;]Lcom/android/server/content/SyncStorageEngine;Lcom/android/server/content/SyncSto… 15487 …ent/SyncManager;]Lcom/android/server/content/SyncStorageEngine;Lcom/android/server/content/SyncSto… 15488 …ent/SyncManager;]Lcom/android/server/content/SyncStorageEngine;Lcom/android/server/content/SyncSto… 15502 …ent/SyncManager;]Lcom/android/server/content/SyncStorageEngine;Lcom/android/server/content/SyncSto… 15504 …ent/SyncManager;]Lcom/android/server/content/SyncStorageEngine;Lcom/android/server/content/SyncSto… 15543 PLcom/android/server/content/SyncLogger;->logSafe(Lcom/android/server/content/SyncStorageEngine$End… [all …]
|