summaryrefslogtreecommitdiff
path: root/proto/src
AgeCommit message (Collapse)Author
2025-03-21add is_opportunistic into related atoms joonhunshin
It is needed whether the subscription is an opprtunistic. Related Atoms : CellularServiceState, CellularDataServiceSwitch Flag: EXEMPT bug fix Bug: 405260276 Test: build test Change-Id: I53f3c5160c7c54a0e484a8692eff7924e40e82e2
2025-03-20Add is_nb_iot_ntn field into related atoms Hakjun Choi
It is needed whether reported atom is generated on the NB-IoT-NTN network. Related Atoms: DataCallSession, CellularServiceState, IncomingSms, OutgoingSms, IncomingMms, OutgoingMms CarrierRoamingSatelliteControllerStats, CarrierRoamingSatelliteSessionStats Flag: EXEMPT bug fix Bug: 402275266 Test: atest PersistAtomsStorageTest DataCallSessionStatsTest ServiceStateStatsTest SatelliteControllerTest SatelliteStatsTest CarrierRoamingSatelliteControllerTest Test: manually run e2e live network test and verify locally saved atom DB Change-Id: I9f403ac4e5a76aed096c993eb7ba1f158ddafc66
2025-03-12Add new fields for counting sms sms message for Satellite Hakjun Choi
Added counter for successful/failed incoming/outgoing messages Related atom : SatelliteController atom Fields definition 1. count_of_incoming_datagram_type_sos_sms_success : count haw many times sos or sms message have received successfully, this is similar with count_of_datagram_type_sos_sms_success, but it is for outgoing sos or sms message type. 2. count_of_incoming_datagram_type_sos_sms_fail : count how many times sos or sms message receive attempt have failed, this is similar with count_of_datagram_type_sos_sms_fail, but it is for outgoing sos or sms message type. 3. count_of_outgoing_sdatagram_type_sms_success : count how many times sms message have received successfully, this is needed because existing field count_of_datagram_type_sos_sms_success count merged value for sos and sms, we don't have way to distinguish sms or sos, so this field is added. 4. count_of_outgoing_datagram_type_sms_fail : similar with above 5. count_of_incoming_datagram_type_sms_success : similar with above, but it is for incoming sms case 6. count_of_incoming_datagram_type_sms_fail : similar with above Flag: EXEMPT bug fix Bug: 402622532 Test: atest atest PersistAtomsStorageTest SatelliteStatsTest SatelliteControllerTest Test: manually test and check DB whether it is reported or not Change-Id: Ideacbf2a9c56a67cb37b244067a6f6826fe5c354
2025-03-07Add a new field count_of_satellite_sessions into ↵ Hakjun Choi
CarrierRoamingSatelliteController atom Added count_ofSatellite_session field expecting below effcts. 1. When count_of_sessions > 0, we can determine that the user has utilized carrier roaming satellite services. 2. By normalizing count_of_sessions, we can statistically analyze the user's satellite usage behavior. Flag: EXEMPT bug fix Bug: 401106561 Test: atest PersistAtomsStorageTest SatelliteStatsTest Test: manually run Starlink service in live network and pull out the DB, then compared value is same with expected, b/401270233 #comment3 Change-Id: I192cb700856726edbd888316193366fc8766fd2d
2025-03-05Add a new field is_multi into Satellite atoms Hakjun Choi
Added is_multi, which indicates satellite service was serviced in whether DSDS or not. Related atoms : CarrierRoamingSatelliteController, CarrierRoamingSatelliteSession Flag: EXEMPT bug fix Bug: 399477337 Test: atest PersistAtomsStorageTest SatelliteStatsTest SatelliteControllerTest TelephonyConfigUpdateInstallReceiverTest Test: manually test and check DB whether it is reported or not, https://b.corp.google.com/issues/400346244#comment5, https://b.corp.google.com/issues/400346244#comment6 Change-Id: I81f3925e270a8504056f221bd2fa8c28ef0245b8
2025-02-24Add Satellite Data Metrics Support Nagendra Prasad Nagarle Basavaraju
- Add Satellite services supported at satellite network session. - Add Satellite service data policy supported at satellite network session. - Add Satellite Data consumed at satellite network sessions. Flag: EXEMPT BugFix Bug: 373149631 Test: m and atest Test: Device test at b/373149631#comment33 Change-Id: Iac92467882421bb84724f5b66256ac3f25c1b5b9
2025-02-13Support satellite config version for metrics youngtaecha
Bug: 395546769 Flag: EXEMPT (version_of_satellite_access_config) Test: Build Test: Manually verified if the version is updated well after manually updating the satellite access config(b/395546769#comment2) Change-Id: I8a614e762391a4c851214b36dfb8bfa17dd7c4db
2025-01-16Support satellite_access_config_json field youngtaecha
Bug: 390082557 Test: Build Flag: EXEMPT config change only Change-Id: I8b0fec5e6606537632deafefaf0a9944720f1ccb
2024-12-21Merge "[VZW P2P] Add metric for Carrier Roaming NB-IoT NTN module, ↵ Treehugger Robot
maxInactivityDurationSec, to track the maximum user inactivity duration of a satellite session." into main
2024-12-20Merge "Added field for outgoingSms atoms" into main Adrian Mejia
2024-12-20[VZW P2P] Add metric for Carrier Roaming NB-IoT NTN module, ↵ Daniel Banta
maxInactivityDurationSec, to track the maximum user inactivity duration of a satellite session. Bug: 383033991 Change-Id: I29f0bd4ef55606a7cd8109457ec31f06c4da0de9 Test: atest FLAG: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn
2024-12-20Add "isNtnOnlyCarrier" field into metrics atoms for satellite sessions. Adrian Mejia
Bug: 383033991 Flag: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn Test: manually test Change-Id: I72014af9c675f515cac193dc96ba72df4b4d552f
2024-12-20Added field for outgoingSms atoms Adrian Mejia
The field is_mt_sms_polling helps distinguish between check messages and regular P2P sms. Bug: 383033991 Change-Id: Id276a7bf6e8040e5ded446998b72ebe6b8dfc638 Flag: EXEMPT refactor Test: Build test
2024-12-18Enhance satellite metrics Hakjun Choi
1. In addition to the carrier id, is_privision become a factor for dimension for satellite controller atom to distinguish metrics where provisined devices and not provisioned devices. 2. Added counter for notification shown / removal event for P2P SMS via satellite per day. 3. Added is_emergency field into satellite session atom, so that we can see if the session was established for emergency purpose. 4. Adjust start transfer time for outgoing datagram just before request to modem interface in real mode and before sending message delayed for demo mode. 5. In case provisioned satellite is not exist or skylo sim is not active, SatelliteServiceUtils.getPhone() returns the phone of currently active subscription, which reports wrong phone id and wrong carrier id information, therefore removed set default phone to satellite phone logic. 6. Set isSatelliteAllowedInCurrentLocation in SatellitesosMessageRecommender as dimension field. Bug: 383033991 Flag: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn Test: atest PersistAtomsStorageTest SatelliteStatsTest Test: manually regression test Change-Id: I4e2fb89db1312b86d8b656a59a256e85fa57547f
2024-09-13Add additional field for CarrierRoamingSatelliteController atom Hakjun Choi
It is needed to count how many devices are satellite entitled or not from the metric stastics, thus added an boolean field is_device_entitled into existing atom to count it. Design doc : go/nbiotntn-metrics, go/satellite-metrics Bug: 364894569 Flag: EXEMPT bugfix Test: atest PersistAtomsStorageTest SatelliteStatsTest manually run Satellite Service, pulled db from the device, and verified Change-Id: Ieff0e7707e2e486f62d45e8a68b68231f5a531c3
2024-09-11Add additional fields into SatelliteAccessController atom Hakjun Choi
1. Added below fields for existing SatelliteController atom a. count_of_satellite_allowed_state_changed_events : count how meny times device allowed state for satellite service has changed b. count_of_successful_location_queries : counts how many times location query for satellite service was successfully done. c. count_of_failed_location_queries : counts how many times location query for satellite service was failed. 2. Added a field to check from which reason this SatelliteAccessController atom report was triggered a. triggering_event 3. Added an enum for distinsuighing the reason of trigger SatelliteAccessController atom report Design doc : go/nbiotntn-metrics, go/satellite-metrics Bug: 363272708 Flag: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn Test: atest SatleliteStatsTest PersistAtomsStorageTest Change-Id: I4f600b6c754a336ee4453659e1d6c20803d47670
2024-09-06Add metrics for Carrier Roaming NB-IoT NTN module Hakjun Choi
1. added carrier_id field into every NB-IoT NTN related atoms except ConfigSource for distinguish from which NTN service this atom information was reported. 2. added a new field count_of_satellite_notification_displayed to measure how many times user was notified when satellite service become eligible 3. added below 2 fields into existing SatelliteSession atom to measure how many times satellite session was automatically disconnected with specific reason. 1. auto exit due to screen off and no conversion until time out 2. auto exit due to scann avilable TN network Design doc : go/nbiotntn-metrics Bug: 360855952 Flag: com.android.internal.telephony.flags.carrier_roaming_nb_iot_ntn Test: atest SatelliteControllerTest SatelliteStatsTest PersistAtomsStorageTest DatagramdispatcherTest DatagramReceiverTet manually run satellite service in live network and verify the persist_atoms.db Change-Id: Ie7dd90c5b09f3d78dd2fb970f6e0187a643af523
2024-08-29 Add metrics for Carrier Roaming NB-IoT NTN module Hakjun Choi
1. added is_provisioned field into existing SatelliteController atom to measure how many satellite support devices are provisioned. 2. added is_wifi_connected field into existing SatelliteSosMessageRecommender to whether Wi-Fi network is avialable when emergency call is attampted, thus we can measure from which network condition satellite SOS message is triggered. Design doc : go/satellite-metrics Bug: 360855952 Flag: EXEMPT bugfix Test: Build Change-Id: Icf2c1b37bb0832e1400510faad5d0a212f95a3ed
2024-08-12Collect call state when call is setup qingqi
Bug: 308635347 Test: m, inspected log on phone Flag: EXEMPT metrics change Change-Id: I75f0e49668b1d4b7aa9d7e4bad820a74661d19ab
2024-06-07Merge "Add satellite access controller atom into metrics" into main Hakjun Choi
2024-06-06Merge "Adding is_emergency field into the incoming_sms" into main Sangyun Yun
2024-06-05Adding is_emergency field into the incoming_sms sangyun
Carrier statellite can send or recv message SOS message. outgoing_sms already has is_emergency field but there was no such a field in the incoming_sms. Bug: 344929469 Test: Carrier satellite test for the incoming sms, there was no is_emergency field. Change-Id: If0a670f6a8c0b0cdde0d035c86b1654883390f58
2024-06-04Add satellite access controller atom into metrics Hakjun Choi
Bug: 337668745 Test: SatelliteStatsTest PersistAtomsStorageTest manually run e2e test which runs satellite service then check the saved atom is reflecting it's behavior Change-Id: Iabe4b6f93be5c6877d71ad8cfc0d20a47b794223
2024-06-04Merge "Collect B2C data in voice call metric" into main Qingqi Lei
2024-05-30Add is_provisioning_profile bool to DataCallSession metrics Steve Statia
Test: atest DataCallSessionStatsTest Bug: 330382340 Change-Id: I928dc2c0b4f3df794f4f3dc1d64c8a952acea99f
2024-05-22Add max signal level into satellite session metrics am: e207f9341c Hakjun Choi
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/27234358 Change-Id: I4fa87716008a009a148f719c8f327e855ada6e53 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21Add max signal level into satellite session metrics Hakjun Choi
It is added to report latest ntn signal strength when the latest is stronger than prior one. the max value will be logged per enabled satellite session Bug: 336858177 Test: SatelliteStatsTest PersistAtomsStorageTest manually tested using satellite enable and compare log and the value in persist_atoms.pb proto Change-Id: Id79f4eda855acb17b31fde7fbf4a7fe5505dac1e
2024-05-17Collect B2C data in voice call metric qingqi
Bug:326616369 Test: m, basic telephony tests, inspect voice call atom on device Change-Id: I09657dbd3e81a606b9fbcfc94f2982664be562b4
2024-05-14Framework side implementation of carrier roaming satellite metrics. Aishwarya Mallampati
Bug: 330256940 Test: atest MetricsCollectorTest, atest PersistantAtomsStorageTest, atest SatelliteStatsTest Manual Test: b/339865721#comment2 Change-Id: Iedb452e02a7d4218f7bab8437524caf8f00f38ab
2024-04-20Merge "Add metrics for Satellite Transport" into main Nagendra Prasad Nagarle Basavaraju
2024-04-20Merge "Added demo mode fields to satellite metrics atoms" into 24D1-dev am: ↵ Hakjun Choi
73ac818ea0 Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/26963885 Change-Id: I12d0ca3292d987ad79bffd2baeb149c9fcae68c0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-20Add metrics for Satellite Transport Nagendra Prasad Nagarle Basavaraju
- Add Satellite transport metrics support at DataCallSessionStats - Add Satellite transport metrics support at NetworkRequestsStats Bug: 330806995 Test: statsD test for TelephonyNetworkRequestsV2 and DataCallSessionStats at b/330806995 Flag: ACONFIG com.android.internal.telephony.flags.satellite_internet nextFood Change-Id: I4563fe35a1953e6d2e452f485bf6ad0971960b4e
2024-04-16Added demo mode fields to satellite metrics atoms Hakjun Choi
1. Added in SatelliteController atom . count of demo mode satellite enablement success / fail . count of successful/failed outgoing datagram in demo mode . count of successful/failed incmoing datagram in demo mode 2. Added in SatelliteSession atom . whethe the ssession is enabled for demo mode or not 3. Added in Satellite incoming/outgoing datagram atom . whether the transferred datagram is for demo mode or not. 4. Added a new datagram type enum for outgoing datagram Bug: 333097849 Test: atest SatelliteControllerTest DatagramReceiverTest DatagramDispatcherTest ControllerMetricsStatsTest SatelliteStatsTest PersistAtomsStorageTest Manually tested whether telephony satellite atoms are saved as expected on pixel using below command adb pull /data/user_de/0/com.android.phone/files/persist_atoms.pb && gqui from persist_atoms.pb proto ~/src/24D1-dev/frameworks/opt/telephony/proto/src/persist_atoms.proto:telephonyStatsLog.PersistAtoms and logs Change-Id: If42599af9c0d640a95eb063fcad71868235a0678
2024-04-12Merge "Enforce satellite session metrics" into 24D1-dev am: bb2c176290 Hakjun Choi
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/26786710 Change-Id: I8780b097191ac09f34b0568a13b6de7bb4d103ce Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-12Enforce satellite session metrics Hakjun Choi
1. Add missed provision metrics report case 2. fix unnecessary type casting from long to int which may cause overflow. 3. enforce satelite session metrics Bug: 330262741 Test: atest SatelliteStatsTest SatelliteControllerTest DatagramDispatcherTest DatagramReceiverTest PersistAtomsStorageTest MetricsCollectorTest Manually tested whether telephony satellite atoms are saved as expected on pixel using below command adb pull /data/user_de/0/com.android.phone/files/persist_atoms.pb && gqui from persist_atoms.pb proto ~/src/24D1-dev/frameworks/opt/telephony/proto/src/persist_atoms.proto:telephonyStatsLog.PersistAtoms and logs Change-Id: Id9d3507067424e50ccdd3ca1d1f646e799e79450
2024-04-04Add is_ntn field Aishwarya Mallampati
is_ntn field is added to below existing atoms: - DataCallSession - VoiceCallSession - CellularServiceState Bug: 330256940 Test: atest Change-Id: I53cfdae62d132c0561f2245d7f8f8dfd171534e5 Merged-In: I53cfdae62d132c0561f2245d7f8f8dfd171534e5
2024-04-04Add is_ntn field Aishwarya Mallampati
is_ntn field is added to below existing atoms: - DataCallSession - VoiceCallSession - CellularServiceState Bug: 330256940 Test: atest Change-Id: I53cfdae62d132c0561f2245d7f8f8dfd171534e5
2024-03-22Logs atom for data network validation sangyun
When network validation is completed, it is recorded in metrics. Network validation begins when a request is received from QNS and a response is recorded as success, failure, not supported, etc. Bug: 327257377 Test: atest DataNetworkValidationStatsTest PersistAtomsStorageTest Change-Id: Ib2db3bb340bd3048250111b83bea4526117c5a5a
2024-03-20Merge "Rename default value of RoamingType." into main am: bf2c7afa62 am: ↵ Treehugger Robot
e994166902 Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/telephony/+/3004213 Change-Id: I2047f6e389562c17b9ddcc3e8c1230f24dc0409d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-15Rename default value of RoamingType. Krzysztof Kosiński
Protobuf 22.x no longer supports enums that have different values, but differ only by a prefix equal to the enum name. This value is not referenced anywhere in the code. Bug: 329747255 Test: presubmit Change-Id: Iea375bc50b2906a5e0ef0a369fd63349352cbd65
2024-03-08Add additional field into sms atoms for satellite service Hakjun Choi
isEmergency / OutgoingSms : To log whether outgoing sms is emergency or not isNtn / Incoming/Outgoing Sms : To log whether incoming/ougoing sms is using satellite network or not. Bug: 321671380 Test: atest persistAtomsStorageTest Test: manual call/sms/mms test for regression Test: manually send fake emergency number and checked whether is is set as emergency or not Change-Id: I7d2a5cc0ae5e9a0d099ec22ba9a6603629366066
2024-02-22Support config update for satellite youngtaecha
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
2024-02-08Fixed registered_times in ImsRegistrationStats Jisun Jung
- This field is to calculate the number of times it is registered. - It was being misused as it was divided like other duration. - mark 16 as reserved - add registered_time field as 17 Bug: 312808192 Test: atest ImsStatsTest Test: atest PersistAtomsStorageTest Change-Id: Ib1df4a8a60abfa9e833f77dcbb5e2a9bbf83de87
2023-12-21Add registered_times to ImsRegistrationStats Jisun Jung
Bug: 312808192 Test: atest ImsStatsTest Test: atest com.android.internal.telephony.metrics Test: manual test to set registeredTimes when UE is registered. Change-Id: I4bd71923e9d4604e1672366d9f2101bc68ff2221
2023-12-06Add vonr_enabled to voice call metric qingqi
vonr_enabled help us to identify VoNR and EPSFB calls. Bug: 288449751 Test: m, atest VoiceCallSessionStatsTest and maunal test Change-Id: I5375a64ba6e3f36d9e618dbef7198b5fcf40a395
2023-11-20Merge "VoiceCallSessionStats captures Cross-SIM Calling" into main Aswin Sankar
2023-11-20Merge "ServiceStateStats tracks cross-SIM calling reg" into main Aswin Sankar
2023-11-20VoiceCallSessionStats captures Cross-SIM Calling Aswin Sankar
- Adds boolean fields for "is_iwlan_cross_sim_*" that shadow the "rat_at_start", "rat_at_end" and "rat_at_connected" fields and are applicable when the NetworkType is IWLAN. - Separate booleans are necessary since NetworkType does not have a dedicated field for cross-SIM calling. Bug: 294240210 Test: Updated VoiceCallSessionStatsTest, on device testing with go/telephony-ww-local-testing Change-Id: I2c94de91d8187d6c077c66f3a7c7c092c63a58f9
2023-11-20ServiceStateStats tracks cross-SIM calling reg Aswin Sankar
- New boolean field 'is_iwlan_cross_sim' that can be read for multi-SIM devices where the voiceRat is NETWORK_TYPE_IWLAN. Bug: 294240210 Test: Updated ServiceStateStatsTest, on-device testing with go/telephony-ww-local-testing Change-Id: I0ad59331ae18b39c762d57fc90bd3fd8248f3ef1
2023-11-18Merge "DataCallSessionStats captures Cross-SIM calling" into main Aswin Sankar