Home
last modified time | relevance | path

Searched refs:mCr (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/
DFakeSettingsProviderTest.java45 private MockContentResolver mCr; field in FakeSettingsProviderTest
49 mCr = new MockContentResolver(); in setUp()
50 mCr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
59 Settings.System.getInt(mCr, settingName); in testBasicOperation()
64 Settings.System.putInt(mCr, settingName, 123); in testBasicOperation()
65 assertEquals(123, Settings.System.getInt(mCr, settingName)); in testBasicOperation()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNitzStateMachine.java152 private final ContentResolver mCr; field in NitzStateMachine.DeviceStateImpl
156 mCr = context.getContentResolver(); in DeviceStateImpl()
169 return Settings.Global.getInt(mCr, Settings.Global.NITZ_UPDATE_SPACING, in getNitzUpdateSpacingMillis()
175 return Settings.Global.getInt(mCr, Settings.Global.NITZ_UPDATE_DIFF, in getNitzUpdateDiffMillis()
181 return Settings.Global.getInt(mCr, Settings.Global.NITZ_NETWORK_DISCONNECT_RETENTION, in getNitzNetworkDisconnectRetentionMillis()
DServiceStateTracker.java481 private final ContentResolver mCr; field in ServiceStateTracker
689 mCr = phone.getContext().getContentResolver(); in ServiceStateTracker()
691 int airplaneMode = Settings.Global.getInt(mCr, Settings.Global.AIRPLANE_MODE_ON, 0); in ServiceStateTracker()
692 int enableCellularOnBoot = Settings.Global.getInt(mCr, in ServiceStateTracker()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DServiceConfigAccessorImpl.java105 @NonNull private final ContentResolver mCr; field in ServiceConfigAccessorImpl
161 mCr = context.getContentResolver(); in ServiceConfigAccessorImpl()
313 Settings.Global.putInt(mCr, Settings.Global.AUTO_TIME_ZONE_EXPLICIT, 1); in storeConfiguration()
360 Settings.Global.putInt(mCr, Settings.Global.AUTO_TIME_ZONE, enabled ? 1 : 0); in setAutoDetectionEnabledIfRequired()
375 Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME_ZONE, 1 /* default */) > 0; in getAutoDetectionEnabledSetting()
382 if (Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME_ZONE_EXPLICIT, 0) == 0) { in getAutoDetectionEnabledSetting()
393 Settings.Global.putInt(mCr, Settings.Global.AUTO_TIME_ZONE, flagValue ? 1 : 0); in getAutoDetectionEnabledSetting()
411 return Settings.Secure.getIntForUser(mCr, in getGeoDetectionEnabledSetting()
419 Settings.Secure.putIntForUser(mCr, Settings.Secure.LOCATION_TIME_ZONE_DETECTION_ENABLED, in setGeoDetectionEnabledSettingIfRequired()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DComprehensionTlv.java37 private boolean mCr; field in ComprehensionTlv
56 mCr = cr; in ComprehensionTlv()
68 return mCr; in isComprehensionRequired()
/frameworks/base/services/core/java/com/android/server/timedetector/
DServiceConfigAccessorImpl.java101 @NonNull private final ContentResolver mCr; field in ServiceConfigAccessorImpl
119 mCr = context.getContentResolver(); in ServiceConfigAccessorImpl()
291 Settings.Global.putInt(mCr, Settings.Global.AUTO_TIME, enabled ? 1 : 0); in setAutoDetectionEnabledIfRequired()
301 return Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME, 1 /* default */) > 0; in getAutoDetectionEnabledSetting()