From 4895023f3ac45f5d84caecef3280d7fc3699b7eb Mon Sep 17 00:00:00 2001 From: Hakjun Choi Date: Wed, 8 Mar 2023 06:27:14 +0000 Subject: [PATCH] Move unknown state to 0 and shift up others per the guidance of metrics council moved unknown from -1 to 0 then shifted up all the subsquent values by 1 for NRRadioTechnology Bug: 270134667 Test: Build Test Change-Id: I146096b1ad5af3951f559d466155c7db87ccb23a --- .../telephony/satellite/SatelliteManager.java | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/telephony/java/android/telephony/satellite/SatelliteManager.java b/telephony/java/android/telephony/satellite/SatelliteManager.java index 248d9df35ed2d..9ec6929543de8 100644 --- a/telephony/java/android/telephony/satellite/SatelliteManager.java +++ b/telephony/java/android/telephony/satellite/SatelliteManager.java @@ -285,35 +285,35 @@ public class SatelliteManager { @Retention(RetentionPolicy.SOURCE) public @interface SatelliteError {} - /** - * 3GPP NB-IoT (Narrowband Internet of Things) over Non-Terrestrial-Networks technology. - */ - public static final int NT_RADIO_TECHNOLOGY_NB_IOT_NTN = 0; - /** - * 3GPP 5G NR over Non-Terrestrial-Networks technology. - */ - public static final int NT_RADIO_TECHNOLOGY_NR_NTN = 1; - /** - * 3GPP eMTC (enhanced Machine-Type Communication) over Non-Terrestrial-Networks technology. - */ - public static final int NT_RADIO_TECHNOLOGY_EMTC_NTN = 2; - /** - * Proprietary technology. - */ - public static final int NT_RADIO_TECHNOLOGY_PROPRIETARY = 3; /** * Unknown Non-Terrestrial radio technology. This generic radio technology should be used * only when the radio technology cannot be mapped to other specific radio technologies. */ - public static final int NT_RADIO_TECHNOLOGY_UNKNOWN = -1; + public static final int NT_RADIO_TECHNOLOGY_UNKNOWN = 0; + /** + * 3GPP NB-IoT (Narrowband Internet of Things) over Non-Terrestrial-Networks technology. + */ + public static final int NT_RADIO_TECHNOLOGY_NB_IOT_NTN = 1; + /** + * 3GPP 5G NR over Non-Terrestrial-Networks technology. + */ + public static final int NT_RADIO_TECHNOLOGY_NR_NTN = 2; + /** + * 3GPP eMTC (enhanced Machine-Type Communication) over Non-Terrestrial-Networks technology. + */ + public static final int NT_RADIO_TECHNOLOGY_EMTC_NTN = 3; + /** + * Proprietary technology. + */ + public static final int NT_RADIO_TECHNOLOGY_PROPRIETARY = 4; /** @hide */ @IntDef(prefix = "NT_RADIO_TECHNOLOGY_", value = { + NT_RADIO_TECHNOLOGY_UNKNOWN, NT_RADIO_TECHNOLOGY_NB_IOT_NTN, NT_RADIO_TECHNOLOGY_NR_NTN, NT_RADIO_TECHNOLOGY_EMTC_NTN, - NT_RADIO_TECHNOLOGY_PROPRIETARY, - NT_RADIO_TECHNOLOGY_UNKNOWN + NT_RADIO_TECHNOLOGY_PROPRIETARY }) @Retention(RetentionPolicy.SOURCE) public @interface NTRadioTechnology {}