• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2017 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";
18package android.providers.settings;
19
20option java_multiple_files = true;
21
22import "frameworks/base/core/proto/android/providers/settings/common.proto";
23import "frameworks/base/core/proto/android/privacy.proto";
24
25// Note: it's a conscious decision to add each setting as a separate field. This
26// allows annotating each setting with its own privacy tag.
27message SecureSettingsProto {
28    option (android.msg_privacy).dest = DEST_EXPLICIT;
29
30    repeated SettingsOperationProto historical_operations = 1;
31
32    message Accessibility {
33        option (android.msg_privacy).dest = DEST_EXPLICIT;
34
35        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
36        // List of the enabled accessibility providers.
37        optional SettingProto enabled_accessibility_services = 2;
38        optional SettingProto autoclick_enabled = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
39        optional SettingProto autoclick_delay = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
40        // Setting specifying the accessibility service or feature to be toggled via
41        // the accessibility button in the navigation bar. This is either a
42        // flattened ComponentName or the class name of a system class implementing
43        // a supported accessibility feature.
44        optional SettingProto button_target_component = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
45        optional SettingProto captioning_enabled = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
46        optional SettingProto captioning_locale = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
47        optional SettingProto captioning_preset = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
48        optional SettingProto captioning_background_color = 9 [ (android.privacy).dest = DEST_AUTOMATIC ];
49        optional SettingProto captioning_foreground_color = 10 [ (android.privacy).dest = DEST_AUTOMATIC ];
50        optional SettingProto captioning_edge_type = 11 [ (android.privacy).dest = DEST_AUTOMATIC ];
51        optional SettingProto captioning_edge_color = 12 [ (android.privacy).dest = DEST_AUTOMATIC ];
52        optional SettingProto captioning_window_color = 13 [ (android.privacy).dest = DEST_AUTOMATIC ];
53        optional SettingProto captioning_typeface = 14 [ (android.privacy).dest = DEST_AUTOMATIC ];
54        optional SettingProto captioning_font_scale = 15 [ (android.privacy).dest = DEST_AUTOMATIC ];
55        optional SettingProto display_daltonizer_enabled = 16 [ (android.privacy).dest = DEST_AUTOMATIC ];
56        // Integer property that specifies the type of color space adjustment to perform.
57        optional SettingProto display_daltonizer = 17 [ (android.privacy).dest = DEST_AUTOMATIC ];
58        optional SettingProto display_inversion_enabled = 18 [ (android.privacy).dest = DEST_AUTOMATIC ];
59        optional SettingProto display_magnification_enabled = 19 [ (android.privacy).dest = DEST_AUTOMATIC ];
60        optional SettingProto display_magnification_navbar_enabled = 20 [ (android.privacy).dest = DEST_AUTOMATIC ];
61        optional SettingProto display_magnification_scale = 21 [ (android.privacy).dest = DEST_AUTOMATIC ];
62        optional SettingProto high_text_contrast_enabled = 22 [ (android.privacy).dest = DEST_AUTOMATIC ];
63        optional SettingProto large_pointer_icon = 23 [ (android.privacy).dest = DEST_AUTOMATIC ];
64        optional SettingProto shortcut_enabled = 24 [ (android.privacy).dest = DEST_AUTOMATIC ];
65        optional SettingProto shortcut_on_lock_screen = 25 [ (android.privacy).dest = DEST_AUTOMATIC ];
66        optional SettingProto shortcut_dialog_shown = 26 [ (android.privacy).dest = DEST_AUTOMATIC ];
67        optional SettingProto shortcut_target_service = 27 [ (android.privacy).dest = DEST_AUTOMATIC ];
68        optional SettingProto soft_keyboard_mode = 28 [ (android.privacy).dest = DEST_AUTOMATIC ];
69        // Whether to speak passwords while in accessibility mode.
70        optional SettingProto speak_password = 29 [ (android.privacy).dest = DEST_AUTOMATIC ];
71        optional SettingProto touch_exploration_enabled = 30 [ (android.privacy).dest = DEST_AUTOMATIC ];
72        // List of the accessibility services to which the user has granted
73        // permission to put the device into touch exploration mode.
74        optional SettingProto touch_exploration_granted_accessibility_services = 31;
75        // Settings for accessibility timeout
76        optional SettingProto non_interactive_ui_timeout_ms = 32 [ (android.privacy).dest = DEST_AUTOMATIC ];
77        optional SettingProto interactive_ui_timeout_ms = 33 [ (android.privacy).dest = DEST_AUTOMATIC ];
78        // Settings for accessibility magnification.
79        optional SettingProto accessibility_magnification_mode = 34 [ (android.privacy).dest = DEST_AUTOMATIC ];
80        optional SettingProto button_targets = 35 [ (android.privacy).dest = DEST_AUTOMATIC ];
81        optional SettingProto accessibility_magnification_capability = 36 [ (android.privacy).dest = DEST_AUTOMATIC ];
82        // Settings for accessibility button mode (navigation bar or floating action menu).
83        optional SettingProto accessibility_button_mode = 37 [ (android.privacy).dest = DEST_AUTOMATIC ];
84        optional SettingProto accessibility_floating_menu_size = 38 [ (android.privacy).dest = DEST_AUTOMATIC ];
85        optional SettingProto accessibility_floating_menu_icon_type = 39 [ (android.privacy).dest = DEST_AUTOMATIC ];
86        optional SettingProto accessibility_floating_menu_opacity = 40 [ (android.privacy).dest = DEST_AUTOMATIC ];
87        optional SettingProto accessibility_floating_menu_fade_enabled = 41 [ (android.privacy).dest = DEST_AUTOMATIC ];
88    }
89    optional Accessibility accessibility = 2;
90
91    message AdaptiveSleep {
92        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
93    }
94    optional AdaptiveSleep adaptive_sleep = 78;
95
96    // Origins for which browsers should allow geolocation by default.
97    // The value is a space-separated list of origins.
98    optional SettingProto allowed_geolocation_origins = 3;
99
100    message AlwaysOnVpn {
101        option (android.msg_privacy).dest = DEST_EXPLICIT;
102
103        optional SettingProto app = 1;
104        optional SettingProto lockdown = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
105    }
106    optional AlwaysOnVpn always_on_vpn = 4;
107
108    optional SettingProto android_id = 5;
109    optional SettingProto anr_show_background = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
110
111    message Assist {
112        option (android.msg_privacy).dest = DEST_EXPLICIT;
113
114        // The current assistant component. It could be a voice interaction service,
115        // or an activity that handles ACTION_ASSIST, or empty, which means using
116        // the default handling.
117        optional SettingProto assistant = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
118        optional SettingProto structure_enabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
119        optional SettingProto screenshot_enabled = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
120        optional SettingProto disclosure_enabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
121        optional SettingProto gesture_enabled = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
122        optional SettingProto gesture_sensitivity = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
123        optional SettingProto gesture_silence_alerts_enabled = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
124        optional SettingProto gesture_wake_enabled = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
125        optional SettingProto gesture_setup_complete = 9 [ (android.privacy).dest = DEST_AUTOMATIC ];
126        optional SettingProto touch_gesture_enabled = 10 [ (android.privacy).dest = DEST_AUTOMATIC ];
127        optional SettingProto long_press_home_enabled = 11 [ (android.privacy).dest = DEST_AUTOMATIC ];
128    }
129    optional Assist assist = 7;
130
131    message AssistHandles {
132        option (android.msg_privacy).dest = DEST_EXPLICIT;
133
134        optional SettingProto learning_time_elapsed_millis = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
135        optional SettingProto learning_event_count = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
136    }
137    optional AssistHandles assist_handles = 86;
138
139    message Autofill {
140        option (android.msg_privacy).dest = DEST_EXPLICIT;
141
142        // The currently selected autofill service flattened ComponentName.
143        optional SettingProto service = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
144        // Boolean indicating if Autofill supports field classification.
145        optional SettingProto feature_field_classification = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
146        optional SettingProto user_data_max_user_data_size = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
147        optional SettingProto user_data_max_field_classification_ids_size = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
148        optional SettingProto user_data_max_category_count = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
149        optional SettingProto user_data_max_value_length = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
150        optional SettingProto user_data_min_value_length = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
151        // The query URI to find an auto fill service to install.
152        optional SettingProto service_search_uri = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
153    }
154    optional Autofill autofill = 8;
155
156    message AutomaticStorageManager {
157        option (android.msg_privacy).dest = DEST_EXPLICIT;
158
159        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
160        optional SettingProto days_to_retain = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
161        optional SettingProto bytes_cleared = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
162        optional SettingProto last_run = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
163        optional SettingProto turned_off_by_policy = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
164    }
165    optional AutomaticStorageManager automatic_storage_manager = 9;
166
167    message Backup {
168        option (android.msg_privacy).dest = DEST_EXPLICIT;
169
170        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
171        optional SettingProto auto_restore = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
172        optional SettingProto provisioned = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
173        optional SettingProto transport = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
174        optional SettingProto manager_constants = 5;
175        // Local transport parameters so we can configure it for tests.
176        // This is encoded as a key=value list, separated by commas.
177        // The following keys are supported:
178        //   fake_encryption_flag  (boolean)
179        optional SettingProto local_transport_parameters = 6;
180        optional SettingProto packages_to_clear_data_before_full_restore = 7;
181    }
182    optional Backup backup = 10;
183
184    optional SettingProto bluetooth_on_while_driving = 11 [ (android.privacy).dest = DEST_AUTOMATIC ];
185
186    message Camera {
187        option (android.msg_privacy).dest = DEST_EXPLICIT;
188
189        optional SettingProto gesture_disabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
190        optional SettingProto double_tap_power_gesture_disabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
191        optional SettingProto double_twist_to_flip_enabled = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
192        optional SettingProto lift_trigger_enabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
193    }
194    optional Camera camera = 12;
195
196    optional SettingProto carrier_apps_handled = 13 [ (android.privacy).dest = DEST_AUTOMATIC ];
197
198    message Clipboard {
199        optional SettingProto show_access_notifications = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
200    }
201    optional Clipboard clipboard = 89;
202
203    optional SettingProto cmas_additional_broadcast_pkg = 14 [ (android.privacy).dest = DEST_AUTOMATIC ];
204    repeated SettingProto completed_categories = 15;
205    optional SettingProto connectivity_release_pending_intent_delay_ms = 16 [ (android.privacy).dest = DEST_AUTOMATIC ];
206    optional SettingProto adaptive_connectivity_enabled = 84 [ (android.privacy).dest = DEST_AUTOMATIC ];
207
208    message Controls {
209        option (android.msg_privacy).dest = DEST_EXPLICIT;
210
211        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
212    }
213    optional Controls controls = 79;
214
215    optional SettingProto device_paired = 17 [ (android.privacy).dest = DEST_AUTOMATIC ];
216    optional SettingProto dialer_default_application = 18 [ (android.privacy).dest = DEST_AUTOMATIC ];
217    optional SettingProto display_density_forced = 19 [ (android.privacy).dest = DEST_AUTOMATIC ];
218    optional SettingProto double_tap_to_wake = 20 [ (android.privacy).dest = DEST_AUTOMATIC ];
219
220    message DateTime {
221        option (android.msg_privacy).dest = DEST_EXPLICIT;
222
223        optional SettingProto location_time_zone_detection_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
224    }
225    optional DateTime date_time = 90;
226
227    message Doze {
228        option (android.msg_privacy).dest = DEST_EXPLICIT;
229
230        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
231        optional SettingProto always_on = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
232        optional SettingProto pulse_on_pick_up = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
233        optional SettingProto pulse_on_long_press = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
234        optional SettingProto pulse_on_double_tap = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
235        optional SettingProto pulse_on_tap = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
236        optional SettingProto suppress = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
237    }
238    optional Doze doze = 21;
239
240    optional SettingProto emergency_assistance_application = 22 [ (android.privacy).dest = DEST_AUTOMATIC ];
241
242    message EmergencyResponse {
243        optional SettingProto emergency_gesture_enabled = 3  [ (android.privacy).dest = DEST_AUTOMATIC ];
244        optional SettingProto emergency_gesture_sound_enabled = 4  [ (android.privacy).dest = DEST_AUTOMATIC ];
245
246        reserved 1,2;
247    }
248
249    optional EmergencyResponse emergency_response = 83;
250
251    optional SettingProto enhanced_voice_privacy_enabled = 23 [ (android.privacy).dest = DEST_AUTOMATIC ];
252
253    optional SettingProto font_weight_adjustment = 85 [ (android.privacy).dest = DEST_AUTOMATIC ];
254
255    message Gesture {
256        optional SettingProto aware_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
257
258        optional SettingProto silence_alarms_count = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
259        optional SettingProto silence_calls_count = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
260        optional SettingProto silence_enabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
261        // del: silence_notification_count = 5
262        optional SettingProto silence_timer_count = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
263
264        optional SettingProto skip_count = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
265        optional SettingProto skip_enabled = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
266
267        optional SettingProto silence_alarms_touch_count = 9 [ (android.privacy).dest =
268            DEST_AUTOMATIC ];
269        optional SettingProto silence_calls_touch_count = 10 [ (android.privacy).dest =
270            DEST_AUTOMATIC ];
271        optional SettingProto silence_timer_touch_count = 11 [ (android.privacy).dest =
272            DEST_AUTOMATIC ];
273        optional SettingProto skip_touch_count = 12 [ (android.privacy).dest = DEST_AUTOMATIC ];
274        optional SettingProto aware_tap_pause_gesture_count = 13 [
275            (android.privacy).dest =
276            DEST_AUTOMATIC ];
277        optional SettingProto aware_tap_pause_touch_count = 14 [ (android.privacy).dest =
278            DEST_AUTOMATIC ];
279    }
280    optional Gesture gesture = 74;
281
282    message GestureNavigation {
283        optional SettingProto back_gesture_inset_scale_left = 1 [(android.privacy).dest = DEST_AUTOMATIC];
284        optional SettingProto back_gesture_inset_scale_right = 2 [(android.privacy).dest = DEST_AUTOMATIC];
285    }
286    optional GestureNavigation gesture_navigation = 77;
287
288    optional SettingProto immersive_mode_confirmations = 24 [ (android.privacy).dest = DEST_AUTOMATIC ];
289
290    message Incall {
291        option (android.msg_privacy).dest = DEST_EXPLICIT;
292
293        optional SettingProto power_button_behavior = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
294        optional SettingProto back_button_behavior = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
295    }
296    optional Incall incall = 25;
297
298    message InputMethods {
299        option (android.msg_privacy).dest = DEST_EXPLICIT;
300
301        optional SettingProto default_input_method = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
302        optional SettingProto disabled_system_input_methods = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
303        optional SettingProto enabled_input_methods = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
304        optional SettingProto method_selector_visibility = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
305        optional SettingProto subtype_history = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
306        optional SettingProto selected_input_method_subtype = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
307        optional SettingProto show_ime_with_hard_keyboard = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
308        optional SettingProto default_voice_input_method = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
309    }
310    optional InputMethods input_methods = 26;
311
312    optional SettingProto install_non_market_apps = 27 [ (android.privacy).dest = DEST_AUTOMATIC ];
313    optional SettingProto instant_apps_enabled = 28 [ (android.privacy).dest = DEST_AUTOMATIC ];
314    // Uri of the slice that's presented on the keyguard. Defaults to a slice
315    // with the date and next alarm.
316    optional SettingProto keyguard_slice_uri = 29;
317    optional SettingProto last_setup_shown = 30 [ (android.privacy).dest = DEST_AUTOMATIC ];
318
319    message Launcher {
320        option (android.msg_privacy).dest = DEST_EXPLICIT;
321
322        optional SettingProto swipe_up_to_switch_apps_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
323    }
324    optional Launcher launcher = 70;
325
326    message Location {
327        option (android.msg_privacy).dest = DEST_EXPLICIT;
328
329        // The degree of location access enabled by the user.
330        optional SettingProto mode = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
331        // The App or module that changes the location mode.
332        optional SettingProto changer = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
333
334        reserved 3; // used to be used for permissions_upgrade_to_q_mode
335    }
336    optional Location location = 31;
337
338    // How frequently will the user be reminded about location permission grants
339    message LocationAccessCheck {
340        option (android.msg_privacy).dest = DEST_EXPLICIT;
341
342        // Time in between periodic checks
343        optional SettingProto interval_millis = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
344
345        // Time in between the user granting a location permission and a check
346        optional SettingProto delay_millis = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
347    }
348    optional LocationAccessCheck location_access_check = 73;
349
350    message LockScreen {
351        option (android.msg_privacy).dest = DEST_EXPLICIT;
352
353        optional SettingProto lock_after_timeout = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
354        optional SettingProto allow_private_notifications = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
355        optional SettingProto allow_remote_input = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
356        optional SettingProto show_notifications = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
357    }
358    optional LockScreen lock_screen = 32;
359
360    // Whether lock-to-app will lock the keyguard when exiting.
361    optional SettingProto lock_to_app_exit_locked = 33 [ (android.privacy).dest = DEST_AUTOMATIC ];
362    optional SettingProto lockdown_in_power_menu = 34 [ (android.privacy).dest = DEST_AUTOMATIC ];
363    optional SettingProto long_press_timeout = 35 [ (android.privacy).dest = DEST_AUTOMATIC ];
364
365    message ManagedProfile {
366        option (android.msg_privacy).dest = DEST_EXPLICIT;
367
368        optional SettingProto contact_remote_search = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
369    }
370    optional ManagedProfile managed_profile = 36;
371
372    message Mount {
373        option (android.msg_privacy).dest = DEST_EXPLICIT;
374
375        // Whether or not alert sounds are played on StorageManagerService events.
376        optional SettingProto play_notification_snd = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
377        optional SettingProto ums_autostart = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
378        optional SettingProto ums_prompt = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
379        optional SettingProto ums_notify_enabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
380    }
381    optional Mount mount = 37;
382
383    optional SettingProto multi_press_timeout = 38 [ (android.privacy).dest = DEST_AUTOMATIC ];
384
385    optional SettingProto navigation_mode = 76 [ (android.privacy).dest = DEST_AUTOMATIC ];
386
387    message NfcPayment {
388        option (android.msg_privacy).dest = DEST_EXPLICIT;
389
390        optional SettingProto default_component = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
391        // Whether NFC payment is handled by the foreground application or a default.
392        optional SettingProto foreground = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
393        // The query URI to find an NFC service to install.
394        optional SettingProto payment_service_search_uri = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
395    }
396    optional NfcPayment nfc_payment = 39;
397
398    message NightDisplay {
399        option (android.msg_privacy).dest = DEST_EXPLICIT;
400
401        optional SettingProto activated = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
402        optional SettingProto auto_mode = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
403        optional SettingProto color_temperature = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
404        optional SettingProto custom_start_time = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
405        optional SettingProto custom_end_time = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
406        optional SettingProto last_activated_time = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
407    }
408    optional NightDisplay night_display = 40;
409
410    message Notification {
411        option (android.msg_privacy).dest = DEST_EXPLICIT;
412
413        // Read only list of the service components that the current user has
414        // explicitly allowed to see and assist with all of the user's
415        // notifications.
416        // "enabled_notification_assistant" in code.
417        optional SettingProto enabled_assistant = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
418        optional SettingProto enabled_listeners = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
419        optional SettingProto enabled_policy_access_packages = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
420        optional SettingProto badging = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
421        optional SettingProto show_note_about_notification_hiding = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
422        optional SettingProto in_call_notification_enabled = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
423        optional SettingProto bubbles = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
424    }
425    optional Notification notification = 41;
426
427    message OneHanded {
428        option (android.msg_privacy).dest = DEST_EXPLICIT;
429
430        optional SettingProto one_handed_mode_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
431        optional SettingProto one_handed_mode_timeout = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
432        optional SettingProto taps_app_to_exit = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
433        optional SettingProto one_handed_mode_activated = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
434    }
435    optional OneHanded onehanded = 80;
436
437    message PackageVerifier {
438        option (android.msg_privacy).dest = DEST_EXPLICIT;
439
440        optional SettingProto user_consent = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
441        optional SettingProto state = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
442    }
443    optional PackageVerifier package_verifier = 42;
444
445    message ParentalControl {
446        option (android.msg_privacy).dest = DEST_EXPLICIT;
447
448        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
449        optional SettingProto last_update = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
450        optional SettingProto redirect_url = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
451    }
452    optional ParentalControl parental_control = 43;
453
454    message PowerMenuPrivacy {
455        option (android.msg_privacy).dest = DEST_EXPLICIT;
456
457        optional SettingProto show = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
458    }
459    optional PowerMenuPrivacy power_menu_privacy = 81;
460
461    message PrintService {
462        option (android.msg_privacy).dest = DEST_EXPLICIT;
463
464        // The query URI to find a print service to install.
465        optional SettingProto search_uri = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
466        optional SettingProto disabled_print_services = 2;
467        optional SettingProto enabled_print_services = 3;
468    }
469    optional PrintService print_service = 44;
470
471    message QuickSettings {
472        option (android.msg_privacy).dest = DEST_EXPLICIT;
473
474        // Holds comma-separated list of ordering of QuickSettings tiles.
475        optional SettingProto tiles = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
476        optional SettingProto auto_added_tiles = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
477    }
478    optional QuickSettings qs = 45;
479
480    message ReduceBrightColors {
481        option (android.msg_privacy).dest = DEST_EXPLICIT;
482
483        optional SettingProto activated = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
484        optional SettingProto level = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
485        optional SettingProto persist_across_reboots = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
486    }
487    optional ReduceBrightColors reduce_bright_colors = 87;
488
489    message Rotation {
490        option (android.msg_privacy).dest = DEST_EXPLICIT;
491
492        optional SettingProto show_rotation_suggestions = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
493        optional SettingProto num_rotation_suggestions_accepted = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
494    }
495    optional Rotation rotation = 46;
496
497    // User-selected RTT mode. When on, outgoing and incoming calls will be
498    // answered as RTT calls when supported by the device and carrier. Boolean
499    // value.
500    optional SettingProto rtt_calling_mode = 69 [ (android.privacy).dest = DEST_AUTOMATIC ];
501
502    message Screensaver {
503        option (android.msg_privacy).dest = DEST_EXPLICIT;
504
505        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
506        optional SettingProto components = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
507        optional SettingProto activate_on_dock = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
508        optional SettingProto activate_on_sleep = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
509        optional SettingProto default_component = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
510    }
511    optional Screensaver screensaver = 47;
512
513    message Search {
514        option (android.msg_privacy).dest = DEST_EXPLICIT;
515
516        optional SettingProto global_search_activity = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
517        optional SettingProto num_promoted_sources = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
518        optional SettingProto max_results_to_display = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
519        optional SettingProto max_results_per_source = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
520        optional SettingProto web_results_override_limit = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
521        optional SettingProto promoted_source_deadline_millis = 6 [ (android.privacy).dest = DEST_AUTOMATIC ];
522        optional SettingProto source_timeout_millis = 7 [ (android.privacy).dest = DEST_AUTOMATIC ];
523        optional SettingProto prefill_millis = 8 [ (android.privacy).dest = DEST_AUTOMATIC ];
524        optional SettingProto max_stat_age_millis = 9 [ (android.privacy).dest = DEST_AUTOMATIC ];
525        optional SettingProto max_source_event_age_millis = 10 [ (android.privacy).dest = DEST_AUTOMATIC ];
526        optional SettingProto min_impressions_for_source_ranking = 11 [ (android.privacy).dest = DEST_AUTOMATIC ];
527        optional SettingProto min_clicks_for_source_ranking = 12 [ (android.privacy).dest = DEST_AUTOMATIC ];
528        optional SettingProto max_shortcuts_returned = 13 [ (android.privacy).dest = DEST_AUTOMATIC ];
529        optional SettingProto query_thread_core_pool_size = 14 [ (android.privacy).dest = DEST_AUTOMATIC ];
530        optional SettingProto query_thread_max_pool_size = 15 [ (android.privacy).dest = DEST_AUTOMATIC ];
531        optional SettingProto shortcut_refresh_core_pool_size = 16 [ (android.privacy).dest = DEST_AUTOMATIC ];
532        optional SettingProto shortcut_refresh_max_pool_size = 17 [ (android.privacy).dest = DEST_AUTOMATIC ];
533        optional SettingProto thread_keepalive_seconds = 18 [ (android.privacy).dest = DEST_AUTOMATIC ];
534        optional SettingProto per_source_concurrent_query_limit = 19 [ (android.privacy).dest = DEST_AUTOMATIC ];
535    }
536    optional Search search = 48;
537
538    message CameraAutorotate {
539        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
540    }
541    optional CameraAutorotate camera_autorotate = 88;
542
543    message SpellChecker {
544        option (android.msg_privacy).dest = DEST_EXPLICIT;
545
546        optional SettingProto enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
547        // "selected_spell_checker" in code.
548        optional SettingProto selected = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
549        // "selected_spell_checker_subtype" in code.
550        optional SettingProto selected_subtype = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
551    }
552    optional SpellChecker spell_checker = 49;
553
554    optional SettingProto settings_classname = 50 [ (android.privacy).dest = DEST_AUTOMATIC ];
555    optional SettingProto show_first_crash_dialog_dev_option = 51 [ (android.privacy).dest = DEST_AUTOMATIC ];
556    optional SettingProto skip_first_use_hints = 52 [ (android.privacy).dest = DEST_AUTOMATIC ];
557    optional SettingProto sleep_timeout = 53 [ (android.privacy).dest = DEST_AUTOMATIC ];
558    optional SettingProto sms_default_application = 54 [ (android.privacy).dest = DEST_AUTOMATIC ];
559
560    message Sounds {
561        option (android.msg_privacy).dest = DEST_EXPLICIT;
562
563        optional SettingProto charging_sounds_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
564        optional SettingProto charging_vibration_enabled = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
565    }
566    optional Sounds sounds = 72;
567
568    optional SettingProto swipe_bottom_to_notification_enabled = 82 [ (android.privacy).dest = DEST_AUTOMATIC ];
569    // Defines whether managed profile ringtones should be synced from its
570    // parent profile.
571    optional SettingProto sync_parent_sounds = 55 [ (android.privacy).dest = DEST_AUTOMATIC ];
572    optional SettingProto system_navigation_keys_enabled = 56 [ (android.privacy).dest = DEST_AUTOMATIC ];
573    optional SettingProto theme_customization_overlay_packages = 75 [ (android.privacy).dest = DEST_AUTOMATIC ];
574    optional SettingProto trust_agents_initialized = 57 [ (android.privacy).dest = DEST_AUTOMATIC ];
575
576    message Tts {
577        option (android.msg_privacy).dest = DEST_EXPLICIT;
578
579        optional SettingProto default_rate = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
580        optional SettingProto default_pitch = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
581        optional SettingProto default_synth = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
582        optional SettingProto default_locale = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
583        optional SettingProto enabled_plugins = 5;
584    }
585    optional Tts tts = 58;
586
587    message Tty {
588        option (android.msg_privacy).dest = DEST_EXPLICIT;
589
590        optional SettingProto tty_mode_enabled = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
591        // The preferred TTY mode:
592        // 0 = TTy Off, CDMA default
593        // 1 = TTY Full
594        // 2 = TTY HCO
595        // 3 = TTY VCO
596        optional SettingProto preferred_tty_mode = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
597    }
598    optional Tty tty = 59;
599
600    message Tv {
601        option (android.msg_privacy).dest = DEST_EXPLICIT;
602
603        // Whether the current user has been set up via setup wizard (0 = false,
604        // 1 = true). This value differs from USER_SETUP_COMPLETE in that it can be
605        // reset back to 0 in case SetupWizard has been re-enabled on TV devices.
606        optional SettingProto user_setup_complete = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
607        optional SettingProto input_hidden_inputs = 2;
608        optional SettingProto input_custom_labels = 3;
609    }
610    optional Tv tv = 60;
611
612    optional SettingProto ui_night_mode = 61 [ (android.privacy).dest = DEST_AUTOMATIC ];
613    optional SettingProto unknown_sources_default_reversed = 62 [ (android.privacy).dest = DEST_AUTOMATIC ];
614    optional SettingProto usb_audio_automatic_routing_disabled = 63 [ (android.privacy).dest = DEST_AUTOMATIC ];
615    // Whether the current user has been set up via setup wizard (0 = false, 1 = true)
616    optional SettingProto user_setup_complete = 64 [ (android.privacy).dest = DEST_AUTOMATIC ];
617
618    message Voice {
619        option (android.msg_privacy).dest = DEST_EXPLICIT;
620
621        // The currently selected voice interaction service flattened ComponentName.
622        optional SettingProto interaction_service = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
623        // The ComponentName string of the service to be used as the voice
624        // recognition service.
625        optional SettingProto recognition_service = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
626    }
627    optional Voice voice = 65;
628
629    message Volume {
630        option (android.msg_privacy).dest = DEST_EXPLICIT;
631
632        // What behavior should be invoked when the volume hush gesture is triggered
633        // One of VOLUME_HUSH_OFF, VOLUME_HUSH_VIBRATE, VOLUME_HUSH_MUTE.
634        optional SettingProto hush_gesture = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
635        // Persisted playback time after a user confirmation of an unsafe volume level.
636        optional SettingProto unsafe_volume_music_active_ms = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
637    }
638    optional Volume volume = 66;
639
640    message Vr {
641        option (android.msg_privacy).dest = DEST_EXPLICIT;
642
643        optional SettingProto display_mode = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
644        optional SettingProto enabled_listeners = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
645    }
646    optional Vr vr = 67;
647
648    optional SettingProto wake_gesture_enabled = 68 [ (android.privacy).dest = DEST_AUTOMATIC ];
649
650    message Zen {
651        option (android.msg_privacy).dest = DEST_EXPLICIT;
652
653        // If 0, turning on dnd manually will last indefinitely. Else if
654        // non-negative, turning on dnd manually will last for this many minutes.
655        // Else (if negative), turning on dnd manually will surface a dialog that
656        // prompts user to specify a duration.
657        optional SettingProto duration = 1 [ (android.privacy).dest = DEST_AUTOMATIC ];
658        optional SettingProto show_zen_upgrade_notification = 2 [ (android.privacy).dest = DEST_AUTOMATIC ];
659        optional SettingProto show_zen_settings_suggestion = 3 [ (android.privacy).dest = DEST_AUTOMATIC ];
660        optional SettingProto settings_updated = 4 [ (android.privacy).dest = DEST_AUTOMATIC ];
661        optional SettingProto settings_suggestion_viewed = 5 [ (android.privacy).dest = DEST_AUTOMATIC ];
662    }
663    optional Zen zen = 71;
664
665    // Please insert fields in alphabetical order and group them into messages
666    // if possible (to avoid reaching the method limit).
667    // Next tag = 91;
668}
669