• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2023 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.telephony.satellite.stub;
18 
19 /**
20  * {@hide}
21  */
22 @Backing(type="int")
23 enum SatelliteModemState {
24     /**
25      * Satellite Idle state during which modem will scan for TN networks.
26      */
27     SATELLITE_MODEM_STATE_IDLE = 0,
28     /**
29      * Satellite modem is listening for incoming datagrams.
30      */
31     SATELLITE_MODEM_STATE_LISTENING = 1,
32     /**
33      * Satellite modem is sending and/or receiving datagrams.
34      */
35     SATELLITE_MODEM_STATE_DATAGRAM_TRANSFERRING = 2,
36     /**
37      * Satellite modem is retrying to send and/or receive datagrams.
38      */
39     SATELLITE_MODEM_STATE_DATAGRAM_RETRYING = 3,
40     /**
41      * Satellite modem is powered off.
42      */
43     SATELLITE_MODEM_STATE_OFF = 4,
44     /**
45      * Satellite modem is unavailable.
46      */
47     SATELLITE_MODEM_STATE_UNAVAILABLE = 5,
48     /**
49      * The satellite modem is powered on but the device is out of service.
50      */
51     SATELLITE_MODEM_STATE_OUT_OF_SERVICE = 6,
52     /**
53      * The satellite modem is powered on and the device is registered and in service.
54      */
55     SATELLITE_MODEM_STATE_IN_SERVICE = 7,
56     /**
57      * Satellite modem state is unknown. This generic modem state should be used only when the
58      * modem state cannot be mapped to other specific modem states.
59      */
60     SATELLITE_MODEM_STATE_UNKNOWN = -1,
61 }
62