Lines Matching refs:cr

581         final ContentResolver cr = getActivity().getContentResolver();  in onResume()  local
582 mLastEnabledState = Settings.Global.getInt(cr, in onResume()
644 final ContentResolver cr = context.getContentResolver(); in updateAllOptions() local
646 updateSwitchPreference(mEnableAdb, Settings.Global.getInt(cr, in updateAllOptions()
653 updateSwitchPreference(mBugreportInPower, Settings.Secure.getInt(cr, in updateAllOptions()
655 updateSwitchPreference(mKeepScreenOn, Settings.Global.getInt(cr, in updateAllOptions()
657 updateSwitchPreference(mBtHciSnoopLog, Settings.Secure.getInt(cr, in updateAllOptions()
662 updateSwitchPreference(mDebugViewAttributes, Settings.Global.getInt(cr, in updateAllOptions()
664 updateSwitchPreference(mForceAllowOnExternal, Settings.Global.getInt(cr, in updateAllOptions()
977 final ContentResolver cr = getActivity().getContentResolver(); in enableVerifierSetting() local
978 if (Settings.Global.getInt(cr, Settings.Global.ADB_ENABLED, 0) == 0) { in enableVerifierSetting()
981 if (Settings.Global.getInt(cr, Settings.Global.PACKAGE_VERIFIER_ENABLE, 1) == 0) { in enableVerifierSetting()
1272 final ContentResolver cr = getContentResolver(); in updateSimulateColorSpace() local
1274 cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 0) != 0; in updateSimulateColorSpace()
1277 cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, in updateSimulateColorSpace()
1299 final ContentResolver cr = getContentResolver(); in usingDevelopmentColorSpace() local
1301 cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 0) != 0; in usingDevelopmentColorSpace()
1304 cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, in usingDevelopmentColorSpace()
1316 final ContentResolver cr = getContentResolver(); in writeSimulateColorSpace() local
1319 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 0); in writeSimulateColorSpace()
1321 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 1); in writeSimulateColorSpace()
1322 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, newMode); in writeSimulateColorSpace()