/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) {
|
DeletedContactUtil.java | 21 import android.content.ContentResolver; 35 public static long queryDeletedTimestampForContactId(ContentResolver resolver, long contactId) { 52 public static long getCount(ContentResolver resolver) { 69 public static List<String[]> query(ContentResolver resolver, String[] projection) { 79 public static List<String[]> querySinceTimestamp(ContentResolver resolver, String[] projection,
|
/frameworks/base/core/java/android/content/ |
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/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...] |
ContactUtil.java | 19 import android.content.ContentResolver; 33 public static void update(ContentResolver resolver, long contactId, 39 public static void delete(ContentResolver resolver, long contactId) { 44 public static boolean recordExistsForContactId(ContentResolver resolver, long contactId) { 56 public static long queryContactLastUpdatedTimestamp(ContentResolver resolver, long contactId) {
|
DeletedContactUtil.java | 21 import android.content.ContentResolver; 35 public static long queryDeletedTimestampForContactId(ContentResolver resolver, long contactId) { 47 public static long getCount(ContentResolver resolver) { 64 public static List<String[]> query(ContentResolver resolver, String[] projection) { 74 public static List<String[]> querySinceTimestamp(ContentResolver resolver, String[] projection,
|
DatabaseAsserts.java | 19 import android.content.ContentResolver; 31 public static void assertDeleteIsUnsupported(ContentResolver resolver, Uri uri) { 41 public static void assertInsertIsUnsupported(ContentResolver resolver, Uri uri) { 57 public static ContactIdPair assertAndCreateContact(ContentResolver resolver) { 71 public static ContactIdPair assertAndCreateContactWithName(ContentResolver resolver, 88 public static void assertHasDeleteLogGreaterThan(ContentResolver resolver, long contactId,
|
/packages/apps/Camera/src/com/android/camera/ |
RecordLocationPreference.java | 19 import android.content.ContentResolver; 34 private final ContentResolver mResolver; 47 SharedPreferences pref, ContentResolver resolver) {
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
RecordLocationPreference.java | 19 import android.content.ContentResolver; 36 private final ContentResolver mResolver; 49 SharedPreferences pref, ContentResolver resolver) {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
FileDescriptorLocalUriFetcher.java | 3 import android.content.ContentResolver; 20 protected ParcelFileDescriptor loadResource(Uri uri, ContentResolver contentResolver) throws FileNotFoundException { 21 return contentResolver.openAssetFileDescriptor(uri, "r").getParcelFileDescriptor();
|
StreamLocalUriFetcher.java | 3 import android.content.ContentResolver; 20 protected InputStream loadResource(Uri uri, ContentResolver contentResolver) throws FileNotFoundException { 21 return contentResolver.openInputStream(uri);
|
/frameworks/base/core/java/android/webkit/ |
WebIconDatabase.java | 20 import android.content.ContentResolver; 79 public abstract void bulkRequestIconForPageUrl(ContentResolver cr, String where,
|
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentResolverTest.java | 18 import android.content.ContentResolver; 24 private ContentResolver mContentResolver;
|
/frameworks/support/tests/java/android/support/tests/ |
GrantActivity.java | 20 import android.content.ContentResolver; 41 final ContentResolver resolver = getContentResolver();
|
/frameworks/support/v4/jellybean/android/support/v4/content/ |
ContentResolverCompatJellybean.java | 19 import android.content.ContentResolver; 26 public static Cursor query(ContentResolver resolver, Uri uri, String[] projection,
|
/packages/apps/Camera2/src/com/android/camera/data/ |
DataUtils.java | 19 import android.content.ContentResolver; 29 public static String getPathFromURI(ContentResolver contentResolver, Uri contentUri) { 33 Cursor cursor = contentResolver.query(contentUri, proj, null, null, null);
|
/packages/apps/Camera2/src_pd_gcam/com/android/camera/util/ |
GcamHelper.java | 19 import android.content.ContentResolver; 42 ContentResolver contentResolver, boolean useCaptureModule) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
GalleryApp.java | 19 import android.content.ContentResolver; 38 public ContentResolver getContentResolver();
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
UriLoader.java | 3 import android.content.ContentResolver; 49 return ContentResolver.SCHEME_FILE.equals(scheme) 50 || ContentResolver.SCHEME_CONTENT.equals(scheme) 51 || ContentResolver.SCHEME_ANDROID_RESOURCE.equals(scheme);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
IconLoader.java | 21 import android.content.ContentResolver; 38 * {@link ContentResolver#openOutputStream(android.net.Uri, String)}.
|
/frameworks/support/v4/java/android/support/v4/content/ |
ContentResolverCompat.java | 19 import android.content.ContentResolver; 27 * Helper for accessing features in {@link android.content.ContentResolver} 32 Cursor query(ContentResolver resolver, 39 public Cursor query(ContentResolver resolver, Uri uri, String[] projection, 53 public Cursor query(ContentResolver resolver, Uri uri, String[] projection, 122 public static Cursor query(ContentResolver resolver,
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/ |
SqliteWrapper.java | 20 import android.content.ContentResolver; 37 public static Cursor query(Context context, ContentResolver resolver, Uri uri, 50 public static int update(Context context, ContentResolver resolver, Uri uri, 63 public static int delete(Context context, ContentResolver resolver, Uri uri, 76 public static Uri insert(Context context, ContentResolver resolver,
|
/frameworks/base/core/java/android/provider/ |
Browser.java | 19 import android.content.ContentResolver; 242 * @param cr The ContentResolver used to access the database. 245 public static final Cursor getAllBookmarks(ContentResolver cr) throws 254 * @param cr The ContentResolver used to access the database. 257 public static final Cursor getAllVisitedUrls(ContentResolver cr) throws 266 private static final Cursor getVisitedLike(ContentResolver cr, String url) { 309 * @param cr The ContentResolver used to access the database. 315 public static final void updateVisitedHistory(ContentResolver cr, 322 * @param cr The ContentResolver used to access the database. 326 public static final String[] getVisitedHistory(ContentResolver cr) [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncOperation.java | 22 import android.content.ContentResolver; 128 if (!this.extras.getBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, false)) { 129 this.extras.putBoolean(ContentResolver.SYNC_EXTRAS_EXPEDITED, true); 135 this.extras.remove(ContentResolver.SYNC_EXTRAS_EXPEDITED); 163 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_UPLOAD); 164 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_MANUAL); 165 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_IGNORE_SETTINGS); 166 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_IGNORE_BACKOFF); 167 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY); 168 removeFalseExtra(bundle, ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS) [all...] |