Home
last modified time | relevance | path

Searched refs:authority (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsSyncAdapter.java57 SyncResult onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
64 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
68 Log.i(TAG, "onPerformSync: account=" + account + " authority=" + authority in onPerformSync()
76 .setAuthority(authority) in onPerformSync()
81 getContext().getContentResolver().setIsSyncable(account, authority, 1); in onPerformSync()
84 sSyncInterceptor.onPerformSync(account, extras, authority, syncResult); in onPerformSync()
101 Log.i(TAG, "onPerformSyncFinishing: account=" + account + " authority=" + authority in onPerformSync()
/cts/tests/tests/net/src/android/net/cts/
DUriTest.java32 .authority("crazybob.org") in testParcelling()
140 .authority("crazybob.org") in testEqualsAndHashCode()
310 private static void testHierarchical(String scheme, String authority, in testHierarchical() argument
314 if (authority != null) { in testHierarchical()
315 sb.append("//").append(authority); in testHierarchical()
339 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
341 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
348 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
350 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical()
358 .encodedAuthority(authority) in testHierarchical()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DMockSRSProvider.java37 public void setupSuggestions(String authority, int mode) { in setupSuggestions() argument
39 super.setupSuggestions(authority, mode); in setupSuggestions()
DMockSyncAdapter.java86 public void startSync(ISyncContext syncContext, String authority, Account account, in startSync() argument
90 mAuthority = authority; in startSync()
118 public void initialize(android.accounts.Account account, java.lang.String authority) in initialize() argument
122 mAuthority = authority; in initialize()
DContentResolverSyncTestCase.java104 String authority, int accountIndex) { in addAccountAndVerifyInitSync() argument
123 assertEquals(authority, getMockSyncAdapter().getAuthority()); in addAccountAndVerifyInitSync()
126 private void cancelSync(Account account, String authority, int latchTimeoutMillis) { in cancelSync() argument
132 ContentResolver.cancelSync(account, authority); in cancelSync()
156 private void requestSync(Account account, String authority, int latchTimeoutMillis) { in requestSync() argument
162 ContentResolver.requestSync(account, authority, extras); in requestSync()
172 private void setIsSyncable(Account account, String authority, boolean b) { in setIsSyncable() argument
173 ContentResolver.setIsSyncable(account, authority, (b) ? 1 : 0); in setIsSyncable()
308 AUTHORITY.equals(type.authority)) {
DMockContentProvider.java109 public MockContentProvider(String authority, String dbName) { in MockContentProvider() argument
110 mAuthority = authority; in MockContentProvider()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DSearchUtil.java120 String authority = searchable.getSuggestAuthority(); in getSearchUri() local
121 if (authority == null) { in getSearchUri()
126 .authority(authority); in getSearchUri()
/cts/tests/tests/contactsproviderwipe/src/android/provider/cts/contactsproviderwipe/
DContactsContract_Wipe.java85 if (TextUtils.isEmpty(pi.authority)) { in getContactsProviderPackageName()
88 for (String authority : pi.authority.split(";")) { in getContactsProviderPackageName()
89 Log.i(TAG, "Found " + authority); in getContactsProviderPackageName()
90 if (ContactsContract.AUTHORITY.equals(authority)) { in getContactsProviderPackageName()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DSyncAdapter.java55 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
60 delegate.onPerformSync(account, extras, authority, provider, syncResult); in onPerformSync()
DUtils.java116 public static SyncRequest requestSync(String authority) { in requestSync() argument
122 .setSyncAdapter(null, authority) in requestSync()
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/
DUriHelper.java77 FactoryBuilder addUri(final String authority, final String path, final String type) { in addUri() argument
78 if (TextUtils.isEmpty(authority)) { in addUri()
85 mUriMatcher.addURI(authority, path, matcherCode); in addUri()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreIntentsTest.java83 .authority("example.com").path("image").build(); in testViewImageFile()
101 .authority("example.com").path("video").build(); in testViewVideoFile()
119 .authority("example.com").path("audio").build(); in testViewAudioFile()
DSearchRecentSuggestionsTest.java187 public MySearchRecentSuggestions(Context context, String authority, int mode) { in MySearchRecentSuggestions() argument
188 super(context, authority, mode); in MySearchRecentSuggestions()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java87 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertCleartextHttpURLConnectionSucceeds()
110 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertCleartextHttpURLConnectionBlocked()
131 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertAndroidHttpClientCleartextRequestSucceeds()
148 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertAndroidHttpClientCleartextRequestBlocked()
174 uri = uri.buildUpon().scheme(null).authority(null).build(); in assertMediaPlayerCleartextRequestSucceeds()
192 uri = uri.buildUpon().scheme(null).authority(null).build(); in assertMediaPlayerCleartextRequestBlocked()
201 uri = uri.buildUpon().scheme(null).authority(null).build(); in testDownloadManager()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DUtils.java29 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); in getUriWithoutUserId()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java94 final String authority = getContext().getPackageName() + ".testresultsprovider"; in onCreate() local
96 URI_MATCHER.addURI(authority, RESULTS_PATH, RESULTS_ALL); in onCreate()
97 URI_MATCHER.addURI(authority, RESULTS_PATH + "/#", RESULTS_ID); in onCreate()
98 URI_MATCHER.addURI(authority, RESULTS_PATH + "/*", RESULTS_TEST_NAME); in onCreate()
/cts/tests/tests/content/src/android/content/pm/cts/
DProviderInfoTest.java88 assertEquals(expected.authority, actual.authority); in checkInfoSame()
/cts/tests/app/src/android/app/cts/
DAutomaticZenRuleTest.java31 .authority("authority")
73 .authority("authority2") in testSetConditionId()
DConditionTest.java27 .authority("authority")
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/
DCtsSyncManagerTest.java161 private void addAccountAndLetInitialSyncRun(Account account, String authority) in addAccountAndLetInitialSyncRun() argument
168 () -> ContentResolver.getIsSyncable(account, authority) == 1); in addAccountAndLetInitialSyncRun()
171 () -> ContentResolver.getPeriodicSyncs(account, authority).size() == 1); in addAccountAndLetInitialSyncRun()
173 24 * 60 * 60, ContentResolver.getPeriodicSyncs(account, authority).get(0).period); in addAccountAndLetInitialSyncRun()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdSyncAdapter.java53 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsSyncAdapter.java54 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
/cts/tests/tests/syncmanager/common/proto/
Dsync_manager_cts.proto27 optional string authority = 4; field
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodProvisioningTestActivity.java113 .authority(getPackageName()) in getResourceUri()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceProvider.java66 .authority("android.slice.cts"); in onGetSliceDescendants()

12