1 /**
2  * Copyright (C) 2024 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 
17 #pragma once
18 
19 #define BTIF_STORAGE_SECTION_ADAPTER "Adapter"
20 #define BTIF_STORAGE_SECTION_INFO "Info"
21 #define BTIF_STORAGE_SECTION_METRICS "Metrics"
22 
23 #define BTIF_STORAGE_KEY_ADDR_TYPE "AddrType"
24 #define BTIF_STORAGE_KEY_ADDRESS "Address"
25 #define BTIF_STORAGE_KEY_ALIAS "Aliase"
26 #define BTIF_STORAGE_KEY_APPEARANCE "Appearance"
27 #define BTIF_STORAGE_KEY_AV_REM_CTRL_FEATURES "AvrcpPeerFeatures"
28 #define BTIF_STORAGE_KEY_AVDTP_VERSION "AvdtpVersion"
29 #define BTIF_STORAGE_KEY_AVRCP_CONTROLLER_VERSION "AvrcpControllerVersion"
30 #define BTIF_STORAGE_KEY_CLOCK_OFFSET "ClockOffset"
31 #define BTIF_STORAGE_KEY_CSIS_AUTOCONNECT "CsisAutoconnect"
32 #define BTIF_STORAGE_KEY_CSIS_SET_INFO_BIN "CsisSetInfoBin"
33 #define BTIF_STORAGE_KEY_DEV_CLASS "DevClass"
34 #define BTIF_STORAGE_KEY_DEV_TYPE "DevType"
35 #define BTIF_STORAGE_KEY_DEVICE_GROUP_BIN "DeviceGroupBin"
36 #define BTIF_STORAGE_KEY_DIS_MODEL_NUM "ModelName"
37 #define BTIF_STORAGE_KEY_DISC_TIMEOUT "DiscoveryTimeout"
38 #define BTIF_STORAGE_KEY_GATT_CLIENT_DB_HASH "GattClientDatabaseHash"
39 #define BTIF_STORAGE_KEY_GATT_CLIENT_SUPPORTED "GattClientSupportedFeatures"
40 #define BTIF_STORAGE_KEY_GATT_SERVER_SUPPORTED "GattServerSupportedFeatures"
41 #define BTIF_STORAGE_KEY_HEARING_AID_AUDIO_CONTROL_POINT "HearingAidAudioControlPoint"
42 #define BTIF_STORAGE_KEY_HEARING_AID_AUDIO_STATUS_CCC_HANDLE "HearingAidAudioStatusCccHandle"
43 #define BTIF_STORAGE_KEY_HEARING_AID_AUDIO_STATUS_HANDLE "HearingAidAudioStatusHandle"
44 #define BTIF_STORAGE_KEY_HEARING_AID_CAPABILITIES "HearingAidCapabilities"
45 #define BTIF_STORAGE_KEY_HEARING_AID_CODECS "HearingAidCodecs"
46 #define BTIF_STORAGE_KEY_HEARING_AID_IS_ACCEPTLISTED "HearingAidIsAcceptlisted"
47 #define BTIF_STORAGE_KEY_HEARING_AID_PREPARATION_DELAY "HearingAidPreparationDelay"
48 #define BTIF_STORAGE_KEY_HEARING_AID_READ_PSM_HANDLE "HearingAidReadPsmHandle"
49 #define BTIF_STORAGE_KEY_HEARING_AID_RENDER_DELAY "HearingAidRenderDelay"
50 #define BTIF_STORAGE_KEY_HEARING_AID_SERVICE_CHANGED_CCC_HANDLE "HearingAidServiceChangedCccHandle"
51 #define BTIF_STORAGE_KEY_HEARING_AID_SYNC_ID "HearingAidSyncId"
52 #define BTIF_STORAGE_KEY_HEARING_AID_VOLUME_HANDLE "HearingAidVolumeHandle"
53 #define BTIF_STORAGE_KEY_HFP_SDP_FEATURES "HfpSdpFeatures"
54 #define BTIF_STORAGE_KEY_HFP_VERSION "HfpVersion"
55 #define BTIF_STORAGE_KEY_HID_APP_ID "HidAppId"
56 #define BTIF_STORAGE_KEY_HID_ATTR_MASK "HidAttrMask"
57 #define BTIF_STORAGE_KEY_HID_COUNTRY_CODE "HidCountryCode"
58 #define BTIF_STORAGE_KEY_HID_DESCRIPTOR "HidDescriptor"
59 #define BTIF_STORAGE_KEY_HID_DEVICE_CABLED "HidDeviceCabled"
60 #define BTIF_STORAGE_KEY_HID_PRODUCT_ID "HidProductId"
61 #define BTIF_STORAGE_KEY_HID_SSR_MAX_LATENCY "HidSSRMaxLatency"
62 #define BTIF_STORAGE_KEY_HID_SSR_MIN_TIMEOUT "HidSSRMinTimeout"
63 #define BTIF_STORAGE_KEY_HID_SUB_CLASS "HidSubClass"
64 #define BTIF_STORAGE_KEY_HID_VENDOR_ID "HidVendorId"
65 #define BTIF_STORAGE_KEY_HID_VERSION "HidVersion"
66 #define BTIF_STORAGE_KEY_HID_DB_VERSION "HidDbVersion"
67 #define BTIF_STORAGE_KEY_HID_RECONNECT_ALLOWED "HidReConnectAllowed"
68 #define BTIF_STORAGE_KEY_HOGP_REPORT "HidReport"
69 #define BTIF_STORAGE_KEY_HOGP_REPORT_VERSION "HidReportVersion"
70 #define BTIF_STORAGE_KEY_HOGP_RECONNECT_ALLOWED "HogpReConnectAllowed"
71 #define BTIF_STORAGE_KEY_HOGP_APP_ID "HogpAppId"
72 #define BTIF_STORAGE_KEY_HOGP_ATTR_MASK "HogpAttrMask"
73 #define BTIF_STORAGE_KEY_HOGP_COUNTRY_CODE "HogpCountryCode"
74 #define BTIF_STORAGE_KEY_HOGP_DESCRIPTOR "HogpDescriptor"
75 #define BTIF_STORAGE_KEY_HOGP_PRODUCT_ID "HogpProductId"
76 #define BTIF_STORAGE_KEY_HOGP_SUB_CLASS "HogpSubClass"
77 #define BTIF_STORAGE_KEY_HOGP_VENDOR_ID "HogpVendorId"
78 #define BTIF_STORAGE_KEY_HOGP_VERSION "HogpVersion"
79 #define BTIF_STORAGE_KEY_LE_KEY_LCSRK "LE_KEY_LCSRK"
80 #define BTIF_STORAGE_KEY_LE_KEY_LENC "LE_KEY_LENC"
81 #define BTIF_STORAGE_KEY_LE_KEY_LID "LE_KEY_LID"
82 #define BTIF_STORAGE_KEY_LE_KEY_PCSRK "LE_KEY_PCSRK"
83 #define BTIF_STORAGE_KEY_LE_KEY_PENC "LE_KEY_PENC"
84 #define BTIF_STORAGE_KEY_LE_KEY_PID "LE_KEY_PID"
85 #define BTIF_STORAGE_KEY_LE_LOCAL_KEY_DHK "LE_LOCAL_KEY_DHK"
86 #define BTIF_STORAGE_KEY_LE_LOCAL_KEY_ER "LE_LOCAL_KEY_ER"
87 #define BTIF_STORAGE_KEY_LE_LOCAL_KEY_IR "LE_LOCAL_KEY_IR"
88 #define BTIF_STORAGE_KEY_LE_LOCAL_KEY_IRK "LE_LOCAL_KEY_IRK"
89 #define BTIF_STORAGE_KEY_LEAUDIO_ASES_BIN "AsesBin"
90 #define BTIF_STORAGE_KEY_LEAUDIO_AUTOCONNECT "LeAudioAutoconnect"
91 #define BTIF_STORAGE_KEY_LEAUDIO_HANDLES_BIN "LeAudioHandlesBin"
92 #define BTIF_STORAGE_KEY_LEAUDIO_HAS_ACTIVE_PRESET "LeAudioHasActivePreset"
93 #define BTIF_STORAGE_KEY_LEAUDIO_HAS_FLAGS "LeAudioHasFlags"
94 #define BTIF_STORAGE_KEY_LEAUDIO_HAS_IS_ACCEPTLISTED "LeAudioHasIsAcceptlisted"
95 #define BTIF_STORAGE_KEY_LEAUDIO_HAS_SERIALIZED_PRESETS "LeAudioHasSerializedPresets"
96 #define BTIF_STORAGE_KEY_LEAUDIO_SINK_AUDIOLOCATION "SinkAudioLocation"
97 #define BTIF_STORAGE_KEY_LEAUDIO_SINK_PACS_BIN "SinkPacsBin"
98 #define BTIF_STORAGE_KEY_LEAUDIO_SINK_SUPPORTED_CONTEXT_TYPE "SinkSupportedContextType"
99 #define BTIF_STORAGE_KEY_LEAUDIO_SOURCE_AUDIOLOCATION "SourceAudioLocation"
100 #define BTIF_STORAGE_KEY_LEAUDIO_SOURCE_PACS_BIN "SourcePacsBin"
101 #define BTIF_STORAGE_KEY_LEAUDIO_SOURCE_SUPPORTED_CONTEXT_TYPE "SourceSupportedContextType"
102 #define BTIF_STORAGE_KEY_LINK_KEY "LinkKey"
103 #define BTIF_STORAGE_KEY_LINK_KEY_TYPE "LinkKeyType"
104 #define BTIF_STORAGE_KEY_LOCAL_IO_CAPS "LocalIOCaps"
105 #define BTIF_STORAGE_KEY_MAX_SESSION_KEY_SIZE "MaxSessionKeySize"
106 #define BTIF_STORAGE_KEY_METRICS_ID_KEY "MetricsId"
107 #define BTIF_STORAGE_KEY_METRICS_SALT_256BIT "Salt256Bit"
108 #define BTIF_STORAGE_KEY_NAME "Name"
109 #define BTIF_STORAGE_KEY_PBAP_PCE_VERSION "PbapPceVersion"
110 #define BTIF_STORAGE_KEY_PIN_LENGTH "PinLength"
111 #define BTIF_STORAGE_KEY_PRODUCT_ID "ProductId"
112 #define BTIF_STORAGE_KEY_REMOTE_SERVICE "Service"
113 #define BTIF_STORAGE_KEY_REMOTE_VER_MFCT "Manufacturer"
114 #define BTIF_STORAGE_KEY_REMOTE_VER_SUBVER "LmpSubVer"
115 #define BTIF_STORAGE_KEY_REMOTE_VER_VER "LmpVer"
116 #define BTIF_STORAGE_KEY_RESTRICTED "Restricted"
117 #define BTIF_STORAGE_KEY_SCANMODE "ScanMode"
118 #define BTIF_STORAGE_KEY_SDP_DI_HW_VERSION "SdpDiHardwareVersion"
119 #define BTIF_STORAGE_KEY_SDP_DI_MANUFACTURER "SdpDiManufacturer"
120 #define BTIF_STORAGE_KEY_SDP_DI_MODEL "SdpDiModel"
121 #define BTIF_STORAGE_KEY_SDP_DI_VENDOR_ID_SRC "SdpDiVendorIdSource"
122 #define BTIF_STORAGE_KEY_SECURE_CONNECTIONS_SUPPORTED "SecureConnectionsSupported"
123 #define BTIF_STORAGE_KEY_TIMESTAMP "Timestamp"
124 #define BTIF_STORAGE_KEY_VENDOR_ID "VendorId"
125 #define BTIF_STORAGE_KEY_VENDOR_ID_SOURCE "VendorIdSource"
126 #define BTIF_STORAGE_KEY_VERSION "ProductVersion"
127