Home
last modified time | relevance | path

Searched defs:authority (Results 1 – 25 of 143) sorted by relevance

123456

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowContentResolver.java63 protected static int getIsSyncableAsUser(Account account, String authority, int userId) { in getIsSyncableAsUser()
68 protected static boolean getSyncAutomaticallyAsUser(Account account, String authority, in getSyncAutomaticallyAsUser()
84 protected static SyncStatusInfo getSyncStatusAsUser(Account account, String authority, in getSyncStatusAsUser()
94 public static void setIsSyncable(Account account, String authority, int syncable) { in setIsSyncable()
99 protected static void setSyncAutomaticallyAsUser(Account account, String authority, in setSyncAutomaticallyAsUser()
113 public static void setSyncStatus(Account account, String authority, SyncStatusInfo status) { in setSyncStatus()
118 public static void cancelSyncAsUser(Account account, String authority, @UserIdInt int userId) { in cancelSyncAsUser()
125 public static void requestSyncAsUser(Account account, String authority, @UserIdInt int userId, in requestSyncAsUser()
169 void onSyncCanceled(Account account, String authority, @UserIdInt int userId); in onSyncCanceled()
171 void onSyncRequested(Account account, String authority, @UserIdInt int userId, in onSyncRequested()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DContentResolverCompat.java28 Account account, String authority, @UserIdInt int userId) { in getSyncAutomaticallyAsUser()
36 public static SyncStatusInfoCompat getSyncStatusAsUser(Account account, String authority, in getSyncStatusAsUser()
46 Account account, String authority, @UserIdInt int userId) { in getIsSyncableAsUser()
51 Account account, String authority, boolean sync, @UserIdInt int userId) { in setSyncAutomaticallyAsUser()
66 Account account, String authority, @UserIdInt int userId, Bundle extras) { in requestSyncAsUser()
70 public static void cancelSyncAsUser(Account account, String authority, @UserIdInt int userId) { in cancelSyncAsUser()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPickerSyncController.java297 private boolean resetAllMedia(@Nullable String authority, boolean isLocal) { in resetAllMedia()
308 private CloudProviderInfo getCloudProviderInfo(String authority, boolean ignoreAllowlist) { in getCloudProviderInfo()
345 public boolean setCloudProvider(@Nullable String authority) { in setCloudProvider()
360 public boolean forceSetCloudProvider(@Nullable String authority) { in forceSetCloudProvider()
369 private boolean setCloudProviderInternal(@Nullable String authority, boolean ignoreAllowList) { in setCloudProviderInternal()
458 public boolean isProviderEnabled(String authority) { in isProviderEnabled()
473 public boolean isProviderEnabled(String authority, int uid) { in isProviderEnabled()
488 public boolean isProviderSupported(String authority, int uid) { in isProviderSupported()
551 final String authority = getCloudProvider(); in notifyPickerLaunch() local
584 private void syncAlbumMediaFromProvider(String authority, boolean isLocal, String albumId) { in syncAlbumMediaFromProvider()
[all …]
DPickerDataLayer.java306 private Cursor queryProviderAlbums(@Nullable String authority, Bundle queryArgs) { in queryProviderAlbums()
320 private Cursor queryProviderAlbumsInternal(@NonNull String authority, Bundle queryArgs) { in queryProviderAlbumsInternal()
330 private boolean isLocal(String authority) { in isLocal()
338 private String traceSectionName(@NonNull String method, @Nullable String authority) { in traceSectionName()
382 AlbumsCursorWrapper(@NonNull Cursor cursor, @NonNull String authority) { in AlbumsCursorWrapper()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncHelper.java67 String authority = syncAdapter.authority; in getSyncableSyncAdaptersForAccount() local
95 static boolean requestSyncIfAllowed(Account account, String authority, int userId) { in requestSyncIfAllowed()
111 static CharSequence getTitle(Context context, String authority, UserHandle userHandle) { in getTitle()
123 static boolean isSyncing(Account account, List<SyncInfo> currentSyncs, String authority) { in isSyncing()
151 static boolean syncIsAllowed(Account account, String authority, int userId) { in syncIsAllowed()
160 String authority = syncAdapter.authority; in isVisible() local
DAccountDetailsWithSyncStatusPreferenceController.java98 String authority = syncAdapter.authority; in isSyncFailing() local
160 void requestSync(String authority, int userId) { in requestSync()
161 AccountSyncHelper.requestSyncIfAllowed(getAccount(), authority, userId); in requestSync() local
165 void cancelSync(String authority, int userId) { in cancelSync()
166 ContentResolver.cancelSyncAsUser(getAccount(), authority, userId); in cancelSync() local
DAccountSyncDetailsPreferenceController.java179 String authority = preference.getKey(); in onSyncPreferenceClicked() local
215 private void requestSync(String authority) { in requestSync()
219 private void cancelSync(String authority) { in cancelSync()
312 String authority = syncAdapter.authority; in getSyncPreferences() local
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DPreIndexDataCollector.java90 final String authority = info.providerInfo.authority; in collectIndexableData() local
109 private void addIndexablesFromRemoteProvider(String packageName, String authority) { in addIndexablesFromRemoteProvider()
167 private void addNonIndexablesKeysFromRemoteProvider(String packageName, String authority) { in addNonIndexablesKeysFromRemoteProvider()
180 String authority) { in getNonIndexablesKeysFromRemoteProvider()
194 private Uri buildUriForXmlResources(String authority) { in buildUriForXmlResources()
199 private Uri buildUriForRawData(String authority) { in buildUriForRawData()
204 private Uri buildUriForNonIndexableKeys(String authority) { in buildUriForNonIndexableKeys()
210 Uri buildUriForSiteMap(String authority) { in buildUriForSiteMap()
348 final String authority = info.providerInfo.authority; in isWellKnownProvider() local
DPreIndexData.java57 public void addNonIndexableKeysForAuthority(String authority, Set<String> keys) { in addNonIndexableKeysForAuthority()
61 public void addDataToUpdate(String authority, List<? extends SearchIndexableData> data) { in addDataToUpdate()
DIndexDataConverter.java86 final String authority = entry.getKey(); in convertPreIndexDataToIndexData() local
184 private IndexData convertRaw(String authority, SearchIndexableRaw raw, in convertRaw()
219 private List<IndexData> convertResource(SearchIndexableResource sir, String authority, in convertResource()
397 String authority) { in getNonIndexableKeysForResource()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowContentResolver.java60 protected static int getIsSyncableAsUser(Account account, String authority, int userId) { in getIsSyncableAsUser()
65 protected static boolean getSyncAutomaticallyAsUser(Account account, String authority, in getSyncAutomaticallyAsUser()
71 protected static void setSyncAutomaticallyAsUser(Account account, String authority, in setSyncAutomaticallyAsUser()
92 public static void setSyncable(String authority, int syncable) { in setSyncable()
96 public static void setSyncAutomatically(String authority, boolean syncAutomatically) { in setSyncAutomatically()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersAccess.java48 RootInfo getRootOneshot(UserId userId, String authority, String rootId); in getRootOneshot()
58 String getApplicationName(UserId userId, String authority); in getApplicationName()
60 String getPackageName(UserId userId, String authority); in getPackageName()
66 Collection<RootInfo> getRootsForAuthorityBlocking(UserId userId, String authority); in getRootsForAuthorityBlocking()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DCloudProviderInfo.java30 public final String authority; field in CloudProviderInfo
40 public CloudProviderInfo(@NonNull String authority, @NonNull String packageName, int uid) { in CloudProviderInfo()
75 public boolean matches(@Nullable String authority, @Nullable String packageName) { in matches()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java270 matcher.addURI(authority, "extensions", EXTENSIONS); in matcher.addURI() argument
271 matcher.addURI(authority, "extensions/#", EXTENSIONS_ID); in matcher.addURI() argument
272 matcher.addURI(authority, "groups", GROUPS); in matcher.addURI() argument
273 matcher.addURI(authority, "groups/#", GROUPS_ID); in matcher.addURI() argument
274 matcher.addURI(authority, "groups/name/*/members", GROUP_NAME_MEMBERS); in matcher.addURI() argument
277 matcher.addURI(authority, "groups/system_id/*/members", GROUP_SYSTEM_ID_MEMBERS); in matcher.addURI() argument
280 matcher.addURI(authority, "groupmembership", GROUPMEMBERSHIP); in matcher.addURI() argument
281 matcher.addURI(authority, "groupmembership/#", GROUPMEMBERSHIP_ID); in matcher.addURI() argument
283 matcher.addURI(authority, "people", PEOPLE); in matcher.addURI() argument
286 matcher.addURI(authority, "people/filter/*", PEOPLE_FILTER); in matcher.addURI() argument
[all …]
/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java163 public static Uri buildAccountUri(String authority) { in buildAccountUri()
175 public static Uri buildAccountUriwithId(String authority, String accountId) { in buildAccountUriwithId()
187 public static Uri buildMessageUri(String authority) { in buildMessageUri()
199 public static Uri buildMessageUri(String authority, String accountId) { in buildMessageUri()
212 public static Uri buildMessageUriWithId(String authority, String accountId, String messageId) { in buildMessageUriWithId()
226 public static Uri buildFolderUri(String authority, String accountId) { in buildFolderUri()
239 public static Uri buildConversationUri(String authority, String accountId) { in buildConversationUri()
252 public static Uri buildConvoContactsUri(String authority) { in buildConvoContactsUri()
264 public static Uri buildConvoContactsUri(String authority, String accountId) { in buildConvoContactsUri()
277 public static Uri buildConvoContactsUriWithId(String authority, String accountId, in buildConvoContactsUriWithId()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountSyncFragment.java163 String authority = syncPref.getAuthority(); in onPreferenceTreeClick() local
244 private void requestOrCancelSync(Account account, String authority, boolean flag) { in requestOrCancelSync()
255 private boolean isSyncing(List<SyncInfo> currentSyncs, Account account, String authority) { in isSyncing()
309 String authority = syncPref.getAuthority(); in onSyncStateUpdated() local
406 private Preference createSyncStateSwitch(Account account, String authority) { in createSyncStateSwitch()
434 private int getToggleId(String authority) { in getToggleId()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestProvidersAccess.java260 public RootInfo getRootOneshot(UserId userId, String authority, String rootId) { in getRootOneshot()
281 public Collection<RootInfo> getRootsForAuthorityBlocking(UserId userId, String authority) { in getRootsForAuthorityBlocking()
305 public String getApplicationName(UserId userId, String authority) { in getApplicationName()
310 public String getPackageName(UserId userId, String authority) { in getPackageName()
DTestEnv.java88 private TestEnv(Context context, Features features, String authority) { in TestEnv()
136 public static TestEnv create(Features features, String authority) { in create()
141 public static TestEnv create(String authority) { in create()
147 private static TestEnv create(Context context, Features features, String authority) { in create()
208 public Executor lookupExecutor(String authority) { in lookupExecutor()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPickerUriResolver.java184 public static Uri getMediaUri(String authority) { in getMediaUri()
189 public static Uri getDeletedMediaUri(String authority) { in getDeletedMediaUri()
194 public static Uri getMediaCollectionInfoUri(String authority) { in getMediaCollectionInfoUri()
199 public static Uri getAlbumUri(String authority) { in getAlbumUri()
204 public static Uri createSurfaceControllerUri(String authority) { in createSurfaceControllerUri()
277 private static Uri.Builder initializeUriBuilder(String authority) { in initializeUriBuilder()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/ui/settings/
DSettingsCloudMediaViewModelTest.java189 private static ResolveInfo createResolveInfo(@NonNull String authority) { in createResolveInfo()
196 private static ProviderInfo createProviderInfo(@NonNull String authority) { in createProviderInfo()
205 private static ApplicationInfo createApplicationInfo(@NonNull String authority) { in createApplicationInfo()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/remotepreview/
DRemotePreviewHandler.java150 String authority = item.getContentUri().getAuthority(); in createRemotePreviewSession() local
176 String authority = item.getContentUri().getAuthority(); in getSessionForItem() local
195 private SurfaceControllerProxy getSurfaceController(String authority, in getSurfaceController()
224 private SurfaceControllerProxy createController(String authority, in createController()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentFilters.java53 String authority = getCursorString(c, RootCursorWrapper.COLUMN_AUTHORITY); in isSharableInO() local
64 String authority = getCursorString(c, RootCursorWrapper.COLUMN_AUTHORITY); in isSharablePreO() local
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DIconUtilsTest.java75 final String authority = "a"; in testLoadPackageIcon() local
99 final String authority = "a"; in testLoadPackageIcon_maybeShowBadge() local
/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetrics.java232 final String authority = docUri.getAuthority(); in logFileOperationFailure() local
315 private static void logIntraProviderFileOps(String authority, @OpType int operationType) { in logIntraProviderFileOps()
384 @MetricConsts.MetricsAuth final int authority = isInternal in logStorageFileOperationFailure() local
487 private static boolean isSystemProvider(String authority) { in isSystemProvider()
623 ProviderCounts counts, String authority, @Nullable DocumentInfo dst) { in countForAuthority()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java44 private BluetoothMapAccountItem(String id, String name, String packageName, String authority, in BluetoothMapAccountItem()
59 String authority, Drawable icon, BluetoothMapUtils.TYPE appType) { in create()
65 String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci, in create()

123456