blob: edf33ba7cca6c90f220a58bde48e5f44efffa52d [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")
Sarah Chinda109042022-03-17 18:44:20 -070023@JavaDerive(toString=true)
Sarah Chin4e5a8462021-06-14 11:26:00 -070024enum RadioAccessFamily {
25 UNKNOWN = 1 << RadioTechnology.UNKNOWN,
26 GPRS = 1 << RadioTechnology.GPRS,
27 EDGE = 1 << RadioTechnology.EDGE,
28 UMTS = 1 << RadioTechnology.UMTS,
29 IS95A = 1 << RadioTechnology.IS95A,
30 IS95B = 1 << RadioTechnology.IS95B,
31 ONE_X_RTT = 1 << RadioTechnology.ONE_X_RTT,
32 EVDO_0 = 1 << RadioTechnology.EVDO_0,
33 EVDO_A = 1 << RadioTechnology.EVDO_A,
34 HSDPA = 1 << RadioTechnology.HSDPA,
35 HSUPA = 1 << RadioTechnology.HSUPA,
36 HSPA = 1 << RadioTechnology.HSPA,
37 EVDO_B = 1 << RadioTechnology.EVDO_B,
38 EHRPD = 1 << RadioTechnology.EHRPD,
39 LTE = 1 << RadioTechnology.LTE,
40 HSPAP = 1 << RadioTechnology.HSPAP,
41 GSM = 1 << RadioTechnology.GSM,
42 TD_SCDMA = 1 << RadioTechnology.TD_SCDMA,
Sarah Chin1f6aff82021-11-10 15:19:43 -080043 IWLAN = 1 << RadioTechnology.IWLAN,
Sarah Chinef437d92022-11-17 09:41:48 -080044 /** @deprecated use LTE instead. */
Sarah Chin4e5a8462021-06-14 11:26:00 -070045 LTE_CA = 1 << RadioTechnology.LTE_CA,
46 /**
47 * 5G NR. This is only use in 5G Standalone mode.
48 */
49 NR = 1 << RadioTechnology.NR,
50}