/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/mms/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 | 280 final ContentResolver resolver = context.getContentResolver(); in addCall() local 323 cursor = resolver.query(Phone.CONTENT_URI, in addCall() 330 cursor = resolver.query( in addCall() 347 resolver.update(feedbackUri, new ContentValues(), null, null); in addCall() 355 Uri result = resolver.insert(CONTENT_URI, values); in addCall() 369 final ContentResolver resolver = context.getContentResolver(); in getLastOutgoingCall() local 372 c = resolver.query( in getLastOutgoingCall() 388 final ContentResolver resolver = context.getContentResolver(); in removeExpiredEntries() local 389 resolver.delete(CONTENT_URI, "_id IN " + in removeExpiredEntries()
|
D | Contacts.java | 448 public static void markAsContacted(ContentResolver resolver, long personId) { in markAsContacted() argument 455 resolver.update(uri, values, null, null); in markAsContacted() 463 public static long tryGetMyContactsGroupId(ContentResolver resolver) { in tryGetMyContactsGroupId() argument 464 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION, in tryGetMyContactsGroupId() 488 public static Uri addToMyContactsGroup(ContentResolver resolver, long personId) { in addToMyContactsGroup() argument 489 long groupId = tryGetMyContactsGroupId(resolver); in addToMyContactsGroup() 494 return addToGroup(resolver, personId, groupId); in addToMyContactsGroup() 508 public static Uri addToGroup(ContentResolver resolver, long personId, String groupName) { in addToGroup() argument 510 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION, in addToGroup() 526 return addToGroup(resolver, personId, groupId); in addToGroup() [all …]
|
D | Settings.java | 751 protected static boolean putString(ContentResolver resolver, Uri uri, in putString() argument 758 resolver.insert(uri, values); in putString() 1032 public static String getString(ContentResolver resolver, String name) { in getString() argument 1033 return getStringForUser(resolver, name, UserHandle.myUserId()); in getString() 1037 public static String getStringForUser(ContentResolver resolver, String name, in getStringForUser() argument 1042 return Secure.getStringForUser(resolver, name, userHandle); in getStringForUser() 1047 return Global.getStringForUser(resolver, name, userHandle); in getStringForUser() 1049 return sNameValueCache.getStringForUser(resolver, name, userHandle); in getStringForUser() 1059 public static boolean putString(ContentResolver resolver, String name, String value) { in putString() argument 1060 return putStringForUser(resolver, name, value, UserHandle.myUserId()); in putString() [all …]
|
D | Applications.java | 76 public static Cursor search(ContentResolver resolver, String query) { in search() argument 78 return resolver.query(searchUri, null, null, null, null); in search()
|
D | UserDictionary.java | 160 final ContentResolver resolver = context.getContentResolver(); in addWord() local 178 Uri result = resolver.insert(CONTENT_URI, values); in addWord()
|
/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/photoviewer/src/com/android/ex/photo/util/ |
D | ImageUtils.java | 100 public static BitmapResult createLocalBitmap(ContentResolver resolver, Uri uri, int maxSize) { in createLocalBitmap() argument 106 final Point bounds = getImageBounds(resolver, uri); in createLocalBitmap() 107 inputStream = openInputStream(resolver, uri); in createLocalBitmap() 226 private static Point getImageBounds(ContentResolver resolver, Uri uri) in getImageBounds() argument 233 inputStream = openInputStream(resolver, uri); in getImageBounds() 250 private static InputStream openInputStream(ContentResolver resolver, Uri uri) throws in openInputStream() argument 259 return resolver.openInputStream(uri); in openInputStream() 270 return resolver.openInputStream(uri); in openInputStream()
|
/frameworks/base/test-runner/src/android/test/ |
D | ProviderTestCase.java | 101 MockContentResolver resolver = new MockContentResolver(); in newResolverWithContentProviderFromSql() local 107 resolver, targetContextWrapper); in newResolverWithContentProviderFromSql() 112 resolver.addProvider(authority, provider); in newResolverWithContentProviderFromSql() 114 return resolver; in newResolverWithContentProviderFromSql()
|
D | ProviderTestCase2.java | 213 MockContentResolver resolver = new MockContentResolver(); in newResolverWithContentProviderFromSql() local 218 Context context = new IsolatedContext(resolver, targetContextWrapper); in newResolverWithContentProviderFromSql() 223 resolver.addProvider(authority, provider); in newResolverWithContentProviderFromSql() 225 return resolver; in newResolverWithContentProviderFromSql()
|
D | IsolatedContext.java | 59 ContentResolver resolver, Context targetContext) { in IsolatedContext() argument 61 mResolver = resolver; in IsolatedContext()
|
/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/opt/telephony/src/java/android/provider/ |
D | Telephony.java | 216 public static Uri addMessageToUri(ContentResolver resolver, in addMessageToUri() argument 219 return addMessageToUri(resolver, uri, address, body, subject, in addMessageToUri() 237 public static Uri addMessageToUri(ContentResolver resolver, in addMessageToUri() argument 255 return resolver.insert(uri, values); in addMessageToUri() 341 public static Uri addMessage(ContentResolver resolver, in addMessage() argument 344 return addMessageToUri(resolver, CONTENT_URI, address, body, in addMessage() 374 public static Uri addMessage(ContentResolver resolver, in addMessage() argument 376 return addMessageToUri(resolver, CONTENT_URI, address, body, in addMessage() 406 public static Uri addMessage(ContentResolver resolver, in addMessage() argument 408 return addMessageToUri(resolver, CONTENT_URI, address, body, in addMessage() [all …]
|
/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 | 250 ContentResolver resolver = mContext.getContentResolver(); in enableAccessibility() local 252 Settings.Secure.putStringForUser(resolver, in enableAccessibility() 256 Settings.Secure.putStringForUser(resolver, in enableAccessibility() 261 Settings.Secure.putIntForUser(resolver, Settings.Secure.TOUCH_EXPLORATION_ENABLED, in enableAccessibility() 265 Settings.Secure.putIntForUser(resolver, Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION, in enableAccessibility() 268 Settings.Secure.putIntForUser(resolver, Settings.Secure.ACCESSIBILITY_ENABLED, in enableAccessibility()
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 55 final ContentResolver resolver = context.getContentResolver(); in getInstance() local 63 resolver, Settings.Global.NTP_SERVER); in getInstance() 65 resolver, Settings.Global.NTP_TIMEOUT, defaultTimeout); in getInstance()
|
/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 | 488 final ContentResolver resolver = getContext().getContentResolver(); in registerObserver() local 489 resolver.registerContentObserver(Settings.System.CONTENT_URI, true, mFormatChangeObserver); in registerObserver() 497 final ContentResolver resolver = getContext().getContentResolver(); in unregisterObserver() local 498 resolver.unregisterContentObserver(mFormatChangeObserver); in unregisterObserver()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntryCommitter.java | 49 public VCardEntryCommitter(ContentResolver resolver) { in VCardEntryCommitter() argument 50 mContentResolver = resolver; in VCardEntryCommitter()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
D | PhotoBitmapLoader.java | 52 final ContentResolver resolver = context.getContentResolver(); in loadInBackground() local 54 result = ImageUtils.createLocalBitmap(resolver, Uri.parse(mPhotoUri), in loadInBackground()
|
/frameworks/base/services/java/com/android/server/power/ |
D | PowerManagerService.java | 478 final ContentResolver resolver = mContext.getContentResolver(); in systemReady() local 479 resolver.registerContentObserver(Settings.Secure.getUriFor( in systemReady() 482 resolver.registerContentObserver(Settings.Secure.getUriFor( in systemReady() 485 resolver.registerContentObserver(Settings.Secure.getUriFor( in systemReady() 488 resolver.registerContentObserver(Settings.System.getUriFor( in systemReady() 491 resolver.registerContentObserver(Settings.Global.getUriFor( in systemReady() 494 resolver.registerContentObserver(Settings.System.getUriFor( in systemReady() 497 resolver.registerContentObserver(Settings.System.getUriFor( in systemReady() 525 final ContentResolver resolver = mContext.getContentResolver(); in updateSettingsLocked() local 527 mDreamsEnabledSetting = (Settings.Secure.getIntForUser(resolver, in updateSettingsLocked() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaMetadataRetriever.java | 161 ContentResolver resolver = context.getContentResolver(); in setDataSource() local 163 fd = resolver.openAssetFileDescriptor(uri, "r"); in setDataSource()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsUsageMonitor.java | 245 ContentResolver resolver = context.getContentResolver(); in SettingsObserverHandler() local 247 resolver.registerContentObserver(Settings.Global.getUriFor( in SettingsObserverHandler() 258 ContentResolver resolver = context.getContentResolver(); in SmsUsageMonitor() local 260 mMaxAllowed = Settings.Global.getInt(resolver, in SmsUsageMonitor() 264 mCheckPeriod = Settings.Global.getInt(resolver, in SmsUsageMonitor()
|