/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
GlobalSearchSupportTest.java | 53 long rawContactId = RawContactUtil.createRawContact(mResolver, account); 54 DataUtil.insertStructuredName(mResolver, rawContactId, "Deer", "Dough"); 57 mResolver.delete(Data.CONTENT_URI, Data.RAW_CONTACT_ID + "=" + rawContactId 64 Cursor c = mResolver.query(searchUri, null, null, null, null); 172 Cursor c = mResolver.query(searchUri, null, null, null, null); 248 return mResolver.query(refershUri, projection, null, null, null);
|
ContactsActor.java | 237 private final ContentResolver mResolver; 250 mResolver = resolver; 284 return mResolver;
|
VoicemailProviderTest.java | 82 Uri uri = mResolver.insert(voicemailUri(), getTestVoicemailValues()); 93 OutputStream out = mResolver.openOutputStream(uri); 98 InputStream in = mResolver.openInputStream(uri); 117 int count = mResolver.update(uri, values, null, null); 124 int count = mResolver.delete(voicemailUri(), Voicemails._ID + "=" 133 mResolver.getType(ContentUris.withAppendedId(Voicemails.CONTENT_URI, 100))); 137 Uri uri = mResolver.insert(voicemailUri(), values); 138 assertEquals(Voicemails.ITEM_TYPE, mResolver.getType(uri)); 142 assertEquals(Voicemails.DIR_TYPE, mResolver.getType(Voicemails.CONTENT_URI)); 143 assertEquals(Voicemails.DIR_TYPE, mResolver.getType(Voicemails.buildSourceUri("foo"))) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_DataTest.java | 49 private ContentResolver mResolver; 55 mResolver = getInstrumentation().getTargetContext().getContentResolver(); 57 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); 80 Uri lookupUri = Data.getContactLookupUri(mResolver, data.getUri()); 97 Uri lookupUri = Data.getContactLookupUri(mResolver, data.getUri()); 136 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, contentUri, null, 186 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); 187 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); 192 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); 196 RawContactUtil.delete(mResolver, ids.mRawContactId, true) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncStorageEngineTest.java | 443 ContentResolver mResolver; 450 mResolver = resolver; 468 return mResolver;
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VCardVerifier.java | 66 final ContentResolver mResolver; 68 mResolver = resolver; 73 return mResolver;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
ExportProcessor.java | 50 private final ContentResolver mResolver; 63 mResolver = service.getContentResolver(); 112 outputStream = mResolver.openOutputStream(uri);
|
ImportProcessor.java | 51 private final ContentResolver mResolver; 70 mResolver = mService.getContentResolver(); 154 final VCardEntryCommitter committer = new VCardEntryCommitter(mResolver); 163 is = mResolver.openInputStream(uri);
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
PhotoSource.java | 97 protected final ContentResolver mResolver; 109 mResolver = mContext.getContentResolver();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SMSDispatcher.java | 150 protected final ContentResolver mResolver; 214 mResolver = mContext.getContentResolver(); 609 cursor = mResolver.query(mRawUri, PDU_PROJECTION, 630 cursor = mResolver.query(mRawUri, PDU_SEQUENCE_PORT_PROJECTION, where, whereArgs, null); 645 mResolver.insert(mRawUri, values); 676 mResolver.delete(mRawUri, where, whereArgs); [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarProvider2Test.java | 94 private MockContentResolver mResolver; 269 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); 285 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); [all...] |
/frameworks/base/core/java/android/os/storage/ |
StorageManager.java | 63 private final ContentResolver mResolver; 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,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapVcardManager.java | 72 private ContentResolver mResolver; 107 mResolver = mContext.getContentResolver(); 168 contactCursor = mResolver.query(myUri, null, CLAUSE_ONLY_VISIBLE, null, null); 186 callCursor = mResolver.query(myUri, null, selection, null, 211 callCursor = mResolver.query(myUri, projection, selection, null, 255 contactCursor = mResolver.query(myUri, CONTACTS_PROJECTION, CLAUSE_ONLY_VISIBLE, 259 contactCursor = mResolver.query(myUri, CONTACTS_PROJECTION, CLAUSE_ONLY_VISIBLE, 294 contactCursor = mResolver.query(uri, CONTACTS_PROJECTION, CLAUSE_ONLY_VISIBLE, 336 callsCursor = mResolver.query(myUri, CALLLOG_PROJECTION, typeSelection, null, 390 contactCursor = mResolver.query(myUri, CONTACTS_PROJECTION, CLAUSE_ONLY_VISIBLE, null [all...] |
/packages/apps/Calendar/src/com/android/calendar/event/ |
EventLocationAdapter.java | 138 private final ContentResolver mResolver; 152 mResolver = context.getContentResolver(); 235 mResolver, contactPhotoUri); 282 return queryRecentLocations(mResolver, filter); 288 List<Result> contacts = queryContacts(mResolver, filter, contactsAddresses);
|
/frameworks/base/core/java/android/app/ |
DownloadManager.java | [all...] |
/frameworks/base/core/java/com/android/internal/inputmethod/ |
InputMethodUtils.java | 451 private final ContentResolver mResolver; 476 mResolver = resolver; 649 mResolver, Settings.Secure.ENABLED_INPUT_METHODS, str, mCurrentUserId); 658 mResolver, Settings.Secure.ENABLED_INPUT_METHODS, mCurrentUserId); 717 mResolver, Settings.Secure.INPUT_METHODS_SUBTYPE_HISTORY, str, mCurrentUserId); [all...] |
/frameworks/base/services/java/com/android/server/ |
DeviceStorageMonitorService.java | 90 private ContentResolver mResolver; 171 long freeMemLogInterval = Settings.Global.getLong(mResolver, 198 long threshold = Settings.Global.getLong(mResolver, 318 mResolver = mContext.getContentResolver();
|
TextServicesManagerService.java | [all...] |
Watchdog.java | 88 ContentResolver mResolver; 205 mResolver = context.getContentResolver();
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
PduComposer.java | 108 private final ContentResolver mResolver; 137 mResolver = context.getContentResolver(); 991 cr = mResolver.openInputStream(part.getDataUri()); [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserHistoryPage.java | 320 ContentResolver mResolver; 323 mResolver = resolver; 328 Browser.clearHistory(mResolver);
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectSyncedCalendarsMultiAccountAdapter.java | 66 private final ContentResolver mResolver; 227 mResolver = context.getContentResolver(); 235 mCalendarsUpdater = new AsyncCalendarsUpdater(mResolver);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadInfo.java | 55 private ContentResolver mResolver; 59 mResolver = resolver; 117 Cursor cursor = mResolver.query(headerUri, null, null, null, null);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
PublicApiFunctionalTest.java | 157 InputStream inputStream = mResolver.openInputStream(uri); 609 mResolver.resetNotified(); 612 assertTrue(mResolver.mNotifyWasCalled); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTrackerBase.java | 266 protected ContentResolver mResolver; 320 mNetStatPollPeriod = Settings.Global.getInt(mResolver, 323 mNetStatPollPeriod = Settings.Global.getInt(mResolver, 338 mResolver = context.getContentResolver(); 342 mResolver.registerContentObserver( 347 mResolver.unregisterContentObserver(this); 376 return Settings.Global.getInt(mResolver, 485 mResolver = mPhone.getContext().getContentResolver(); [all...] |