• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2022 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto2";
18
19package android.app.wearsettings;
20
21option java_outer_classname = "WearSettingsEnums";
22
23// The action performed for a settings event.
24// Next ID: 4
25enum Action {
26  ACTION_UNKNOWN = 0;
27
28  // Indicates that an item was click on.
29  ACTION_CLICKED = 1;
30
31  // Indicates a toggle was toggled on
32  ACTION_TOGGLED_ON = 2;
33
34  // Indicates a toggle was toggled off
35  ACTION_TOGGLED_OFF = 3;
36}
37
38// IDs for settings UI elements.
39// Next ID: 511
40enum ItemId {
41  // An unknown settings item. This may be set if no preference key is mapped to an enum value or as
42  // a catch-all for values not yet added to this proto file.
43  UNKNOWN = 0;
44
45  ACCESSIBILITY_COLOR_CORRECTION = 416;
46  ACCESSIBILITY_COLOR_CORRECTION_ENABLED = 417;
47  ACCESSIBILITY_COLOR_CORRECTION_DEUTERANOMALY = 418;
48  ACCESSIBILITY_GESTURES = 419;
49  ACCESSIBILITY_COLOR_INVERSION = 103;
50  ACCESSIBILITY_GRAYSCALE_CORRECTION = 420;
51  ACCESSIBILITY_TALKBACK_SETTINGS = 421;
52  ACCESSIBILITY_SERVICE_TALKBACK = 422;
53  ACCESSIBILITY_PROTANOMALY_CORRECTION = 423;
54  ACCESSIBILITY_TRITANOMALY_CORRECTION = 424;
55  ACCESSIBILITY_FONT_SIZE = 369;
56  ACCESSIBILITY_LARGE_TEXT = 102;
57  ACCESSIBILITY_MAGNIFICATION = 104;
58  ACCESSIBILITY_MAGNIFICATION_SIZE = 413;
59  ACCESSIBILITY_MAGNIFICATION_SETTINGS = 414;
60  ACCESSIBILITY_MAGNIFICATION_EDGE_HAPTIC = 415;
61  ACCESSIBILITY_SERVICE = 314;
62  ACCESSIBILITY_SIDE_BUTTON = 105;
63  ACCESSIBILITY_SOUND = 370;
64  ACCESSIBILITY_TALKBACK = 390;
65  ACCESSIBILITY_TRIPLE_PRESS_GESTURE = 376;
66  ACCESSIBILITY_TTS = 106;
67  ACCESSIBILITY_TTS_ENGINE = 313;
68  ACCESSIBILITY_TTS_ENGINE_DEFAULT = 107;
69  ACCESSIBILITY_TTS_ENGINE_LANGUAGE = 108;
70  ACCESSIBILITY_TTS_ENGINE_LISTENTOSAMPLE = 109;
71  ACCESSIBILITY_TTS_RATES = 110;
72  ACCESSIBILITY_VIBRATION = 371;
73  ACCESSIBILITY_REDUCE_ANIMATION = 412;
74  ACCOUNTS_ADD_ACCOUNT = 115;
75  ACCOUNT_REMOVE_ACCOUNT = 230;
76  ACTIVE_DEVICE_ADMINS = 113;
77  ACTIVE_UNLOCK = 425;
78  APPS_APP_NOTIFICATIONS = 342;
79  APPS_APP_STORAGE = 367;
80  APPS_ASSISTANT = 366;
81  APPS_ASSISTANT_ACCESS = 356;
82  APPS_BUTTONS = 141;
83  APPS_DND_OPTIONS = 178;
84  APPS_VIP_CONTACTS = 343;
85  APP_DETAILS_ADVANCED = 116;
86  APP_DETAILS_ADVANCED_PERMISSIONS_DRAW_OVERLAY = 117;
87  APP_DETAILS_ADVANCED_PERMISSIONS_WRITE_SETTINGS = 118;
88  APP_DETAILS_ADVANCED_PERMISSIONS_EXACT_ALARM = 507;
89  APP_DETAILS_CACHE = 142;
90  APP_DETAILS_CLEAR_CACHE = 155;
91  APP_DETAILS_CLEAR_DATA = 156;
92  APP_DETAILS_CLEAR_DATA_MANAGED = 391;
93  APP_DETAILS_DATA = 160;
94  APP_DETAILS_FORCE_STOP = 195;
95  APP_DETAILS_PERMISSIONS = 24;
96  APP_DETAILS_STORAGE = 256;
97  APP_DETAILS_UNINSTALL = 264;
98  ASSISTANT_HOTWORD_DETECTION = 197;
99  ASSISTANT_LONG_PRESS_TO_ASSISTANT = 336;
100  ASSISTANT_VOICE_ASSISTANT = 309;
101  AUDIO_ADJUSTMENT = 409;
102  AUDIO_BALANCE_SLIDER_PREFERENCE = 410;
103  AUDIO_BALANCE_LEFT_RIGHT_TEXT = 411;
104  BATTERY_SAVER_AUTO_BATTERY_SAVER_ENABLED = 324;
105  BATTERY_SAVER_BATTERY_SAVER = 315;
106  BLUETOOTH_ENABLED = 135;
107  BLUETOOTH_HFP = 136;
108  BLUETOOTH_HFP_EXPLANATION = 404;
109  BLUETOOTH_SCAN = 137;
110  BRIGHTNESS_AUTOMATIC_BRIGHTNESS = 357;
111  BRIGHTNESS_AUTOMATIC_BRIGHTNESS_SLIDER = 379;
112  CELLULAR_ACCESS_POINT_NAMES = 111;
113  CELLULAR_ACCOUNTS = 112;
114  CELLULAR_ADVANCED_ENHANCED_4G_LTE = 335;
115  CELLULAR_ADVANCED_NETWORK_OPERATORS = 218;
116  CELLULAR_ADVANCED_PREFERRED_NETWORK = 228;
117  CELLULAR_ADVANCED_SETTINGS = 119;
118  CELLULAR_CALL_FORWARDING = 144;
119  CELLULAR_CALL_FORWARDING_HELP = 196;
120  CELLULAR_CALL_FORWARDING_IOS = 145;
121  CELLULAR_CALL_FORWARDING_TURN_OFF = 261;
122  CELLULAR_CALL_FORWARDING_TURN_ON = 262;
123  CELLULAR_CHANGE_SIM_PIN = 319;
124  CELLULAR_DATA_CONNECTIVITY = 161;
125  CELLULAR_DATA_ROAMING = 162;
126  CELLULAR_DATA_USAGE = 163;
127  CELLULAR_DATA_USAGE_APP_USAGE = 164;
128  CELLULAR_DATA_USAGE_CYCLE_DAY = 165;
129  CELLULAR_DATA_USAGE_LIMIT_ENABLE = 166;
130  CELLULAR_DATA_USAGE_LIMIT_VALUE = 167;
131  CELLULAR_DATA_USAGE_WARNING_LEVEL = 168;
132  CELLULAR_DEFAULT_SMS = 175;
133  CELLULAR_EMERGENCY_NOTIFICATIONS = 185;
134  CELLULAR_ENABLE_WIFI_WHEN_CHARGING = 186;
135  CELLULAR_LOCK_SIM_TOGGLE = 290;
136  CELLULAR_PHONE_NUMBER = 224;
137  CELLULAR_RESUME_DATA = 232;
138  CELLULAR_SIM_STATUS = 241;
139  CELLULAR_SIM_STATUS_ICCID = 242;
140  CELLULAR_SIM_STATUS_IMEI = 243;
141  CELLULAR_SIM_STATUS_IMEISV = 244;
142  CELLULAR_SIM_STATUS_NETWORK = 245;
143  CELLULAR_SIM_STATUS_NETWORK_STATE = 246;
144  CELLULAR_SIM_STATUS_NETWORK_TYPE = 247;
145  CELLULAR_SIM_STATUS_PHONE_NUMBER = 248;
146  CELLULAR_SIM_STATUS_ROAMING_STATE = 249;
147  CELLULAR_SIM_STATUS_SERVICE_STATE = 250;
148  CELLULAR_SIM_STATUS_SIGNAL_STRENGTH = 251;
149  CELLULAR_TOGGLE = 152;
150  CELLULAR_TOGGLE_V2 = 153;
151  CELLULAR_TWINNING = 263;
152  CELLULAR_TWINNING_CALLS = 143;
153  CELLULAR_TWINNING_TEXT = 259;
154  CELLULAR_UNLOCK_SIM = 265;
155  CELLULAR_VOICEMAIL_NUMBER = 269;
156  CONNECTIVITY_AIRPLANE_MODE = 120;
157  CONNECTIVITY_BLUETOOTH = 133;
158  CONNECTIVITY_CELLULAR = 20;
159  // WearOS only
160  APP_DETAILS_DATA_SOURCES = 500;
161  APP_DETAILS_LICENSES = 501;
162  BLUETOOTH_LE_AUDIO = 502;
163  CONNECTIVITY_CONNECTED_FITNESS = 496;
164  CONNECTIVITY_NFC = 219;
165  CONNECTIVITY_WIFI = 8;
166  CONNECTIVITY_UWB = 499;
167  DATE_TIME_AUTO_DATE_TIME = 129;
168  DATE_TIME_AUTO_TIME_ZONE = 130;
169  DATE_TIME_HOUR_FORMAT = 198;
170  DATE_TIME_MANUAL_DATE = 211;
171  DATE_TIME_MANUAL_TIME = 212;
172  DATE_TIME_MANUAL_TIMEZONE = 213;
173  DEVELOPER_ADB_DEBUGGING = 114;
174  DEVELOPER_ANIMATOR_DURATION_SCALE = 286;
175  DEVELOPER_BT_SNOOP_LOG = 138;
176  DEVELOPER_BUGREPORT = 139;
177  DEVELOPER_CELLULAR_BATTERY_SAVER = 151;
178  DEVELOPER_CLEAR_ADB_KEYS = 154;
179  DEVELOPER_CONNECTIVITY_VIBRATE = 159;
180  DEVELOPER_DEBUG_LAYOUT = 170;
181  DEVELOPER_DEBUG_OVERDRAW = 172;
182  DEVELOPER_DEBUG_OVER_BLUETOOTH = 171;
183  DEVELOPER_DEBUG_OVER_WIFI = 173;
184  DEVELOPER_DEBUG_TIMING = 174;
185  DEVELOPER_DPI_SETTINGS = 183;
186  DEVELOPER_FORCE_RTL_LAYOUT = 358;
187  DEVELOPER_LOGPERSIST = 311;
188  DEVELOPER_LOG_BUFFER_SIZE = 310;
189  DEVELOPER_MOCK_LOCATION_APP = 377;
190  DEVELOPER_POINTER_LOCATION = 226;
191  DEVELOPER_POWER_OPTIMIZATIONS = 227;
192  DEVELOPER_SHOW_TOUCHES = 240;
193  DEVELOPER_SHOW_ROTARY_INPUT = 488;
194  DEVELOPER_SMART_ILLUMINATE = 252;
195  DEVELOPER_STAY_ON_WHILE_PLUGGED_IN = 255;
196  DEVELOPER_TRANSITION_ANIMATION_SCALE = 303;
197  DEVELOPER_USE_DEVELOPER_OPTIONS = 489;
198  DEVELOPER_VERBOSE_VENDOR_LOGGING = 510;
199  DEVELOPER_WEAR_DEVELOPER_OPTIONS = 272;
200  DEVELOPER_WIFI_LOGGING = 277;
201  DEVELOPER_WINDOW_ANIMATION_SCALE = 304;
202  DEVICE_INFO_BATTERY_INFO = 132;
203  DEVICE_INFO_CONNECTION_STATUS = 158;
204  DEVICE_INFO_DEVICE_NAME = 177;
205  DEVICE_INFO_IMEI = 199;
206  DEVICE_INFO_LEGAL_NOTICES = 203;
207  DEVICE_INFO_MODEL = 215;
208  DEVICE_INFO_MSN = 217;
209  DEVICE_INFO_SERIAL = 238;
210  DEVICE_INFO_VERSION = 266;
211  DEVICE_VERSION_BUILD = 140;
212  DISPLAY_ALWAYS_ON_SCREEN = 126;
213  DISPLAY_BRIGHTNESS = 287;
214  DISPLAY_FONT_SIZE = 289;
215  DISPLAY_MANUAL_BRIGHTNESS_SLIDER = 380;
216  // Item for high brightness-mode/sunlight boost
217  DISPLAY_PRAISE_THE_SUN = 355;
218  DISPLAY_SCREEN_ORIENTATION = 305;
219  DISPLAY_SCREEN_TIMEOUT = 339;
220  DISPLAY_SETTINGS_RESET = 506;
221  DISPLAY_SIZE = 503;
222  DISPLAY_WRIST_ORIENTATION = 368;
223  DND_OPTIONS_ALARMS = 179;
224  DND_OPTIONS_CALLS = 180;
225  DND_OPTIONS_EVENTS = 181;
226  DND_OPTIONS_REMINDERS = 182;
227  DND_OPTIONS_REPEAT_CALLERS = 393;
228  DND_OPTIONS_MEDIA_SOUNDS = 394;
229  DND_SETTINGS_SWITCH = 395;
230  DND_CUSTOMIZE = 396;
231  BED_TIME_MODE_SETTINGS_SWITCH = 397;
232  AUTO_BEDTIME_MODE_SETTINGS_SWITCH = 505;
233  EMERGENCY_ALERTS_ALERT_REMINDER = 122;
234  EMERGENCY_ALERTS_ALERT_SOUND_DURATION = 123;
235  EMERGENCY_ALERTS_ALERT_VIBRATE = 124;
236  EMERGENCY_ALERTS_AMBER_ALERTS = 127;
237  EMERGENCY_ALERTS_CMAS_TEST_ALERTS = 157;
238  EMERGENCY_ALERTS_ETWS_TEST_ALERTS = 187;
239  EMERGENCY_ALERTS_EXTREME_THREATS = 192;
240  EMERGENCY_ALERTS_SEVERE_THREATS = 239;
241  ESIM_ERASE_ESIM = 354;
242  ESIM_PHONE_NUMBER = 352;
243  ESIM_PROFILE = 345;
244  ESIM_PROFILE_CARRIER_NAME = 405;
245  ESIM_PROFILE_DELETE = 351;
246  ESIM_PROFILE_DISABLE = 350;
247  ESIM_PROFILE_ENABLE = 349;
248  ESIM_SIM_STATUS_EID = 353;
249  ESIM_STATUS = 348;
250  ESIM_TEST_ACTIVATION_STATE = 360;
251  ESIM_TEST_PROFILES = 363;
252  ESIM_TEST_TEXT_TWINNING_STATE = 361;
253  ESIM_TEST_UTIL = 359;
254  ESIM_TEST_VOICE_TWINNING_STATE = 362;
255  FACTORY_RESET = 193;
256  FONT_BOLD_TEXT = 408;
257  GESTURES_TILT_TO_BRIGHT = 344;
258  GESTURES_TILT_TO_WAKE = 260;
259  GESTURES_TOUCH_TO_WAKE = 320;
260  GESTURES_TOUCH_AND_HOLD_WATCHFACE = 392;
261  GO_TO_WATCH_FACE = 381;
262  GOOGLE_SPARKLING_WATER = 504;
263  HEALTH_GENDER = 384;
264  HEALTH_HEIGHT = 386;
265  HEALTH_WEIGHT = 385;
266  INPUT_ADD_VIRTUAL_KEYBOARD_SCREEN = 317;
267  INPUT_SMART_REPLY = 253;
268  LOCATION_LOCATION_FROM_PHONE_TOGGLE = 337;
269  LOCATION_LOCATION_FROM_WATCH_TOGGLE = 338;
270  LOCATION_LOCATION_TOGGLE = 210;
271  LOCATION_PERMISSION_APPS = 372;
272  MAIN_ACCESSIBILITY = 291;
273  MAIN_ACCOUNTS_AND_SECURITY = 347;
274  MAIN_APPS = 292;
275  MAIN_ASSISTANT = 378;
276  MAIN_BATTERY_SAVER = 387;
277  MAIN_BATTERY_SAVER_SUGGESTED_SETTINGS = 316;
278  MAIN_CONNECTIVITY = 294;
279  MAIN_DEVELOPER_OPTIONS = 288;
280  MAIN_DISPLAY = 295;
281  MAIN_GENERAL = 340;
282  MAIN_GESTURES = 296;
283  MAIN_GOOGLE = 382;
284  MAIN_HEALTH = 383;
285  MAIN_LOCATION = 346;
286  MAIN_SAFETY = 388;
287  MAIN_SOUND_NOTIFICATION = 254;
288  MAIN_SYSTEM = 298;
289  MAIN_VIBRATION = 364;
290  NFC_TAP_AND_PAY = 258;
291  POWER_OFF = 299;
292  PREPAIR_ACCESSIBILITY = 300;
293  PREPAIR_EMERGENCY_DIALER = 184;
294  PRIVATE_DNS = 399;
295  PRIVATE_DNS_MODE_OFF = 400;
296  PRIVATE_DNS_MODE_OPPORTUNISTIC = 401;
297  PRIVATE_DNS_MODE_PROVIDER = 402;
298  PRIVATE_DNS_HOSTNAME = 403;
299  REGULATORY_INFO = 229;
300  RESTART = 231;
301  SCREEN_ORIENTATION_LEFT_WRIST = 306;
302  SCREEN_ORIENTATION_RIGHT_WRIST = 307;
303  SECURE_ADB_CANCEL = 234;
304  SECURE_ADB_FINGERPRINT = 235;
305  SECURE_ADB_OK = 236;
306  SECURE_ADB_ALLOWLIST = 237;
307  SECURITY_DEVICE_ADMINISTRATION = 176;
308  SECURITY_LOCKSCREEN = 301;
309  SECURITY_LOCKSCREEN_NONE = 220;
310  SECURITY_LOCKSCREEN_PATTERN = 222;
311  SECURITY_LOCKSCREEN_PIN = 225;
312  SECURITY_LOCK_SCREEN_NOW = 312;
313  SOUND_ACCESSIBILITY_VOLUME = 322;
314  SOUND_ALARM_VOLUME = 121;
315  SOUND_CALL_VOLUME = 365;
316  SOUND_MEDIA_VOLUME = 214;
317  SOUND_RING_VOLUME = 233;
318  SOUND_MUTE_RINGER = 497;
319  SOUND_MUTE_ALARM_WITH_RINGER_MODE = 498;
320  SOUND_WATCH_RINGTONE = 271;
321  SYSTEM_ABOUT = 18;
322  SYSTEM_DATE_TIME = 169;
323  SYSTEM_INPUT_METHODS = 201;
324  SYSTEM_PHONE_SWITCH = 407;
325  SYSTEM_SYSTEM_UPDATE = 257;
326  SYSTEM_TTS = 490;
327  VIBRATION_LEVEL = 268;
328  VIBRATION_MUTE_WHEN_OFF_BODY = 318;
329  VIBRATION_VIBRATE_FOR_CALLS = 267;
330  VIBRATION_VIBRATE_FOR_RSB = 389;
331  WIFI_ABOUT = 274;
332  WIFI_ADD_NETWORK = 275;
333  WIFI_AVAILABLE_NETWORKS_GROUP = 131;
334  WIFI_CURRENT_NETWORK = 276;
335  WIFI_FORGET_NETWORK = 328;
336  WIFI_MAC_RANDOMIZATION = 406;
337  WIFI_OLD = 278;
338  WIFI_OPEN_ON_PHONE = 327;
339  WIFI_OPEN_ON_WATCH = 326;
340  WIFI_RETRY = 325;
341  WIFI_SAVED_NETWORKS = 279;
342  WIFI_TOGGLE = 280;
343  WIFI_VIEW_IP_ADDRESS = 281;
344  WIFI_VIEW_MAC_ADDRESS = 282;
345  SCREENSHOT_PREFERENCE = 426;
346  SCREEN_UNLOCK_SOUND = 427;
347  CHARGING_SOUNDS = 428;
348  MONO_AUDIO = 429;
349  ROTATORY_WAKE = 430;
350  WATCH_LICENSE = 431;
351  WATCH_SYSTEM_LICENSES = 432;
352  FONT_SLIDER = 433;
353  ASSISTANT_SETTING = 434;
354  ACCOUNT_SETTING = 435;
355  DIVIDER_PREFERENCE = 436;
356  ENTERPRISE_SET_DEFAULT_APPS = 437;
357  ENTERPRISE_INSTALLED_PACKAGES = 438;
358  LOCATION_ACCESS_PACKAGES = 439;
359  MICROPHONE_ACCESS_PACKAGES = 440;
360  CAMERA_ACCESS_PACKAGES = 441;
361  ENTERPRISE_PRIVACY = 442;
362  ESIM_SETTINGS = 443;
363  ESIM_PROFILE_NICKNAME = 444;
364  MAIN_SECURITY = 445;
365  ACCESSIBILITY_VIBRATION_WATCH = 446;
366  ACCESSIBILITY_VIBRATION_WATCH_SWITCH = 447;
367  ACCESSIBILITY_VIBRATION_WATCH_TYPE_DIGIT = 448;
368  ACCESSIBILITY_VIBRATION_WATCH_TYPE_TERSE = 449;
369  ACCESSIBILITY_VIBRATION_WATCH_SPEED = 450;
370  WEAR_BATTERY_SAVER_EXPLANATION_TEXT = 451;
371  BATTERY_SAVER_SECTION_TITLE_TEXT = 452;
372  BATTERY_SAVER_EXPLANATION_TEXT = 453;
373  HIGH_BRIGHTNESS_KEY = 454;
374  ACCESSIBILITY_RTT = 455;
375  DEFAULT_APPS = 456;
376  DEFAULT_ASSIST = 457;
377  USE_TEXT_CONTEXT = 458;
378  USE_TEXT_CONTEXT_SUMMARY = 459;
379  USE_SCREENSHOT = 460;
380  USE_SCREENSHOT_SUMMARY = 461;
381  WIRELESS_DEBUG = 462;
382  WIRELESS_DEBUG_TOGGLE = 463;
383  WIRELESS_DEBUG_DEVICE_NAME = 464;
384  WIRELESS_DEBUG_IP_PORT = 465;
385  WIRELESS_DEBUG_SUMMARY = 466;
386  WIRELESS_DEBUG_PAIRING = 467;
387  WIRELESS_ADB_DEVICE_NAME = 468;
388  WIRELESS_ADB_DEVICE_FINGERPRINT = 469;
389  USAGE_ACCESS = 470;
390  SMDP_ADDRESS = 471;
391  SYSTEM_STATE_OVERLAY_SETTINGS = 472;
392  SYSTEM_STATE_OVERLAY = 473;
393  LANGUAGE_PREFERENCE = 474;
394  FREE_MEM_OVERLAY = 475;
395  PSS_OVERLAY = 476;
396  MANAGE_PERMISSIONS = 477;
397  STEM_1 = 478;
398  STEM_2 = 479;
399  STEM_3 = 480;
400  OEM_UNLOCK_ENABLE = 481;
401  BACKUP_SETTING = 482;
402  ADVANCE_PERMISSIONS_INSTALL_UNKNOWN = 483;
403  WET_MODE = 484;
404  DIAGNOSTICS = 485;
405  PARENTAL_CONTROLS = 486;
406  VIBRATION_SWITCH = 487;
407  WEAR_POWER_ANOMALY_SERVICE = 491;
408  BATTERY_SAVER_SETTINGS = 492;
409  BATTERY_SAVER_AUTO_BATTERY_SAVER_ON = 493;
410  BATTERY_SAVER_AUTO_BATTERY_SAVER_OFF = 494;
411  PRIVACY_DASHBOARD = 495;
412  SOUND_NOTIFICATION_VOLUME = 508;
413  SOUND_RING_AND_NOTIFICATIONS_VOLUME = 509;
414}
415