1/* 2 * Copyright (C) 2020 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 telephonyStatsLog; 20 21option java_package = "com.android.internal.telephony"; 22option java_outer_classname = "PersistAtomsProto"; 23 24// Holds atoms to store on persist storage in case of power cycle or process crash. 25// NOTE: using int64 rather than google.protobuf.Timestamp for timestamps simplifies implementation. 26// Next id: 82 27message PersistAtoms { 28 /* Aggregated RAT usage during the call. */ 29 repeated VoiceCallRatUsage voice_call_rat_usage = 1; 30 31 /* Timestamp of last voice_call_rat_usages pull. */ 32 optional int64 voice_call_rat_usage_pull_timestamp_millis = 2; 33 34 /* Per call statistics and information. */ 35 repeated VoiceCallSession voice_call_session = 3; 36 37 /* Timestamp of last voice_call_sessions pull. */ 38 optional int64 voice_call_session_pull_timestamp_millis = 4; 39 40 /* Incoming SMS statistics and information. */ 41 repeated IncomingSms incoming_sms = 5; 42 43 /* Timestamp of last incoming_sms pull. */ 44 optional int64 incoming_sms_pull_timestamp_millis = 6; 45 46 /* Outgoing SMS statistics and information. */ 47 repeated OutgoingSms outgoing_sms = 7; 48 49 /* Timestamp of last incoming_sms pull. */ 50 optional int64 outgoing_sms_pull_timestamp_millis = 8; 51 52 /* List of carrier ID mismatch events already sent. */ 53 repeated CarrierIdMismatch carrier_id_mismatch = 9; 54 55 /* Last version of carrier ID table sent. */ 56 optional int32 carrier_id_table_version = 10; 57 58 /* Data Call session statistics and information. */ 59 repeated DataCallSession data_call_session = 11; 60 61 /* Timestamp of last data_call_session pull. */ 62 optional int64 data_call_session_pull_timestamp_millis = 12; 63 64 /* Duration spent in each possible service state. */ 65 repeated CellularServiceState cellular_service_state = 13; 66 67 /* Timestamp of last cellular_service_state pull. */ 68 optional int64 cellular_service_state_pull_timestamp_millis = 14; 69 70 /* Switch count between data RATs. */ 71 repeated CellularDataServiceSwitch cellular_data_service_switch = 15; 72 73 /* Timestamp of last cellular_data_service_switch pull. */ 74 optional int64 cellular_data_service_switch_pull_timestamp_millis = 16; 75 76 /* List of IMS registration terminations. */ 77 repeated ImsRegistrationTermination ims_registration_termination = 17; 78 79 /* Timestamp of last ims_registration_termination pull. */ 80 optional int64 ims_registration_termination_pull_timestamp_millis = 18; 81 82 /* Durations of IMS registrations and capabilities. */ 83 repeated ImsRegistrationStats ims_registration_stats = 19; 84 85 /* Timestamp of last ims_registration_stats pull. */ 86 optional int64 ims_registration_stats_pull_timestamp_millis = 20; 87 88 /* Last Android build fingerprint. This usually changes after system OTA. */ 89 optional string build_fingerprint = 21; 90 91 /* Summary of received network requests. */ 92 repeated NetworkRequests network_requests = 22 [deprecated = true]; 93 94 /* Timestamp of last network_requests pull. */ 95 optional int64 network_requests_pull_timestamp_millis = 23 [deprecated = true]; 96 97 /* RCS single registrtions feature tag information. */ 98 repeated ImsRegistrationFeatureTagStats ims_registration_feature_tag_stats = 24; 99 100 /* Timestamp of last ims_registration_feature_tag_stats pull. */ 101 optional int64 ims_registration_feature_tag_stats_pull_timestamp_millis = 25; 102 103 /* RCS client provisioning statistics and information. */ 104 repeated RcsClientProvisioningStats rcs_client_provisioning_stats = 26; 105 106 /* Timestamp of last rcs_client_provisioning_stats pull. */ 107 optional int64 rcs_client_provisioning_stats_pull_timestamp_millis = 27; 108 109 /* RCS configuration statistics and information based ACS. */ 110 repeated RcsAcsProvisioningStats rcs_acs_provisioning_stats = 28; 111 112 /* Timestamp of last rcs_acs_provisioning_stats pull. */ 113 optional int64 rcs_acs_provisioning_stats_pull_timestamp_millis = 29; 114 115 /* SIP delegate statistics and information. */ 116 repeated SipDelegateStats sip_delegate_stats = 30; 117 118 /* Timestamp of last sip_delegate_stats pull. */ 119 optional int64 sip_delegate_stats_pull_timestamp_millis = 31; 120 121 /* SIP Transport featuere tag statistics and information. */ 122 repeated SipTransportFeatureTagStats sip_transport_feature_tag_stats = 32; 123 124 /* Timestamp of last sip_transport_feature_tag_stats pull. */ 125 optional int64 sip_transport_feature_tag_stats_pull_timestamp_millis = 33; 126 127 /* SIP Message response statistics and information. */ 128 repeated SipMessageResponse sip_message_response = 34; 129 130 /* Timestamp of last sip_message_response pull. */ 131 optional int64 sip_message_response_pull_timestamp_millis = 35; 132 133 /* SIP Transport session statistics and information. */ 134 repeated SipTransportSession sip_transport_session = 36; 135 136 /* Timestamp of last sip_transport_session pull. */ 137 optional int64 sip_transport_session_pull_timestamp_millis = 37; 138 139 /* Dedicated bearer listener statistics and information. */ 140 repeated ImsDedicatedBearerListenerEvent ims_dedicated_bearer_listener_event = 38; 141 142 /* Timestamp of last ims_dedicated_bearer_listener_event pull. */ 143 optional int64 ims_dedicated_bearer_listener_event_pull_timestamp_millis = 39; 144 145 /* Dedicated bearer event statistics and information. */ 146 repeated ImsDedicatedBearerEvent ims_dedicated_bearer_event = 40; 147 148 /* Timestamp of last ims_dedicated_bearer_event pull. */ 149 optional int64 ims_dedicated_bearer_event_pull_timestamp_millis = 41; 150 151 /* Publish featere tag statistics and information. */ 152 repeated ImsRegistrationServiceDescStats ims_registration_service_desc_stats = 42; 153 154 /* Timestamp of last ims_registration_service_desc_stats pull. */ 155 optional int64 ims_registration_service_desc_stats_pull_timestamp_millis = 43; 156 157 /* UCE event stats statistics and information. */ 158 repeated UceEventStats uce_event_stats = 44; 159 160 /* Timestamp of last uce_event_stats pull. */ 161 optional int64 uce_event_stats_pull_timestamp_millis = 45; 162 163 /* Presence notify event statistics and information. */ 164 repeated PresenceNotifyEvent presence_notify_event = 46; 165 166 /* Timestamp of last presence_notify_event pull. */ 167 optional int64 presence_notify_event_pull_timestamp_millis = 47; 168 169 /* GBA event statistics and information. */ 170 repeated GbaEvent gba_event = 48; 171 172 /* Timestamp of last gba_event pull. */ 173 optional int64 gba_event_pull_timestamp_millis = 49; 174 175 /* Summary of received network requests. */ 176 repeated NetworkRequestsV2 network_requests_v2 = 50; 177 178 /* Timestamp of last network_requests_v2 pull. */ 179 optional int64 network_requests_v2_pull_timestamp_millis = 51; 180 181 /* Unmetered networks information. */ 182 repeated UnmeteredNetworks unmetered_networks = 52; 183 184 /* Outgoing Short Code SMS statistics and information. */ 185 repeated OutgoingShortCodeSms outgoing_short_code_sms = 53; 186 187 /* Timestamp of last outgoing_short_code_sms pull. */ 188 optional int64 outgoing_short_code_sms_pull_timestamp_millis = 54; 189 190 /* Number of time the user toggled the data switch feature since the last collection. */ 191 optional int32 auto_data_switch_toggle_count = 55; 192 193 /* Consolidated emergency numbers list information. */ 194 repeated EmergencyNumbersInfo emergency_numbers_info = 56; 195 196 /* Timestamp of last emergency number pull. */ 197 optional int64 emergency_number_pull_timestamp_millis = 57; 198 199 /** Snapshot of satellite controller. */ 200 repeated SatelliteController satellite_controller = 58; 201 202 /* Timestamp of last satellite_controller pull. */ 203 optional int64 satellite_controller_pull_timestamp_millis = 59; 204 205 /** Snapshot of satellite controller. */ 206 repeated SatelliteSession satellite_session = 60; 207 208 /* Timestamp of last satellite_controller pull. */ 209 optional int64 satellite_session_pull_timestamp_millis = 61; 210 211 /** Snapshot of satellite incoming datagram. */ 212 repeated SatelliteIncomingDatagram satellite_incoming_datagram = 62; 213 214 /* Timestamp of last satellite_incoming_datagram pull. */ 215 optional int64 satellite_incoming_datagram_pull_timestamp_millis = 63; 216 217 /** Snapshot of satellite outgoing datagram. */ 218 repeated SatelliteOutgoingDatagram satellite_outgoing_datagram = 64; 219 220 /* Timestamp of last satellite_outgoing_datagram pull. */ 221 optional int64 satellite_outgoing_datagram_pull_timestamp_millis = 65; 222 223 /** Snapshot of satellite provision datagram. */ 224 repeated SatelliteProvision satellite_provision = 66; 225 226 /* Timestamp of last satellite_provision pull. */ 227 optional int64 satellite_provision_pull_timestamp_millis = 67; 228 229 /** Snapshot of satellite SOS message recommender. */ 230 repeated SatelliteSosMessageRecommender satellite_sos_message_recommender = 68; 231 232 /* Timestamp of last satellite_sos_message_recommender pull. */ 233 optional int64 satellite_sos_message_recommender_pull_timestamp_millis = 69; 234 235 /* Data Network Validation statistics and information. */ 236 repeated DataNetworkValidation data_network_validation = 70; 237 238 /* Timestamp of last data_network_validation pull. */ 239 optional int64 data_network_validation_pull_timestamp_millis = 71; 240 241 /* Snapshot of carrier roaming satellite session. */ 242 repeated CarrierRoamingSatelliteSession carrier_roaming_satellite_session = 72; 243 244 /* Timestamp of last carrier_roaming_satellite_session pull. */ 245 optional int64 carrier_roaming_satellite_session_pull_timestamp_millis = 73; 246 247 /* Snapshot of carrier roaming satellite controller stats. */ 248 repeated CarrierRoamingSatelliteControllerStats carrier_roaming_satellite_controller_stats = 74; 249 250 /* Timestamp of last carrier_roaming_satellite_controller_stats pull. */ 251 optional int64 carrier_roaming_satellite_controller_stats_pull_timestamp_millis = 75; 252 253 /* Snapshot of satellite entitlement. */ 254 repeated SatelliteEntitlement satellite_entitlement = 76; 255 256 /* Timestamp of last satellite_entitlement pull. */ 257 optional int64 satellite_entitlement_pull_timestamp_millis = 77; 258 259 /* Snapshot of satellite config updater. */ 260 repeated SatelliteConfigUpdater satellite_config_updater = 78; 261 262 /* Timestamp of last satellite_config_updater pull. */ 263 optional int64 satellite_config_updater_pull_timestamp_millis = 79; 264 265 /** Snapshot of satellite access controller. */ 266 repeated SatelliteAccessController satellite_access_controller = 80; 267 268 /* Timestamp of last satellite access controller pull. */ 269 optional int64 satellite_access_controller_pull_timestamp_millis = 81; 270} 271 272// The canonical versions of the following enums live in: 273// frameworks/proto_logging/stats/enums/telephony/enums.proto 274// The canonical versions of the following atoms live in: 275// frameworks/proto_logging/stats/atoms.proto 276// We cannot link against framework's and statsd's protolite libraries as it is "for test only". 277// NOTE: StatsLog functions use int in place of enum 278 279message VoiceCallSession { 280 reserved 4; 281 optional int32 bearer_at_start = 1; 282 optional int32 bearer_at_end = 2; 283 optional int32 direction = 3; 284 optional bool setup_failed = 5; 285 optional int32 disconnect_reason_code = 6; 286 optional int32 disconnect_extra_code = 7; 287 optional string disconnect_extra_message = 8; 288 optional int32 rat_at_start = 9; 289 optional int32 rat_at_end = 10; 290 optional int64 rat_switch_count = 11; 291 optional int64 codec_bitmask = 12; 292 optional int32 concurrent_call_count_at_start = 13; 293 optional int32 concurrent_call_count_at_end = 14; 294 optional int32 sim_slot_index = 15; 295 optional bool is_multi_sim = 16; 296 optional bool is_esim = 17; 297 optional int32 carrier_id = 18; 298 optional bool srvcc_completed = 19; 299 optional int64 srvcc_failure_count = 20; 300 optional int64 srvcc_cancellation_count = 21; 301 optional bool rtt_enabled = 22; 302 optional bool is_emergency = 23; 303 optional bool is_roaming = 24; 304 optional int32 signal_strength_at_end = 25; 305 optional int32 band_at_end = 26; 306 optional int32 setup_duration_millis = 27; 307 optional int32 main_codec_quality = 28; 308 optional bool video_enabled = 29; 309 optional int32 rat_at_connected = 30; 310 optional bool is_multiparty = 31; 311 optional int32 call_duration = 32; 312 optional int32 last_known_rat = 33; 313 optional int32 fold_state = 34; 314 optional int64 rat_switch_count_after_connected = 35; 315 optional bool handover_in_progress = 36; 316 optional bool is_iwlan_cross_sim_at_start = 37; 317 optional bool is_iwlan_cross_sim_at_end = 38; 318 optional bool is_iwlan_cross_sim_at_connected = 39; 319 optional bool vonr_enabled = 40; 320 optional bool is_ntn = 41; 321 optional bool supports_business_call_composer = 42; 322 optional int32 call_composer_status = 43; 323 324 // Internal use only 325 optional int64 setup_begin_millis = 10001; 326} 327 328message VoiceCallRatUsage { 329 optional int32 carrier_id = 1; 330 optional int32 rat = 2; 331 optional int64 total_duration_millis = 3; // Duration needs to be rounded when pulled 332 optional int64 call_count = 4; 333} 334 335message IncomingSms { 336 optional int32 sms_format = 1; 337 optional int32 sms_tech = 2; 338 optional int32 rat = 3; 339 optional int32 sms_type = 4; 340 optional int32 total_parts = 5; 341 optional int32 received_parts = 6; 342 optional bool blocked = 7; 343 optional int32 error = 8; 344 optional bool is_roaming = 9; 345 optional int32 sim_slot_index = 10; 346 optional bool is_multi_sim = 11; 347 optional bool is_esim = 12; 348 optional int32 carrier_id = 13; 349 optional int64 message_id = 14; 350 optional int32 count = 15; 351 optional bool is_managed_profile = 16; 352 optional bool is_ntn = 17; 353 optional bool is_emergency = 18; 354 355 // Internal use only 356 optional int32 hashCode = 10001; 357} 358 359message OutgoingSms { 360 optional int32 sms_format = 1; 361 optional int32 sms_tech = 2; 362 optional int32 rat = 3; 363 optional int32 send_result = 4; 364 optional int32 error_code = 5; 365 optional bool is_roaming = 6; 366 optional bool is_from_default_app = 7; 367 optional int32 sim_slot_index = 8; 368 optional bool is_multi_sim = 9; 369 optional bool is_esim = 10; 370 optional int32 carrier_id = 11; 371 optional int64 message_id = 12; 372 optional int32 retry_id = 13; 373 optional int64 interval_millis = 14; 374 optional int32 count = 15; 375 optional int32 send_error_code = 16; 376 optional int32 network_error_code = 17; 377 optional bool is_managed_profile = 18; 378 optional bool is_emergency = 19; 379 optional bool is_ntn = 20; 380 381 // Internal use only 382 optional int32 hashCode = 10001; 383} 384 385message CarrierIdMismatch { 386 optional string mcc_mnc = 1; 387 optional string gid1 = 2; 388 optional string spn = 3; 389 optional string pnn = 4; 390} 391 392message DataCallSession { 393 reserved 4; 394 optional int32 dimension = 1; 395 optional bool is_multi_sim = 2; 396 optional bool is_esim = 3; 397 optional int32 apn_type_bitmask = 5; 398 optional int32 carrier_id = 6; 399 optional bool is_roaming = 7; 400 optional int32 rat_at_end = 8; 401 optional bool oos_at_end = 9; 402 optional int64 rat_switch_count = 10; 403 optional bool is_opportunistic = 11; 404 optional int32 ip_type = 12; 405 optional bool setup_failed = 13; 406 optional int32 failure_cause = 14; 407 optional int32 suggested_retry_millis = 15; 408 optional int32 deactivate_reason = 16; 409 optional int64 duration_minutes = 17; 410 optional bool ongoing = 18; 411 optional int32 band_at_end = 19; 412 repeated int32 handover_failure_causes = 20; 413 repeated int32 handover_failure_rat = 21; 414 optional bool is_non_dds = 22; 415 optional bool is_iwlan_cross_sim = 23; 416 optional bool is_ntn = 24; 417 optional bool is_satellite_transport = 25; 418 optional bool is_provisioning_profile = 26; 419} 420 421message CellularServiceState { 422 optional int32 voice_rat = 1; 423 optional int32 data_rat = 2; 424 optional int32 voice_roaming_type = 3; 425 optional int32 data_roaming_type = 4; 426 optional bool is_endc = 5; 427 optional int32 sim_slot_index = 6; 428 optional bool is_multi_sim = 7; 429 optional int32 carrier_id = 8; 430 optional int64 total_time_millis = 9; // Duration needs to be rounded when pulled 431 optional bool is_emergency_only = 10; 432 optional bool is_internet_pdn_up = 11; 433 optional int32 fold_state = 12; 434 optional bool override_voice_service = 13; 435 optional bool isDataEnabled = 14; 436 optional bool is_iwlan_cross_sim = 15; 437 optional bool is_ntn = 16; 438 439 // Internal use only 440 optional int64 last_used_millis = 10001; 441} 442 443message CellularDataServiceSwitch { 444 optional int32 rat_from = 1; 445 optional int32 rat_to = 2; 446 optional int32 sim_slot_index = 3; 447 optional bool is_multi_sim = 4; 448 optional int32 carrier_id = 5; 449 optional int32 switch_count = 6; 450 451 // Internal use only 452 optional int64 last_used_millis = 10001; 453} 454 455message ImsRegistrationTermination { 456 optional int32 carrier_id = 1; 457 optional bool is_multi_sim = 2; 458 optional int32 rat_at_end = 3; 459 optional bool setup_failed = 4; 460 optional int32 reason_code = 5; 461 optional int32 extra_code = 6; 462 optional string extra_message = 7; 463 optional int32 count = 8; 464 optional bool is_iwlan_cross_sim = 9; 465 466 // Internal use only 467 optional int64 last_used_millis = 10001; 468} 469 470message ImsRegistrationStats { 471 reserved 16; 472 optional int32 carrier_id = 1; 473 optional int32 sim_slot_index = 2; 474 optional int32 rat = 3; 475 // Durations need to be rounded when pulled 476 optional int64 registered_millis = 4; 477 optional int64 voice_capable_millis = 5; 478 optional int64 voice_available_millis = 6; 479 optional int64 sms_capable_millis = 7; 480 optional int64 sms_available_millis = 8; 481 optional int64 video_capable_millis = 9; 482 optional int64 video_available_millis = 10; 483 optional int64 ut_capable_millis = 11; 484 optional int64 ut_available_millis = 12; 485 optional int64 registering_millis = 13; 486 optional int64 unregistered_millis = 14; 487 optional bool is_iwlan_cross_sim = 15; 488 optional int32 registered_times = 17; 489 490 // Internal use only 491 optional int64 last_used_millis = 10001; 492} 493 494// deprecated - please use NetworkRequestsV2 instead 495message NetworkRequests { 496 optional int32 carrier_id = 1; 497 optional int32 enterprise_request_count = 2; 498 optional int32 enterprise_release_count = 3; 499} 500 501message NetworkRequestsV2 { 502 enum NetworkCapability { 503 UNKNOWN = 0; 504 PRIORITIZE_LATENCY = 1; 505 PRIORITIZE_BANDWIDTH = 2; 506 CBS = 3; 507 ENTERPRISE = 4; 508 SATELLITE_INTERNET_RESTRICTED = 5; 509 SATELLITE_MMS_RESTRICTED = 6; 510 SATELLITE_IMS_RESTRICTED = 7; 511 SATELLITE_XCAP_RESTRICTED = 8; 512 SATELLITE_EIMS_RESTRICTED = 9; 513 SATELLITE_SUPL_RESTRICTED =10; 514 } 515 optional int32 carrier_id = 1; 516 optional NetworkCapability capability = 2; 517 optional int32 request_count = 3; 518} 519 520message ImsRegistrationFeatureTagStats { 521 optional int32 carrier_id = 1; 522 optional int32 slot_id = 2; 523 optional int32 feature_tag_name = 3; 524 optional int32 registration_tech = 4; 525 optional int64 registered_millis = 5; 526} 527 528message RcsClientProvisioningStats { 529 optional int32 carrier_id = 1; 530 optional int32 slot_id = 2; 531 optional int32 event = 3; 532 optional int32 count = 4; 533} 534 535message RcsAcsProvisioningStats { 536 optional int32 carrier_id = 1; 537 optional int32 slot_id = 2; 538 optional int32 response_code = 3; 539 optional int32 response_type = 4; 540 optional bool is_single_registration_enabled = 5; 541 optional int32 count = 6; 542 optional int64 state_timer_millis = 7; 543} 544 545message SipDelegateStats { 546 optional int32 dimension = 1; 547 optional int32 carrier_id = 2; 548 optional int32 slot_id = 3; 549 optional int32 destroy_reason = 4; 550 optional int64 uptime_millis = 5; 551} 552 553message SipTransportFeatureTagStats { 554 optional int32 carrier_id = 1; 555 optional int32 slot_id = 2; 556 optional int32 feature_tag_name = 3; 557 optional int32 sip_transport_denied_reason = 4; 558 optional int32 sip_transport_deregistered_reason = 5; 559 optional int64 associated_millis = 6; 560} 561 562message SipMessageResponse { 563 optional int32 carrier_id = 1; 564 optional int32 slot_id = 2; 565 optional int32 sip_message_method = 3; 566 optional int32 sip_message_response = 4; 567 optional int32 sip_message_direction = 5; 568 optional int32 message_error = 6; 569 optional int32 count = 7; 570} 571 572message SipTransportSession { 573 optional int32 carrier_id = 1; 574 optional int32 slot_id = 2; 575 optional int32 session_method = 3; 576 optional int32 sip_message_direction = 4; 577 optional int32 sip_response = 5; 578 optional int32 session_count = 6; 579 optional int32 ended_gracefully_count = 7; 580 581 // Internal use only 582 optional bool is_ended_gracefully = 10001; 583} 584 585message ImsDedicatedBearerListenerEvent { 586 optional int32 carrier_id = 1; 587 optional int32 slot_id = 2; 588 optional int32 rat_at_end = 3; 589 optional int32 qci = 4; 590 optional bool dedicated_bearer_established = 5; 591 optional int32 event_count = 6; 592} 593 594message ImsDedicatedBearerEvent { 595 optional int32 carrier_id = 1; 596 optional int32 slot_id = 2; 597 optional int32 rat_at_end = 3; 598 optional int32 qci = 4; 599 optional int32 bearer_state = 5; 600 optional bool local_connection_info_received = 6; 601 optional bool remote_connection_info_received = 7; 602 optional bool has_listeners = 8; 603 optional int32 count = 9; 604} 605 606message ImsRegistrationServiceDescStats { 607 optional int32 carrier_id = 1; 608 optional int32 slot_id = 2; 609 optional int32 service_id_name = 3; 610 optional float service_id_version = 4; 611 optional int32 registration_tech = 5; 612 optional int64 published_millis = 6; 613} 614 615message UceEventStats { 616 optional int32 carrier_id = 1; 617 optional int32 slot_id = 2; 618 optional int32 type = 3; 619 optional bool successful = 4; 620 optional int32 command_code = 5; 621 optional int32 network_response = 6; 622 optional int32 count = 7; 623} 624 625message PresenceNotifyEvent { 626 optional int32 carrier_id = 1; 627 optional int32 slot_id = 2; 628 optional int32 reason = 3; 629 optional bool content_body_received = 4; 630 optional int32 rcs_caps_count = 5; 631 optional int32 mmtel_caps_count = 6; 632 optional int32 no_caps_count = 7; 633 optional int32 count = 8; 634} 635 636message GbaEvent { 637 optional int32 carrier_id = 1; 638 optional int32 slot_id = 2; 639 optional bool successful = 3; 640 optional int32 failed_reason = 4; 641 optional int32 count = 5; 642} 643 644message UnmeteredNetworks { 645 optional int32 phone_id = 1; 646 optional int32 carrier_id = 2; 647 optional int64 unmetered_networks_bitmask = 3; 648} 649 650message OutgoingShortCodeSms { 651 optional int32 category = 1; 652 optional int32 xml_version = 2; 653 optional int32 short_code_sms_count = 3; 654} 655 656message EmergencyNumbersInfo { 657 enum ServiceCategory { 658 EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED = 0; 659 EMERGENCY_SERVICE_CATEGORY_POLICE = 1; 660 EMERGENCY_SERVICE_CATEGORY_AMBULANCE = 2; 661 EMERGENCY_SERVICE_CATEGORY_FIRE_BRIGADE = 3; 662 EMERGENCY_SERVICE_CATEGORY_MARINE_GUARD = 4; 663 EMERGENCY_SERVICE_CATEGORY_MOUNTAIN_RESCUE = 5; 664 EMERGENCY_SERVICE_CATEGORY_MIEC = 6; 665 EMERGENCY_SERVICE_CATEGORY_AIEC = 7; 666 } 667 enum Source { 668 EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING = 0; 669 EMERGENCY_NUMBER_SOURCE_SIM = 1; 670 EMERGENCY_NUMBER_SOURCE_DATABASE = 2; 671 EMERGENCY_NUMBER_SOURCE_MODEM_CONFIG = 3; 672 EMERGENCY_NUMBER_SOURCE_DEFAULT = 4; 673 } 674 enum CallRoute { 675 EMERGENCY_CALL_ROUTE_UNKNOWN = 0; 676 EMERGENCY_CALL_ROUTE_EMERGENCY = 1; 677 EMERGENCY_CALL_ROUTE_NORMAL = 2; 678 } 679 optional bool is_db_version_ignored = 1; 680 optional int32 asset_version = 2; 681 optional int32 ota_version = 3; 682 optional string number = 4; 683 optional string country_iso = 5; 684 optional string mnc = 6; 685 optional CallRoute route = 7; 686 repeated string urns = 8; 687 repeated ServiceCategory service_categories = 9; 688 repeated Source sources = 10; 689} 690 691message SatelliteController { 692 optional int32 count_of_satellite_service_enablements_success = 1; 693 optional int32 count_of_satellite_service_enablements_fail = 2; 694 optional int32 count_of_outgoing_datagram_success = 3; 695 optional int32 count_of_outgoing_datagram_fail = 4; 696 optional int32 count_of_incoming_datagram_success = 5; 697 optional int32 count_of_incoming_datagram_fail = 6; 698 optional int32 count_of_datagram_type_sos_sms_success = 7; 699 optional int32 count_of_datagram_type_sos_sms_fail = 8; 700 optional int32 count_of_datagram_type_location_sharing_success = 9; 701 optional int32 count_of_datagram_type_location_sharing_fail = 10; 702 optional int32 count_of_provision_success = 11; 703 optional int32 count_of_provision_fail = 12; 704 optional int32 count_of_deprovision_success = 13; 705 optional int32 count_of_deprovision_fail = 14; 706 optional int32 total_service_uptime_sec = 15; 707 optional int32 total_battery_consumption_percent = 16; 708 optional int32 total_battery_charged_time_sec = 17; 709 optional int32 count_of_demo_mode_satellite_service_enablements_success = 18; 710 optional int32 count_of_demo_mode_satellite_service_enablements_fail = 19; 711 optional int32 count_of_demo_mode_outgoing_datagram_success = 20; 712 optional int32 count_of_demo_mode_outgoing_datagram_fail = 21; 713 optional int32 count_of_demo_mode_incoming_datagram_success = 22; 714 optional int32 count_of_demo_mode_incoming_datagram_fail = 23; 715 optional int32 count_of_datagram_type_keep_alive_success = 24; 716 optional int32 count_of_datagram_type_keep_alive_fail = 25; 717 optional int32 count_of_allowed_satellite_access = 26; 718 optional int32 count_of_disallowed_satellite_access = 27; 719 optional int32 count_of_satellite_access_check_fail = 28; 720} 721 722message SatelliteSession { 723 optional int32 satellite_service_initialization_result = 1; 724 optional int32 satellite_technology = 2; 725 optional int32 count = 3; 726 optional int32 satellite_service_termination_result = 4; 727 optional int64 initialization_processing_time_millis = 5; 728 optional int64 termination_processing_time_millis = 6; 729 optional int32 session_duration_seconds = 7; 730 optional int32 count_of_outgoing_datagram_success = 8; 731 optional int32 count_of_outgoing_datagram_failed = 9; 732 optional int32 count_of_incoming_datagram_success = 10; 733 optional int32 count_of_incoming_datagram_failed = 11; 734 optional bool is_demo_mode = 12; 735 optional int32 max_ntn_signal_strength_level = 13; 736} 737 738message SatelliteIncomingDatagram { 739 optional int32 result_code = 1; 740 optional int32 datagram_size_bytes = 2; 741 optional int64 datagram_transfer_time_millis = 3; 742 optional bool is_demo_mode = 4; 743} 744 745message SatelliteOutgoingDatagram { 746 optional int32 datagram_type = 1; 747 optional int32 result_code = 2; 748 optional int32 datagram_size_bytes = 3; 749 optional int64 datagram_transfer_time_millis = 4; 750 optional bool is_demo_mode = 5; 751} 752 753message SatelliteProvision { 754 optional int32 result_code = 1; 755 optional int32 provisioning_time_sec = 2; 756 optional bool is_provision_request = 3; 757 optional bool is_canceled = 4; 758} 759 760message SatelliteSosMessageRecommender { 761 optional bool is_display_sos_message_sent = 1; 762 optional int32 count_of_timer_started = 2; 763 optional bool is_ims_registered = 3; 764 optional int32 cellular_service_state = 4; 765 optional int32 count = 5; 766 optional bool is_multi_sim = 6; 767 optional int32 recommending_handover_type = 7; 768 optional bool is_satellite_allowed_in_current_location = 8; 769} 770 771message DataNetworkValidation { 772 optional int32 network_type = 1; 773 optional int32 apn_type_bitmask = 2; 774 optional int32 signal_strength = 3; 775 optional int32 validation_result = 4; 776 optional int64 elapsed_time_in_millis = 5; 777 optional bool handover_attempted = 6; 778 optional int32 network_validation_count = 7; 779} 780 781message CarrierRoamingSatelliteSession { 782 optional int32 carrier_id = 1; 783 optional bool is_ntn_roaming_in_home_country = 2; 784 optional int32 total_satellite_mode_time_sec = 3; 785 optional int32 number_of_satellite_connections = 4; 786 optional int32 avg_duration_of_satellite_connection_sec = 5; 787 optional int32 satellite_connection_gap_min_sec = 6; 788 optional int32 satellite_connection_gap_avg_sec = 7; 789 optional int32 satellite_connection_gap_max_sec = 8; 790 optional int32 rsrp_avg = 9; 791 optional int32 rsrp_median = 10; 792 optional int32 rssnr_avg = 11; 793 optional int32 rssnr_median = 12; 794 optional int32 count_of_incoming_sms = 13; 795 optional int32 count_of_outgoing_sms = 14; 796 optional int32 count_of_incoming_mms = 15; 797 optional int32 count_of_outgoing_mms = 16; 798} 799 800message CarrierRoamingSatelliteControllerStats { 801 optional int32 config_data_source = 1; 802 optional int32 count_of_entitlement_status_query_request = 2; 803 optional int32 count_of_satellite_config_update_request = 3; 804 optional int32 count_of_satellite_notification_displayed = 4; 805 optional int32 satellite_session_gap_min_sec = 5; 806 optional int32 satellite_session_gap_avg_sec = 6; 807 optional int32 satellite_session_gap_max_sec = 7; 808} 809 810message SatelliteEntitlement { 811 optional int32 carrier_id = 1; 812 optional int32 result = 2; 813 optional int32 entitlement_status = 3; 814 optional bool is_retry = 4; 815 optional int32 count = 5; 816} 817 818message SatelliteConfigUpdater { 819 optional int32 config_version = 1; 820 optional int32 oem_config_result = 2; 821 optional int32 carrier_config_result = 3; 822 optional int32 count = 4; 823} 824 825message SatelliteAccessController { 826 optional int32 access_control_type = 1; 827 optional int64 location_query_time_millis = 2; 828 optional int64 on_device_lookup_time_millis = 3; 829 optional int64 total_checking_time_millis = 4; 830 optional bool is_allowed = 5; 831 optional bool is_emergency = 6; 832 optional int32 result_code = 7; 833 repeated string country_codes = 8; 834 optional int32 config_data_source = 9; 835} 836