Home
last modified time | relevance | path

Searched refs:AUTHORITY (Results 1 – 25 of 163) sorted by relevance

1234567

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DHbpcdLookupProvider.java75 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, HbpcdLookup.PATH_MCC_IDD, MCC_IDD); in sURIMatcher.addURI() argument
76 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI() argument
79 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI() argument
81 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, HbpcdLookup.PATH_MCC_SID_RANGE, MCC_SID_RANGE); in sURIMatcher.addURI() argument
82 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, HbpcdLookup.PATH_NANP_AREA_CODE, NANP_AREA_CODE); in sURIMatcher.addURI() argument
83 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI() argument
85 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, HbpcdLookup.PATH_MCC_IDD + "/#", MCC_IDD_ID); in sURIMatcher.addURI() argument
86 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI() argument
88 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI() argument
90 sURIMatcher.addURI(HbpcdLookup.AUTHORITY, in sURIMatcher.addURI() argument
[all …]
DMmsSmsProvider.java238 private static final String AUTHORITY = "mms-sms"; field in MmsSmsProvider
241 URI_MATCHER.addURI(AUTHORITY, "conversations", URI_CONVERSATIONS); in URI_MATCHER.addURI() argument
242 URI_MATCHER.addURI(AUTHORITY, "complete-conversations", URI_COMPLETE_CONVERSATIONS); in URI_MATCHER.addURI() argument
246 AUTHORITY, "conversations/#", URI_CONVERSATIONS_MESSAGES); in URI_MATCHER.addURI() argument
248 AUTHORITY, "conversations/#/recipients", in URI_MATCHER.addURI() argument
252 AUTHORITY, "conversations/#/subject", in URI_MATCHER.addURI() argument
256 URI_MATCHER.addURI(AUTHORITY, "conversations/obsolete", URI_OBSOLETE_THREADS); in URI_MATCHER.addURI() argument
259 AUTHORITY, "messages/byphone/*", in URI_MATCHER.addURI() argument
265 URI_MATCHER.addURI(AUTHORITY, "threadID", URI_THREAD_ID); in URI_MATCHER.addURI() argument
268 URI_MATCHER.addURI(AUTHORITY, "canonical-address/#", URI_CANONICAL_ADDRESS); in URI_MATCHER.addURI() argument
[all …]
/packages/apps/Email/provider_src/com/android/email/service/
DAuthenticatorService.java78 ContentResolver.setIsSyncable(account, ContactsContract.AUTHORITY, 1); in addAccount()
79 ContentResolver.setSyncAutomatically(account, ContactsContract.AUTHORITY, in addAccount()
86 ContentResolver.setIsSyncable(account, CalendarContract.AUTHORITY, 1); in addAccount()
87 ContentResolver.setSyncAutomatically(account, CalendarContract.AUTHORITY, in addAccount()
98 ContentResolver.setIsSyncable(account, EmailContent.AUTHORITY, 1); in addAccount()
99 ContentResolver.setSyncAutomatically(account, EmailContent.AUTHORITY, in addAccount()
/packages/apps/Gallery2/src/com/android/photos/data/
DPhotoProvider.java56 public static final String AUTHORITY = PhotoProviderAuthority.AUTHORITY; field in PhotoProvider
57 static final Uri BASE_CONTENT_URI = new Uri.Builder().scheme("content").authority(AUTHORITY)
257 sUriMatcher.addURI(AUTHORITY, Photos.TABLE, MATCH_PHOTO); in sUriMatcher.addURI() argument
259 sUriMatcher.addURI(AUTHORITY, Photos.TABLE + "/#", MATCH_PHOTO_ID); in sUriMatcher.addURI() argument
260 sUriMatcher.addURI(AUTHORITY, Albums.TABLE, MATCH_ALBUM); in sUriMatcher.addURI() argument
262 sUriMatcher.addURI(AUTHORITY, Albums.TABLE + "/#", MATCH_ALBUM_ID); in sUriMatcher.addURI() argument
263 sUriMatcher.addURI(AUTHORITY, Metadata.TABLE, MATCH_METADATA); in sUriMatcher.addURI() argument
265 sUriMatcher.addURI(AUTHORITY, Metadata.TABLE + "/#", MATCH_METADATA_ID); in sUriMatcher.addURI() argument
266 sUriMatcher.addURI(AUTHORITY, Accounts.TABLE, MATCH_ACCOUNT); in sUriMatcher.addURI() argument
268 sUriMatcher.addURI(AUTHORITY, Accounts.TABLE + "/#", MATCH_ACCOUNT_ID); in sUriMatcher.addURI() argument
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockContract.java45 public static final String AUTHORITY = BuildConfig.APPLICATION_ID; field in ClockContract
96 Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/alarms");
102 Uri ALARMS_WITH_INSTANCES_URI = Uri.parse("content://" + AUTHORITY
145 Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/instances");
DClockProvider.java108 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms", ALARMS); in sURIMatcher.addURI() argument
109 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms/#", ALARMS_ID); in sURIMatcher.addURI() argument
110 sURIMatcher.addURI(ClockContract.AUTHORITY, "instances", INSTANCES); in sURIMatcher.addURI() argument
111 sURIMatcher.addURI(ClockContract.AUTHORITY, "instances/#", INSTANCES_ID); in sURIMatcher.addURI() argument
112 sURIMatcher.addURI(ClockContract.AUTHORITY, "alarms_with_instances", ALARMS_WITH_INSTANCES); in sURIMatcher.addURI() argument
/packages/apps/Messaging/src/com/android/messaging/util/
DAvatarUriUtil.java74 private static final String AUTHORITY = "avatar"; field in AvatarUriUtil
85 .authority(AUTHORITY).appendPath(TYPE_DEFAULT_BACKGROUND_URI).build();
131 builder.authority(AUTHORITY); in joinAvatarUriToGroup()
214 builder.authority(AUTHORITY); in createSimIconUri()
237 builder.authority(AUTHORITY); in fromLocalResourceWithFallback()
248 builder.authority(AUTHORITY); in fromName()
261 builder.authority(AUTHORITY); in fromIdentifier()
270 TextUtils.equals(AUTHORITY, uri.getAuthority()); in isAvatarUri()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMediaScratchFileProvider.java47 public static final String AUTHORITY = field in MediaScratchFileProvider
58 TextUtils.equals(uri.getAuthority(), AUTHORITY) && in isMediaScratchSpaceUri()
68 final Uri uri = FileProvider.buildFileUri(AUTHORITY, extension); in buildMediaScratchSpaceUri()
77 Assert.equals(AUTHORITY, uri.getAuthority()); in getFileFromUri()
82 return (new Uri.Builder()).authority(AUTHORITY).scheme(ContentResolver.SCHEME_CONTENT); in getUriBuilder()
DMessagingContentProvider.java57 public static final String AUTHORITY = field in MessagingContentProvider
59 private static final String CONTENT_AUTHORITY = "content://" + AUTHORITY + '/';
159 sURIMatcher.addURI(AUTHORITY, CONVERSATIONS_QUERY, CONVERSATIONS_QUERY_CODE); in sURIMatcher.addURI() argument
160 sURIMatcher.addURI(AUTHORITY, CONVERSATIONS_QUERY + "/*", CONVERSATION_QUERY_CODE); in sURIMatcher.addURI() argument
161 sURIMatcher.addURI(AUTHORITY, MESSAGES_QUERY + "/conversation/*", in sURIMatcher.addURI() argument
163 sURIMatcher.addURI(AUTHORITY, PARTICIPANTS_QUERY + "/conversation/*", in sURIMatcher.addURI() argument
165 sURIMatcher.addURI(AUTHORITY, PARTICIPANTS_QUERY, PARTICIPANTS_QUERY_CODE); in sURIMatcher.addURI() argument
166 sURIMatcher.addURI(AUTHORITY, CONVERSATION_IMAGES_QUERY + "/*", in sURIMatcher.addURI() argument
168 sURIMatcher.addURI(AUTHORITY, DRAFT_IMAGES_QUERY + "/*", in sURIMatcher.addURI() argument
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
DConversationCursorTests.java49 super(TestProvider.class, TestProvider.AUTHORITY); in ConversationCursorTests()
63 mMockResolver.addProvider(TestProvider.AUTHORITY, new TestProvider(mMockContext)); in setUp()
94 Uri uri = new Uri.Builder().scheme("content").authority(TestProvider.AUTHORITY) in setupConvoList()
118 ContentProviderResult[] results = mMockResolver.applyBatch(TestProvider.AUTHORITY, ops); in setupConvoList()
127 mMockResolver.applyBatch(TestProvider.AUTHORITY, ops); in setupConvoList()
DTestProvider.java66 public static final String AUTHORITY = "com.android.mail.mock.provider"; field in TestProvider
95 return new Uri.Builder().scheme("content").authority(AUTHORITY) in uri()
123 Uri newUri = new Uri.Builder().scheme("content").authority(AUTHORITY).path(table) in insert()
130 sURIMatcher.addURI(AUTHORITY, table, TABLE); in insert()
131 sURIMatcher.addURI(AUTHORITY, table + "/#", RECORD); in insert()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherSettings.java117 ProviderConfig.AUTHORITY + "/" + TABLE_NAME);
137 ProviderConfig.AUTHORITY + "/" + TABLE_NAME);
147 return Uri.parse("content://" + ProviderConfig.AUTHORITY + in getContentUri()
320 ProviderConfig.AUTHORITY + "/settings");
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java1211 matcher.addURI(ContactsContract.AUTHORITY, "contacts", CONTACTS); in matcher.addURI() argument
1212 matcher.addURI(ContactsContract.AUTHORITY, "contacts/#", CONTACTS_ID); in matcher.addURI() argument
1213 matcher.addURI(ContactsContract.AUTHORITY, "contacts/#/data", CONTACTS_ID_DATA); in matcher.addURI() argument
1214 matcher.addURI(ContactsContract.AUTHORITY, "contacts/#/entities", CONTACTS_ID_ENTITIES); in matcher.addURI() argument
1215 matcher.addURI(ContactsContract.AUTHORITY, "contacts/#/suggestions", in matcher.addURI() argument
1217 matcher.addURI(ContactsContract.AUTHORITY, "contacts/#/suggestions/*", in matcher.addURI() argument
1219 matcher.addURI(ContactsContract.AUTHORITY, "contacts/#/photo", CONTACTS_ID_PHOTO); in matcher.addURI() argument
1220 matcher.addURI(ContactsContract.AUTHORITY, "contacts/#/display_photo", in matcher.addURI() argument
1224 matcher.addURI(ContactsContract.AUTHORITY, "contacts_corp/#/photo", CONTACTS_ID_PHOTO_CORP); in matcher.addURI() argument
1225 matcher.addURI(ContactsContract.AUTHORITY, "contacts_corp/#/display_photo", in matcher.addURI() argument
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalSource.java70 mUriMatcher.addURI(MediaStore.AUTHORITY, in LocalSource()
72 mUriMatcher.addURI(MediaStore.AUTHORITY, in LocalSource()
74 mUriMatcher.addURI(MediaStore.AUTHORITY, in LocalSource()
76 mUriMatcher.addURI(MediaStore.AUTHORITY, in LocalSource()
78 mUriMatcher.addURI(MediaStore.AUTHORITY, in LocalSource()
267 .acquireContentProviderClient(MediaStore.AUTHORITY); in resume()
/packages/apps/Email/provider_src/com/android/email/provider/
DEmailProvider.java413 return "content://" + EmailContent.AUTHORITY + "/" + type + ((id == -1) ? "" : ("/" + id)); in uiUriString()
1081 INTEGRITY_CHECK_URI = Uri.parse("content://" + EmailContent.AUTHORITY + in init()
1084 Uri.parse("content://" + EmailContent.AUTHORITY + "/accountBackup"); in init()
1086 Uri.parse("content://" + EmailContent.AUTHORITY + "/status"); in init()
1114 sURIMatcher.addURI(EmailContent.AUTHORITY, "account", ACCOUNT); in init()
1117 sURIMatcher.addURI(EmailContent.AUTHORITY, "account/#", ACCOUNT_ID); in init()
1118 sURIMatcher.addURI(EmailContent.AUTHORITY, "accountCheck/#", ACCOUNT_CHECK); in init()
1121 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailbox", MAILBOX); in init()
1125 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailbox/*", MAILBOX_ID); in init()
1126 sURIMatcher.addURI(EmailContent.AUTHORITY, "mailboxNotification/#", in init()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherSettings.java101 LauncherProvider.AUTHORITY + "/" + LauncherProvider.TABLE_FAVORITES +
109 LauncherProvider.AUTHORITY + "/" + LauncherProvider.TABLE_FAVORITES +
121 return Uri.parse("content://" + LauncherProvider.AUTHORITY + in getContentUri()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/
DUsbTunerPreferenceProvider.java34 public static final String AUTHORITY = "com.android.usbtuner.preferences"; field in UsbTunerPreferenceProvider
53 sUriMatcher.addURI(AUTHORITY, "preferences", MATCH_PREFERENCE); in sUriMatcher.addURI() argument
54 sUriMatcher.addURI(AUTHORITY, "preferences/*", MATCH_PREFERENCE_KEY); in sUriMatcher.addURI() argument
74 Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/" + PATH_PREFERENCES);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DTypedUriMatcherImplTest.java51 private final static String AUTHORITY = "authority"; field in TypedUriMatcherImplTest
52 private final static String BASE_URI = "scheme://" + AUTHORITY + "/";
61 new TypedUriMatcherImpl<TestUriType>(AUTHORITY, TestUriType.values()); in setUp()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionaryProvider.java54 Uri.parse(ContentResolver.SCHEME_CONTENT + "://" + DictionaryPackConstants.AUTHORITY);
71 sUriMatcherV1.addURI(DictionaryPackConstants.AUTHORITY, "list", DICTIONARY_V1_WHOLE_LIST); in sUriMatcherV1.addURI() argument
72 sUriMatcherV1.addURI(DictionaryPackConstants.AUTHORITY, "*", DICTIONARY_V1_DICT_INFO); in sUriMatcherV1.addURI() argument
73 sUriMatcherV2.addURI(DictionaryPackConstants.AUTHORITY, "*/metadata", in sUriMatcherV2.addURI() argument
75 sUriMatcherV2.addURI(DictionaryPackConstants.AUTHORITY, "*/list", DICTIONARY_V2_WHOLE_LIST); in sUriMatcherV2.addURI() argument
76 sUriMatcherV2.addURI(DictionaryPackConstants.AUTHORITY, "*/dict/*", in sUriMatcherV2.addURI() argument
78 sUriMatcherV2.addURI(DictionaryPackConstants.AUTHORITY, "*/datafile/*", in sUriMatcherV2.addURI() argument
/packages/apps/Dialer/tests/src/com/android/dialer/database/
DFilteredNumberAsyncQueryHandlerTest.java69 mContentResolver.addProvider(BlockedNumberContract.AUTHORITY, mContentProvider); in setUp()
71 mContentResolver.addProvider(FilteredNumberContract.AUTHORITY, mContentProvider); in setUp()
82 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testHasBlockedNumbers_Disabled()
131 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testIsBlockedNumber_Disabled()
208 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testBlockNumber_Disabled()
261 resolver.addProvider(FilteredNumberContract.AUTHORITY, disabledProvider); in testUnblockNumber_Disabled()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2TransactionTest.java242 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in testTransactionCallback_contactBatch()
259 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in testTransactionCallback_profileBatch()
279 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in testTransactionCallback_mixedBatch()
300 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in testTransactionCallback_mixedBatchReversed()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/
DNoNullCursorAsyncQueryHandlerTest.java35 private static final String AUTHORITY = "com.android.contacts.common.unittest"; field in NoNullCursorAsyncQueryHandlerTest
36 private static final Uri URI = Uri.parse("content://" + AUTHORITY);
52 mMockContentResolver.addProvider(AUTHORITY, mMockContentProvider); in setUp()
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/
DPartnerBookmarksContract.java42 public static final String AUTHORITY = "com.android.partnerbookmarks"; field in PartnerBookmarksContract
45 public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY);
/packages/apps/Dialer/src/com/android/dialer/database/
DFilteredNumberContract.java34 public static final String AUTHORITY = ObjectFactory.getFilteredNumberProviderAuthority(); field in FilteredNumberContract
37 public static final Uri AUTHORITY_URI = Uri.parse("content://" + AUTHORITY);
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageIconProvider.java43 public static final String AUTHORITY = "com.google.android.packageinstaller.wear.provider"; field in WearPackageIconProvider
68 if (AUTHORITY.equals(uri.getEncodedAuthority())) { in getType()
123 return Uri.parse("content://" + AUTHORITY + "/icons/" + packageName + ".icon"); in getUriForPackage()

1234567