Home
last modified time | relevance | path

Searched refs:mContentResolver (Results 1 – 25 of 81) sorted by relevance

1234

/frameworks/base/tests/testables/tests/src/android/testing/
DTestableSettingsProviderTest.java39 private ContentResolver mContentResolver; field in TestableSettingsProviderTest
46 mContentResolver = mContext.getContentResolver(); in setup()
47 Settings.Secure.putString(mContentResolver, NONEXISTENT_SETTING, null); in setup()
48 Settings.Global.putString(mContentResolver, NONEXISTENT_SETTING, "initial value"); in setup()
49 Settings.Global.putString(mContentResolver, Global.DEVICE_PROVISIONED, null); in setup()
54 String value = Secure.getString(mContentResolver, NONEXISTENT_SETTING); in testInitialValueSecure()
60 String value = Global.getString(mContentResolver, NONEXISTENT_SETTING); in testInitialValueGlobal()
66 Secure.putString(mContentResolver, NONEXISTENT_SETTING, "something"); in testSeparateTables()
67 Global.putString(mContentResolver, NONEXISTENT_SETTING, "else"); in testSeparateTables()
68 assertEquals("something", Secure.getString(mContentResolver, NONEXISTENT_SETTING)); in testSeparateTables()
[all …]
DTestableContentResolverTest.java22 private TestableContentResolver mContentResolver; field in TestableContentResolverTest
26 mContentResolver = new TestableContentResolver(mContext); in setup()
27 mContentResolver.setFallbackToExisting(false); in setup()
35 mContentResolver.addProvider("test", provider); in testDefaultContentProvider()
37 Assert.assertEquals(iprovider, mContentResolver.acquireProvider(mContext, "test")); in testDefaultContentProvider()
38 Assert.assertEquals(iprovider, mContentResolver.acquireUnstableProvider(mContext, "test")); in testDefaultContentProvider()
46 mContentResolver.addProvider("test", provider, TestableContentResolver.STABLE); in testStableContentProvider()
48 Assert.assertEquals(iprovider, mContentResolver.acquireProvider(mContext, "test")); in testStableContentProvider()
49 Assert.assertNull(mContentResolver.acquireUnstableProvider(mContext, "test")); in testStableContentProvider()
57 mContentResolver.addProvider("test", provider, TestableContentResolver.UNSTABLE); in testUnstableContentProvider()
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DDeviceConfigServiceTest.java51 private ContentResolver mContentResolver; field in DeviceConfigServiceTest
55 mContentResolver = InstrumentationRegistry.getContext().getContentResolver(); in setUp()
60 deleteFromContentProvider(mContentResolver, sNamespace, sKey); in cleanUp()
68 String result = getFromContentProvider(mContentResolver, sNamespace, sKey); in testPut()
75 result = getFromContentProvider(mContentResolver, sNamespace, sKey); in testPut()
77 result = getFromContentProvider(mContentResolver, newNamespace, sKey); in testPut()
80 deleteFromContentProvider(mContentResolver, newNamespace, sKey); in testPut()
88 String result = getFromContentProvider(mContentResolver, sNamespace, sKey); in testPut_invalidArgs()
95 result = getFromContentProvider(mContentResolver, sNamespace, sKey); in testPut_invalidArgs()
104 putWithContentProvider(mContentResolver, sNamespace, sKey, sValue); in testDelete()
[all …]
DSettingsHelperRestoreTest.java45 private ContentResolver mContentResolver; field in SettingsHelperRestoreTest
51 mContentResolver = mContext.getContentResolver(); in setUp()
66 Settings.Secure.putFloat(mContentResolver, settingName, configuredSettingValue); in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
70 mContentResolver, in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
79 Settings.Secure.getFloat(mContentResolver, settingName), in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
93 mContentResolver, in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue()
102 Settings.Secure.getFloat(mContentResolver, settingName), in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue()
118 mContentResolver, in setDefaultAccessibilityDisplayMagnificationScale()
132 Settings.Secure.putInt(mContentResolver, settingName, configuredSettingValue); in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_alreadyConfigured_doesNotRestoreValue()
136 mContentResolver, in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_alreadyConfigured_doesNotRestoreValue()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DStorageStatsServiceTest.java31 private MockContentResolver mContentResolver; field in StorageStatsServiceTest
36 mContentResolver = new MockContentResolver(); in setUp()
37 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
42 Settings.Global.putInt(mContentResolver, Settings.Global.ENABLE_CACHE_QUOTA_CALCULATION, 0); in testDontRunWhenDisabledFromSettingsGlobal()
44 assertThat(StorageStatsService.isCacheQuotaCalculationsEnabled(mContentResolver)).isFalse(); in testDontRunWhenDisabledFromSettingsGlobal()
51 mContentResolver, Settings.Global.ENABLE_CACHE_QUOTA_CALCULATION, null); in testCalculationTaskIsEnabledByDefault()
53 assertThat(StorageStatsService.isCacheQuotaCalculationsEnabled(mContentResolver)).isTrue(); in testCalculationTaskIsEnabledByDefault()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedControllerImpl.java45 private final ContentResolver mContentResolver; field in DeviceProvisionedControllerImpl
58 mContentResolver = context.getContentResolver(); in DeviceProvisionedControllerImpl()
76 return Global.getInt(mContentResolver, Global.DEVICE_PROVISIONED, 0) != 0; in isDeviceProvisioned()
81 return Secure.getIntForUser(mContentResolver, Secure.USER_SETUP_COMPLETE, 0, currentUser) in isUserSetup()
109 mContentResolver.registerContentObserver(mDeviceProvisionedUri, true, in startListening()
111 mContentResolver.registerContentObserver(mUserSetupUri, true, in startListening()
118 mContentResolver.unregisterContentObserver(mSettingsObserver); in stopListening()
123 mContentResolver.unregisterContentObserver(mSettingsObserver); in onUserSwitched()
124 mContentResolver.registerContentObserver(mDeviceProvisionedUri, true, in onUserSwitched()
126 mContentResolver.registerContentObserver(mUserSetupUri, true, in onUserSwitched()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerServiceImpl.java78 private ContentResolver mContentResolver; field in TunerServiceImpl
88 mContentResolver = mContext.getContentResolver(); in TunerServiceImpl()
125 Settings.Secure.putStringForUser(mContentResolver, in upgradeTuner()
145 return Settings.Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue()
150 Settings.Secure.putStringForUser(mContentResolver, setting, value, mCurrentUser); in setValue()
155 return Settings.Secure.getIntForUser(mContentResolver, setting, def, mCurrentUser); in getValue()
160 String ret = Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue()
167 Settings.Secure.putIntForUser(mContentResolver, setting, value, mCurrentUser); in setValue()
189 mContentResolver.registerContentObserver(uri, false, mObserver, mCurrentUser); in addTunable()
192 String value = Settings.Secure.getStringForUser(mContentResolver, key, mCurrentUser); in addTunable()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java67 private MockContentResolver mContentResolver; field in CoreSettingsObserverTest
89 mContentResolver = new MockContentResolver(mContext); in setUp()
90 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
91 when(mContext.getContentResolver()).thenReturn(mContentResolver); in setUp()
99 Settings.Secure.putInt(mContentResolver, TEST_SETTING_SECURE_INT, TEST_INT); in testPopulateSettings()
100 Settings.Global.putFloat(mContentResolver, TEST_SETTING_GLOBAL_FLOAT, TEST_FLOAT); in testPopulateSettings()
101 Settings.System.putString(mContentResolver, TEST_SETTING_SYSTEM_STRING, TEST_STRING); in testPopulateSettings()
127 Settings.Secure.putInt(mContentResolver, TEST_SETTING_SECURE_INT, TEST_INT); in testPopulateSettings_settingDeleted()
128 Settings.Global.putFloat(mContentResolver, TEST_SETTING_GLOBAL_FLOAT, TEST_FLOAT); in testPopulateSettings_settingDeleted()
129 Settings.System.putString(mContentResolver, TEST_SETTING_SYSTEM_STRING, TEST_STRING); in testPopulateSettings_settingDeleted()
[all …]
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/
DSUWProgressController.java47 private final ContentResolver mContentResolver; field in SUWProgressController
50 mContentResolver = context.getContentResolver(); in SUWProgressController()
57 return Settings.Secure.getIntForUser(mContentResolver, in isUserSetupInProgress()
90 mContentResolver.registerContentObserver( in startListening()
96 mContentResolver.unregisterContentObserver(mCarSettingsObserver); in stopListening()
107 mContentResolver.unregisterContentObserver(mCarSettingsObserver); in onUserSwitched()
108 mContentResolver.registerContentObserver( in onUserSwitched()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/
DSettingsWrapper.java38 private final ContentResolver mContentResolver; field in SettingsWrapper
47 mContentResolver = contentResolver; in SettingsWrapper()
58 Settings.Secure.getStringForUser(mContentResolver, CUSTOM_CLOCK_FACE, userId), in getLockScreenCustomClockFace()
68 return Settings.Secure.getStringForUser(mContentResolver, DOCKED_CLOCK_FACE, userId); in getDockedClockFace()
110 private final ContentResolver mContentResolver; field in SettingsWrapper.Migrator
113 mContentResolver = contentResolver; in Migrator()
129 Settings.Secure.putStringForUser(mContentResolver, CUSTOM_CLOCK_FACE, in migrate()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPreRebootLoggerTest.java53 private MockContentResolver mContentResolver; field in PreRebootLoggerTest
69 mContentResolver = new MockContentResolver(getInstrumentation().getTargetContext()); in setup()
70 when(mContext.getContentResolver()).thenReturn(mContentResolver); in setup()
71 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setup()
80 Settings.Global.putInt(mContentResolver, Settings.Global.ADB_ENABLED, 1); in log_adbEnabled_dumpsInformationProperly()
89 Settings.Global.putInt(mContentResolver, Settings.Global.ADB_ENABLED, 1); in log_adbDisabled_wipesDumpedInformation()
91 Settings.Global.putInt(mContentResolver, Settings.Global.ADB_ENABLED, 0); in log_adbDisabled_wipesDumpedInformation()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java120 private MockContentResolver mContentResolver; field in AccessibilityShortcutControllerTest
137 mContentResolver = new MockContentResolver(mContext); in setUp()
138 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
139 when(mContext.getContentResolver()).thenReturn(mContentResolver); in setUp()
242 mContentResolver, ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN, null); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
243 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
245 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 1); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset()
254 Settings.Secure.putString(mContentResolver, ACCESSIBILITY_SHORTCUT_TARGET_SERVICE, ""); in testShortcutAvailable_whenServiceIdBecomesNull_shouldReturnFalse()
323 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testOnAccessibilityShortcut_firstTime_showsWarningDialog()
327 mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0)); in testOnAccessibilityShortcut_firstTime_showsWarningDialog()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DZenDurationDialogTest.java45 private ContentResolver mContentResolver; field in ZenDurationDialogTest
51 mContentResolver = RuntimeEnvironment.application.getContentResolver(); in setup()
62 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testAlwaysPrompt()
76 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testForever()
90 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, 45); in testSpecificDuration()
103 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseAlwaysPromptSetting()
111 assertEquals(Settings.Secure.ZEN_DURATION_PROMPT, Settings.Secure.getInt(mContentResolver, in testChooseAlwaysPromptSetting()
117 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseForeverSetting()
125 assertEquals(Settings.Secure.ZEN_DURATION_FOREVER, Settings.Secure.getInt(mContentResolver, in testChooseForeverSetting()
131 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseTimeSetting()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java74 private ContentResolver mContentResolver; field in KeyguardSliceProviderTest
157 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in updatesClock()
178 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in updatingNextAlarmInvalidatesSlice()
184 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onZenChanged_updatesSlice()
203 reset(mContentResolver); in onMetadataChanged_updatesSlice()
205 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onMetadataChanged_updatesSlice()
208 reset(mContentResolver); in onMetadataChanged_updatesSlice()
210 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onMetadataChanged_updatesSlice()
217 reset(mContentResolver); in onDozingChanged_updatesSliceIfMedia()
220 verify(mContentResolver).notifyChange(eq(mProvider.getUri()), eq(null)); in onDozingChanged_updatesSliceIfMedia()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderClient.java78 private final ContentResolver mContentResolver; field in ContentProviderClient
103 mContentResolver = contentResolver; in ContentProviderClient()
203 mContentResolver.unstableProviderDied(mContentProvider); in query()
221 mContentResolver.unstableProviderDied(mContentProvider); in getType()
241 mContentResolver.unstableProviderDied(mContentProvider); in getStreamTypes()
259 mContentResolver.unstableProviderDied(mContentProvider); in canonicalize()
277 mContentResolver.unstableProviderDied(mContentProvider); in uncanonicalize()
302 mContentResolver.unstableProviderDied(mContentProvider); in refresh()
321 mContentResolver.unstableProviderDied(mContentProvider); in insert()
341 mContentResolver.unstableProviderDied(mContentProvider); in bulkInsert()
[all …]
DDefaultDataHandler.java85 private ContentResolver mContentResolver; field in DefaultDataHandler
89 mContentResolver = contentResolver; in insert()
95 mContentResolver = contentResolver; in insert()
128 Uri u = mContentResolver.insert(mUris.lastElement(), mValues); in insertRow()
187 mContentResolver.delete(u, atts.getValue(1), selectionArgs); in startElement()
189 mContentResolver.delete(u, atts.getValue(1), null); in startElement()
191 mContentResolver.delete(u, null, null); in startElement()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java77 ContentResolver mContentResolver = context.getContentResolver(); in getCarrierInfoForImsiEncryption() local
81 findCursor = mContentResolver.query(Telephony.CarrierColumns.CONTENT_URI, columns, in getCarrierInfoForImsiEncryption()
116 ContentResolver mContentResolver = context.getContentResolver(); in updateOrInsertCarrierKey() local
133 mContentResolver.insert(Telephony.CarrierColumns.CONTENT_URI, contentValues); in updateOrInsertCarrierKey()
143 int nRows = mContentResolver.update(Telephony.CarrierColumns.CONTENT_URI, in updateOrInsertCarrierKey()
223 ContentResolver mContentResolver = context.getContentResolver(); in deleteCarrierInfoForImsiEncryption() local
227 mContentResolver.delete(Telephony.CarrierColumns.CONTENT_URI, whereClause, whereArgs); in deleteCarrierInfoForImsiEncryption()
239 ContentResolver mContentResolver = context.getContentResolver(); in deleteAllCarrierKeysForImsiEncryption() local
241 mContentResolver.delete(Telephony.CarrierColumns.CONTENT_URI, null, null); in deleteAllCarrierKeysForImsiEncryption()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupAgentTimeoutParametersTest.java40 private ContentResolver mContentResolver; field in BackupAgentTimeoutParametersTest
48 mContentResolver = context.getContentResolver(); in setUp()
49 mParameters = new BackupAgentTimeoutParameters(new Handler(), mContentResolver); in setUp()
152 Settings.Global.putString(mContentResolver, BackupAgentTimeoutParameters.SETTING, value); in putStringAndNotify()
156 mContentResolver.notifyChange( in putStringAndNotify()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java97 MockContentResolver mContentResolver; field in DnsManagerTest
136 mContentResolver = new MockContentResolver(); in setUp()
137 mContentResolver.addProvider(Settings.AUTHORITY, in setUp()
139 when(mCtx.getContentResolver()).thenReturn(mContentResolver); in setUp()
143 Settings.Global.putString(mContentResolver, PRIVATE_DNS_DEFAULT_MODE, ""); in setUp()
144 Settings.Global.putString(mContentResolver, PRIVATE_DNS_MODE, ""); in setUp()
145 Settings.Global.putString(mContentResolver, PRIVATE_DNS_SPECIFIER, ""); in setUp()
189 Settings.Global.putString(mContentResolver, in testTrackedValidationUpdates()
191 Settings.Global.putString(mContentResolver, PRIVATE_DNS_SPECIFIER, "strictmode.com"); in testTrackedValidationUpdates()
293 Settings.Global.putString(mContentResolver, PRIVATE_DNS_MODE, PRIVATE_DNS_MODE_OFF); in testIgnoreUntrackedValidationUpdates()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierAppUtilsTest.java66 private MockContentResolver mContentResolver; field in CarrierAppUtilsTest
75 mContentResolver = new MockContentResolver(); in setUp()
77 mContentResolver.addProvider(Settings.AUTHORITY, mContentProvider); in setUp()
79 mContentResolver, Settings.Secure.CARRIER_APPS_HANDLED, 0, USER_ID); in setUp()
86 mTelephonyManager, mContentResolver, USER_ID, new ArraySet<>(), in testDisableCarrierAppsUntilPrivileged_EmptyList()
102 mTelephonyManager, mContentResolver, USER_ID, in testDisableCarrierAppsUntilPrivileged_MissingApp()
123 mTelephonyManager, mContentResolver, USER_ID, CARRIER_APPS, ASSOCIATED_APPS); in testDisableCarrierAppsUntilPrivileged_NonSystemApp()
156 mTelephonyManager, mContentResolver, USER_ID, CARRIER_APPS, ASSOCIATED_APPS); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser()
183 mTelephonyManager, mContentResolver, USER_ID, CARRIER_APPS, ASSOCIATED_APPS); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled()
209 mTelephonyManager, mContentResolver, USER_ID, CARRIER_APPS, ASSOCIATED_APPS); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled()
[all …]
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntryCommitter.java43 private final ContentResolver mContentResolver; field in VCardEntryCommitter
50 mContentResolver = resolver; in VCardEntryCommitter()
71 mOperationList = vcardEntry.constructInsertOperations(mContentResolver, mOperationList); in onEntryCreated()
83 final ContentProviderResult[] results = mContentResolver.applyBatch( in pushIntoContentResolver()
/frameworks/base/core/java/android/view/accessibility/
DCaptioningManager.java52 private final ContentResolver mContentResolver; field in CaptioningManager
61 mContentResolver = context.getContentResolver(); in CaptioningManager()
72 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_ENABLED, DEFAULT_ENABLED) == 1; in isEnabled()
82 return Secure.getString(mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_LOCALE); in getRawLocale()
113 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE, DEFAULT_FONT_SCALE); in getFontScale()
122 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_PRESET, DEFAULT_PRESET); in getRawUserStyle()
133 return CaptionStyle.getCustomStyle(mContentResolver); in getUserStyle()
165 mContentResolver.registerContentObserver(Secure.getUriFor(key), false, mContentObserver); in registerObserver()
179 mContentResolver.unregisterContentObserver(mContentObserver); in removeCaptioningChangeListener()
/frameworks/base/core/java/android/database/
DAbstractCursor.java74 protected ContentResolver mContentResolver; field in AbstractCursor
153 mContentResolver.unregisterContentObserver(mSelfObserver); in onDeactivateOrClose()
165 mContentResolver.registerContentObserver(notifyUri, true, mSelfObserver); in requery()
399 mContentResolver.notifyChange(notifyUri, mSelfObserver); in onChange()
437 mContentResolver = cr; in setNotificationUris()
439 mContentResolver.unregisterContentObserver(mSelfObserver); in setNotificationUris()
447 mContentResolver.registerContentObserver( in setNotificationUris()
522 mContentResolver.unregisterContentObserver(mSelfObserver); in finalize()
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java74 private ContentResolver mContentResolver; field in GpuService
106 mContentResolver = mContext.getContentResolver(); in onBootPhase()
124 mContentResolver.registerContentObserver(mGameDriverBlackUri, false, this, in SettingsObserver()
230 Settings.Global.putString(mContentResolver, in fetchGameDriverPackageProperties()
252 Settings.Global.getString(mContentResolver, in processBlacklists()
277 Settings.Global.putString(mContentResolver, in setBlacklist()
286 Settings.Global.putString(mContentResolver, in setBlacklist()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java43 private final ContentResolver mContentResolver; field in ServiceListing
58 mContentResolver = context.getContentResolver(); in ServiceListing()
87 mContentResolver.registerContentObserver(Settings.Secure.getUriFor(mSetting), in setListening()
91 mContentResolver.unregisterContentObserver(mSettingsObserver); in setListening()
105 Settings.Secure.putString(mContentResolver, mSetting, in saveEnabledServices()
111 final String flat = Settings.Secure.getString(mContentResolver, mSetting); in loadEnabledServices()

1234