Home
last modified time | relevance | path

Searched refs:requestSync (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DDeferSyncTest.java25 import static com.android.cts.content.Utils.requestSync;
93 requestSync(NOT_ALWAYS_SYNCABLE_AUTHORITY); in noSyncsWhenDeferred()
94 requestSync(ALWAYS_SYNCABLE_AUTHORITY); in noSyncsWhenDeferred()
120 requestSync(NOT_ALWAYS_SYNCABLE_AUTHORITY); in deferSyncAndMakeSyncable()
145 requestSync(NOT_ALWAYS_SYNCABLE_AUTHORITY); in deferSyncAndReportIsReady()
170 requestSync(ALWAYS_SYNCABLE_AUTHORITY); in deferSyncAndReportIsReadyAlwaysSyncable()
DContentResolverSyncTestCase.java158 private void requestSync(Account account, String authority, int latchTimeoutMillis) { in requestSync() method in ContentResolverSyncTestCase
164 ContentResolver.requestSync(account, authority, extras); in requestSync()
200 requestSync(ACCOUNT, AUTHORITY, LATCH_TIMEOUT_MS); in testRequestSync()
227 requestSync(ACCOUNT, AUTHORITY, LATCH_TIMEOUT_MS); in testCancelSync()
323 ContentResolver.requestSync(null, null, null);
374 requestSync(null /* all accounts */, AUTHORITY, LATCH_TIMEOUT_MS);
DAccountAccessSameCertTest.java24 import static com.android.cts.content.Utils.requestSync;
79 requestSync(ALWAYS_SYNCABLE_AUTHORITY); in testAccountAccess_sameCertAsAuthenticatorCanSeeAccount()
DContentResolverTest.java1207 ContentResolver.requestSync(ACCOUNT, AUTHORITY, extras); in testStartCancelSync()
1216 ContentResolver.requestSync(null, null, null); in testStartSyncFailure()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdSyncAdapter.java73 public static void requestSync(Account account) throws Exception { in requestSync() method in StatsdSyncAdapter
79 ContentResolver.requestSync(account, StatsdProvider.AUTHORITY, extras); in requestSync()
DAtomTests.java316 StatsdSyncAdapter.requestSync(account); in testSyncState()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsSyncAdapter.java101 public static void requestSync(Account account) throws Exception { in requestSync() method in BatteryStatsSyncAdapter
109 ContentResolver.requestSync(account, BatteryStatsProvider.AUTHORITY, extras); in requestSync()
DBatteryStatsSyncTest.java69 BatteryStatsSyncAdapter.requestSync(account); in testRunSyncs()
DBatteryStatsBgVsFgActions.java323 BatteryStatsSyncAdapter.requestSync(account); in doSync()
/cts/tests/tests/content/CtsSyncAccountAccessOtherCertTests/src/com/android/cts/content/
DCtsSyncAccountAccessOtherCertTestCases.java27 import static com.android.cts.content.Utils.requestSync;
107 SyncRequest request = requestSync(ALWAYS_SYNCABLE_AUTHORITY); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount()
149 ContentResolver.requestSync(request); in testAccountAccess_otherCertAsAuthenticatorCanNotSeeAccount()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DUtils.java117 public static SyncRequest requestSync(String authority) { in requestSync() method in Utils
129 ContentResolver.requestSync(request); in requestSync()
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java224 ContentResolver.requestSync(ACCOUNT_1_A, APP1_AUTHORITY, b); in testSoftErrorRetriesActiveApp()