• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 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 
17 package android.security.metrics;
18 
19 /**
20  * Storage enum as defined in Keystore2StorageStats of frameworks/proto_logging/stats/atoms.proto.
21  * @hide
22  */
23 @Backing(type="int")
24 enum Storage {
25     STORAGE_UNSPECIFIED = 0,
26     KEY_ENTRY = 1,
27     KEY_ENTRY_ID_INDEX = 2,
28     KEY_ENTRY_DOMAIN_NAMESPACE_INDEX = 3,
29     BLOB_ENTRY = 4,
30     BLOB_ENTRY_KEY_ENTRY_ID_INDEX = 5,
31     KEY_PARAMETER = 6,
32     KEY_PARAMETER_KEY_ENTRY_ID_INDEX = 7,
33     KEY_METADATA = 8,
34     KEY_METADATA_KEY_ENTRY_ID_INDEX = 9,
35     GRANT = 10,
36     AUTH_TOKEN = 11,
37     BLOB_METADATA = 12,
38     BLOB_METADATA_BLOB_ENTRY_ID_INDEX =13,
39     METADATA = 14,
40     DATABASE = 15,
41     LEGACY_STORAGE = 16,
42 }