blob: 91d4c3f0be1b691c089c4fabea14cec608ce4f88 [file] [log] [blame]
Arthur Ishiguroa257b782021-08-04 10:40:29 -07001/*
2 * Copyright (C) 2021 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
17package android.hardware.contexthub;
18
19/**
20 * Used to indicate the type of user setting that has changed.
21 */
22@VintfStability
23@Backing(type="byte")
24enum Setting {
25 LOCATION = 1,
26 /**
27 * The main WiFi toggle in the Android settings for WiFi connectivity.
28 */
29 WIFI_MAIN,
30 /**
31 * The "Wi-Fi scanning" setting for location scans.
32 */
33 WIFI_SCANNING,
34 AIRPLANE_MODE,
35 /**
36 * Indicates if the microphone access is available for CHRE. Microphone
37 * access is disabled if the user has turned off the microphone as a
38 * privacy setting, in which case audio data cannot be used and propagated
39 * by CHRE.
40 */
41 MICROPHONE,
Anthony88c62692022-01-20 20:43:59 +000042 /**
43 * The main BT toggle in the Android settings for BT connectivity.
44 */
45 BT_MAIN,
46 /**
47 * The "BT scanning" setting for location scans.
48 */
49 BT_SCANNING,
Arthur Ishiguroa257b782021-08-04 10:40:29 -070050}