summaryrefslogtreecommitdiff
path: root/proto/src
diff options
context:
space:
mode:
author youngtaecha <youngtaecha@google.com> 2023-12-27 01:54:40 +0000
committer youngtaecha <youngtaecha@google.com> 2024-02-22 10:07:18 +0000
commitaf1ec68e474935b5bee9e2449c80ec74fdb5f5b3 (patch)
treea177fe078a6d5dd13c3d549730a8fe43775d6799 /proto/src
parentfd8f4cc359ce2dffac787ee45303849cc58b6205 (diff)
Support config update for satellite
Bug: 319609096 Test: Build Test: Manual test with sample data files(v4, v5) and no file case Test: atest com.android.internal.telephony.satellite.SatelliteConfigParserTest Change-Id: I1ce08d0a8fd03fe42e321976f8c473a43faf6d21
Diffstat (limited to 'proto/src')
-rw-r--r--proto/src/telephony_config_update.proto46
1 files changed, 46 insertions, 0 deletions
diff --git a/proto/src/telephony_config_update.proto b/proto/src/telephony_config_update.proto
new file mode 100644
index 0000000000..c193f3527a
--- /dev/null
+++ b/proto/src/telephony_config_update.proto
@@ -0,0 +1,46 @@
+
+// Copyright 2024 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto2";
+package com.android.internal.telephony.satellite;
+
+option java_package = "com.android.internal.telephony.satellite";
+option java_outer_classname = "SatelliteConfigData";
+
+message TelephonyConfigProto {
+ optional SatelliteConfigProto satellite = 1;
+}
+
+message SatelliteConfigProto {
+ optional int32 version = 1;
+ repeated CarrierSupportedSatelliteServicesProto carrier_supported_satellite_services = 2;
+ optional SatelliteRegionProto device_satellite_region = 3;
+}
+
+message CarrierSupportedSatelliteServicesProto {
+ optional int32 carrier_id = 1;
+ repeated SatelliteProviderCapabilityProto supported_satellite_provider_capabilities = 2;
+}
+
+message SatelliteProviderCapabilityProto{
+ optional string carrier_plmn = 1;
+ repeated int32 allowed_services = 2;
+}
+
+message SatelliteRegionProto {
+ optional bytes s2_cell_file = 1;
+ repeated string country_codes = 2;
+ optional bool is_allowed = 3;
+} \ No newline at end of file