blob: b8fbf9b6d205aa2f4c76aa056c88ce11e5432bb0 [file] [log] [blame]
Sarah Chin4e5a8462021-06-14 11:26:00 -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.radio;
18
19import android.hardware.radio.RadioTechnology;
20
21@VintfStability
22@Backing(type="int")
23enum RadioAccessFamily {
24 UNKNOWN = 1 << RadioTechnology.UNKNOWN,
25 GPRS = 1 << RadioTechnology.GPRS,
26 EDGE = 1 << RadioTechnology.EDGE,
27 UMTS = 1 << RadioTechnology.UMTS,
28 IS95A = 1 << RadioTechnology.IS95A,
29 IS95B = 1 << RadioTechnology.IS95B,
30 ONE_X_RTT = 1 << RadioTechnology.ONE_X_RTT,
31 EVDO_0 = 1 << RadioTechnology.EVDO_0,
32 EVDO_A = 1 << RadioTechnology.EVDO_A,
33 HSDPA = 1 << RadioTechnology.HSDPA,
34 HSUPA = 1 << RadioTechnology.HSUPA,
35 HSPA = 1 << RadioTechnology.HSPA,
36 EVDO_B = 1 << RadioTechnology.EVDO_B,
37 EHRPD = 1 << RadioTechnology.EHRPD,
38 LTE = 1 << RadioTechnology.LTE,
39 HSPAP = 1 << RadioTechnology.HSPAP,
40 GSM = 1 << RadioTechnology.GSM,
41 TD_SCDMA = 1 << RadioTechnology.TD_SCDMA,
Sarah Chin1f6aff82021-11-10 15:19:43 -080042 IWLAN = 1 << RadioTechnology.IWLAN,
Sarah Chin4e5a8462021-06-14 11:26:00 -070043 LTE_CA = 1 << RadioTechnology.LTE_CA,
44 /**
45 * 5G NR. This is only use in 5G Standalone mode.
46 */
47 NR = 1 << RadioTechnology.NR,
48}