Home
last modified time | relevance | path

Searched refs:provider (Results 1 – 25 of 2695) sorted by relevance

12345678910>>...108

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLegacyApiSupport.java32 import android.provider.BaseColumns;
33 import android.provider.Contacts.ContactMethods;
34 import android.provider.Contacts.Extensions;
35 import android.provider.Contacts.People;
36 import android.provider.ContactsContract;
37 import android.provider.ContactsContract.CommonDataKinds.Email;
38 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
39 import android.provider.ContactsContract.CommonDataKinds.Im;
40 import android.provider.ContactsContract.CommonDataKinds.Note;
41 import android.provider.ContactsContract.CommonDataKinds.Organization;
[all …]
DContactDirectoryManager.java33 import android.provider.ContactsContract;
34 import android.provider.ContactsContract.Directory;
261 static boolean isDirectoryProvider(ProviderInfo provider) { in isDirectoryProvider() argument
262 if (provider == null) return false; in isDirectoryProvider()
263 Bundle metaData = provider.metaData; in isDirectoryProvider()
287 for (ProviderInfo provider : getDirectoryProviderInfos(pm)) { in getDirectoryProviderPackages()
288 ret.add(provider.packageName); in getDirectoryProviderPackages()
433 for (ProviderInfo provider : providers) { in updateDirectoriesForPackage()
434 if (isDirectoryProvider(provider)) { in updateDirectoriesForPackage()
435 queryDirectoriesForAuthority(directories, provider); in updateDirectoriesForPackage()
[all …]
DContactsPackageMonitor.java25 import android.provider.ContactsContract;
26 import android.provider.VoicemailContract;
129 final ContactsProvider2 provider = getProvider(mContext, ContactsContract.AUTHORITY); in onPackageChanged() local
130 if (provider != null) { in onPackageChanged()
131 provider.onPackageChanged(packageName); in onPackageChanged()
150 final VoicemailContentProvider provider = getProvider(context, VoicemailContract.AUTHORITY); in cleanupVoicemail() local
151 if (provider != null) { in cleanupVoicemail()
152 provider.removeBySourcePackage(packageName); in cleanupVoicemail()
158 final ContentProvider provider = ContentProvider.coerceToLocalContentProvider(iprovider); in getProvider() local
159 if (provider != null) { in getProvider()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicenseProviderTest.java56 ModuleLicenseProvider provider = new ModuleLicenseProvider(); in onCreate_returnsTrue() local
57 assertThat(provider.onCreate()).isTrue(); in onCreate_returnsTrue()
62 ModuleLicenseProvider provider = new ModuleLicenseProvider(); in query_throwsUnsupportedOperationException() local
63 provider.query(null, null, null, null, null); in query_throwsUnsupportedOperationException()
68 ModuleLicenseProvider provider = new ModuleLicenseProvider(); in insert_throwsUnsupportedOperationException() local
69 provider.insert(null, null); in insert_throwsUnsupportedOperationException()
74 ModuleLicenseProvider provider = new ModuleLicenseProvider(); in delete_throwsUnsupportedOperationException() local
75 provider.delete(null, null, null); in delete_throwsUnsupportedOperationException()
80 ModuleLicenseProvider provider = new ModuleLicenseProvider(); in update_throwsUnsupportedOperationException() local
81 provider.update(null, null, null, null); in update_throwsUnsupportedOperationException()
[all …]
/packages/apps/Settings/src/com/android/settings/search/
DSettingsSearchIndexablesProvider.java19 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE;
20 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_CLASS_NAME;
21 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ENTRIES;
22 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ICON_RESID;
23 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS;
28 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SCREEN_TITLE;
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/
DSettingsSearchIndexablesProvider.java19 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE;
20 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_CLASS_NAME;
21 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ENTRIES;
22 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ICON_RESID;
23 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS;
28 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SCREEN_TITLE;
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DUsersPreferenceProviderTest.java88 UsersPreferenceProvider provider = createProvider(); in testCreateUserList_firstUserIsCurrentUser() local
90 Preference first = provider.createUserList().get(0); in testCreateUserList_firstUserIsCurrentUser()
97 UsersPreferenceProvider provider = createProvider(); in testCreateUserList_repeatedGuestUserNotShown() local
99 List<Preference> userList = provider.createUserList(); in testCreateUserList_repeatedGuestUserNotShown()
109 UsersPreferenceProvider provider = createProvider(); in testCreateUserList_guestShownAsSeparateLastElement() local
111 List<Preference> userList = provider.createUserList(); in testCreateUserList_guestShownAsSeparateLastElement()
118 UsersPreferenceProvider provider = createProvider(); in testCreateUserList_currentUserNotShown() local
119 provider.setIncludeCurrentUser(false); in testCreateUserList_currentUserNotShown()
121 List<Preference> userList = provider.createUserList(); in testCreateUserList_currentUserNotShown()
131 UsersPreferenceProvider provider = createProvider(); in testCreateUserList_guestNotShown() local
[all …]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastSearchIndexableProvider.java19 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE;
20 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
21 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
22 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
23 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SCREEN_TITLE;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_TITLE;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_CLASS_NAME;
28 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_XML_RES_ICON_RESID;
[all …]
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DPreIndexDataCollector.java20 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_NON_INDEXABLE_KEYS_KEY_VALUE;
21 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_CLASS_NAME;
22 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ENTRIES;
23 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_ICON_RESID;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY;
28 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS;
29 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SCREEN_TITLE;
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java21 import android.provider.ContactsContract.CommonDataKinds.Email;
22 import android.provider.ContactsContract.CommonDataKinds.Event;
23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
24 import android.provider.ContactsContract.CommonDataKinds.Identity;
25 import android.provider.ContactsContract.CommonDataKinds.Im;
26 import android.provider.ContactsContract.CommonDataKinds.Nickname;
27 import android.provider.ContactsContract.CommonDataKinds.Note;
28 import android.provider.ContactsContract.CommonDataKinds.Organization;
29 import android.provider.ContactsContract.CommonDataKinds.Phone;
30 import android.provider.ContactsContract.CommonDataKinds.Photo;
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DMediaScanTriggerJob.java18 import static android.provider.BaseColumns._ID;
19 import static android.provider.Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI;
20 import static android.provider.Downloads.Impl.COLUMN_DESTINATION;
21 import static android.provider.Downloads.Impl.COLUMN_IS_VISIBLE_IN_DOWNLOADS_UI;
22 import static android.provider.Downloads.Impl.COLUMN_MEDIASTORE_URI;
23 import static android.provider.Downloads.Impl.COLUMN_MEDIA_SCANNED;
24 import static android.provider.Downloads.Impl.DESTINATION_EXTERNAL;
25 import static android.provider.Downloads.Impl.DESTINATION_FILE_URI;
26 import static android.provider.Downloads.Impl.DESTINATION_NON_DOWNLOADMANAGER_DOWNLOAD;
27 import static android.provider.Downloads.Impl.MEDIA_SCANNED;
[all …]
DDownloadThread.java21 import static android.provider.Downloads.Impl.COLUMN_CONTROL;
22 import static android.provider.Downloads.Impl.COLUMN_DELETED;
23 import static android.provider.Downloads.Impl.COLUMN_STATUS;
24 import static android.provider.Downloads.Impl.CONTROL_PAUSED;
25 import static android.provider.Downloads.Impl.STATUS_BAD_REQUEST;
26 import static android.provider.Downloads.Impl.STATUS_CANCELED;
27 import static android.provider.Downloads.Impl.STATUS_CANNOT_RESUME;
28 import static android.provider.Downloads.Impl.STATUS_FILE_ERROR;
29 import static android.provider.Downloads.Impl.STATUS_HTTP_DATA_ERROR;
30 import static android.provider.Downloads.Impl.STATUS_INSUFFICIENT_SPACE_ERROR;
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java21 import android.provider.ContactsContract.CommonDataKinds.Email;
22 import android.provider.ContactsContract.CommonDataKinds.Event;
23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
24 import android.provider.ContactsContract.CommonDataKinds.Identity;
25 import android.provider.ContactsContract.CommonDataKinds.Im;
26 import android.provider.ContactsContract.CommonDataKinds.Nickname;
27 import android.provider.ContactsContract.CommonDataKinds.Note;
28 import android.provider.ContactsContract.CommonDataKinds.Organization;
29 import android.provider.ContactsContract.CommonDataKinds.Phone;
30 import android.provider.ContactsContract.CommonDataKinds.Photo;
[all …]
/packages/apps/Traceur/src/com/android/traceur/
DSearchProvider.java19 import static android.provider.SearchIndexablesContract.NON_INDEXABLES_KEYS_COLUMNS;
20 import static android.provider.SearchIndexablesContract.INDEXABLES_RAW_COLUMNS;
21 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEY;
22 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_TITLE;
23 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_SUMMARY_ON;
24 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_KEYWORDS;
25 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_ACTION;
26 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_PACKAGE;
27 import static android.provider.SearchIndexablesContract.COLUMN_INDEX_RAW_INTENT_TARGET_CLASS;
34 import android.provider.SearchIndexablesProvider;
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonelookup/
Dphone_lookup_info.proto24 // android.provider.ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME_PRIMARY
26 // android.provider.ContactsContract.PhoneLookup.DISPLAY_NAME_PRIMARY
30 // android.provider.ContactsContract.CommonDataKinds.Phone.PHOTO_THUMBNAIL_URI
32 // android.provider.ContactsContract.PhoneLookup.PHOTO_THUMBNAIL_URI
36 // android.provider.ContactsContract.CommonDataKinds.Phone.PHOTO_URI
38 // android.provider.ContactsContract.PhoneLookup.PHOTO_URI
42 // android.provider.ContactsContract.CommonDataKinds.Phone.PHOTO_ID
44 // android.provider.ContactsContract.PhoneLookup.PHOTO_ID
48 // android.provider.ContactsContract.CommonDataKinds.Phone.LABEL
50 // android.provider.ContactsContract.PhoneLookup.LABEL
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DAppWidgetManagerCompatVL.java70 if (!iterator.next().provider.getPackageName().equals(packageUser.mPackageName)) { in getAllProviders()
92 appWidgetId, info.getProfile(), info.provider, options); in bindAppWidgetIdIfAllowed()
96 public LauncherAppWidgetProviderInfo findProvider(ComponentName provider, UserHandle user) { in findProvider() argument
101 getAllProviders(new PackageUserKey(provider.getPackageName(), user))) { in findProvider()
102 if (info.provider.equals(provider)) { in findProvider()
109 if (info.provider.equals(provider)) { in findProvider()
126 result.put(new ComponentKey(info.provider, user), info); in getAllProvidersMap()
130 result.put(new ComponentKey(info.provider, info.getProfile()), info); in getAllProvidersMap()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastListActivityTest.java19 import static android.provider.Telephony.CellBroadcasts.CID;
20 import static android.provider.Telephony.CellBroadcasts.CMAS_CATEGORY;
21 import static android.provider.Telephony.CellBroadcasts.CMAS_CERTAINTY;
22 import static android.provider.Telephony.CellBroadcasts.CMAS_MESSAGE_CLASS;
23 import static android.provider.Telephony.CellBroadcasts.CMAS_RESPONSE_TYPE;
24 import static android.provider.Telephony.CellBroadcasts.CMAS_SEVERITY;
25 import static android.provider.Telephony.CellBroadcasts.CMAS_URGENCY;
26 import static android.provider.Telephony.CellBroadcasts.DATA_CODING_SCHEME;
27 import static android.provider.Telephony.CellBroadcasts.DELIVERY_TIME;
28 import static android.provider.Telephony.CellBroadcasts.ETWS_WARNING_TYPE;
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorUiUtils.java19 import static android.provider.ContactsContract.CommonDataKinds.GroupMembership;
20 import static android.provider.ContactsContract.CommonDataKinds.StructuredName;
32 import android.provider.ContactsContract.CommonDataKinds.Email;
33 import android.provider.ContactsContract.CommonDataKinds.Event;
34 import android.provider.ContactsContract.CommonDataKinds.Im;
35 import android.provider.ContactsContract.CommonDataKinds.Note;
36 import android.provider.ContactsContract.CommonDataKinds.Organization;
37 import android.provider.ContactsContract.CommonDataKinds.Phone;
38 import android.provider.ContactsContract.CommonDataKinds.Photo;
39 import android.provider.ContactsContract.CommonDataKinds.Relation;
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DContactsIntentResolver.java23 import android.provider.Contacts.ContactMethods;
24 import android.provider.Contacts.People;
25 import android.provider.Contacts.Phones;
26 import android.provider.ContactsContract;
27 import android.provider.ContactsContract.CommonDataKinds.Email;
28 import android.provider.ContactsContract.CommonDataKinds.Phone;
29 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
30 import android.provider.ContactsContract.Contacts;
31 import android.provider.ContactsContract.Groups;
32 import android.provider.ContactsContract.Intents;
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java52 import android.provider.BaseColumns;
53 import android.provider.ContactsContract;
54 import android.provider.ContactsContract.AggregationExceptions;
55 import android.provider.ContactsContract.CommonDataKinds;
56 import android.provider.ContactsContract.CommonDataKinds.Email;
57 import android.provider.ContactsContract.CommonDataKinds.Phone;
58 import android.provider.ContactsContract.Contacts;
59 import android.provider.ContactsContract.Data;
60 import android.provider.ContactsContract.RawContacts;
61 import android.provider.ContactsContract.StatusUpdates;
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/model/account/
DExternalAccountTypeTest.java20 import android.provider.ContactsContract.CommonDataKinds.Email;
21 import android.provider.ContactsContract.CommonDataKinds.Event;
22 import android.provider.ContactsContract.CommonDataKinds.Im;
23 import android.provider.ContactsContract.CommonDataKinds.Note;
24 import android.provider.ContactsContract.CommonDataKinds.Organization;
25 import android.provider.ContactsContract.CommonDataKinds.Photo;
26 import android.provider.ContactsContract.CommonDataKinds.Relation;
27 import android.provider.ContactsContract.CommonDataKinds.SipAddress;
28 import android.provider.ContactsContract.CommonDataKinds.StructuredName;
29 import android.provider.ContactsContract.CommonDataKinds.StructuredPostal;
[all …]
/packages/apps/Settings/src/com/android/settings/survey/
DSurveyMixin.java58 SurveyFeatureProvider provider = in onResume() local
60 if (provider != null) { in onResume()
63 String id = provider.getSurveyId(activity, mName); in onResume()
64 if (provider.getSurveyExpirationDate(activity, id) <= -1) { in onResume()
66 mReceiver = provider.createAndRegisterReceiver(activity); in onResume()
67 provider.downloadSurvey(activity, id, null /* data */); in onResume()
69 provider.showSurveyIfAvailable(activity, id); in onResume()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSettingsFacade.java19 import static android.provider.Settings.Global.DEVICE_PROVISIONED;
20 import static android.provider.Settings.Global.PACKAGE_VERIFIER_ENABLE;
21 import static android.provider.Settings.Secure.MANAGED_PROFILE_CONTACT_REMOTE_SEARCH;
22 import static android.provider.Settings.Secure.CROSS_PROFILE_CALENDAR_ENABLED;
23 import static android.provider.Settings.Secure.USER_SETUP_COMPLETE;
26 import android.provider.Settings.Global;
27 import android.provider.Settings.Secure;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/survey/
DSurveyMixin.java58 SurveyFeatureProvider provider = in onResume() local
60 if (provider != null) { in onResume()
63 String id = provider.getSurveyId(activity, mName); in onResume()
64 if (provider.getSurveyExpirationDate(activity, id) <= -1) { in onResume()
66 mReceiver = provider.createAndRegisterReceiver(activity); in onResume()
67 provider.downloadSurvey(activity, id, null /* data */); in onResume()
69 provider.showSurveyIfAvailable(activity, id); in onResume()
/packages/providers/CalendarProvider/tests/
DEMMA_README2 # the Calendar provider with EMMA coverage, executes the Calendar CTS
18 # This also defines a no_emma_calp() function that rebuilds the provider
25 # rebuild provider with emma coverage
34 -e class android.provider.cts.CalendarTest \
35 -w 'com.android.cts.provider/android.provider.cts.CalendarTest\$CalendarEmmaTestRunner'
38 output=/sdcard/calendar-provider.ec
59 # rebuild provider without emma coverage
77 && EMMA_INSTRUMENT=$emma mmm -j4 cts/tests/tests/provider

12345678910>>...108