Searched defs:resolver (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/pim/vcard/
H A DVCardEntryCommitter.java42 public VCardEntryCommitter(ContentResolver resolver) { argument
43 mContentResolver = resolver;
H A DVCardEntry.java1108 public Uri pushIntoContentResolver(ContentResolver resolver) { argument
1122 final Cursor cursor = resolver.query(Groups.CONTENT_URI, new String[] {
1359 ContentProviderResult[] results = resolver.applyBatch(
1376 public static VCardEntry buildFromResolver(ContentResolver resolver) { argument
1377 return buildFromResolver(resolver, Contacts.CONTENT_URI);
1380 public static VCardEntry buildFromResolver(ContentResolver resolver, Uri uri) { argument
/frameworks/base/core/java/android/database/sqlite/
H A DSqliteWrapper.java56 public static Cursor query(Context context, ContentResolver resolver, Uri uri, argument
59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
76 public static int update(Context context, ContentResolver resolver, Uri uri, argument
79 return resolver.update(uri, values, where, selectionArgs);
87 public static int delete(Context context, ContentResolver resolver, Uri uri, argument
90 return resolver.delete(uri, where, selectionArgs);
98 public static Uri insert(Context context, ContentResolver resolver, argument
101 return resolver.insert(uri, values);
/frameworks/base/core/java/android/provider/
H A DApplications.java76 public static Cursor search(ContentResolver resolver, String query) { argument
78 return resolver.query(searchUri, null, null, null, null);
H A DCalendar.java608 public static EntityIterator newEntityIterator(Cursor cursor, ContentResolver resolver) { argument
609 return new EntityIteratorImpl(cursor, resolver);
651 public EntityIteratorImpl(Cursor cursor, ContentResolver resolver) { argument
653 mResolver = resolver;
H A DContacts.java443 * @param resolver the ContentResolver to use
448 public static void markAsContacted(ContentResolver resolver, long personId) { argument
455 resolver.update(uri, values, null, null);
463 public static long tryGetMyContactsGroupId(ContentResolver resolver) { argument
464 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION,
481 * @param resolver the resolver to use
488 public static Uri addToMyContactsGroup(ContentResolver resolver, long personId) { argument
489 long groupId = tryGetMyContactsGroupId(resolver);
494 return addToGroup(resolver, personI
508 addToGroup(ContentResolver resolver, long personId, String groupName) argument
539 addToGroup(ContentResolver resolver, long personId, long groupId) argument
559 createPersonInMyContactsGroup(ContentResolver resolver, ContentValues values) argument
579 queryGroups(ContentResolver resolver, long person) argument
[all...]
H A DTelephony.java203 * @param resolver the content resolver to use
213 public static Uri addMessageToUri(ContentResolver resolver, argument
216 return addMessageToUri(resolver, uri, address, body, subject,
223 * @param resolver the content resolver to use
234 public static Uri addMessageToUri(ContentResolver resolver, argument
252 return resolver.insert(uri, values);
330 * @param resolver the content resolver t
338 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument
371 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
403 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument
417 saveMessage(ContentResolver resolver, Uri uri, String body) argument
452 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument
[all...]
H A DContactsContract.java923 public static Uri getLookupUri(ContentResolver resolver, Uri contactUri) { argument
924 final Cursor c = resolver.query(contactUri, new String[] {
957 public static Uri lookupContact(ContentResolver resolver, Uri lookupUri) { argument
962 Cursor c = resolver.query(lookupUri, new String[]{Contacts._ID}, null, null, null);
984 * @param resolver the ContentResolver to use
987 public static void markAsContacted(ContentResolver resolver, long contactId) { argument
992 resolver.update(uri, values, null, null);
1343 * The invocation of {@code resolver.delete(...)}, does not immediately delete
1348 * finalizes phone-side deletion by calling {@code resolver.delete(...)}
1681 public static Uri getContactLookupUri(ContentResolver resolver, Ur argument
2647 getContactLookupUri(ContentResolver resolver, Uri dataUri) argument
[all...]
H A DSettings.java568 protected static boolean putString(ContentResolver resolver, Uri uri, argument
575 resolver.insert(uri, values);
741 * @param resolver to access the database with
745 public synchronized static String getString(ContentResolver resolver, String name) { argument
749 return Secure.getString(resolver, name);
755 return sNameValueCache.getString(resolver, name);
760 * @param resolver to access the database with
765 public static boolean putString(ContentResolver resolver, String name, String value) { argument
771 return putString(resolver, CONTENT_URI, name, value);
2061 * @param resolver t
2065 getString(ContentResolver resolver, String name) argument
2080 putString(ContentResolver resolver, String name, String value) argument
[all...]
/frameworks/base/core/java/com/google/android/mms/util/
H A DSqliteWrapper.java68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, argument
71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
88 public static int update(Context context, ContentResolver resolver, Uri uri, argument
91 return resolver.update(uri, values, where, selectionArgs);
99 public static int delete(Context context, ContentResolver resolver, Uri uri, argument
102 return resolver.delete(uri, where, selectionArgs);
110 public static Uri insert(Context context, ContentResolver resolver, argument
113 return resolver.insert(uri, values);
/frameworks/base/core/tests/coretests/src/android/content/
H A DSyncQueueTest.java184 public TestContext(ContentResolver resolver, Context realContext) { argument
191 mResolver = resolver;
H A DSyncStorageEngineTest.java395 public TestContext(ContentResolver resolver, Context realContext) { argument
398 mResolver = resolver;
/frameworks/base/core/java/android/net/http/
H A DAndroidHttpClient.java292 public static AbstractHttpEntity getCompressedEntity(byte data[], ContentResolver resolver) argument
295 if (data.length < getMinGzipSize(resolver)) {
312 public static long getMinGzipSize(ContentResolver resolver) { argument
/frameworks/base/core/java/android/text/method/
H A DTextKeyListener.java278 private void updatePrefs(ContentResolver resolver) { argument
279 boolean cap = System.getInt(resolver, System.TEXT_AUTO_CAPS, 1) > 0;
280 boolean text = System.getInt(resolver, System.TEXT_AUTO_REPLACE, 1) > 0;
281 boolean period = System.getInt(resolver, System.TEXT_AUTO_PUNCTUATE, 1) > 0;
282 boolean pw = System.getInt(resolver, System.TEXT_SHOW_PASSWORD, 1) > 0;
/frameworks/base/core/tests/coretests/src/android/pim/vcard/test_utils/
H A DVCardVerifier.java59 public CustomMockContext(ContentResolver resolver) { argument
60 mResolver = resolver;
327 final ContentResolver resolver,
330 if (ExportTestResolver.class.equals(resolver.getClass())) {
331 return ((ExportTestResolver)resolver).getProvider().queryEntities(
326 mockGetEntityIteratorMethod( final ContentResolver resolver, final Uri uri, final String selection, final String[] selectionArgs, final String sortOrder) argument
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java59 ContentResolver resolver, Context targetContext) {
61 mResolver = resolver;
74 // We need to return the real resolver so that MailEngine.makeRight can get to the
58 IsolatedContext( ContentResolver resolver, Context targetContext) argument
/frameworks/base/core/java/android/app/
H A DDownloadManager.java649 Cursor runQuery(ContentResolver resolver, String[] projection, Uri baseUri) { argument
694 return resolver.query(uri, projection, selection, selectionArgs, orderBy);
722 public DownloadManager(ContentResolver resolver, String packageName) { argument
723 mResolver = resolver;
/frameworks/base/core/java/android/content/
H A DIntentFilter.java1064 public final int match(ContentResolver resolver, Intent intent, argument
1066 String type = resolve ? intent.resolveType(resolver) : intent.getType();
H A DIntent.java956 * use the content resolver on each URI. The intent sender should try to
1779 * changed. When queried through the content resolver, the data URI will
3133 * @param resolver A ContentResolver that can be used to determine the MIME
3141 public String resolveType(ContentResolver resolver) { argument
3147 return resolver.getType(mData);
3159 * @param resolver A ContentResolver that can be used to determine the MIME
3165 public String resolveTypeIfNeeded(ContentResolver resolver) { argument
3169 return resolveType(resolver);

Completed in 500 milliseconds