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

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Camera2/src_pd_gcam/com/android/camera/util/
GcamHelper.java 18 import android.content.ContentResolver;
36 public static void init(ContentResolver contentResolver) {
  /frameworks/base/core/java/android/provider/
OpenableColumns.java 19 import android.content.ContentResolver;
27 * {@link ContentResolver#getType(android.net.Uri)}.
  /external/chromium_org/sync/android/java/src/org/chromium/sync/notifier/
SystemSyncContentResolverDelegate.java 9 import android.content.ContentResolver;
16 return ContentResolver.addStatusChangeListener(mask, callback);
21 ContentResolver.removeStatusChangeListener(handle);
26 ContentResolver.setMasterSyncAutomatically(sync);
31 return ContentResolver.getMasterSyncAutomatically();
36 return ContentResolver.getSyncAutomatically(account, authority);
41 ContentResolver.setSyncAutomatically(account, authority, sync);
46 ContentResolver.setIsSyncable(account, authority, syncable);
51 return ContentResolver.getIsSyncable(account, authority);
  /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...]
  /packages/apps/Email/src/com/android/email/provider/
AccountBackupRestore.java 19 import android.content.ContentResolver;
48 ContentResolver resolver = context.getContentResolver();
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AttachmentBitmapHolder.java 20 import android.content.ContentResolver;
32 public ContentResolver getResolver();
  /packages/apps/Camera2/src/com/android/camera/data/
LocalDataAdapter.java 19 import android.content.ContentResolver;
34 * @param resolver {@link ContentResolver} used for data loading.
36 public void requestLoad(ContentResolver resolver);
57 * @param resolver {@link ContentResolver} used to add the data.
60 public void addNewVideo(ContentResolver resolver, Uri uri);
65 * @param resolver {@link ContentResolver} used to add the data.
68 public void addNewPhoto(ContentResolver resolver, Uri uri);
73 * @param resolver {@link ContentResolver} used to refresh the data.
76 public void refresh(ContentResolver resolver, Uri uri);
  /cts/tests/tests/content/src/android/content/cts/
ContentResolverSyncTestCase.java 25 import android.content.ContentResolver;
125 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
127 ContentResolver.cancelSync(account, authority);
141 extras.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
143 ContentResolver.requestSync(account, authority, extras);
154 ContentResolver.setIsSyncable(account, authority, (b) ? 1 : 0);
164 ContentResolver.setMasterSyncAutomatically(false);
165 assertEquals(false, ContentResolver.getMasterSyncAutomatically());
196 ContentResolver.setMasterSyncAutomatically(false);
197 assertEquals(false, ContentResolver.getMasterSyncAutomatically())
    [all...]
  /developers/build/prebuilts/gradle/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/
SyncUtils.java 22 import android.content.ContentResolver;
58 ContentResolver.setIsSyncable(account, CONTENT_AUTHORITY, 1);
60 ContentResolver.setSyncAutomatically(account, CONTENT_AUTHORITY, true);
63 ContentResolver.addPeriodicSync(
92 b.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
93 b.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true);
94 ContentResolver.requestSync(
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/
SyncUtils.java 22 import android.content.ContentResolver;
58 ContentResolver.setIsSyncable(account, CONTENT_AUTHORITY, 1);
60 ContentResolver.setSyncAutomatically(account, CONTENT_AUTHORITY, true);
63 ContentResolver.addPeriodicSync(
92 b.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
93 b.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true);
94 ContentResolver.requestSync(
  /development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/
SyncUtils.java 22 import android.content.ContentResolver;
58 ContentResolver.setIsSyncable(account, CONTENT_AUTHORITY, 1);
60 ContentResolver.setSyncAutomatically(account, CONTENT_AUTHORITY, true);
63 ContentResolver.addPeriodicSync(
92 b.putBoolean(ContentResolver.SYNC_EXTRAS_MANUAL, true);
93 b.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true);
94 ContentResolver.requestSync(
  /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/Exchange/src/com/android/exchange/
ExchangeBroadcastReceiver.java 8 import android.content.ContentResolver;
30 if (!ContentResolver.getSyncAutomatically(account, EmailContent.AUTHORITY) &&
31 !ContentResolver.getSyncAutomatically(account, CalendarContract.AUTHORITY) &&
32 !ContentResolver.getSyncAutomatically(account, ContactsContract.AUTHORITY)) {
34 bundle.putBoolean(ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS, true);
35 bundle.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true);
37 ContentResolver.requestSync(account, EmailContent.AUTHORITY, bundle);
  /developers/build/prebuilts/gradle/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/provider/
FeedContract.java 19 import android.content.ContentResolver;
54 ContentResolver.CURSOR_DIR_BASE_TYPE + "/vnd.basicsyncadapter.entries";
59 ContentResolver.CURSOR_ITEM_BASE_TYPE + "/vnd.basicsyncadapter.entry";
  /developers/samples/android/connectivity/sync/BasicSyncAdapter/BasicSyncAdapterSample/src/main/java/com/example/android/basicsyncadapter/provider/
FeedContract.java 19 import android.content.ContentResolver;
54 ContentResolver.CURSOR_DIR_BASE_TYPE + "/vnd.basicsyncadapter.entries";
59 ContentResolver.CURSOR_ITEM_BASE_TYPE + "/vnd.basicsyncadapter.entry";
  /development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/
FeedContract.java 19 import android.content.ContentResolver;
54 ContentResolver.CURSOR_DIR_BASE_TYPE + "/vnd.basicsyncadapter.entries";
59 ContentResolver.CURSOR_ITEM_BASE_TYPE + "/vnd.basicsyncadapter.entry";
  /packages/apps/Gallery2/src_pd/com/android/gallery3d/util/
LightCycleHelper.java 19 import android.content.ContentResolver;
45 public static String getPathFromURI(ContentResolver contentResolver, Uri contentUri) {
52 public static long getModifiedTimeFromURI(ContentResolver contentResolver, Uri contentUri) {
  /packages/apps/Settings/src/com/android/settings/accessibility/
SettingsContentObserver.java 19 import android.content.ContentResolver;
30 public void register(ContentResolver contentResolver) {
31 contentResolver.registerContentObserver(Settings.Secure.getUriFor(
33 contentResolver.registerContentObserver(Settings.Secure.getUriFor(
37 public void unregister(ContentResolver contentResolver) {
38 contentResolver.unregisterContentObserver(this);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/test/
InjectedServices.java 19 import android.content.ContentResolver;
34 private ContentResolver mContentResolver;
39 public void setContentResolver(ContentResolver contentResolver) {
40 this.mContentResolver = contentResolver;
43 public ContentResolver getContentResolver() {
  /packages/apps/Mms/src/com/android/mms/model/
ContentRestriction.java 19 import android.content.ContentResolver;
24 void checkMessageSize(int messageSize, int increaseSize, ContentResolver resolver)
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSettings.java 3 import android.content.ContentResolver;
22 private static final WeakHashMap<ContentResolver, Map<String, Object>> dataMap = new WeakHashMap<ContentResolver, Map<String, Object>>();
25 public static boolean putInt(ContentResolver cr, String name, int value) {
31 public static int getInt(ContentResolver cr, String name, int def) {
40 public static int getInt(ContentResolver cr, String name) throws Settings.SettingNotFoundException {
49 public static boolean putString(ContentResolver cr, String name, String value) {
55 public static String getString(ContentResolver cr, String name) {
64 public static boolean putLong(ContentResolver cr, String name, long value) {
70 public static long getLong(ContentResolver cr, String name, long def)
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
RawContactUtil.java 20 import android.content.ContentResolver;
36 public static void update(ContentResolver resolver, long rawContactId,
42 public static long createRawContactWithName(ContentResolver resolver, Account account,
49 public static long createRawContactWithAutoGeneratedName(ContentResolver resolver,
56 public static long insertRawContact(ContentResolver resolver, Account account) {
64 public static String[] queryByRawContactId(ContentResolver resolver,
76 public static List<String[]> queryByContactId(ContentResolver resolver, long contactId,
83 public static void delete(ContentResolver resolver, long rawContactId,
92 public static long queryContactIdByRawContactId(ContentResolver resolver, long rawContactid) {
104 public static boolean rawContactExistsById(ContentResolver resolver, long rawContactid)
    [all...]
DataUtil.java 21 import android.content.ContentResolver;
35 public static String[] queryById(ContentResolver resolver, long dataId, String[] projection) {
41 public static void insertName(ContentResolver resolver, long rawContactId, String name) {
49 public static long insertPhoneNumber(ContentResolver resolver, long rawContactId,
57 public static long insertEmail(ContentResolver resolver, long rawContactId, String email) {
64 public static void insertAutoGeneratedName(ContentResolver resolver, long rawContactId) {
68 public static long insertData(ContentResolver resolver, long rawContactId,
78 public static void delete(ContentResolver resolver, long dataId) {
83 public static void update(ContentResolver resolver, long dataId, ContentValues values) {
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
RawContactUtil.java 20 import android.content.ContentResolver;
37 public static void update(ContentResolver resolver, long rawContactId,
43 public static String[] queryByRawContactId(ContentResolver resolver,
56 public static List<String[]> queryByContactId(ContentResolver resolver, long contactId,
63 public static void delete(ContentResolver resolver, long rawContactId,
72 public static long queryContactIdByRawContactId(ContentResolver resolver, long rawContactid) {
84 public static boolean rawContactExistsById(ContentResolver resolver, long rawContactid) {
89 public static long createRawContact(ContentResolver resolver, Account account,
98 public static long createRawContactWithName(ContentResolver resolver) {
102 public static long createRawContactWithName(ContentResolver resolver, Account account)
    [all...]

Completed in 350 milliseconds

1 2 3 4 5 6 7 8 91011>>