Enforce satellite session metrics
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
14 files changed