Home | History | Annotate | Download | only in settings

Lines Matching defs:string

103     private static final String TAG = "DevelopmentSettings";
108 public static final String PREF_FILE = "development";
113 public static final String PREF_SHOW = "show";
115 private static final String ENABLE_ADB = "enable_adb";
116 private static final String CLEAR_ADB_KEYS = "clear_adb_keys";
117 private static final String ENABLE_TERMINAL = "enable_terminal";
118 private static final String KEEP_SCREEN_ON = "keep_screen_on";
119 private static final String BT_HCI_SNOOP_LOG = "bt_hci_snoop_log";
120 private static final String WEBVIEW_PROVIDER_KEY = "select_webview_provider";
121 private static final String WEBVIEW_MULTIPROCESS_KEY = "enable_webview_multiprocess";
122 private static final String ENABLE_OEM_UNLOCK = "oem_unlock_enable";
123 private static final String HDCP_CHECKING_KEY = "hdcp_checking";
124 private static final String HDCP_CHECKING_PROPERTY = "persist.sys.hdcp_checking";
125 private static final String LOCAL_BACKUP_PASSWORD = "local_backup_password";
126 private static final String HARDWARE_UI_PROPERTY = "persist.sys.ui.hw";
127 private static final String MSAA_PROPERTY = "debug.egl.force_msaa";
128 private static final String BUGREPORT = "bugreport";
129 private static final String BUGREPORT_IN_POWER_KEY = "bugreport_in_power";
130 private static final String OPENGL_TRACES_PROPERTY = "debug.egl.trace";
131 private static final String TUNER_UI_KEY = "tuner_ui";
132 private static final String COLOR_TEMPERATURE_PROPERTY = "persist.sys.debug.color_temp";
134 private static final String DEBUG_APP_KEY = "debug_app";
135 private static final String WAIT_FOR_DEBUGGER_KEY = "wait_for_debugger";
136 private static final String MOCK_LOCATION_APP_KEY = "mock_location_app";
137 private static final String VERIFY_APPS_OVER_USB_KEY = "verify_apps_over_usb";
138 private static final String DEBUG_VIEW_ATTRIBUTES = "debug_view_attributes";
139 private static final String FORCE_ALLOW_ON_EXTERNAL_KEY = "force_allow_on_external";
140 private static final String STRICT_MODE_KEY = "strict_mode";
141 private static final String POINTER_LOCATION_KEY = "pointer_location";
142 private static final String SHOW_TOUCHES_KEY = "show_touches";
143 private static final String SHOW_SCREEN_UPDATES_KEY = "show_screen_updates";
144 private static final String DISABLE_OVERLAYS_KEY = "disable_overlays";
145 private static final String SIMULATE_COLOR_SPACE = "simulate_color_space";
146 private static final String USB_AUDIO_KEY = "usb_audio";
147 private static final String FORCE_HARDWARE_UI_KEY = "force_hw_ui";
148 private static final String FORCE_MSAA_KEY = "force_msaa";
149 private static final String TRACK_FRAME_TIME_KEY = "track_frame_time";
150 private static final String SHOW_NON_RECTANGULAR_CLIP_KEY = "show_non_rect_clip";
151 private static final String SHOW_HW_SCREEN_UPDATES_KEY = "show_hw_screen_udpates";
152 private static final String SHOW_HW_LAYERS_UPDATES_KEY = "show_hw_layers_udpates";
153 private static final String DEBUG_HW_OVERDRAW_KEY = "debug_hw_overdraw";
154 private static final String DEBUG_LAYOUT_KEY = "debug_layout";
155 private static final String FORCE_RTL_LAYOUT_KEY = "force_rtl_layout_all_locales";
156 private static final String WINDOW_ANIMATION_SCALE_KEY = "window_animation_scale";
157 private static final String TRANSITION_ANIMATION_SCALE_KEY = "transition_animation_scale";
158 private static final String ANIMATOR_DURATION_SCALE_KEY = "animator_duration_scale";
159 private static final String OVERLAY_DISPLAY_DEVICES_KEY = "overlay_display_devices";
160 private static final String DEBUG_DEBUGGING_CATEGORY_KEY = "debug_debugging_category";
161 private static final String SELECT_LOGD_SIZE_KEY = "select_logd_size";
162 private static final String SELECT_LOGD_SIZE_PROPERTY = "persist.logd.size";
163 private static final String SELECT_LOGD_TAG_PROPERTY = "persist.log.tag";
165 private static final String SELECT_LOGD_TAG_SILENCE = "Settings";
166 private static final String SELECT_LOGD_SNET_TAG_PROPERTY = "persist.log.tag.snet_event_log";
167 private static final String SELECT_LOGD_RUNTIME_SNET_TAG_PROPERTY = "log.tag.snet_event_log";
168 private static final String SELECT_LOGD_DEFAULT_SIZE_PROPERTY = "ro.logd.size";
169 private static final String SELECT_LOGD_DEFAULT_SIZE_VALUE = "262144";
170 private static final String SELECT_LOGD_SVELTE_DEFAULT_SIZE_VALUE = "65536";
172 private static final String SELECT_LOGD_MINIMUM_SIZE_VALUE = "65536";
173 private static final String SELECT_LOGD_OFF_SIZE_MARKER_VALUE = "32768";
174 private static final String SELECT_LOGPERSIST_KEY = "select_logpersist";
175 private static final String SELECT_LOGPERSIST_PROPERTY = "persist.logd.logpersistd";
176 private static final String ACTUAL_LOGPERSIST_PROPERTY = "logd.logpersistd";
177 private static final String SELECT_LOGPERSIST_PROPERTY_SERVICE = "logcatd";
178 private static final String SELECT_LOGPERSIST_PROPERTY_CLEAR = "clear";
179 private static final String SELECT_LOGPERSIST_PROPERTY_STOP = "stop";
180 private static final String SELECT_LOGPERSIST_PROPERTY_BUFFER = "persist.logd.logpersistd.buffer";
181 private static final String ACTUAL_LOGPERSIST_PROPERTY_BUFFER = "logd.logpersistd.buffer";
182 private static final String ACTUAL_LOGPERSIST_PROPERTY_ENABLE = "logd.logpersistd.enable";
184 private static final String WIFI_DISPLAY_CERTIFICATION_KEY = "wifi_display_certification";
185 private static final String WIFI_VERBOSE_LOGGING_KEY = "wifi_verbose_logging";
186 private static final String WIFI_AGGRESSIVE_HANDOVER_KEY = "wifi_aggressive_handover";
187 private static final String WIFI_ALLOW_SCAN_WITH_TRAFFIC_KEY = "wifi_allow_scan_with_traffic";
188 private static final String USB_CONFIGURATION_KEY = "select_usb_configuration";
189 private static final String MOBILE_DATA_ALWAYS_ON = "mobile_data_always_on";
190 private static final String KEY_COLOR_MODE = "color_mode";
191 private static final String FORCE_RESIZABLE_KEY = "force_resizable_activities";
192 private static final String COLOR_TEMPERATURE_KEY = "color_temperature";
194 private static final String BLUETOOTH_DISABLE_ABSOLUTE_VOLUME_KEY =
196 private static final String BLUETOOTH_DISABLE_ABSOLUTE_VOLUME_PROPERTY =
199 private static final String INACTIVE_APPS_KEY = "inactive_apps";
201 private static final String IMMEDIATELY_DESTROY_ACTIVITIES_KEY
203 private static final String APP_PROCESS_LIMIT_KEY = "app_process_limit";
205 private static final String BACKGROUND_CHECK_KEY = "background_check";
207 private static final String SHOW_ALL_ANRS_KEY = "show_all_anrs";
209 private static final String PACKAGE_MIME_TYPE = "application/vnd.android.package-archive";
211 private static final String TERMINAL_APP_PACKAGE = "com.android.terminal";
213 private static final String KEY_CONVERT_FBE = "convert_to_file_encryption";
215 private static final String OTA_DISABLE_AUTOMATIC_UPDATE_KEY = "ota_disable_automatic_update";
220 private static final String PERSISTENT_DATA_BLOCK_PROP = "ro.frp.pst";
221 private static final String FLASH_LOCKED_PROP = "ro.boot.flash.locked";
223 private static final String SHORTCUT_MANAGER_RESET_KEY = "reset_shortcut_manager_throttling";
255 private String mDebugApp;
258 private String mMockLocationApp;
493 .getString(R.string.convert_to_file_encryption_done));
519 private ListPreference addListPreference(String prefKey) {
533 private SwitchPreference findAndInitSwitchPref(String key) {
587 getEmptyTextView().setText(R.string.development_settings_not_available);
766 ArrayList<String> options = new ArrayList<String>();
767 ArrayList<String> values = new ArrayList<String>();
774 mWebViewProvider.setEntries(options.toArray(new String[options.size()]));
775 mWebViewProvider.setEntryValues(values.toArray(new String[values.size()]));
777 String value = mWebViewUpdateService.getCurrentWebViewPackageName();
804 String wv_package = mWebViewUpdateService.getCurrentWebViewPackageName();
814 String currentValue = SystemProperties.get(HDCP_CHECKING_PROPERTY);
815 String[] values = getResources().getStringArray(R.array.hdcp_checking_values);
816 String[] summaries = getResources().getStringArray(R.array.hdcp_checking_summaries);
833 mPassword.setSummary(R.string.local_backup_password_summary_change);
835 mPassword.setSummary(R.string.local_backup_password_summary_none);
852 String updatedProvider = mWebViewUpdateService.changeProviderAndSetting(
878 String oldMockLocationApp = packageOp.getPackageName();
918 String label;
927 mDebugAppPref.setSummary(getResources().getString(R.string.debug_app_set, label));
931 mDebugAppPref.setSummary(getResources().getString(R.string.debug_app_not_set));
950 String label = mMockLocationApp;
962 mMockLocationAppPref.setSummary(getString(R.string.mock_location_app_set, label));
965 mMockLocationAppPref.setSummary(getString(R.string.mock_location_app_not_set));
1193 String value = SystemProperties.get(ThreadedRenderer.PROFILE_PROPERTY);
1218 String value = SystemProperties.get(
1266 String value = SystemProperties.get(ThreadedRenderer.DEBUG_OVERDRAW_PROPERTY);
1306 final String mode = Integer.toString(Settings.Secure.getInt(
1313 mSimulateColorSpace.setSummary(getString(R.string.daltonizer_type_overridden,
1314 getString(R.string.accessibility_display_daltonizer_preference_title)));
1333 final String mode = Integer.toString(Settings.Secure.getInt(
1365 Toast.makeText(getActivity(), R.string.color_temperature_toast, Toast.LENGTH_LONG).show();
1465 private String defaultLogdSizeValue() {
1466 String defaultValue = SystemProperties.get(SELECT_LOGD_DEFAULT_SIZE_PROPERTY);
1479 String currentTag = SystemProperties.get(SELECT_LOGD_TAG_PROPERTY);
1480 String currentValue = SystemProperties.get(SELECT_LOGD_SIZE_PROPERTY);
1485 String currentLogpersistEnable
1499 String[] values = getResources().getStringArray(R.array.select_logd_size_values);
1500 String[] titles = getResources().getStringArray(R.array.select_logd_size_titles);
1507 String[] summaries = getResources().getStringArray(R.array.select_logd_size_summaries);
1524 String currentTag = SystemProperties.get(SELECT_LOGD_TAG_PROPERTY);
1529 String newTag = currentTag.replaceAll(
1537 String snetValue = SystemProperties.get(SELECT_LOGD_SNET_TAG_PROPERTY);
1554 String defaultValue = defaultLogdSizeValue();
1555 final String size = ((newValue != null) && (newValue.toString().length() != 0)) ?
1567 String currentValue = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY);
1571 String currentBuffers = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY_BUFFER);
1586 String[] contains = { "main", "events", "system", "crash" };
1621 String currentValue = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY);
1637 String currentTag = SystemProperties.get(SELECT_LOGD_TAG_PROPERTY);
1648 String currentValue = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY);
1654 R.string.dev_logpersist_clear_warning_message))
1655 .setTitle(R.string.dev_logpersist_clear_warning_title)
1656 .setPositiveButton(android.R.string.yes, this)
1657 .setNegativeButton(android.R.string.no, this)
1667 String currentBuffer = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY_BUFFER);
1675 String currentValue = SystemProperties.get(ACTUAL_LOGPERSIST_PROPERTY);
1692 String[] values = getResources().getStringArray(R.array.usb_configuration_values);
1693 String[] titles = getResources().getStringArray(R.array.usb_configuration_titles);
1709 String function = newValue.toString();
1768 String value = Settings.Global.getString(getActivity().getContentResolver(),
1788 Settings.Global.OVERLAY_DISPLAY_DEVICES, (String) newValue);
1854 .setTitle(R.string.confirm_enable_oem_unlock_title)
1855 .setMessage(R.string.confirm_enable_oem_unlock_text)
1856 .setPositiveButton(R.string.enable_text, onClickListener)
1857 .setNegativeButton(android.R.string.cancel, null)
1874 R.string.dev_settings_warning_message))
1875 .setTitle(R.string.dev_settings_warning_title)
1876 .setPositiveButton(android.R.string.yes, this)
1877 .setNegativeButton(android.R.string.no, this)
1928 getActivity().getResources().getString(R.string.adb_warning_message))
1929 .setTitle(R.string.adb_warning_title)
1930 .setPositiveButton(android.R.string.yes, this)
1931 .setNegativeButton(android.R.string.no, this)
1944 .setMessage(R.string.adb_keys_warning_message)
1945 .setPositiveButton(android.R.string.ok, this)
1946 .setNegativeButton(android.R.string.cancel, null)
2058 null, R.string.inactive_apps_title, null, null, 0);
2064 null, R.string.background_check_title, null, null, 0);
2069 requestCode, resources.getString(R.string.oem_unlock_enable));
2090 R.string.select_webview_provider_toast_text, Toast.LENGTH_SHORT);
2236 String[] services = ServiceManager.listServices();
2237 for (String service : services) {
2255 private static boolean isPackageInstalled(Context context, String packageName) {
2291 public List<String> getNonIndexableKeys(Context context) {
2296 final List<String> keys = new ArrayList<String>();
2310 Toast.makeText(getActivity(), R.string.reset_shortcut_manager_throttling_complete,
2320 int oemUnlockSummary = R.string.oem_unlock_enable_summary;
2322 oemUnlockSummary = R.string.oem_unlock_enable_disabled_summary_bootloader_unlocked;
2324 oemUnlockSummary = R.string.oem_unlock_enable_disabled_summary_sim_locked_device;
2331 R.string.oem_unlock_enable_disabled_summary_connectivity_or_locked;