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

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/content/
ContentInsertHandler.java 27 * Interface to insert data to ContentResolver
32 * insert data from InputStream to ContentResolver
33 * @param contentResolver
38 public void insert(ContentResolver contentResolver, InputStream in)
42 * insert data from String to ContentResolver
43 * @param contentResolver
47 public void insert(ContentResolver contentResolver, String in)
SyncActivityTooManyDeletes.java 118 extras.putBoolean(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS, true);
119 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true);
121 extras.putBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, true);
122 ContentResolver.requestSync(mAccount, mAuthority, extras);
127 extras.putBoolean(ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS, true);
128 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
129 extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true);
130 extras.putBoolean(ContentResolver.SYNC_EXTRAS_UPLOAD, true);
131 ContentResolver.requestSync(mAccount, mAuthority, extras)
    [all...]
SyncOperation.java 48 removeFalseExtra(ContentResolver.SYNC_EXTRAS_UPLOAD);
49 removeFalseExtra(ContentResolver.SYNC_EXTRAS_MANUAL);
50 removeFalseExtra(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS);
51 removeFalseExtra(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF);
52 removeFalseExtra(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY);
53 removeFalseExtra(ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS);
54 removeFalseExtra(ContentResolver.SYNC_EXTRAS_EXPEDITED);
55 removeFalseExtra(ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS);
113 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE, false);
117 return extras.getBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF, false)
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
AccountBackupRestore.java 19 import android.content.ContentResolver;
48 ContentResolver resolver = context.getContentResolver();
  /cts/tests/tests/content/src/android/content/cts/
ContentResolverSyncTestCase.java 25 import android.content.ContentResolver;
120 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
122 ContentResolver.cancelSync(account, authority);
136 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
138 ContentResolver.requestSync(account, authority, extras);
149 ContentResolver.setIsSyncable(account, authority, (b) ? 1 : 0);
159 ContentResolver.setMasterSyncAutomatically(false);
160 assertEquals(false, ContentResolver.getMasterSyncAutomatically());
191 ContentResolver.setMasterSyncAutomatically(false);
192 assertEquals(false, ContentResolver.getMasterSyncAutomatically())
    [all...]
  /frameworks/base/test-runner/src/android/test/
SyncBaseInstrumentation.java 19 import android.content.ContentResolver;
33 ContentResolver mContentResolver;
49 extras.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true);
52 ContentResolver.requestSync(account, authority, extras);
67 if (ContentResolver.isSyncActive(account, authority)) {
76 ContentResolver.setMasterSyncAutomatically(false);
77 ContentResolver.cancelSync(null /* all accounts */, null /* all authorities */);
  /packages/apps/Contacts/src/com/android/contacts/test/
InjectedServices.java 22 import android.content.ContentResolver;
34 private ContentResolver mContentResolver;
39 public void setContentResolver(ContentResolver contentResolver) {
40 this.mContentResolver = contentResolver;
43 public ContentResolver getContentResolver() {
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
GalleryAppMock.java 19 import android.content.ContentResolver;
29 ContentResolver mResolver;
34 ContentResolver resolver, Looper mainLooper) {
47 public ContentResolver getContentResolver() { return mResolver; }
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
SettingsUtil.java 19 import android.content.ContentResolver;
82 public static String getSettingsString(ContentResolver cr, String key, String defaultValue) {
95 public static int getSettingsInt(ContentResolver cr, String key, int defaultValue) {
107 public static float getSettingsFloat(ContentResolver cr, String key, float defaultValue) {
  /packages/apps/Mms/src/com/android/mms/model/
ContentRestriction.java 19 import android.content.ContentResolver;
24 void checkMessageSize(int messageSize, int increaseSize, ContentResolver resolver)
  /packages/apps/Camera/src/com/android/camera/
RecordLocationPreference.java 19 import android.content.ContentResolver;
36 private final ContentResolver mResolver;
49 SharedPreferences pref, ContentResolver resolver) {
  /frameworks/base/core/tests/coretests/src/android/content/
ContentResolverTest.java 18 import android.content.ContentResolver;
24 private ContentResolver mContentResolver;
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
GalleryApp.java 24 import android.content.ContentResolver;
37 public ContentResolver getContentResolver();
GalleryContext.java 23 import android.content.ContentResolver;
36 public ContentResolver getContentResolver();
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarReceiver.java 20 import android.content.ContentResolver;
38 ContentResolver cr = context.getContentResolver();
  /cts/tests/tests/provider/src/android/provider/cts/
Settings_SystemTest.java 24 import android.content.ContentResolver;
34 private ContentResolver cr;
48 args = {android.content.ContentResolver.class, java.lang.String.class, int.class}
53 args = {android.content.ContentResolver.class, java.lang.String.class, long.class}
58 args = {android.content.ContentResolver.class, java.lang.String.class, float.class}
63 args = {android.content.ContentResolver.class, java.lang.String.class,
69 args = {android.content.ContentResolver.class, android.content.res.Configuration.class}
74 args = {android.content.ContentResolver.class, boolean.class}
79 args = {android.content.ContentResolver.class, java.lang.String.class}
84 args = {android.content.ContentResolver.class, java.lang.String.class
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
IconLoader.java 21 import android.content.ContentResolver;
38 * {@link ContentResolver#openOutputStream(android.net.Uri, String)}.
  /packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/
Gservices.java 19 import android.content.ContentResolver;
54 private static ContentResolver sResolver;
58 private static void ensureCacheInitializedLocked(final ContentResolver cr) {
91 public static String getString(ContentResolver cr, String key, String defValue) {
127 public static String getString(ContentResolver cr, String key) {
137 public static int getInt(ContentResolver cr, String key, int defValue) {
154 public static long getLong(ContentResolver cr, String key, long defValue) {
165 public static boolean getBoolean(ContentResolver cr, String key, boolean defValue) {
186 public static Map<String, String> getStringsByPrefix(ContentResolver cr,
204 * @param cr the ContentResolver that Gservices should use to fill its cach
    [all...]
  /frameworks/base/core/java/android/provider/
Applications.java 20 import android.content.ContentResolver;
59 ContentResolver.CURSOR_ITEM_BASE_TYPE + "/" + APPLICATION_SUB_TYPE;
65 ContentResolver.CURSOR_DIR_BASE_TYPE + "/" + APPLICATION_SUB_TYPE;
76 public static Cursor search(ContentResolver resolver, String query) {
92 if (!ContentResolver.SCHEME_CONTENT.equals(appUri.getScheme())) return null;
120 * {@link Applications#search(ContentResolver, String)}.
  /development/samples/ApiDemos/src/com/example/android/apis/view/
AutoComplete5.java 22 import android.content.ContentResolver;
34 ContentResolver content = getContentResolver();
  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessor.java 19 import android.content.ContentResolver;
88 public abstract ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
BootReceiver.java 20 import android.content.ContentResolver;
37 ContentResolver res = context.getContentResolver();
  /packages/apps/Browser/tests/src/com/android/browser/tests/
BookmarksTests.java 22 import android.content.ContentResolver;
41 ContentResolver cr = getMockContentResolver();
  /packages/apps/Calendar/src/com/android/calendar/alerts/
DismissAllAlarmsService.java 20 import android.content.ContentResolver;
50 ContentResolver resolver = getContentResolver();
  /packages/apps/Gallery/src/com/android/camera/gallery/
SingleImageList.java 19 import android.content.ContentResolver;
36 public SingleImageList(ContentResolver resolver, Uri uri) {

Completed in 1755 milliseconds

1 2 3 4 5 6 7 8 91011>>