• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
17syntax = "proto2";
18package android.telephony;
19
20option java_outer_classname = "SecurityProtoEnums";
21option java_multiple_files = true;
22
23// Identifier types
24enum CellularIdentifier {
25  CELLULAR_IDENTIFIER_UNKNOWN = 0;
26  CELLULAR_IDENTIFIER_IMSI = 1;
27  CELLULAR_IDENTIFIER_IMEI = 2;
28  CELLULAR_IDENTIFIER_SUCI = 3;
29}
30
31// NAS Protocol Messages
32enum NasProtocolMessage {
33 NAS_MESSAGE_UNKNOWN = 0;
34 NAS_MESSAGE_ATTACH_REQUEST = 1;
35 NAS_MESSAGE_IDENTITY_RESPONSE = 2;
36 NAS_MESSAGE_DETACH_REQUEST = 3;
37 NAS_MESSAGE_TRACKING_AREA_UPDATE_REQUEST = 4;
38 NAS_MESSAGE_LOCATION_UPDATE_REQUEST = 5;
39 NAS_MESSAGE_AUTHENTICATION_AND_CIPHERING_RESPONSE = 6;
40 NAS_MESSAGE_REGISTRATION_REQUEST = 7;
41 NAS_MESSAGE_DEREGISTRATION_REQUEST = 8;
42 NAS_MESSAGE_CM_REESTABLISHMENT_REQUEST = 9;
43 NAS_MESSAGE_CM_SERVICE_REQUEST = 10;
44 NAS_MESSAGE_IMSI_DETACH_INDICATION = 11;
45}