Home | History | Annotate | Download | only in settings

Lines Matching defs:Settings

17 package com.android.settings;
55 import android.provider.Settings;
308 mLastEnabledState = Settings.Secure.getInt(cr,
309 Settings.Secure.DEVELOPMENT_SETTINGS_ENABLED, 0) != 0;
315 // settings that are enabled. This is an invalid state. Switch
316 // to debug settings being enabled, so the user knows there is
318 Settings.Secure.putInt(getActivity().getContentResolver(),
319 Settings.Secure.DEVELOPMENT_SETTINGS_ENABLED, 1);
334 updateCheckBox(mEnableAdb, Settings.Secure.getInt(cr,
335 Settings.Secure.ADB_ENABLED, 0) != 0);
336 updateCheckBox(mKeepScreenOn, Settings.System.getInt(cr,
337 Settings.System.STAY_ON_WHILE_PLUGGED_IN, 0) != 0);
339 updateCheckBox(mAllowMockLocation, Settings.Secure.getInt(cr,
340 Settings.Secure.ALLOW_MOCK_LOCATION, 0) != 0);
429 mDebugApp = Settings.System.getString(
430 getActivity().getContentResolver(), Settings.System.DEBUG_APP);
431 updateCheckBox(mWaitForDebugger, Settings.System.getInt(
432 getActivity().getContentResolver(), Settings.System.WAIT_FOR_DEBUGGER, 0) != 0);
478 Settings.System.putInt(getActivity().getContentResolver(),
479 Settings.System.POINTER_LOCATION, mPointerLocation.isChecked() ? 1 : 0);
483 updateCheckBox(mPointerLocation, Settings.System.getInt(getActivity().getContentResolver(),
484 Settings.System.POINTER_LOCATION, 0) != 0);
488 Settings.System.putInt(getActivity().getContentResolver(),
489 Settings.System.SHOW_TOUCHES, mShowTouches.isChecked() ? 1 : 0);
493 updateCheckBox(mShowTouches, Settings.System.getInt(getActivity().getContentResolver(),
494 Settings.System.SHOW_TOUCHES, 0) != 0);
600 updateCheckBox(mShowCpuUsage, Settings.System.getInt(getActivity().getContentResolver(),
601 Settings.System.SHOW_PROCESSES, 0) != 0);
606 Settings.System.putInt(getActivity().getContentResolver(),
607 Settings.System.SHOW_PROCESSES, value ? 1 : 0);
626 updateCheckBox(mImmediatelyDestroyActivities, Settings.System.getInt(
627 getActivity().getContentResolver(), Settings.System.ALWAYS_FINISH_ACTIVITIES, 0) != 0);
697 Settings.Secure.putInt(getActivity().getContentResolver(),
698 Settings.Secure.ANR_SHOW_BACKGROUND,
703 updateCheckBox(mShowAllANRs, Settings.Secure.getInt(
704 getActivity().getContentResolver(), Settings.Secure.ANR_SHOW_BACKGROUND, 0) != 0);
767 Settings.Secure.putInt(getActivity().getContentResolver(),
768 Settings.Secure.DEVELOPMENT_SETTINGS_ENABLED, 0);
809 Settings.Secure.putInt(getActivity().getContentResolver(),
810 Settings.Secure.ADB_ENABLED, 0);
813 Settings.System.putInt(getActivity().getContentResolver(),
814 Settings.System.STAY_ON_WHILE_PLUGGED_IN,
824 Settings.Secure.putInt(getActivity().getContentResolver(),
825 Settings.Secure.ALLOW_MOCK_LOCATION,
901 Settings.Secure.putInt(getActivity().getContentResolver(),
902 Settings.Secure.ADB_ENABLED, 1);
910 Settings.Secure.putInt(getActivity().getContentResolver(),
911 Settings.Secure.DEVELOPMENT_SETTINGS_ENABLED, 1);