1
2// Copyright 2024 Google LLC
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
16syntax = "proto2";
17package com.android.internal.telephony.satellite;
18
19option java_package = "com.android.internal.telephony.satellite";
20option java_outer_classname = "SatelliteConfigData";
21
22message TelephonyConfigProto {
23  optional SatelliteConfigProto satellite = 1;
24}
25
26message SatelliteConfigProto {
27  optional int32 version = 1;
28  repeated CarrierSupportedSatelliteServicesProto carrier_supported_satellite_services = 2;
29  optional SatelliteRegionProto device_satellite_region = 3;
30}
31
32message CarrierSupportedSatelliteServicesProto {
33  optional int32 carrier_id = 1;
34  repeated SatelliteProviderCapabilityProto supported_satellite_provider_capabilities = 2;
35}
36
37message SatelliteProviderCapabilityProto{
38  optional string carrier_plmn = 1;
39  repeated int32 allowed_services = 2;
40}
41
42message SatelliteRegionProto {
43  optional bytes s2_cell_file = 1;
44  repeated string country_codes = 2;
45  optional bool is_allowed = 3;
46}