HomeSort by relevance Sort by last modified time
    Searched refs:ContentResolver (Results 26 - 50 of 515) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/
GoogleSettingsContract.java 19 import android.content.ContentResolver;
46 protected static boolean putString(ContentResolver resolver, Uri uri,
59 // ContentResolver.insert() throws IllegalArgumentException if there is no
83 public static String getString(ContentResolver resolver, String name) {
106 public static String getString(ContentResolver resolver, String name, String defaultValue) {
122 public static boolean putString(ContentResolver resolver,
134 public static boolean putInt(ContentResolver resolver,
144 public static int getInt(ContentResolver resolver, String name, int defValue) {
160 public static long getLong(ContentResolver resolver, String name, long defValue) {
  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_SettingsTest.java 19 import android.content.ContentResolver;
35 private ContentResolver mContentResolver;
88 args = {android.content.ContentResolver.class, java.lang.String.class,
95 args = {android.content.ContentResolver.class, java.lang.String.class,
MediaStore_VideoTest.java 25 import android.content.ContentResolver;
45 private ContentResolver mContentResolver;
70 args = {ContentResolver.class, Uri.class, String[].class}
ContactsContract_DataTest.java 23 import android.content.ContentResolver;
37 private ContentResolver mResolver;
56 notes = "Test Data#getContactLookupUri(ContentResolver resolver, Uri dataUri) " +
59 args = {android.content.ContentResolver.class, Uri.class}
84 notes = "Test Data#getContactLookupUri(ContentResolver resolver, Uri dataUri) " +
87 args = {android.content.ContentResolver.class, Uri.class}
ContactsContract_RawContactsTest.java 23 import android.content.ContentResolver;
35 private ContentResolver mResolver;
54 notes = "Test RawContacts#getContactLookupUri(ContentResolver resolver, Uri " +
57 args = {android.content.ContentResolver.class, Uri.class}
82 notes = "Test RawContacts#getContactLookupUri(ContentResolver resolver, Uri " +
85 args = {android.content.ContentResolver.class, Uri.class}
Settings_NameValueTableTest.java 23 import android.content.ContentResolver;
35 args = {android.content.ContentResolver.class, android.net.Uri.class,
39 ContentResolver cr = mContext.getContentResolver();
93 protected static boolean putString(ContentResolver resolver, Uri uri, String name,
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
BatchOperation.java 20 import android.content.ContentResolver;
37 private final ContentResolver mResolver;
42 public BatchOperation(Context context, ContentResolver resolver) {
  /frameworks/base/core/java/android/database/sqlite/
SqliteWrapper.java 20 import android.content.ContentResolver;
56 public static Cursor query(Context context, ContentResolver resolver, Uri uri,
76 public static int update(Context context, ContentResolver resolver, Uri uri,
87 public static int delete(Context context, ContentResolver resolver, Uri uri,
98 public static Uri insert(Context context, ContentResolver resolver,
  /frameworks/base/core/java/com/google/android/mms/util/
SqliteWrapper.java 21 import android.content.ContentResolver;
68 public static Cursor query(Context context, ContentResolver resolver, Uri uri,
88 public static int update(Context context, ContentResolver resolver, Uri uri,
99 public static int delete(Context context, ContentResolver resolver, Uri uri,
110 public static Uri insert(Context context, ContentResolver resolver,
  /packages/apps/Email/src/com/android/email/service/
EasAuthenticatorService.java 30 import android.content.ContentResolver;
71 // Set up contacts syncing. ExchangeService will use info from ContentResolver
78 ContentResolver.setIsSyncable(account, ContactsContract.AUTHORITY, 1);
79 ContentResolver.setSyncAutomatically(account, ContactsContract.AUTHORITY,
88 ContentResolver.setIsSyncable(account, CalendarProviderStub.AUTHORITY, 1);
89 ContentResolver.setSyncAutomatically(account, CalendarProviderStub.AUTHORITY,
98 ContentResolver.setIsSyncable(account, EmailContent.AUTHORITY, 1);
99 ContentResolver.setSyncAutomatically(account, EmailContent.AUTHORITY,
  /frameworks/base/core/tests/coretests/src/android/content/
MemoryFileProviderTest.java 37 ContentResolver resolver = getContext().getContentResolver();
52 ContentResolver resolver = getContext().getContentResolver();
70 ContentResolver resolver = getContext().getContentResolver();
  /frameworks/opt/vcard/java/com/android/vcard/
VCardEntryCommitter.java 20 import android.content.ContentResolver;
31 * {@link VCardEntryHandler} implementation which commits the entry to ContentResolver.
37 * Thus, this class push each VCard entry into ContentResolver immediately.
43 private final ContentResolver mContentResolver;
49 public VCardEntryCommitter(ContentResolver resolver) {
  /packages/apps/Exchange/src/com/android/exchange/
CalendarSyncEnabler.java 26 import android.content.ContentResolver;
75 ContentResolver.setIsSyncable(account, CalendarContract.AUTHORITY, 1);
76 ContentResolver.setSyncAutomatically(account, CalendarContract.AUTHORITY, true);
  /packages/apps/Gallery/src/com/android/camera/gallery/
DrmImageList.java 19 import android.content.ContentResolver;
41 public DrmImageList(ContentResolver resolver, Uri imageUri, int sort,
60 protected DrmImage(BaseImageList container, ContentResolver cr,
  /packages/apps/Settings/src/com/android/settings/
OwnerInfoSettings.java 20 import android.content.ContentResolver;
45 final ContentResolver res = getActivity().getContentResolver();
70 ContentResolver res = getActivity().getContentResolver();
DreamSettings.java 23 import android.content.ContentResolver;
53 ContentResolver resolver = getActivity().getContentResolver();
69 ContentResolver resolver,
76 ContentResolver resolver,
  /packages/apps/Settings/src/com/android/settings/accounts/
ManageAccountsSettings.java 24 import android.content.ContentResolver;
109 mAutoSyncSwitch.setChecked(ContentResolver.getMasterSyncAutomatically());
113 ContentResolver.setMasterSyncAutomatically(isChecked);
181 mAutoSyncSwitch.setChecked(ContentResolver.getMasterSyncAutomatically());
185 SyncInfo currentSync = ContentResolver.getCurrentSync();
190 final SyncAdapterType[] syncAdapters = ContentResolver.getSyncAdapterTypes();
211 SyncStatusInfo status = ContentResolver.getSyncStatus(account, authority);
212 boolean syncEnabled = ContentResolver.getSyncAutomatically(account, authority)
213 && ContentResolver.getMasterSyncAutomatically()
214 && (ContentResolver.getIsSyncable(account, authority) > 0)
    [all...]
  /frameworks/base/core/java/android/provider/
SearchRecentSuggestions.java 19 import android.content.ContentResolver;
182 ContentResolver cr = mContext.getContentResolver();
212 ContentResolver cr = mContext.getContentResolver();
222 protected void truncateHistory(ContentResolver cr, int maxEntries) {
Browser.java 19 import android.content.ContentResolver;
234 * @param cr The ContentResolver used to access the database.
236 public static final Cursor getAllBookmarks(ContentResolver cr) throws
249 * @param cr The ContentResolver used to access the database.
251 public static final Cursor getAllVisitedUrls(ContentResolver cr) throws
262 private static final Cursor getVisitedLike(ContentResolver cr, String url) {
306 * @param cr The ContentResolver used to access the database.
311 public static final void updateVisitedHistory(ContentResolver cr,
358 * @param cr The ContentResolver used to access the database.
361 public static final String[] getVisitedHistory(ContentResolver cr)
    [all...]
UserDictionary.java 21 import android.content.ContentResolver;
111 final ContentResolver resolver = context.getContentResolver();
  /frameworks/base/services/java/com/android/server/
SamplingProfilerService.java 19 import android.content.ContentResolver;
89 ContentResolver contentResolver = context.getContentResolver();
90 contentResolver.registerContentObserver(
92 false, new SamplingProfilerSettingsObserver(contentResolver));
102 private ContentResolver mContentResolver;
103 public SamplingProfilerSettingsObserver(ContentResolver contentResolver) {
105 mContentResolver = contentResolver;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
VCardTest.java 22 import android.content.ContentResolver;
26 * Tests (or integration tests) verifying if vCard library works well with {@link ContentResolver}.
  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessorSdk3_4.java 20 import android.content.ContentResolver;
55 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) {
57 Cursor cursor = contentResolver.query(contactUri,
68 cursor = contentResolver.query(phoneUri,
ContactAccessorSdk5.java 19 import android.content.ContentResolver;
58 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) {
63 Cursor cursor = contentResolver.query(contactUri,
75 cursor = contentResolver.query(Phone.CONTENT_URI,
  /frameworks/base/core/java/android/database/
Cursor.java 19 import android.content.ContentResolver;
422 void setNotificationUri(ContentResolver cr, Uri uri);

Completed in 582 milliseconds

12 3 4 5 6 7 8 91011>>