Searched defs:mResolver (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DContentValuesVerifierElem.java27 private final ImportTestResolver mResolver; field in class:ContentValuesVerifierElem
31 mResolver = new ImportTestResolver(androidTestCase);
32 mHandler = new VCardEntryCommitter(mResolver);
38 mResolver.addExpectedContentValues(contentValues);
43 mResolver.verify();
H A DVCardVerifier.java66 final ContentResolver mResolver; field in class:VCardVerifier.CustomMockContext
68 mResolver = resolver;
73 return mResolver;
/frameworks/base/test-runner/src/android/test/
H A DProviderTestCase.java42 private MockContentResolver mResolver; field in class:ProviderTestCase
62 mResolver = new MockContentResolver();
68 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper);
73 mResolver.addProvider(mProviderAuthority, getProvider());
89 return mResolver;
H A DProviderTestCase2.java75 private MockContentResolver mResolver; field in class:ProviderTestCase2
132 mResolver = new MockContentResolver();
140 mProviderContext = new IsolatedContext(mResolver, targetContextWrapper);
145 mResolver.addProvider(mProviderAuthority, getProvider());
167 return mResolver;
H A DIsolatedContext.java53 private ContentResolver mResolver; field in class:IsolatedContext
61 mResolver = resolver;
76 return mResolver;
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSCompilerDriver.h40 SymbolResolverProxy mResolver; member in class:bcc::RSCompilerDriver
/frameworks/ex/common/java/com/android/common/contacts/
H A DDataUsageStatUpdater.java65 private final ContentResolver mResolver; field in class:DataUsageStatUpdater
68 mResolver = context.getContentResolver();
120 final Cursor cursor = mResolver.query(Email.CONTENT_URI,
170 final Cursor cursor = mResolver.query(Phone.CONTENT_URI,
215 if (mResolver.update(uri, new ContentValues(), null, null) > 0) {
248 if (mResolver.update(ContactsContract.Contacts.CONTENT_URI, values,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsBroadcastUndelivered.java66 private final ContentResolver mResolver; field in class:SmsBroadcastUndelivered
76 mResolver = context.getContentResolver();
104 cursor = mResolver.query(sRawUri, PDU_PENDING_MESSAGE_PROJECTION, null, null, null);
150 int rows = mResolver.delete(sRawUri, InboundSmsHandler.SELECT_BY_REFERENCE,
H A DInboundSmsHandler.java127 private final ContentResolver mResolver; field in class:InboundSmsHandler
174 mResolver = context.getContentResolver();
608 cursor = mResolver.query(sRawUri, PDU_SEQUENCE_PORT_PROJECTION,
713 int rows = mResolver.delete(sRawUri, deleteWhere, deleteWhereArgs);
751 cursor = mResolver.query(sRawUri, PDU_PROJECTION,
782 Uri newUri = mResolver.insert(sRawUri, values);
H A DSMSDispatcher.java129 protected final ContentResolver mResolver; field in class:SMSDispatcher
179 mResolver = mContext.getContentResolver();
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java42 /* package */ final WeakReference<ContentResolver> mResolver; field in class:AsyncQueryHandler
67 final ContentResolver resolver = mResolver.get();
126 mResolver = new WeakReference<ContentResolver>(cr);
/frameworks/base/services/java/com/android/server/search/
H A DSearchManagerService.java171 private final ContentResolver mResolver; field in class:SearchManagerService.GlobalSearchProviderObserver
175 mResolver = resolver;
176 mResolver.registerContentObserver(
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java232 protected final ContentResolver mResolver; field in class:ImageUtils.BaseInputStreamFactory
236 mResolver = resolver;
242 return mResolver.openInputStream(mUri);
/frameworks/support/tests/java/android/support/v4/content/
H A DFileProviderTest.java49 private ContentResolver mResolver; field in class:FileProviderTest
55 mResolver = getContext().getContentResolver();
174 Cursor cursor = mResolver.query(uri, null, null, null, null);
190 Cursor cursor = mResolver.query(uri, new String[] {
201 cursor = mResolver.query(uri, new String[] {
218 Cursor cursor = mResolver.query(uri, new String[] {
243 final OutputStream out = mResolver.openOutputStream(uri);
263 final OutputStream out = mResolver.openOutputStream(uri);
279 assertEquals(1, mResolver.delete(uri, null, null));
280 assertEquals(0, mResolver
[all...]
/frameworks/base/core/java/android/text/method/
H A DTextKeyListener.java60 private WeakReference<ContentResolver> mResolver; field in class:TextKeyListener
246 if (mResolver != null) {
247 final ContentResolver contentResolver = mResolver.get();
250 mResolver.clear();
253 mResolver = null;
260 mResolver = new WeakReference<ContentResolver>(contentResolver);
277 if (mResolver != null) {
278 final ContentResolver contentResolver = mResolver.get();
304 if (!mPrefsInited || mResolver.get() == null) {
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java732 ContentResolver mResolver; field in class:TestContext
739 mResolver = resolver;
762 return mResolver;
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java63 private final ContentResolver mResolver; field in class:StorageManager
315 mResolver = resolver;
628 final long lowPercent = Settings.Global.getInt(mResolver,
632 final long maxLowBytes = Settings.Global.getLong(mResolver,
645 return Settings.Global.getLong(mResolver, Settings.Global.SYS_STORAGE_FULL_THRESHOLD_BYTES,
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java479 private final ContentResolver mResolver; field in class:ExternalStorageProvider.DirectoryObserver
487 mResolver = resolver;
495 mResolver.notifyChange(mNotifyUri, null, false);
H A DTestDocumentsProvider.java170 private final ContentResolver mResolver; field in class:TestDocumentsProvider.CloudTask
176 mResolver = resolver;
190 mResolver.notifyChange(mNotifyUri, null, false);
/frameworks/base/services/java/com/android/server/
H A DDeviceStorageMonitorService.java90 private ContentResolver mResolver; field in class:DeviceStorageMonitorService
171 long freeMemLogInterval = Settings.Global.getLong(mResolver,
198 long threshold = Settings.Global.getLong(mResolver,
318 mResolver = mContext.getContentResolver();
H A DWatchdog.java82 ContentResolver mResolver; field in class:Watchdog
240 mResolver = context.getContentResolver();
H A DTextServicesManagerService.java916 private final ContentResolver mResolver; field in class:TextServicesManagerService.TextServicesSettings
919 mResolver = resolver;
937 Settings.Secure.putStringForUser(mResolver,
942 Settings.Secure.putStringForUser(mResolver,
948 Settings.Secure.putIntForUser(mResolver,
953 return Settings.Secure.getStringForUser(mResolver,
958 return Settings.Secure.getStringForUser(mResolver,
963 return Settings.Secure.getIntForUser(mResolver,
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduComposer.java108 private final ContentResolver mResolver; field in class:PduComposer
137 mResolver = context.getContentResolver();
991 cr = mResolver.openInputStream(part.getDataUri());
/frameworks/base/core/java/com/android/internal/inputmethod/
H A DInputMethodUtils.java501 private final ContentResolver mResolver; field in class:InputMethodUtils.InputMethodSettings
526 mResolver = resolver;
699 mResolver, Settings.Secure.ENABLED_INPUT_METHODS, str, mCurrentUserId);
708 mResolver, Settings.Secure.ENABLED_INPUT_METHODS, mCurrentUserId);
767 mResolver, Settings.Secure.INPUT_METHODS_SUBTYPE_HISTORY, str, mCurrentUserId);
887 mResolver, Settings.Secure.INPUT_METHODS_SUBTYPE_HISTORY, mCurrentUserId));
890 mResolver, Settings.Secure.INPUT_METHODS_SUBTYPE_HISTORY, mCurrentUserId);
899 mResolver, Settings.Secure.DEFAULT_INPUT_METHOD, imeId, mCurrentUserId);
907 Settings.Secure.putIntForUser(mResolver, Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE,
913 mResolver, Setting
[all...]
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsService.java1266 private final ContentResolver mResolver; field in class:NetworkStatsService.DefaultNetworkStatsSettings
1269 mResolver = checkNotNull(context.getContentResolver());
1274 return Settings.Global.getLong(mResolver, name, def);
1278 return Settings.Global.getInt(mResolver, name, defInt) != 0;

Completed in 1093 milliseconds

12