• 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 
17 package android.telephony.satellite.stub;
18 
19 import android.telephony.satellite.stub.UUID;
20 import android.telephony.satellite.stub.SatellitePosition;
21 import android.telephony.satellite.stub.EarfcnRange;
22 
23 /**
24  * @hide
25  */
26 parcelable SatelliteInfo {
27     /**
28      * Unique identification number for the satellite.
29      * This ID is used to distinguish between different satellites in the network.
30      */
31     UUID id;
32 
33     /**
34      * Position information of a geostationary satellite.
35      * This includes the longitude and altitude of the satellite.
36      * If the SatellitePosition is invalid,
37      * longitudeDegree and altitudeKm will be represented as DOUBLE.NaN.
38      */
39     SatellitePosition position;
40 
41     /**
42      * The frequency bands to scan.
43      * Bands will be filled only if the whole band is needed.
44      * Maximum length of the vector is 8.
45      */
46     int[] bands;
47 
48     /**
49      * The supported frequency ranges. Earfcn ranges and earfcns won't overlap.
50      */
51     EarfcnRange[] earfcnRanges;
52 }
53