Lines Matching refs:authority

46         final String authority = "testprovider";
55 account, authority, time0, SyncStorageEngine.SOURCE_LOCAL);
67 final String authority = "testprovider";
75 PeriodicSync sync1 = new PeriodicSync(account1, authority, extras1, period1);
76 PeriodicSync sync2 = new PeriodicSync(account1, authority, extras2, period1);
77 PeriodicSync sync3 = new PeriodicSync(account1, authority, extras2, period2);
78 PeriodicSync sync4 = new PeriodicSync(account2, authority, extras2, period2);
85 removePeriodicSyncs(engine, account1, authority);
86 removePeriodicSyncs(engine, account2, authority);
89 engine.addPeriodicSync(sync1.account, sync1.authority, sync1.extras, sync1.period);
90 engine.addPeriodicSync(sync2.account, sync2.authority, sync2.extras, sync2.period);
91 engine.addPeriodicSync(sync3.account, sync3.authority, sync3.extras, sync3.period);
92 engine.addPeriodicSync(sync4.account, sync4.authority, sync4.extras, sync4.period);
94 List<PeriodicSync> syncs = engine.getPeriodicSyncs(account1, authority);
101 engine.removePeriodicSync(sync1.account, sync1.authority, sync1.extras);
103 syncs = engine.getPeriodicSyncs(account1, authority);
107 syncs = engine.getPeriodicSyncs(account2, authority);
112 private void removePeriodicSyncs(SyncStorageEngine engine, Account account, String authority) {
113 engine.setIsSyncable(account, authority, engine.getIsSyncable(account, authority));
114 List<PeriodicSync> syncs = engine.getPeriodicSyncs(account, authority);
116 engine.removePeriodicSync(sync.account, sync.authority, sync.extras);
169 engine.addPeriodicSync(sync1.account, sync1.authority, sync1.extras, sync1.period);
170 engine.addPeriodicSync(sync2.account, sync2.authority, sync2.extras, sync2.period);
171 engine.addPeriodicSync(sync3.account, sync3.authority, sync3.extras, sync3.period);
172 engine.addPeriodicSync(sync4.account, sync4.authority, sync4.extras, sync4.period);
173 engine.addPeriodicSync(sync5.account, sync5.authority, sync5.extras, sync5.period);
223 + "<authority id=\"0\" account=\"account1\" type=\"type1\" authority=\"auth1\" />\n"
224 + "<authority id=\"1\" account=\"account1\" type=\"type1\" authority=\"auth2\" />\n"
225 + "<authority id=\"2\" account=\"account1\" type=\"type1\" authority=\"auth3\" />\n"
251 + "<authority id=\"0\" account=\"account1\" type=\"type1\" authority=\"auth1\" />\n"
252 + "<authority id=\"1\" account=\"account1\" type=\"type1\" authority=\"auth2\" />\n"
253 + "<authority id=\"2\" account=\"account1\" type=\"type1\" authority=\"auth3\" />\n"
274 + "<authority id=\"0\" account=\"account1\" type=\"type1\" authority=\"auth1\">\n"
276 + "</authority>"
277 + "<authority id=\"1\" account=\"account1\" type=\"type1\" authority=\"auth2\">\n"
279 + "</authority>"
280 + "<authority id=\"2\" account=\"account1\" type=\"type1\" authority=\"auth3\">\n"
282 + "</authority>"
321 + "<authority id=\"0\" account=\"acc1\" type=\"type1\" authority=\"contacts\" />\n"
322 + "<authority id=\"1\" account=\"acc1\" type=\"type1\" authority=\"calendar\" />\n"
323 + "<authority id=\"2\" account=\"acc1\" type=\"type1\" authority=\"other\" />\n"
324 + "<authority id=\"3\" account=\"acc2\" type=\"type2\" authority=\"contacts\" />\n"
325 + "<authority id=\"4\" account=\"acc2\" type=\"type2\" authority=\"calendar\" />\n"
326 + "<authority id=\"5\" account=\"acc2\" type=\"type2\" authority=\"other\" />\n"
327 + "<authority id=\"6\" account=\"acc2\" type=\"type2\" enabled=\"false\""
328 + " authority=\"com.android.calendar\" />\n"
329 + "<authority id=\"7\" account=\"acc2\" type=\"type2\" enabled=\"false\""
330 + " authority=\"com.android.contacts\" />\n"
365 + "<authority id=\"0\" account=\"acc\" authority=\"other1\" />\n"
366 + "<authority id=\"1\" account=\"acc\" type=\"type\" authority=\"other2\" />\n"
367 + "<authority id=\"2\" account=\"acc\" type=\"type\" syncable=\"false\""
368 + " authority=\"other3\" />\n"
369 + "<authority id=\"3\" account=\"acc\" type=\"type\" syncable=\"true\""
370 + " authority=\"other4\" />\n"