1/* 2 * Copyright (C) 2022 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 17syntax = "proto2"; 18 19package com.android.mms; 20option java_package = "com.android.mms"; 21option java_outer_classname = "PersistMmsAtomsProto"; 22option java_multiple_files = true; 23 24message PersistMmsAtoms { 25 /* Last Android build fingerprint. This usually changes after system OTA. */ 26 optional string build_fingerprint = 1; 27 28 /* Incoming MMS statistics and information. */ 29 repeated IncomingMms incoming_mms = 2; 30 31 /* Timestamp of last incoming_mms pull. */ 32 optional int64 incoming_mms_pull_timestamp_millis = 3; 33 34 /* Outgoing MMS statistics and information. */ 35 repeated OutgoingMms outgoing_mms = 4; 36 37 /* Timestamp of last outgoing_mms pull. */ 38 optional int64 outgoing_mms_pull_timestamp_millis = 5; 39} 40 41message IncomingMms { 42 optional int32 rat = 1; 43 optional int32 result = 2; 44 optional int32 roaming = 3; 45 optional int32 sim_slot_index = 4; 46 optional bool is_multi_sim = 5; 47 optional bool is_esim = 6; 48 optional int32 carrier_id = 7; 49 optional int64 avg_interval_millis = 8; 50 optional int64 mms_count = 9; 51 optional int32 retry_id = 10; 52 optional bool handled_by_carrier_app = 11; 53 optional bool is_managed_profile = 12; 54 optional bool is_ntn = 13; 55} 56 57message OutgoingMms { 58 optional int32 rat = 1; 59 optional int32 result = 2; 60 optional int32 roaming = 3; 61 optional int32 sim_slot_index = 4; 62 optional bool is_multi_sim = 5; 63 optional bool is_esim = 6; 64 optional int32 carrier_id = 7; 65 optional int64 avg_interval_millis = 8; 66 optional int64 mms_count = 9; 67 optional bool is_from_default_app = 10; 68 optional int32 retry_id = 11; 69 optional bool handled_by_carrier_app = 12; 70 optional bool is_managed_profile = 13; 71 optional bool is_ntn = 14; 72} 73