/cts/tests/tests/net/src/android/net/cts/ |
D | UriTest.java | 33 .authority("crazybob.org") in testParcelling() 179 .authority("crazybob.org") in testEqualsAndHashCode() 389 private static void testHierarchical(String scheme, String authority, in testHierarchical() argument 393 if (authority != null) { in testHierarchical() 394 sb.append("//").append(authority); in testHierarchical() 418 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() 420 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() 427 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() 429 uriString, ssp, uri, scheme, authority, path, query, fragment); in testHierarchical() 437 .encodedAuthority(authority) in testHierarchical() [all …]
|
/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 | 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 | 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 | MockSRSProvider.java | 37 public void setupSuggestions(String authority, int mode) { in setupSuggestions() argument 39 super.setupSuggestions(authority, mode); in setupSuggestions()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 149 final String authority = getContext().getPackageName() + ".testresultsprovider"; in onCreate() local 151 URI_MATCHER.addURI(authority, RESULTS_PATH, RESULTS_ALL); in onCreate() 152 URI_MATCHER.addURI(authority, RESULTS_PATH + "/#", RESULTS_ID); in onCreate() 153 URI_MATCHER.addURI(authority, RESULTS_PATH + "/*", RESULTS_TEST_NAME); in onCreate() 154 URI_MATCHER.addURI(authority, REPORTS_PATH, REPORT); in onCreate() 155 URI_MATCHER.addURI(authority, REPORTS_PATH + "/latest", REPORT_LATEST); in onCreate() 156 URI_MATCHER.addURI(authority, REPORTS_PATH + "/#", REPORT_ROW); in onCreate() 157 URI_MATCHER.addURI(authority, REPORTS_PATH + "/*", REPORT_FILE_NAME); in onCreate()
|
/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/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/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/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/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/ |
D | MediaStoreIntentsTest.java | 124 .authority("example.com").path("image").build(); in testViewImageFile() 143 .authority("example.com").path("video").build(); in testViewVideoFile() 162 .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/syncmanager/src/android/content/syncmanager/cts/ |
D | CtsSyncManagerTest.java | 162 private void addAccountAndLetInitialSyncRun(Account account, String authority) in addAccountAndLetInitialSyncRun() argument 169 () -> ContentResolver.getIsSyncable(account, authority) == 1); in addAccountAndLetInitialSyncRun() 172 () -> ContentResolver.getPeriodicSyncs(account, authority).size() == 1); in addAccountAndLetInitialSyncRun() 174 24 * 60 * 60, ContentResolver.getPeriodicSyncs(account, authority).get(0).period); in addAccountAndLetInitialSyncRun()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ProviderInfoTest.java | 90 assertEquals(expected.authority, actual.authority); in checkInfoSame()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | Utils.java | 29 builder.authority(getAuthorityWithoutUserId(uri.getAuthority())); in getUriWithoutUserId()
|
/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/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/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/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
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodProvisioningTestActivity.java | 113 .authority(getPackageName()) in getResourceUri()
|