/frameworks/base/core/java/android/database/sqlite/ |
D | SqliteWrapper.java | 56 public static Cursor query(Context context, ContentResolver resolver, Uri uri, in query() argument 59 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); in query() 76 public static int update(Context context, ContentResolver resolver, Uri uri, in update() argument 79 return resolver.update(uri, values, where, selectionArgs); in update() 87 public static int delete(Context context, ContentResolver resolver, Uri uri, in delete() argument 90 return resolver.delete(uri, where, selectionArgs); in delete() 98 public static Uri insert(Context context, ContentResolver resolver, in insert() argument 101 return resolver.insert(uri, values); in insert()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | ContentResolverCompat.java | 32 Cursor query(ContentResolver resolver, in query() argument 39 public Cursor query(ContentResolver resolver, Uri uri, String[] projection, in query() argument 47 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); in query() 53 public Cursor query(ContentResolver resolver, Uri uri, String[] projection, in query() argument 57 return ContentResolverCompatJellybean.query(resolver, in query() 122 public static Cursor query(ContentResolver resolver, in query() argument 125 return IMPL.query(resolver, uri, projection, selection, selectionArgs, in query()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
D | SqliteWrapper.java | 68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, in query() argument 71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); in query() 88 public static int update(Context context, ContentResolver resolver, Uri uri, in update() argument 91 return resolver.update(uri, values, where, selectionArgs); in update() 99 public static int delete(Context context, ContentResolver resolver, Uri uri, in delete() argument 102 return resolver.delete(uri, where, selectionArgs); in delete() 110 public static Uri insert(Context context, ContentResolver resolver, in insert() argument 113 return resolver.insert(uri, values); in insert()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProviderTest.java | 37 ContentResolver resolver = getContext().getContentResolver(); in testRead() local 40 InputStream in = resolver.openInputStream(uri); in testRead() 52 ContentResolver resolver = getContext().getContentResolver(); in testClose() local 57 InputStream in = resolver.openInputStream(uri); in testClose() 70 ContentResolver resolver = getContext().getContentResolver(); in testFile() local 73 InputStream in = resolver.openInputStream(uri); in testFile()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | ImageUtils.java | 96 public static BitmapResult createLocalBitmap(final ContentResolver resolver, final Uri uri, in createLocalBitmap() argument 99 final InputStreamFactory factory = createInputStreamFactory(resolver, uri); in createLocalBitmap() 205 private static InputStreamFactory createInputStreamFactory(final ContentResolver resolver, in createInputStreamFactory() argument 209 return new DataInputStreamFactory(resolver, uri); in createInputStreamFactory() 211 return new BaseInputStreamFactory(resolver, uri); in createInputStreamFactory() 232 public BaseInputStreamFactory(final ContentResolver resolver, final Uri uri) { in BaseInputStreamFactory() argument 233 mResolver = resolver; in BaseInputStreamFactory() 246 public DataInputStreamFactory(final ContentResolver resolver, final Uri uri) { in DataInputStreamFactory() argument 247 super(resolver, uri); in DataInputStreamFactory()
|
/frameworks/opt/telephony/src/java/android/provider/ |
D | Telephony.java | 339 public static Uri addMessageToUri(ContentResolver resolver, in addMessageToUri() argument 343 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); in addMessageToUri() 361 public static Uri addMessageToUri(int subId, ContentResolver resolver, in addMessageToUri() argument 364 return addMessageToUri(subId, resolver, uri, address, body, subject, in addMessageToUri() 383 public static Uri addMessageToUri(ContentResolver resolver, in addMessageToUri() argument 387 resolver, uri, address, body, subject, in addMessageToUri() 407 public static Uri addMessageToUri(int subId, ContentResolver resolver, in addMessageToUri() argument 427 return resolver.insert(uri, values); in addMessageToUri() 523 public static Uri addMessage(ContentResolver resolver, in addMessage() argument 527 resolver, CONTENT_URI, address, body, subject, date, read, false); in addMessage() [all …]
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | DocumentClipper.java | 99 ContentResolver resolver = mContext.getContentResolver(); in getDocumentsFromClipData() local 108 resolver, itemUri.getAuthority()); in getDocumentsFromClipData() 129 final ContentResolver resolver = mContext.getContentResolver(); in getClipDataForDocuments() local 130 final String[] mimeTypes = getMimeTypes(resolver, docs); in getClipDataForDocuments() 146 private static String[] getMimeTypes(ContentResolver resolver, List<DocumentInfo> docs) { in getMimeTypes() argument 153 mimeTypes.add(resolver.getType(uri)); in getMimeTypes() 154 final String[] streamTypes = resolver.getStreamTypes(uri, "*/*"); in getMimeTypes()
|
D | PackageReceiver.java | 31 final ContentResolver resolver = context.getContentResolver(); in onReceive() local 35 resolver.call(RecentsProvider.buildRecent(), RecentsProvider.METHOD_PURGE, null, null); in onReceive() 41 resolver.call(RecentsProvider.buildRecent(), RecentsProvider.METHOD_PURGE_PACKAGE, in onReceive()
|
D | RootsCache.java | 197 final ContentResolver resolver = mContext.getContentResolver(); in loadStoppedAuthorities() local 201 mRoots.putAll(authority, loadRootsForAuthority(resolver, authority, true)); in loadStoppedAuthorities() 212 final ContentResolver resolver = mContext.getContentResolver(); in loadStoppedAuthority() local 220 mRoots.putAll(authority, loadRootsForAuthority(resolver, authority, true)); in loadStoppedAuthority() 251 final ContentResolver resolver = mContext.getContentResolver(); in doInBackground() local 274 resolver.notifyChange(sNotificationUri, null, false); in doInBackground() 297 private Collection<RootInfo> loadRootsForAuthority(ContentResolver resolver, String authority, in loadRootsForAuthority() argument 313 final Bundle systemCache = resolver.getCache(rootsUri); in loadRootsForAuthority() 324 client = DocumentsApplication.acquireUnstableProviderOrThrow(resolver, authority); in loadRootsForAuthority() 342 resolver.putCache(rootsUri, systemCache); in loadRootsForAuthority()
|
D | CreateDirectoryFragment.java | 62 final ContentResolver resolver = context.getContentResolver(); in onCreateDialog() local 135 final ContentResolver resolver = mActivity.getContentResolver(); in doInBackground() local 139 resolver, mCwd.derivedUri.getAuthority()); in doInBackground() 142 return DocumentInfo.fromUri(resolver, childUri); in doInBackground()
|
/frameworks/base/core/java/android/provider/ |
D | CallLog.java | 585 final ContentResolver resolver = context.getContentResolver(); in addCall() local 666 cursor = resolver.query(Phone.CONTENT_URI, in addCall() 674 cursor = resolver.query( in addCall() 687 updateDataUsageStatForData(resolver, dataId); in addCall() 691 updateNormalizedNumber(context, resolver, dataId, number); in addCall() 805 final ContentResolver resolver = context.getContentResolver(); in getLastOutgoingCall() local 808 c = resolver.query( in getLastOutgoingCall() 825 final ContentResolver resolver = context.getContentResolver(); in addEntryAndRemoveExpiredEntries() local 838 final Uri result = resolver.insert(uri, values); in addEntryAndRemoveExpiredEntries() 839 resolver.delete(uri, "_id IN " + in addEntryAndRemoveExpiredEntries() [all …]
|
D | Contacts.java | 447 public static void markAsContacted(ContentResolver resolver, long personId) { in markAsContacted() argument 454 resolver.update(uri, values, null, null); in markAsContacted() 462 public static long tryGetMyContactsGroupId(ContentResolver resolver) { in tryGetMyContactsGroupId() argument 463 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION, in tryGetMyContactsGroupId() 487 public static Uri addToMyContactsGroup(ContentResolver resolver, long personId) { in addToMyContactsGroup() argument 488 long groupId = tryGetMyContactsGroupId(resolver); in addToMyContactsGroup() 493 return addToGroup(resolver, personId, groupId); in addToMyContactsGroup() 507 public static Uri addToGroup(ContentResolver resolver, long personId, String groupName) { in addToGroup() argument 509 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION, in addToGroup() 525 return addToGroup(resolver, personId, groupId); in addToGroup() [all …]
|
D | DocumentsContract.java | 965 ContentResolver resolver, Uri documentUri, Point size, CancellationSignal signal) { in getDocumentThumbnail() argument 966 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in getDocumentThumbnail() 1061 public static Uri createDocument(ContentResolver resolver, Uri parentDocumentUri, in createDocument() argument 1063 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in createDocument() 1118 public static Uri renameDocument(ContentResolver resolver, Uri documentUri, in renameDocument() argument 1120 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in renameDocument() 1150 public static boolean deleteDocument(ContentResolver resolver, Uri documentUri) { in deleteDocument() argument 1151 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in deleteDocument() 1181 public static Uri copyDocument(ContentResolver resolver, Uri sourceDocumentUri, in copyDocument() argument 1183 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in copyDocument() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | HbpcdUtils.java | 34 private ContentResolver resolver = null; field in HbpcdUtils 37 resolver = context.getContentResolver(); in HbpcdUtils() 52 Cursor c2 = resolver.query(ArbitraryMccSidMatch.CONTENT_URI, projection2, in getMcc() 78 Cursor c3 = resolver.query(MccSidConflicts.CONTENT_URI, projection3, in getMcc() 110 Cursor c5 = resolver.query(MccSidRange.CONTENT_URI, projection5, in getMcc() 142 Cursor cur = resolver.query(MccIdd.CONTENT_URI, projection, in getIddByMcc()
|
/frameworks/base/test-runner/src/android/test/ |
D | ProviderTestCase.java | 100 MockContentResolver resolver = new MockContentResolver(); in newResolverWithContentProviderFromSql() local 106 resolver, targetContextWrapper); in newResolverWithContentProviderFromSql() 110 resolver.addProvider(authority, provider); in newResolverWithContentProviderFromSql() 112 return resolver; in newResolverWithContentProviderFromSql()
|
D | ProviderTestCase2.java | 224 MockContentResolver resolver = new MockContentResolver(); in newResolverWithContentProviderFromSql() local 229 Context context = new IsolatedContext(resolver, targetContextWrapper); in newResolverWithContentProviderFromSql() 233 resolver.addProvider(authority, provider); in newResolverWithContentProviderFromSql() 235 return resolver; in newResolverWithContentProviderFromSql()
|
/frameworks/support/v4/kitkat/android/support/v4/provider/ |
D | DocumentsContractApi19.java | 127 final ContentResolver resolver = context.getContentResolver(); in exists() local 131 c = resolver.query(self, new String[] { in exists() 144 final ContentResolver resolver = context.getContentResolver(); in queryForString() local 148 c = resolver.query(self, new String[] { column }, null, null, null); in queryForString() 169 final ContentResolver resolver = context.getContentResolver(); in queryForLong() local 173 c = resolver.query(self, new String[] { column }, null, null, null); in queryForLong()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | VCardVerifier.java | 67 public CustomMockContext(ContentResolver resolver) { in CustomMockContext() argument 68 mResolver = resolver; in CustomMockContext() 327 final ContentResolver resolver, in mockGetEntityIteratorMethod() argument 330 if (ExportTestResolver.class.equals(resolver.getClass())) { in mockGetEntityIteratorMethod() 331 return ((ExportTestResolver)resolver).getProvider().queryEntities( in mockGetEntityIteratorMethod() 347 final ContentResolver resolver = context.getContentResolver(); in verifyForExportTest() local 350 final Cursor cursor = resolver.query(CONTACTS_TEST_CONTENT_URI, null, null, null, null); in verifyForExportTest()
|
/frameworks/base/core/java/android/content/ |
D | AsyncQueryHandler.java | 67 final ContentResolver resolver = mResolver.get(); in handleMessage() local 68 if (resolver == null) return; in handleMessage() 79 cursor = resolver.query(args.uri, args.projection, in handleMessage() 96 args.result = resolver.insert(args.uri, args.values); in handleMessage() 100 args.result = resolver.update(args.uri, args.values, args.selection, in handleMessage() 105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs); in handleMessage()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 73 public String lookup(ContentResolver resolver, String name, int userHandle); in lookup() argument 77 public String lookup(ContentResolver resolver, String name, int userHandle) { 78 return Settings.System.getStringForUser(resolver, name, userHandle); 83 public String lookup(ContentResolver resolver, String name, int userHandle) { 84 return Settings.Secure.getStringForUser(resolver, name, userHandle); 89 public String lookup(ContentResolver resolver, String name, int userHandle) { 90 return Settings.Global.getStringForUser(resolver, name, userHandle);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
D | DocumentInfo.java | 167 public static DocumentInfo fromUri(ContentResolver resolver, Uri uri) in fromUri() argument 170 info.updateFromUri(resolver, uri); in fromUri() 178 public void updateSelf(ContentResolver resolver) throws FileNotFoundException { in updateSelf() argument 179 updateFromUri(resolver, derivedUri); in updateSelf() 182 public void updateFromUri(ContentResolver resolver, Uri uri) throws FileNotFoundException { in updateFromUri() argument 187 resolver, uri.getAuthority()); in updateFromUri()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | DocumentLoader.java | 57 DocumentLoader(MtpDeviceRecord device, MtpManager mtpManager, ContentResolver resolver, in DocumentLoader() argument 61 mResolver = resolver; in DocumentLoader() 293 synchronized Cursor createCursor(ContentResolver resolver, String[] columnNames) in createCursor() argument 306 cursor.setNotificationUri(resolver, createUri()); in createCursor() 422 void notify(ContentResolver resolver) { in notify() argument 423 resolver.notifyChange(createUri(), null, false); in notify()
|
/frameworks/base/core/java/android/text/method/ |
D | TextKeyListener.java | 290 private void updatePrefs(ContentResolver resolver) { in updatePrefs() argument 291 boolean cap = System.getInt(resolver, System.TEXT_AUTO_CAPS, 1) > 0; in updatePrefs() 292 boolean text = System.getInt(resolver, System.TEXT_AUTO_REPLACE, 1) > 0; in updatePrefs() 293 boolean period = System.getInt(resolver, System.TEXT_AUTO_PUNCTUATE, 1) > 0; in updatePrefs() 294 boolean pw = System.getInt(resolver, System.TEXT_SHOW_PASSWORD, 1) > 0; in updatePrefs()
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | ApnDbInstallReceiver.java | 37 ContentResolver resolver = context.getContentResolver(); in postInstall() local 38 resolver.delete(UPDATE_APN_DB, null, null); in postInstall()
|
/frameworks/support/v4/jellybean/android/support/v4/content/ |
D | ContentResolverCompatJellybean.java | 26 public static Cursor query(ContentResolver resolver, Uri uri, String[] projection, in query() argument 29 return resolver.query(uri, projection, selection, selectionArgs, sortOrder, in query()
|