/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/content/src/android/content/cts/ |
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 | 106 String authority, int accountIndex) { in addAccountAndVerifyInitSync() argument 125 assertEquals(authority, getMockSyncAdapter().getAuthority()); in addAccountAndVerifyInitSync() 128 private void cancelSync(Account account, String authority, int latchTimeoutMillis) { in cancelSync() argument 134 ContentResolver.cancelSync(account, authority); in cancelSync() 158 private void requestSync(Account account, String authority, int latchTimeoutMillis) { in requestSync() argument 164 ContentResolver.requestSync(account, authority, extras); in requestSync() 174 private void setIsSyncable(Account account, String authority, boolean b) { in setIsSyncable() argument 175 ContentResolver.setIsSyncable(account, authority, (b) ? 1 : 0); in setIsSyncable() 310 AUTHORITY.equals(type.authority)) {
|
D | MockSRSProvider.java | 37 public void setupSuggestions(String authority, int mode) { in setupSuggestions() argument 39 super.setupSuggestions(authority, mode); in setupSuggestions()
|
/cts/tests/app/src/android/app/cts/ |
D | ConditionTest.java | 27 .authority("authority") 89 Uri uri = new Uri.Builder().authority(pkg).build(); in testIsValidId_noScheme() 95 Uri uri = new Uri.Builder().authority(pkg).scheme(Condition.SCHEME).build(); in testIsValidId_wrongAuthority() 101 Uri uri = new Uri.Builder().authority(pkg).scheme(Condition.SCHEME).build(); in testIsValidId()
|
D | AutomaticZenRuleTest.java | 34 .authority("authority") 78 .authority("authority2") in testSetConditionId()
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 154 final String authority = getContext().getPackageName() + ".testresultsprovider"; in onCreate() local 156 URI_MATCHER.addURI(authority, RESULTS_PATH, RESULTS_ALL); in onCreate() 157 URI_MATCHER.addURI(authority, RESULTS_PATH + "/#", RESULTS_ID); in onCreate() 158 URI_MATCHER.addURI(authority, RESULTS_PATH + "/*", RESULTS_TEST_NAME); in onCreate() 159 URI_MATCHER.addURI(authority, REPORTS_PATH, REPORT); in onCreate() 160 URI_MATCHER.addURI(authority, REPORTS_PATH + "/latest", REPORT_LATEST); in onCreate() 161 URI_MATCHER.addURI(authority, REPORTS_PATH + "/#", REPORT_ROW); in onCreate() 162 URI_MATCHER.addURI(authority, REPORTS_PATH + "/*", REPORT_FILE_NAME); in onCreate()
|
/cts/tests/tests/contactsproviderwipe/src/android/provider/cts/contactsproviderwipe/ |
D | ContactsContract_Wipe.java | 88 if (TextUtils.isEmpty(pi.authority)) { in getContactsProviderPackageName() 91 for (String authority : pi.authority.split(";")) { in getContactsProviderPackageName() 92 Log.i(TAG, "Found " + authority); in getContactsProviderPackageName() 93 if (ContactsContract.AUTHORITY.equals(authority)) { in getContactsProviderPackageName()
|
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/ |
D | UriHelper.java | 78 FactoryBuilder addUri(String authority, String path, String type) { in addUri() argument 79 if (TextUtils.isEmpty(authority)) { in addUri() 86 mUriMatcher.addURI(authority, path, matcherCode); in addUri()
|
/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/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 | 117 public static SyncRequest requestSync(String authority) { in requestSync() argument 123 .setSyncAdapter(null, authority) in requestSync()
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStoreIntentsTest.java | 128 .authority("example.com").path("image").build(); in testViewImageFile() 147 .authority("example.com").path("video").build(); in testViewVideoFile() 166 .authority("example.com").path("audio").build(); in testViewAudioFile()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ProviderInfoTest.java | 90 assertEquals(expected.authority, actual.authority); in checkInfoSame()
|
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/ |
D | SyncAdapterSettingsAdapter.java | 35 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | Utils.java | 29 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); in getUriWithoutUserId()
|
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ |
D | CtsSyncManagerTest.java | 165 private void addAccountAndLetInitialSyncRun(Account account, String authority) in addAccountAndLetInitialSyncRun() argument 172 () -> ContentResolver.getIsSyncable(account, authority) == 1); in addAccountAndLetInitialSyncRun() 175 () -> ContentResolver.getPeriodicSyncs(account, authority).size() == 1); in addAccountAndLetInitialSyncRun() 177 24 * 60 * 60, ContentResolver.getPeriodicSyncs(account, authority).get(0).period); in addAccountAndLetInitialSyncRun()
|
/cts/tests/tests/appenumeration/app/source/src/android/appenumeration/cts/query/ |
D | TestActivity.java | 210 final String authority = intent.getStringExtra(Intent.EXTRA_PACKAGE_NAME); in handleIntent() local 211 queryResolverForVisiblePackages(remoteCallback, authority); in handleIntent() 230 final String authority = intent.getBundleExtra(EXTRA_DATA) in handleIntent() local 234 sendSyncAdapterPackagesForAuthorityAsUser(remoteCallback, authority, userId); in handleIntent() 447 private void queryResolverForVisiblePackages(RemoteCallback remoteCallback, String authority) { in queryResolverForVisiblePackages() argument 449 Uri queryUri = Uri.parse("content://" + authority + "/test"); in queryResolverForVisiblePackages() 579 String authority, int userId) { in sendSyncAdapterPackagesForAuthorityAsUser() argument 581 .getSyncAdapterPackagesForAuthorityAsUser(authority, userId); in sendSyncAdapterPackagesForAuthorityAsUser()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | SearchRecentSuggestionsTest.java | 187 public MySearchRecentSuggestions(Context context, String authority, int mode) { in MySearchRecentSuggestions() argument 188 super(context, authority, mode); in MySearchRecentSuggestions()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | SettingsProvider.java | 70 public Bundle call(String authority, String method, String arg, Bundle extras) { in call() argument
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdSyncAdapter.java | 53 public void onPerformSync(Account account, Bundle extras, String authority, in onPerformSync() argument
|
/cts/tests/app/app/src/android/app/stubs/ |
D | LocalProvider.java | 42 public Bundle call(String authority, String method, String arg, Bundle extras) { in call() argument
|
/cts/tests/tests/syncmanager/common/proto/ |
D | sync_manager_cts.proto | 27 optional string authority = 4; field
|
/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
|