/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/ |
D | SyncManagerCtsSyncAdapter.java | 57 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/ |
D | UriTest.java | 32 .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/ |
D | MockSRSProvider.java | 37 public void setupSuggestions(String authority, int mode) { in setupSuggestions() argument 39 super.setupSuggestions(authority, mode); in setupSuggestions()
|
D | MockSyncAdapter.java | 86 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()
|
D | ContentResolverSyncTestCase.java | 104 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)) {
|
D | MockContentProvider.java | 109 public MockContentProvider(String authority, String dbName) { in MockContentProvider() argument 110 mAuthority = authority; in MockContentProvider()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | SearchUtil.java | 120 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/ |
D | ContactsContract_Wipe.java | 85 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/ |
D | SyncAdapter.java | 55 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument 60 delegate.onPerformSync(account, extras, authority, provider, syncResult); in onPerformSync()
|
D | Utils.java | 116 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/ |
D | UriHelper.java | 77 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/ |
D | MediaStoreIntentsTest.java | 83 .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()
|
D | SearchRecentSuggestionsTest.java | 187 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/ |
D | NetworkSecurityPolicyTestBase.java | 87 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/ |
D | Utils.java | 29 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); in getUriWithoutUserId()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 94 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/ |
D | ProviderInfoTest.java | 88 assertEquals(expected.authority, actual.authority); in checkInfoSame()
|
/cts/tests/app/src/android/app/cts/ |
D | AutomaticZenRuleTest.java | 31 .authority("authority") 73 .authority("authority2") in testSetConditionId()
|
D | ConditionTest.java | 27 .authority("authority")
|
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ |
D | CtsSyncManagerTest.java | 161 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/ |
D | StatsdSyncAdapter.java | 53 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
|
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsSyncAdapter.java | 54 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
|
/cts/tests/tests/syncmanager/common/proto/ |
D | sync_manager_cts.proto | 27 optional string authority = 4; field
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodProvisioningTestActivity.java | 113 .authority(getPackageName()) in getResourceUri()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceProvider.java | 66 .authority("android.slice.cts"); in onGetSliceDescendants()
|