/frameworks/compile/libbcc/include/bcc/ExecutionEngine/ |
H A D | SymbolResolverInterface.h | 27 SymbolResolverInterface *resolver = local 29 return ((resolver != NULL) ? resolver->getAddress(pName) : NULL);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | PackageReceiver.java | 31 final ContentResolver resolver = context.getContentResolver(); 35 resolver.call(RecentsProvider.buildRecent(), RecentsProvider.METHOD_PURGE, null, null); 41 resolver.call(RecentsProvider.buildRecent(), RecentsProvider.METHOD_PURGE_PACKAGE,
|
H A D | CreateDirectoryFragment.java | 57 final ContentResolver resolver = context.getContentResolver(); 104 final ContentResolver resolver = mActivity.getContentResolver(); 108 resolver, mCwd.derivedUri.getAuthority()); 111 return DocumentInfo.fromUri(resolver, childUri);
|
H A D | DocumentsApplication.java | 54 ContentResolver resolver, String authority) throws RemoteException { 55 final ContentProviderClient client = resolver.acquireUnstableContentProviderClient( 53 acquireUnstableProviderOrThrow( ContentResolver resolver, String authority) argument
|
H A D | DirectoryLoader.java | 99 final ContentResolver resolver = getContext().getContentResolver(); 111 mDoc = DocumentInfo.fromUri(resolver, docUri); 124 cursor = resolver.query(stateUri, null, null, null, null); 162 client = DocumentsApplication.acquireUnstableProviderOrThrow(resolver, authority);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProviderTest.java | 37 ContentResolver resolver = getContext().getContentResolver(); 40 InputStream in = resolver.openInputStream(uri); 52 ContentResolver resolver = getContext().getContentResolver(); 57 InputStream in = resolver.openInputStream(uri); 70 ContentResolver resolver = getContext().getContentResolver(); 73 InputStream in = resolver.openInputStream(uri);
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SqliteWrapper.java | 56 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/opt/mms/src/java/com/google/android/mms/util/ |
H A D | SqliteWrapper.java | 68 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/test-runner/src/android/test/ |
H A D | ProviderTestCase.java | 101 MockContentResolver resolver = new MockContentResolver(); 107 resolver, targetContextWrapper); 112 resolver.addProvider(authority, provider); 114 return resolver;
|
H A D | ProviderTestCase2.java | 48 * regular content resolver, but uses {@link IsolatedContext}. It stubs out 162 * must use the methods of this resolver to access the provider under test. 186 * Both the new provider and the new resolver are put into an {@link IsolatedContext} 213 MockContentResolver resolver = new MockContentResolver(); 218 Context context = new IsolatedContext(resolver, targetContextWrapper); 223 resolver.addProvider(authority, provider); 225 return resolver;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 94 * @param resolver The ContentResolver 99 public static BitmapResult createLocalBitmap(final ContentResolver resolver, final Uri uri, argument 102 final InputStreamFactory factory = createInputStreamFactory(resolver, uri); 206 private static InputStreamFactory createInputStreamFactory(final ContentResolver resolver, argument 210 return new HttpInputStreamFactory(resolver, uri); 212 return new DataInputStreamFactory(resolver, uri); 214 return new BaseInputStreamFactory(resolver, uri); 235 public BaseInputStreamFactory(final ContentResolver resolver, final Uri uri) { argument 236 mResolver = resolver; 249 public DataInputStreamFactory(final ContentResolver resolver, fina argument 287 HttpInputStreamFactory(final ContentResolver resolver, final Uri uri) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | CallLog.java | 307 final ContentResolver resolver = context.getContentResolver(); 358 cursor = resolver.query(Phone.CONTENT_URI, 365 cursor = resolver.query( 382 resolver.update(feedbackUri, new ContentValues(), null, null); 390 Uri result = resolver.insert(CONTENT_URI, values); 399 * @param context Used to get the content resolver. 404 final ContentResolver resolver = context.getContentResolver(); 407 c = resolver.query( 423 final ContentResolver resolver = context.getContentResolver(); 424 resolver [all...] |
H A D | UserDictionary.java | 160 final ContentResolver resolver = context.getContentResolver(); 178 Uri result = resolver.insert(CONTENT_URI, values);
|
H A D | Contacts.java | 443 * @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...] |
/frameworks/base/core/java/android/util/ |
H A D | NtpTrustedTime.java | 55 final ContentResolver resolver = context.getContentResolver(); 63 resolver, Settings.Global.NTP_SERVER); 65 resolver, Settings.Global.NTP_TIMEOUT, defaultTimeout);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardEntryCommitter.java | 49 public VCardEntryCommitter(ContentResolver resolver) { argument 50 mContentResolver = resolver;
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 67 final ContentResolver resolver = mResolver.get(); 68 if (resolver == null) return; 79 cursor = resolver.query(args.uri, args.projection, 96 args.result = resolver.insert(args.uri, args.values); 100 args.result = resolver.update(args.uri, args.values, args.selection, 105 args.result = resolver.delete(args.uri, args.selection, args.selectionArgs);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DocumentInfo.java | 166 public static DocumentInfo fromUri(ContentResolver resolver, Uri uri) argument 169 info.updateFromUri(resolver, uri); 177 public void updateSelf(ContentResolver resolver) throws FileNotFoundException { argument 178 updateFromUri(resolver, derivedUri); 181 public void updateFromUri(ContentResolver resolver, Uri uri) throws FileNotFoundException { argument 186 resolver, uri.getAuthority());
|
H A D | DocumentStack.java | 68 public void updateDocuments(ContentResolver resolver) throws FileNotFoundException { argument 70 info.updateSelf(resolver);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | EnableAccessibilityController.java | 250 ContentResolver resolver = mContext.getContentResolver(); 252 Settings.Secure.putStringForUser(resolver, 256 Settings.Secure.putStringForUser(resolver, 261 Settings.Secure.putIntForUser(resolver, Settings.Secure.TOUCH_EXPLORATION_ENABLED, 265 Settings.Secure.putIntForUser(resolver, Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION, 268 Settings.Secure.putIntForUser(resolver, Settings.Secure.ACCESSIBILITY_ENABLED,
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | VCardVerifier.java | 67 public CustomMockContext(ContentResolver resolver) { argument 68 mResolver = resolver; 327 final ContentResolver resolver, 330 if (ExportTestResolver.class.equals(resolver.getClass())) { 331 return ((ExportTestResolver)resolver).getProvider().queryEntities( 347 final ContentResolver resolver = context.getContentResolver(); 350 final Cursor cursor = resolver.query(CONTACTS_TEST_CONTENT_URI, null, null, null, null); 326 mockGetEntityIteratorMethod( final ContentResolver resolver, final Uri uri, final String selection, final String[] selectionArgs, final String sortOrder) argument
|
/frameworks/base/core/java/android/text/method/ |
H A D | TextKeyListener.java | 290 private void updatePrefs(ContentResolver resolver) { argument 291 boolean cap = System.getInt(resolver, System.TEXT_AUTO_CAPS, 1) > 0; 292 boolean text = System.getInt(resolver, System.TEXT_AUTO_REPLACE, 1) > 0; 293 boolean period = System.getInt(resolver, System.TEXT_AUTO_PUNCTUATE, 1) > 0; 294 boolean pw = System.getInt(resolver, System.TEXT_SHOW_PASSWORD, 1) > 0;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/ |
H A D | PhotoBitmapLoader.java | 54 final ContentResolver resolver = context.getContentResolver(); 56 result = ImageUtils.createLocalBitmap(resolver, Uri.parse(mPhotoUri),
|
/frameworks/base/core/java/android/widget/ |
H A D | TextClock.java | 498 final ContentResolver resolver = getContext().getContentResolver(); 499 resolver.registerContentObserver(Settings.System.CONTENT_URI, true, mFormatChangeObserver); 507 final ContentResolver resolver = getContext().getContentResolver(); 508 resolver.unregisterContentObserver(mFormatChangeObserver);
|
/frameworks/opt/telephony/src/java/android/provider/ |
H A D | Telephony.java | 303 * @param resolver the content resolver to use 314 public static Uri addMessageToUri(ContentResolver resolver, argument 317 return addMessageToUri(resolver, uri, address, body, subject, 324 * @param resolver the content resolver to use 336 public static Uri addMessageToUri(ContentResolver resolver, argument 354 return resolver.insert(uri, values); 441 * @param resolver the content resolver t 450 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean read) argument 491 addMessage(ContentResolver resolver, String address, String body, String subject, Long date) argument 555 addMessage(ContentResolver resolver, String address, String body, String subject, Long date, boolean deliveryReport, long threadId) argument [all...] |