/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/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/base/core/java/android/provider/ |
D | CallLog.java | 422 final ContentResolver resolver = context.getContentResolver(); in addCall() local 488 cursor = resolver.query(Phone.CONTENT_URI, in addCall() 496 cursor = resolver.query( in addCall() 509 updateDataUsageStatForData(resolver, dataId); in addCall() 513 updateNormalizedNumber(context, resolver, dataId, number); in addCall() 560 final ContentResolver resolver = context.getContentResolver(); in getLastOutgoingCall() local 563 c = resolver.query( in getLastOutgoingCall() 580 final ContentResolver resolver = context.getContentResolver(); in addEntryAndRemoveExpiredEntries() local 581 Uri result = resolver.insert(uri, values); in addEntryAndRemoveExpiredEntries() 582 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 | 800 ContentResolver resolver, Uri documentUri, Point size, CancellationSignal signal) { in getDocumentThumbnail() argument 801 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in getDocumentThumbnail() 896 public static Uri createDocument(ContentResolver resolver, Uri parentDocumentUri, in createDocument() argument 898 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in createDocument() 935 public static Uri renameDocument(ContentResolver resolver, Uri documentUri, in renameDocument() argument 937 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in renameDocument() 967 public static boolean deleteDocument(ContentResolver resolver, Uri documentUri) { in deleteDocument() argument 968 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( in deleteDocument()
|
D | Settings.java | 1027 protected static boolean putString(ContentResolver resolver, Uri uri, in putString() argument 1034 resolver.insert(uri, values); in putString() 1318 public static String getString(ContentResolver resolver, String name) { in getString() argument 1319 return getStringForUser(resolver, name, UserHandle.myUserId()); in getString() 1323 public static String getStringForUser(ContentResolver resolver, String name, in getStringForUser() argument 1328 return Secure.getStringForUser(resolver, name, userHandle); in getStringForUser() 1333 return Global.getStringForUser(resolver, name, userHandle); in getStringForUser() 1335 return sNameValueCache.getStringForUser(resolver, name, userHandle); in getStringForUser() 1345 public static boolean putString(ContentResolver resolver, String name, String value) { in putString() argument 1346 return putStringForUser(resolver, name, value, UserHandle.myUserId()); in putString() [all …]
|
/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 | 338 public static Uri addMessageToUri(ContentResolver resolver, in addMessageToUri() argument 342 resolver, uri, address, body, subject, date, read, deliveryReport, -1L); in addMessageToUri() 360 public static Uri addMessageToUri(int subId, ContentResolver resolver, in addMessageToUri() argument 363 return addMessageToUri(subId, resolver, uri, address, body, subject, in addMessageToUri() 382 public static Uri addMessageToUri(ContentResolver resolver, in addMessageToUri() argument 386 resolver, uri, address, body, subject, in addMessageToUri() 406 public static Uri addMessageToUri(int subId, ContentResolver resolver, in addMessageToUri() argument 426 return resolver.insert(uri, values); in addMessageToUri() 522 public static Uri addMessage(ContentResolver resolver, in addMessage() argument 526 resolver, CONTENT_URI, address, body, subject, date, read, false); in addMessage() [all …]
|
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/ |
D | SymbolResolverInterface.h | 27 SymbolResolverInterface *resolver = in LookupFunction() local 29 return ((resolver != NULL) ? resolver->getAddress(pName) : NULL); in LookupFunction()
|
/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/base/packages/DocumentsUI/src/com/android/documentsui/ |
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 | CreateDirectoryFragment.java | 57 final ContentResolver resolver = context.getContentResolver(); in onCreateDialog() local 104 final ContentResolver resolver = mActivity.getContentResolver(); in doInBackground() local 108 resolver, mCwd.derivedUri.getAuthority()); in doInBackground() 111 return DocumentInfo.fromUri(resolver, childUri); in doInBackground()
|
D | RootsCache.java | 148 final ContentResolver resolver = mContext.getContentResolver(); in loadStoppedAuthorities() local 152 mRoots.putAll(authority, loadRootsForAuthority(resolver, authority)); in loadStoppedAuthorities() 191 final ContentResolver resolver = mContext.getContentResolver(); in doInBackground() local 208 resolver.notifyChange(sNotificationUri, null, false); in doInBackground() 243 private Collection<RootInfo> loadRootsForAuthority(ContentResolver resolver, String authority) { in loadRootsForAuthority() argument 260 client = DocumentsApplication.acquireUnstableProviderOrThrow(resolver, authority); in loadRootsForAuthority()
|
/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/policy/src/com/android/internal/policy/impl/ |
D | EnableAccessibilityController.java | 252 ContentResolver resolver = mContext.getContentResolver(); in enableAccessibility() local 254 Settings.Secure.putStringForUser(resolver, in enableAccessibility() 258 Settings.Secure.putStringForUser(resolver, in enableAccessibility() 263 Settings.Secure.putIntForUser(resolver, Settings.Secure.TOUCH_EXPLORATION_ENABLED, in enableAccessibility() 267 Settings.Secure.putIntForUser(resolver, Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION, in enableAccessibility() 270 Settings.Secure.putIntForUser(resolver, Settings.Secure.ACCESSIBILITY_ENABLED, in enableAccessibility()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
D | DocumentInfo.java | 175 public static DocumentInfo fromUri(ContentResolver resolver, Uri uri) in fromUri() argument 178 info.updateFromUri(resolver, uri); in fromUri() 186 public void updateSelf(ContentResolver resolver) throws FileNotFoundException { in updateSelf() argument 187 updateFromUri(resolver, derivedUri); in updateSelf() 190 public void updateFromUri(ContentResolver resolver, Uri uri) throws FileNotFoundException { in updateFromUri() argument 195 resolver, uri.getAuthority()); in updateFromUri()
|
/frameworks/support/tests/java/android/support/tests/ |
D | GrantActivity.java | 41 final ContentResolver resolver = getContentResolver(); in onActivityResult() local 42 resolver.takePersistableUriPermission(data.getData(), in onActivityResult()
|
/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/core/java/android/widget/ |
D | TextClock.java | 526 final ContentResolver resolver = getContext().getContentResolver(); in registerObserver() local 528 resolver.registerContentObserver(Settings.System.CONTENT_URI, true, in registerObserver() 531 resolver.registerContentObserver(Settings.System.CONTENT_URI, true, in registerObserver() 541 final ContentResolver resolver = getContext().getContentResolver(); in unregisterObserver() local 542 resolver.unregisterContentObserver(mFormatChangeObserver); in unregisterObserver()
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 60 final ContentResolver resolver = context.getContentResolver(); in getInstance() local 68 resolver, Settings.Global.NTP_SERVER); in getInstance() 70 resolver, Settings.Global.NTP_TIMEOUT, defaultTimeout); in getInstance()
|