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: 70 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 /** Snapshot of satellite controller. */ 194 repeated SatelliteController satellite_controller = 58; 195 196 /* Timestamp of last satellite_controller pull. */ 197 optional int64 satellite_controller_pull_timestamp_millis = 59; 198 199 /** Snapshot of satellite controller. */ 200 repeated SatelliteSession satellite_session = 60; 201 202 /* Timestamp of last satellite_controller pull. */ 203 optional int64 satellite_session_pull_timestamp_millis = 61; 204 205 /** Snapshot of satellite incoming datagram. */ 206 repeated SatelliteIncomingDatagram satellite_incoming_datagram = 62; 207 208 /* Timestamp of last satellite_incoming_datagram pull. */ 209 optional int64 satellite_incoming_datagram_pull_timestamp_millis = 63; 210 211 /** Snapshot of satellite outgoing datagram. */ 212 repeated SatelliteOutgoingDatagram satellite_outgoing_datagram = 64; 213 214 /* Timestamp of last satellite_outgoing_datagram pull. */ 215 optional int64 satellite_outgoing_datagram_pull_timestamp_millis = 65; 216 217 /** Snapshot of satellite provision datagram. */ 218 repeated SatelliteProvision satellite_provision = 66; 219 220 /* Timestamp of last satellite_provision pull. */ 221 optional int64 satellite_provision_pull_timestamp_millis = 67; 222 223 /** Snapshot of satellite SOS message recommender. */ 224 repeated SatelliteSosMessageRecommender satellite_sos_message_recommender = 68; 225 226 /* Timestamp of last satellite_sos_message_recommender pull. */ 227 optional int64 satellite_sos_message_recommender_pull_timestamp_millis = 69; 228 229 /* Consolidated emergency numbers list information. */ 230 repeated EmergencyNumbersInfo emergency_numbers_info = 56; 231 232 /* Timestamp of last emergency number pull. */ 233 optional int64 emergency_number_pull_timestamp_millis = 57; 234} 235 236// The canonical versions of the following enums live in: 237// frameworks/proto_logging/stats/enums/telephony/enums.proto 238// The canonical versions of the following atoms live in: 239// frameworks/proto_logging/stats/atoms.proto 240// We cannot link against framework's and statsd's protolite libraries as it is "for test only". 241// NOTE: StatsLog functions use int in place of enum 242 243message VoiceCallSession { 244 reserved 4; 245 optional int32 bearer_at_start = 1; 246 optional int32 bearer_at_end = 2; 247 optional int32 direction = 3; 248 optional bool setup_failed = 5; 249 optional int32 disconnect_reason_code = 6; 250 optional int32 disconnect_extra_code = 7; 251 optional string disconnect_extra_message = 8; 252 optional int32 rat_at_start = 9; 253 optional int32 rat_at_end = 10; 254 optional int64 rat_switch_count = 11; 255 optional int64 codec_bitmask = 12; 256 optional int32 concurrent_call_count_at_start = 13; 257 optional int32 concurrent_call_count_at_end = 14; 258 optional int32 sim_slot_index = 15; 259 optional bool is_multi_sim = 16; 260 optional bool is_esim = 17; 261 optional int32 carrier_id = 18; 262 optional bool srvcc_completed = 19; 263 optional int64 srvcc_failure_count = 20; 264 optional int64 srvcc_cancellation_count = 21; 265 optional bool rtt_enabled = 22; 266 optional bool is_emergency = 23; 267 optional bool is_roaming = 24; 268 optional int32 signal_strength_at_end = 25; 269 optional int32 band_at_end = 26; 270 optional int32 setup_duration_millis = 27; 271 optional int32 main_codec_quality = 28; 272 optional bool video_enabled = 29; 273 optional int32 rat_at_connected = 30; 274 optional bool is_multiparty = 31; 275 optional int32 call_duration = 32; 276 optional int32 last_known_rat = 33; 277 optional int32 fold_state = 34; 278 optional int64 rat_switch_count_after_connected = 35; 279 optional bool handover_in_progress = 36; 280 281 // Internal use only 282 optional int64 setup_begin_millis = 10001; 283} 284 285message VoiceCallRatUsage { 286 optional int32 carrier_id = 1; 287 optional int32 rat = 2; 288 optional int64 total_duration_millis = 3; // Duration needs to be rounded when pulled 289 optional int64 call_count = 4; 290} 291 292message IncomingSms { 293 optional int32 sms_format = 1; 294 optional int32 sms_tech = 2; 295 optional int32 rat = 3; 296 optional int32 sms_type = 4; 297 optional int32 total_parts = 5; 298 optional int32 received_parts = 6; 299 optional bool blocked = 7; 300 optional int32 error = 8; 301 optional bool is_roaming = 9; 302 optional int32 sim_slot_index = 10; 303 optional bool is_multi_sim = 11; 304 optional bool is_esim = 12; 305 optional int32 carrier_id = 13; 306 optional int64 message_id = 14; 307 optional int32 count = 15; 308 optional bool is_managed_profile = 16; 309 310 // Internal use only 311 optional int32 hashCode = 10001; 312} 313 314message OutgoingSms { 315 optional int32 sms_format = 1; 316 optional int32 sms_tech = 2; 317 optional int32 rat = 3; 318 optional int32 send_result = 4; 319 optional int32 error_code = 5; 320 optional bool is_roaming = 6; 321 optional bool is_from_default_app = 7; 322 optional int32 sim_slot_index = 8; 323 optional bool is_multi_sim = 9; 324 optional bool is_esim = 10; 325 optional int32 carrier_id = 11; 326 optional int64 message_id = 12; 327 optional int32 retry_id = 13; 328 optional int64 interval_millis = 14; 329 optional int32 count = 15; 330 optional int32 send_error_code = 16; 331 optional int32 network_error_code = 17; 332 optional bool is_managed_profile = 18; 333 334 // Internal use only 335 optional int32 hashCode = 10001; 336} 337 338message CarrierIdMismatch { 339 optional string mcc_mnc = 1; 340 optional string gid1 = 2; 341 optional string spn = 3; 342 optional string pnn = 4; 343} 344 345message DataCallSession { 346 reserved 4; 347 optional int32 dimension = 1; 348 optional bool is_multi_sim = 2; 349 optional bool is_esim = 3; 350 optional int32 apn_type_bitmask = 5; 351 optional int32 carrier_id = 6; 352 optional bool is_roaming = 7; 353 optional int32 rat_at_end = 8; 354 optional bool oos_at_end = 9; 355 optional int64 rat_switch_count = 10; 356 optional bool is_opportunistic = 11; 357 optional int32 ip_type = 12; 358 optional bool setup_failed = 13; 359 optional int32 failure_cause = 14; 360 optional int32 suggested_retry_millis = 15; 361 optional int32 deactivate_reason = 16; 362 optional int64 duration_minutes = 17; 363 optional bool ongoing = 18; 364 optional int32 band_at_end = 19; 365 repeated int32 handover_failure_causes = 20; 366 repeated int32 handover_failure_rat = 21; 367 optional bool is_non_dds = 22; 368} 369 370message CellularServiceState { 371 optional int32 voice_rat = 1; 372 optional int32 data_rat = 2; 373 optional int32 voice_roaming_type = 3; 374 optional int32 data_roaming_type = 4; 375 optional bool is_endc = 5; 376 optional int32 sim_slot_index = 6; 377 optional bool is_multi_sim = 7; 378 optional int32 carrier_id = 8; 379 optional int64 total_time_millis = 9; // Duration needs to be rounded when pulled 380 optional bool is_emergency_only = 10; 381 optional bool is_internet_pdn_up = 11; 382 optional int32 fold_state = 12; 383 optional bool override_voice_service = 13; 384 optional bool isDataEnabled = 14; 385 386 // Internal use only 387 optional int64 last_used_millis = 10001; 388} 389 390message CellularDataServiceSwitch { 391 optional int32 rat_from = 1; 392 optional int32 rat_to = 2; 393 optional int32 sim_slot_index = 3; 394 optional bool is_multi_sim = 4; 395 optional int32 carrier_id = 5; 396 optional int32 switch_count = 6; 397 398 // Internal use only 399 optional int64 last_used_millis = 10001; 400} 401 402message ImsRegistrationTermination { 403 optional int32 carrier_id = 1; 404 optional bool is_multi_sim = 2; 405 optional int32 rat_at_end = 3; 406 optional bool setup_failed = 4; 407 optional int32 reason_code = 5; 408 optional int32 extra_code = 6; 409 optional string extra_message = 7; 410 optional int32 count = 8; 411 412 // Internal use only 413 optional int64 last_used_millis = 10001; 414} 415 416message ImsRegistrationStats { 417 optional int32 carrier_id = 1; 418 optional int32 sim_slot_index = 2; 419 optional int32 rat = 3; 420 // Durations need to be rounded when pulled 421 optional int64 registered_millis = 4; 422 optional int64 voice_capable_millis = 5; 423 optional int64 voice_available_millis = 6; 424 optional int64 sms_capable_millis = 7; 425 optional int64 sms_available_millis = 8; 426 optional int64 video_capable_millis = 9; 427 optional int64 video_available_millis = 10; 428 optional int64 ut_capable_millis = 11; 429 optional int64 ut_available_millis = 12; 430 431 // Internal use only 432 optional int64 last_used_millis = 10001; 433} 434 435// deprecated - please use NetworkRequestsV2 instead 436message NetworkRequests { 437 optional int32 carrier_id = 1; 438 optional int32 enterprise_request_count = 2; 439 optional int32 enterprise_release_count = 3; 440} 441 442message NetworkRequestsV2 { 443 enum NetworkCapability { 444 UNKNOWN = 0; 445 PRIORITIZE_LATENCY = 1; 446 PRIORITIZE_BANDWIDTH = 2; 447 CBS = 3; 448 ENTERPRISE = 4; 449 } 450 optional int32 carrier_id = 1; 451 optional NetworkCapability capability = 2; 452 optional int32 request_count = 3; 453} 454 455message ImsRegistrationFeatureTagStats { 456 optional int32 carrier_id = 1; 457 optional int32 slot_id = 2; 458 optional int32 feature_tag_name = 3; 459 optional int32 registration_tech = 4; 460 optional int64 registered_millis = 5; 461} 462 463message RcsClientProvisioningStats { 464 optional int32 carrier_id = 1; 465 optional int32 slot_id = 2; 466 optional int32 event = 3; 467 optional int32 count = 4; 468} 469 470message RcsAcsProvisioningStats { 471 optional int32 carrier_id = 1; 472 optional int32 slot_id = 2; 473 optional int32 response_code = 3; 474 optional int32 response_type = 4; 475 optional bool is_single_registration_enabled = 5; 476 optional int32 count = 6; 477 optional int64 state_timer_millis = 7; 478} 479 480message SipDelegateStats { 481 optional int32 dimension = 1; 482 optional int32 carrier_id = 2; 483 optional int32 slot_id = 3; 484 optional int32 destroy_reason = 4; 485 optional int64 uptime_millis = 5; 486} 487 488message SipTransportFeatureTagStats { 489 optional int32 carrier_id = 1; 490 optional int32 slot_id = 2; 491 optional int32 feature_tag_name = 3; 492 optional int32 sip_transport_denied_reason = 4; 493 optional int32 sip_transport_deregistered_reason = 5; 494 optional int64 associated_millis = 6; 495} 496 497message SipMessageResponse { 498 optional int32 carrier_id = 1; 499 optional int32 slot_id = 2; 500 optional int32 sip_message_method = 3; 501 optional int32 sip_message_response = 4; 502 optional int32 sip_message_direction = 5; 503 optional int32 message_error = 6; 504 optional int32 count = 7; 505} 506 507message SipTransportSession { 508 optional int32 carrier_id = 1; 509 optional int32 slot_id = 2; 510 optional int32 session_method = 3; 511 optional int32 sip_message_direction = 4; 512 optional int32 sip_response = 5; 513 optional int32 session_count = 6; 514 optional int32 ended_gracefully_count = 7; 515 516 // Internal use only 517 optional bool is_ended_gracefully = 10001; 518} 519 520message ImsDedicatedBearerListenerEvent { 521 optional int32 carrier_id = 1; 522 optional int32 slot_id = 2; 523 optional int32 rat_at_end = 3; 524 optional int32 qci = 4; 525 optional bool dedicated_bearer_established = 5; 526 optional int32 event_count = 6; 527} 528 529message ImsDedicatedBearerEvent { 530 optional int32 carrier_id = 1; 531 optional int32 slot_id = 2; 532 optional int32 rat_at_end = 3; 533 optional int32 qci = 4; 534 optional int32 bearer_state = 5; 535 optional bool local_connection_info_received = 6; 536 optional bool remote_connection_info_received = 7; 537 optional bool has_listeners = 8; 538 optional int32 count = 9; 539} 540 541message ImsRegistrationServiceDescStats { 542 optional int32 carrier_id = 1; 543 optional int32 slot_id = 2; 544 optional int32 service_id_name = 3; 545 optional float service_id_version = 4; 546 optional int32 registration_tech = 5; 547 optional int64 published_millis = 6; 548} 549 550message UceEventStats { 551 optional int32 carrier_id = 1; 552 optional int32 slot_id = 2; 553 optional int32 type = 3; 554 optional bool successful = 4; 555 optional int32 command_code = 5; 556 optional int32 network_response = 6; 557 optional int32 count = 7; 558} 559 560message PresenceNotifyEvent { 561 optional int32 carrier_id = 1; 562 optional int32 slot_id = 2; 563 optional int32 reason = 3; 564 optional bool content_body_received = 4; 565 optional int32 rcs_caps_count = 5; 566 optional int32 mmtel_caps_count = 6; 567 optional int32 no_caps_count = 7; 568 optional int32 count = 8; 569} 570 571message GbaEvent { 572 optional int32 carrier_id = 1; 573 optional int32 slot_id = 2; 574 optional bool successful = 3; 575 optional int32 failed_reason = 4; 576 optional int32 count = 5; 577} 578 579message UnmeteredNetworks { 580 optional int32 phone_id = 1; 581 optional int32 carrier_id = 2; 582 optional int64 unmetered_networks_bitmask = 3; 583} 584 585message OutgoingShortCodeSms { 586 optional int32 category = 1; 587 optional int32 xml_version = 2; 588 optional int32 short_code_sms_count = 3; 589} 590 591message SatelliteController { 592 optional int32 count_of_satellite_service_enablements_success = 1; 593 optional int32 count_of_satellite_service_enablements_fail = 2; 594 optional int32 count_of_outgoing_datagram_success = 3; 595 optional int32 count_of_outgoing_datagram_fail = 4; 596 optional int32 count_of_incoming_datagram_success = 5; 597 optional int32 count_of_incoming_datagram_fail = 6; 598 optional int32 count_of_datagram_type_sos_sms_success = 7; 599 optional int32 count_of_datagram_type_sos_sms_fail = 8; 600 optional int32 count_of_datagram_type_location_sharing_success = 9; 601 optional int32 count_of_datagram_type_location_sharing_fail = 10; 602 optional int32 count_of_provision_success = 11; 603 optional int32 count_of_provision_fail = 12; 604 optional int32 count_of_deprovision_success = 13; 605 optional int32 count_of_deprovision_fail = 14; 606 optional int32 total_service_uptime_sec = 15; 607 optional int32 total_battery_consumption_percent = 16; 608 optional int32 total_battery_charged_time_sec = 17; 609} 610 611message SatelliteSession { 612 optional int32 satellite_service_initialization_result = 1; 613 optional int32 satellite_technology = 2; 614 optional int32 count = 3; 615} 616 617message SatelliteIncomingDatagram { 618 optional int32 result_code = 1; 619 optional int32 datagram_size_bytes = 2; 620 optional int64 datagram_transfer_time_millis = 3; 621} 622 623message SatelliteOutgoingDatagram { 624 optional int32 datagram_type = 1; 625 optional int32 result_code = 2; 626 optional int32 datagram_size_bytes = 3; 627 optional int64 datagram_transfer_time_millis = 4; 628} 629 630message SatelliteProvision { 631 optional int32 result_code = 1; 632 optional int32 provisioning_time_sec = 2; 633 optional bool is_provision_request = 3; 634 optional bool is_canceled = 4; 635} 636 637message SatelliteSosMessageRecommender { 638 optional bool is_display_sos_message_sent = 1; 639 optional int32 count_of_timer_started = 2; 640 optional bool is_ims_registered = 3; 641 optional int32 cellular_service_state = 4; 642 optional int32 count = 5; 643} 644 645message EmergencyNumbersInfo { 646 enum ServiceCategory { 647 EMERGENCY_SERVICE_CATEGORY_UNSPECIFIED = 0; 648 EMERGENCY_SERVICE_CATEGORY_POLICE = 1; 649 EMERGENCY_SERVICE_CATEGORY_AMBULANCE = 2; 650 EMERGENCY_SERVICE_CATEGORY_FIRE_BRIGADE = 3; 651 EMERGENCY_SERVICE_CATEGORY_MARINE_GUARD = 4; 652 EMERGENCY_SERVICE_CATEGORY_MOUNTAIN_RESCUE = 5; 653 EMERGENCY_SERVICE_CATEGORY_MIEC = 6; 654 EMERGENCY_SERVICE_CATEGORY_AIEC = 7; 655 } 656 enum Source { 657 EMERGENCY_NUMBER_SOURCE_NETWORK_SIGNALING = 0; 658 EMERGENCY_NUMBER_SOURCE_SIM = 1; 659 EMERGENCY_NUMBER_SOURCE_DATABASE = 2; 660 EMERGENCY_NUMBER_SOURCE_MODEM_CONFIG = 3; 661 EMERGENCY_NUMBER_SOURCE_DEFAULT = 4; 662 } 663 enum CallRoute { 664 EMERGENCY_CALL_ROUTE_UNKNOWN = 0; 665 EMERGENCY_CALL_ROUTE_EMERGENCY = 1; 666 EMERGENCY_CALL_ROUTE_NORMAL = 2; 667 } 668 optional bool is_db_version_ignored = 1; 669 optional int32 asset_version = 2; 670 optional int32 ota_version = 3; 671 optional string number = 4; 672 optional string country_iso = 5; 673 optional string mnc = 6; 674 optional CallRoute route = 7; 675 repeated string urns = 8; 676 repeated ServiceCategory service_categories = 9; 677 repeated Source sources = 10; 678} 679