Home
last modified time | relevance | path

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

/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/
DFakeSettingsProviderTest.java38 private MockContentResolver mCr; field in FakeSettingsProviderTest
42 mCr = new MockContentResolver(); in setUp()
43 mCr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
51 Settings.System.getInt(mCr, settingName); in testBasicOperation()
56 Settings.System.putInt(mCr, settingName, 123); in testBasicOperation()
57 assertEquals(123, Settings.System.getInt(mCr, settingName)); in testBasicOperation()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNitzStateMachine.java132 private final ContentResolver mCr; field in NitzStateMachine.DeviceStateImpl
136 mCr = context.getContentResolver(); in DeviceStateImpl()
145 return Settings.Global.getInt(mCr, Settings.Global.NITZ_UPDATE_SPACING, in getNitzUpdateSpacingMillis()
151 return Settings.Global.getInt(mCr, Settings.Global.NITZ_UPDATE_DIFF, mNitzUpdateDiff); in getNitzUpdateDiffMillis()
DServiceStateTracker.java511 private final ContentResolver mCr; field in ServiceStateTracker
715 mCr = phone.getContext().getContentResolver(); in ServiceStateTracker()
717 int airplaneMode = Settings.Global.getInt(mCr, Settings.Global.AIRPLANE_MODE_ON, 0); in ServiceStateTracker()
718 int enableCellularOnBoot = Settings.Global.getInt(mCr, in ServiceStateTracker()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DEnvironmentImpl.java57 @NonNull private final ContentResolver mCr; field in EnvironmentImpl
70 mCr = context.getContentResolver(); in EnvironmentImpl()
204 return Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME_ZONE, 1 /* default */) > 0; in isAutoDetectionEnabled()
213 Settings.Global.putInt(mCr, Settings.Global.AUTO_TIME_ZONE, enabled ? 1 : 0); in setAutoDetectionEnabledIfRequired()
232 return Settings.Secure.getIntForUser(mCr, in isGeoDetectionEnabled()
240 Settings.Secure.putIntForUser(mCr, Settings.Secure.LOCATION_TIME_ZONE_DETECTION_ENABLED, in setGeoDetectionEnabledIfRequired()
/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()