Home
last modified time | relevance | path

Searched refs:mResolver (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_RawContactsTest.java34 private ContentResolver mResolver; field in ContactsContract_RawContactsTest
73 mResolver = getContext().getContentResolver(); in setUp()
75 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
98 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri()); in testGetLookupUriBySourceId()
115 Uri lookupUri = RawContacts.getContactLookupUri(mResolver, rawContact.getUri()); in testGetLookupUriByDisplayName()
124 long rawContactid = RawContactUtil.insertRawContact(mResolver, in testRawContactDelete_setsDeleteFlag()
127 assertTrue(RawContactUtil.rawContactExistsById(mResolver, rawContactid)); in testRawContactDelete_setsDeleteFlag()
129 RawContactUtil.delete(mResolver, rawContactid, false); in testRawContactDelete_setsDeleteFlag()
135 String[] result = RawContactUtil.queryByRawContactId(mResolver, rawContactid, in testRawContactDelete_setsDeleteFlag()
145 long rawContactid = RawContactUtil.insertRawContact(mResolver, in testRawContactDelete_removesRecord()
[all …]
DContactsContract_DataUsageTest.java39 private ContentResolver mResolver; field in ContactsContract_DataUsageTest
45 mResolver = getContext().getContentResolver(); in setUp()
47 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
58 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testSingleDataUsageFeedback_incrementsCorrectDataItems()
72 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testSingleDataUsageFeedback_incrementsCorrectDataItems()
76 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testMultiIdDataUsageFeedback_incrementsCorrectDataItems()
86 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testMultiIdDataUsageFeedback_incrementsCorrectDataItems()
92 dataIds[0] = DataUtil.insertPhoneNumber(mResolver, rawContactId, "555-5555"); in setupRawContactDataItems()
93 dataIds[1] = DataUtil.insertPhoneNumber(mResolver, rawContactId, "555-5554"); in setupRawContactDataItems()
94 dataIds[2] = DataUtil.insertEmail(mResolver, rawContactId, "test@thisisfake.com"); in setupRawContactDataItems()
[all …]
DContactsContract_PinnedPositionsTest.java48 private ContentResolver mResolver; field in ContactsContract_PinnedPositionsTest
53 mResolver = getContext().getContentResolver(); in setUp()
62 final DatabaseAsserts.ContactIdPair i1 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate()
63 final DatabaseAsserts.ContactIdPair i2 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate()
64 final DatabaseAsserts.ContactIdPair i3 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate()
65 final DatabaseAsserts.ContactIdPair i4 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate()
88 applyBatch(mResolver, operations); in testPinnedPositionsUpdate()
109 applyBatch(mResolver, operations); in testPinnedPositionsUpdate()
129 ContactUtil.delete(mResolver, i1.mContactId); in testPinnedPositionsUpdate()
130 ContactUtil.delete(mResolver, i2.mContactId); in testPinnedPositionsUpdate()
[all …]
DContactsContract_PhotoTest.java43 private ContentResolver mResolver; field in ContactsContract_PhotoTest
50 mResolver = mContext.getContentResolver(); in setUp()
52 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
66 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddPhoto()
67 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddPhoto()
68 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddPhoto()
78 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddPhoto()
79 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), true)); in testAddPhoto()
80 assertPhotoStream(Contacts.openContactPhotoInputStream(mResolver, contact.getUri(), false)); in testAddPhoto()
87 assertNull(Contacts.openContactPhotoInputStream(mResolver, contact.getUri())); in testAddEmptyPhoto()
[all …]
DContactsContract_ContactsTest.java44 private ContentResolver mResolver; field in ContactsContract_ContactsTest
50 mResolver = getContext().getContentResolver(); in setUp()
52 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
78 Contacts.markAsContacted(mResolver, contact.getId()); in testMarkAsContacted()
117 Uri lookupUri2 = Contacts.getLookupUri(mResolver, contactUri); in testLookupUri()
120 Uri contactUri2 = Contacts.lookupContact(mResolver, lookupUri); in testLookupUri()
125 DatabaseAsserts.assertInsertIsUnsupported(mResolver, Contacts.CONTENT_URI); in testInsert_isUnsupported()
135 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, start); in testContactDelete_hasDeleteLog()
138 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testContactDelete_hasDeleteLog()
148 List<String[]> records = RawContactUtil.queryByContactId(mResolver, ids.mContactId, in testContactDelete_marksRawContactsForDeletion()
[all …]
DContactsContract_DeletedContacts.java40 private ContentResolver mResolver; field in ContactsContract_DeletedContacts
44 mResolver = getContext().getContentResolver(); in setUp()
49 DatabaseAsserts.assertDeleteIsUnsupported(mResolver, URI); in testDelete_isUnsupported()
52 DatabaseAsserts.assertDeleteIsUnsupported(mResolver, uri); in testDelete_isUnsupported()
56 DatabaseAsserts.assertInsertIsUnsupported(mResolver, URI); in testInsert_isUnsupported()
67 List<String[]> records = DeletedContactUtil.query(mResolver, projection); in testQuery_returnsProperColumns()
82 DeletedContactUtil.queryDeletedTimestampForContactId(mResolver, ids.mContactId)); in testQueryByContactId()
90 long startCount = DeletedContactUtil.getCount(mResolver); in testQueryAll()
96 long endCount = DeletedContactUtil.getCount(mResolver); in testQueryAll()
120 List<String[]> records = DeletedContactUtil.querySinceTimestamp(mResolver, projection, in testQuerySinceTimestamp()
[all …]
DContactsContract_DumpFileProviderTest.java42 private ContentResolver mResolver; field in ContactsContract_DumpFileProviderTest
47 mResolver = getContext().getContentResolver(); in setUp()
61 mResolver.openFileDescriptor(uri, "r"); in testOpenFileDescriptor_worksWithValidFileName()
78 mResolver.query(uri, null, null, null, null); in testQuery_worksWithValidFileName()
84 mResolver.query(uri, null, null, null, null); in assertQueryThrowsError()
95 mResolver.openFileDescriptor(uri, "r"); in assertOpenFileDescriptorThrowsError()
DContactsProvider2_AccountRemovalTest.java48 private ContentResolver mResolver; field in ContactsProvider2_AccountRemovalTest
54 mResolver = getContext().getContentResolver(); in setUp()
112 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
116 while (ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId) == baseTime) { in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
133 ContactIdPair ids1 = DatabaseAsserts.assertAndCreateContactWithName(mResolver, acct, in createAndAssertMergedContact()
135 DataUtil.insertPhoneNumber(mResolver, ids1.mRawContactId, "555-5555"); in createAndAssertMergedContact()
137 ContactIdPair ids2 = DatabaseAsserts.assertAndCreateContactWithName(mResolver, acct2, in createAndAssertMergedContact()
139 DataUtil.insertPhoneNumber(mResolver, ids2.mRawContactId, "555-5555"); in createAndAssertMergedContact()
165 long contactId = RawContactUtil.queryContactIdByRawContactId(mResolver, rawContactId); in checkMerged()
166 long contactId2 = RawContactUtil.queryContactIdByRawContactId(mResolver, rawContactId2); in checkMerged()
[all …]
DContactsContract_AllUriTest.java183 private ContentResolver mResolver; field in ContactsContract_AllUriTest
192 mResolver = getContext().getContentResolver(); in setUp()
272 try (Cursor c = mResolver.query(uri, in getColumns()
286 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryExecutable()
295 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryExecutable()
304 try (Cursor c = mResolver.query( in checkQueryExecutable()
316 try (Cursor c = mResolver.query( in checkQueryExecutable()
334 try (Cursor c = mResolver.query(uri, projection, selection, in checkQueryNotExecutable()
530 try (Cursor c = mResolver.query( in checkColumnAccessible()
554 try (Cursor c = mResolver.query(uri, projection, selection, in checkColumnNotAccessibleInner()
[all …]
DContactsContract_AggregationSuggestionsTest.java39 private ContentResolver mResolver; field in ContactsContract_AggregationSuggestionsTest
45 mResolver = getContext().getContentResolver(); in setUp()
47 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
67 Cursor cursor = mResolver.query(uri, TEST_PROJECTION, null, null, null); in testAggregationSuggestionsByNameReversed()
89 Cursor cursor = mResolver.query(uri, TEST_PROJECTION, null, null, null); in testAggregationSuggestionsByName()
110 Cursor cursor = mResolver.query( in testAggregationSuggestionsByName_noMatch()
127 Cursor cursor = mResolver.query(uri, TEST_PROJECTION, null, null, null); in testAggregationSuggestionsByName_matchSecondNameParameter()
148 Cursor cursor = mResolver.query(uri, TEST_PROJECTION, null, null, null); in testAggregationSuggestionsByName_matchFirstNameParameter()
DContactsContract_ProviderStatus.java38 private ContentResolver mResolver; field in ContactsContract_ProviderStatus
44 mResolver = getContext().getContentResolver(); in setUp()
46 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
68 Cursor cursor = mResolver.query(ProviderStatus.CONTENT_URI, null, null, null, null); in testProviderStatus_addedContacts()
DContactsContract_StatusUpdatesTest.java39 private ContentResolver mResolver; field in ContactsContract_StatusUpdatesTest
45 mResolver = mContext.getContentResolver(); in setUp()
61 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in setUp()
113 ContentProviderResult[] results = mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in insertStatusUpdate()
124 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in assertRowCount()
134 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in assertPresence()
144 mResolver.applyBatch(ContactsContract.AUTHORITY, ops); in assertStatus()
148 Cursor cursor = mResolver.query(uri, null, null, null, null); in assertHasTimestamp()
DContactsContract_DataTest.java50 private ContentResolver mResolver; field in ContactsContract_DataTest
196 mResolver = getInstrumentation().getTargetContext().getContentResolver(); in setUp()
198 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
221 Uri lookupUri = Data.getContactLookupUri(mResolver, data.getUri()); in testGetLookupUriBySourceId()
239 DatabaseAsserts.checkProjection(mResolver, Data.CONTENT_URI, in testDataProjection()
255 DatabaseAsserts.checkProjection(mResolver, RawContactsEntity.CONTENT_URI, in testRawContactsEntityProjection()
318 DatabaseAsserts.checkProjection(mResolver, Contacts.CONTENT_URI.buildUpon().appendPath( in testEntityProjection()
420 Uri lookupUri = Data.getContactLookupUri(mResolver, data.getUri()); in testGetLookupUriByDisplayName()
459 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, contentUri, null, in testContactablesUri()
571 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataInsert_updatesContactLastUpdatedTimestamp()
[all …]
DContactsContract_FrequentsStrequentsTest.java46 private ContentResolver mResolver; field in ContactsContract_FrequentsStrequentsTest
148 mResolver = getInstrumentation().getTargetContext().getContentResolver(); in setUp()
150 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
253 DatabaseAsserts.checkProjection(mResolver, Contacts.CONTENT_STREQUENT_URI, in testStrequents_projection()
259 DatabaseAsserts.checkProjection(mResolver, in testStrequents_projection()
316 DatabaseAsserts.checkProjection(mResolver, uri, in testStrequents_phoneOnly_projection()
350 DatabaseAsserts.checkProjection(mResolver, Contacts.CONTENT_FREQUENT_URI, in testFrequent_projection()
381 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, null, sb.toString(), in assertCursorStoredValuesWithContactsFilter()
394 mResolver.update(ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId), values, in starContact()
411 mResolver.update(uri, new ContentValues(), null, null); in markDataAsUsed()
/cts/tests/tests/content/src/android/content/cts/
DContentResolverWrapTest.java87 private ContentResolver mResolver; field in ContentResolverWrapTest
99 mResolver = ContentResolver.wrap(mProvider); in setUp()
105 assertEquals(RESULTS, mResolver.applyBatch(AUTHORITY, OPERATIONS)); in testApplyBatch()
111 assertEquals(42, mResolver.bulkInsert(URI, VALUES_ARRAY)); in testBulkInsert()
117 assertEquals(EXTRAS, mResolver.call(AUTHORITY, METHOD, ARG, EXTRAS)); in testCall()
118 assertEquals(EXTRAS, mResolver.call(URI, METHOD, ARG, EXTRAS)); in testCall()
124 assertEquals(URI, mResolver.canonicalize(URI)); in testCanonicalize()
130 assertEquals(URI, mResolver.uncanonicalize(URI)); in testUncanonicalize()
136 assertEquals(TYPE, mResolver.getType(URI)); in testType()
142 assertEquals(TYPE_ARRAY, mResolver.getStreamTypes(URI, TYPE)); in testStreamTypes()
[all …]
DContentQueryMapTest.java54 private ContentResolver mResolver; field in ContentQueryMapTest
63 mResolver = mContext.getContentResolver(); in setUp()
68 mResolver.insert(DummyProvider.CONTENT_URI, values0); in setUp()
73 mResolver.insert(DummyProvider.CONTENT_URI, values1); in setUp()
75 mCursor = mResolver.query(DummyProvider.CONTENT_URI, PROJECTIONS, null, null, null); in setUp()
90 mResolver.delete(DummyProvider.CONTENT_URI, null, null); in tearDown()
154 mResolver.update(DummyProvider.CONTENT_URI, values, in testRequery()
188 mResolver.update(DummyProvider.CONTENT_URI, values, in testSetKeepUpdated()
232 mResolver.insert(DummyProvider.CONTENT_URI, values); in testSetKeepUpdated()
260 mResolver.update(DummyProvider.CONTENT_URI, values, in testSetKeepUpdated()
[all …]
DAsyncQueryHandlerTest.java72 private ContentResolver mResolver; field in AsyncQueryHandlerTest
78 mResolver = getInstrumentation().getTargetContext().getContentResolver(); in setUp()
82 mResolver.insert(DummyProvider.CONTENT_URI, values0); in setUp()
86 mResolver.insert(DummyProvider.CONTENT_URI, values1); in setUp()
90 mResolver.insert(DummyProvider.CONTENT_URI, values2); in setUp()
95 mResolver.delete(DummyProvider.CONTENT_URI, null, null); in tearDown()
102 new AsyncQueryHandler(mResolver) {}; in testConstructor() argument
132 cursor = mResolver.query(DummyProvider.CONTENT_URI, PROJECTIONS, null, null, ORDER_BY); in testStartInsert()
207 cursor = mResolver.query(DummyProvider.CONTENT_URI, PROJECTIONS, null, null, ORDER_BY); in testStartUpdate()
247 cursor = mResolver.query(DummyProvider.CONTENT_URI, PROJECTIONS, null, null, ORDER_BY); in testStartDelete()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Video_ThumbnailsTest.java72 private ContentResolver mResolver; field in MediaStore_Video_ThumbnailsTest
92 mResolver = mContext.getContentResolver(); in setUp()
120 assertNull(Thumbnails.getThumbnail(mResolver, videoId, Thumbnails.MINI_KIND, null)); in testGetThumbnail()
126 assertNotNull(Thumbnails.getThumbnail(mResolver, videoId, Thumbnails.MINI_KIND, null)); in testGetThumbnail()
127 assertNotNull(Thumbnails.getThumbnail(mResolver, videoId, Thumbnails.MICRO_KIND, null)); in testGetThumbnail()
129 assertEquals(1, mResolver.delete(videoUri, null, null)); in testGetThumbnail()
146 assertNotNull(Thumbnails.getThumbnail(mResolver, Long.valueOf(uri.getLastPathSegment()), in testThumbnailGenerationAndCleanup()
150 mResolver.delete(uri, null /* where clause */, null /* where args */); in testThumbnailGenerationAndCleanup()
151 assertNull(Thumbnails.getThumbnail(mResolver, Long.valueOf(uri.getLastPathSegment()), in testThumbnailGenerationAndCleanup()
158 assertNotNull(Thumbnails.getThumbnail(mResolver, Long.valueOf(uri.getLastPathSegment()), in testThumbnailGenerationAndCleanup()
[all …]
DMediaStore_FilesTest.java60 private ContentResolver mResolver; field in MediaStore_FilesTest
76 mResolver = mContext.getContentResolver(); in setUp()
94 Uri fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
112 assertEquals(1, mResolver.update(fileUri, values, null, null)); in testGetContentUri()
116 Uri foo = mResolver.insert(allFilesUri, values); in testGetContentUri()
120 assertEquals(1, mResolver.delete(fileUri, null, null)); in testGetContentUri()
124 Cursor cursor = mResolver.query(fileUri, null, null, null, null); in testGetContentUri()
139 fileUri = mResolver.insert(allFilesUri, values); in testGetContentUri()
140 cursor = mResolver.query(fileUri, new String[] { MediaStore.Files.FileColumns.PARENT }, in testGetContentUri()
148 cursor = mResolver.query(ContentUris.withAppendedId(allFilesUri, parentid), in testGetContentUri()
[all …]
DDocumentsContractTest.java103 private ContentResolver mResolver; field in DocumentsContractTest
118 mResolver = ContentResolver.wrap(mProvider); in setUp()
227 assertEquals(URI_RESULT, createDocument(mResolver, URI_RED, MIME_TYPE, DISPLAY_NAME)); in testCreateDocument()
233 assertEquals(URI_RESULT, renameDocument(mResolver, URI_RED, DISPLAY_NAME)); in testRenameDocument()
239 assertEquals(true, deleteDocument(mResolver, URI_RED)); in testDeleteDocument()
246 deleteDocument(mResolver, URI_RED); in testDeleteDocument_Failure()
255 assertEquals(URI_RESULT, copyDocument(mResolver, URI_RED, URI_GREEN)); in testCopyDocument()
261 assertEquals(URI_RESULT, moveDocument(mResolver, URI_RED, URI_GREEN, URI_BLUE)); in testMoveDocument()
267 assertEquals(true, isChildDocument(mResolver, URI_RED, URI_GREEN)); in testIsChildDocument()
273 assertEquals(false, isChildDocument(mResolver, URI_RED, URI_GREEN)); in testIsChildDocument_Failure()
[all …]
DMediaStorePendingTest.java69 private ContentResolver mResolver; field in MediaStorePendingTest
87 mResolver = mContext.getContentResolver(); in setUp()
117 try (Cursor c = mResolver.query(pendingUri, in verifySuccessfulImageInsertion()
136 try (Cursor c = mResolver.query(publishUri, in verifySuccessfulImageInsertion()
151 try (InputStream in = mResolver.openInputStream(publishUri)) { in verifySuccessfulImageInsertion()
180 try (Cursor c = mResolver.query(pendingUri, in testSimple_Abandoned()
213 hash(mResolver.openInputStream(publishUri1))); in testDuplicates()
215 hash(mResolver.openInputStream(publishUri2))); in testDuplicates()
397 final Uri uri = mResolver.insert(mExternalImages, values); in testMutableColumns()
399 OutputStream out = mResolver.openOutputStream(uri)) { in testMutableColumns()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/
DContactsContract_Subquery.java30 private ContentResolver mResolver; field in ContactsContract_Subquery
36 mResolver = getContext().getContentResolver(); in setUp()
38 mResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
56 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null, null, null, null)) { in testProviderStatus_addedContacts()
61 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null, in testProviderStatus_addedContacts()
67 try (Cursor cursor = mResolver.query(Contacts.CONTENT_URI, null, in testProviderStatus_addedContacts()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileCalendarTest.java109 private ContentResolver mResolver; field in CrossProfileCalendarTest
127 mResolver = mContext.getContentResolver(); in setUp()
157 assertThrows(UnsupportedOperationException.class, () -> mResolver.query( in testPrimaryProfile_cannotAccessWorkCalendarsWhenDisabled()
167 assertThrows(UnsupportedOperationException.class, () -> mResolver.query( in testPrimaryProfile_cannotAccessWorkEventsWhenDisabled()
177 assertThrows(UnsupportedOperationException.class, () -> mResolver.query( in testPrimaryProfile_cannotAccessWorkInstancesWhenDisabled()
195 final Cursor cursor = mResolver.query( in testPrimaryProfile_getCorrectWorkCalendarsWhenEnabled()
225 final Cursor cursor = mResolver.query( in testPrimaryProfile_getCorrectWorkEventsWhenEnabled()
249 final Cursor cursor = mResolver.query( in testPrimaryProfile_getCorrectWorkInstancesWhenEnabled()
274 final Cursor cursor = mResolver.query( in testPrimaryProfile_getCorrectWorkInstancesByDayWhenEnabled()
294 final Cursor cursor = mResolver.query( in testPrimaryProfile_canAccessWorkInstancesSearch1()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DOneTimeSettingsListener.java44 private final ContentResolver mResolver; field in OneTimeSettingsListener
52 mResolver = context.getContentResolver(); in OneTimeSettingsListener()
64 mResolver.registerContentObserver(uri, false, this); in OneTimeSettingsListener()
69 mResolver.unregisterContentObserver(this); in onChange()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DOneTimeSettingsListener.java44 private final ContentResolver mResolver; field in OneTimeSettingsListener
52 mResolver = context.getContentResolver(); in OneTimeSettingsListener()
64 mResolver.registerContentObserver(uri, false, this); in OneTimeSettingsListener()
69 mResolver.unregisterContentObserver(this); in onChange()

12