Searched refs:mCr (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/ |
D | FakeSettingsProviderTest.java | 38 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/ |
D | OldTimeServiceHelper.java | 55 private final ContentResolver mCr; field in OldTimeServiceHelper 62 mCr = context.getContentResolver(); in OldTimeServiceHelper() 77 mCr.registerContentObserver( in setListener() 84 mCr.registerContentObserver( in setListener() 120 return Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME) > 0; in isTimeDetectionEnabled() 131 return Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME_ZONE) > 0; in isTimeZoneDetectionEnabled()
|
D | NitzStateMachine.java | 96 private final ContentResolver mCr; field in NitzStateMachine.DeviceState 104 mCr = context.getContentResolver(); in DeviceState() 116 return Settings.Global.getInt(mCr, Settings.Global.NITZ_UPDATE_SPACING, in getNitzUpdateSpacingMillis() 125 return Settings.Global.getInt(mCr, Settings.Global.NITZ_UPDATE_DIFF, mNitzUpdateDiff); in getNitzUpdateDiffMillis()
|
D | NewTimeServiceHelper.java | 53 private final ContentResolver mCr; field in NewTimeServiceHelper 61 mCr = context.getContentResolver(); in NewTimeServiceHelper() 77 mCr.registerContentObserver( in setListener() 113 return Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME_ZONE) > 0; in isTimeZoneDetectionEnabled()
|
D | ServiceStateTracker.java | 431 private final ContentResolver mCr; field in ServiceStateTracker 616 mCr = phone.getContext().getContentResolver(); in ServiceStateTracker() 618 int airplaneMode = Settings.Global.getInt(mCr, Settings.Global.AIRPLANE_MODE_ON, 0); in ServiceStateTracker() 619 int enableCellularOnBoot = Settings.Global.getInt(mCr, in ServiceStateTracker()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ComprehensionTlv.java | 36 private boolean mCr; field in ComprehensionTlv 55 mCr = cr; in ComprehensionTlv() 67 return mCr; in isComprehensionRequired()
|