Home
last modified time | relevance | path

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

12345

/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/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/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowContentResolver.java59 protected static int getIsSyncableAsUser(Account account, String authority, int userId) { in getIsSyncableAsUser()
64 protected static boolean getSyncAutomaticallyAsUser(Account account, String authority, in getSyncAutomaticallyAsUser()
70 protected static void setSyncAutomaticallyAsUser(Account account, String authority, in setSyncAutomaticallyAsUser()
87 public static void setSyncable(String authority, int syncable) { in setSyncable()
91 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/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.java82 final String authority = entry.getKey(); in convertPreIndexDataToIndexData() local
159 private IndexData convertRaw(Context context, String authority, SearchIndexableRaw raw, in convertRaw()
194 private List<IndexData> convertResource(SearchIndexableResource sir, String authority, in convertResource()
364 String authority) { in getNonIndexableKeysForResource()
/packages/apps/Bluetooth/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/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java268 matcher.addURI(authority, "extensions", EXTENSIONS); in matcher.addURI() argument
269 matcher.addURI(authority, "extensions/#", EXTENSIONS_ID); in matcher.addURI() argument
270 matcher.addURI(authority, "groups", GROUPS); in matcher.addURI() argument
271 matcher.addURI(authority, "groups/#", GROUPS_ID); in matcher.addURI() argument
272 matcher.addURI(authority, "groups/name/*/members", GROUP_NAME_MEMBERS); in matcher.addURI() argument
275 matcher.addURI(authority, "groups/system_id/*/members", GROUP_SYSTEM_ID_MEMBERS); in matcher.addURI() argument
278 matcher.addURI(authority, "groupmembership", GROUPMEMBERSHIP); in matcher.addURI() argument
279 matcher.addURI(authority, "groupmembership/#", GROUPMEMBERSHIP_ID); in matcher.addURI() argument
281 matcher.addURI(authority, "people", PEOPLE); in matcher.addURI() argument
284 matcher.addURI(authority, "people/filter/*", PEOPLE_FILTER); in matcher.addURI() argument
[all …]
/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/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/
DGlobalSearchLoader.java89 protected QueryTask getQueryTask(String authority, List<RootInfo> rootInfos) { in getQueryTask()
95 public SearchTask(String authority, List<RootInfo> rootInfos) { in SearchTask()
DDirectoryLoader.java117 final String authority = mUri.getAuthority(); in loadInBackground() local
220 private Cursor queryOnUsers(List<UserId> userIds, String authority, Bundle queryArgs) in queryOnUsers()
226 userId.getContentResolver(getContext()), authority)) { in queryOnUsers() argument
DRecentsLoader.java86 protected QueryTask getQueryTask(String authority, List<RootInfo> rootInfos) { in getQueryTask()
92 public RecentsTask(String authority, List<RootInfo> rootInfos) { in RecentsTask()
DIconUtils.java28 public static Drawable loadPackageIcon(Context context, UserId userId, String authority, in loadPackageIcon()
52 Context context, String mimeType, String authority, String docId, int mode) { in loadMimeIcon()
DModelId.java23 public static final String build(UserId userId, String authority, String docId) { in build()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestContext.java31 static Context createStorageTestContext(Context context, String authority) { in createStorageTestContext()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java44 public 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()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DExtraSettingsUtil.java149 private static Uri buildUri(String authority, String method, String key) { in buildUri()
158 private static Uri buildUri(String authority, String method) { in buildUri()
/packages/apps/TV/tests/common/src/com/android/tv/testing/robo/
DContentProviders.java28 public static <T extends ContentProvider> T register(Class<T> providerClass, String authority) { in register()

12345