/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RadioConfigResponseTest.java | 23 import android.telephony.TelephonyManager; 37 caps.contains(TelephonyManager.CAPABILITY_SECONDARY_LINK_BANDWIDTH_VISIBLE)); in testVersion_1_5() 39 caps.contains(TelephonyManager.CAPABILITY_USES_ALLOWED_NETWORK_TYPES_BITMASK)); in testVersion_1_5() 42 TelephonyManager.CAPABILITY_NR_DUAL_CONNECTIVITY_CONFIGURATION_AVAILABLE)); in testVersion_1_5() 44 caps.contains(TelephonyManager.CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING)); in testVersion_1_5() 46 caps.contains(TelephonyManager.CAPABILITY_SLICING_CONFIG_SUPPORTED)); in testVersion_1_5() 53 caps.contains(TelephonyManager.CAPABILITY_SECONDARY_LINK_BANDWIDTH_VISIBLE)); in testReducedFeatureSet() 55 caps.contains(TelephonyManager.CAPABILITY_USES_ALLOWED_NETWORK_TYPES_BITMASK)); in testReducedFeatureSet() 58 TelephonyManager.CAPABILITY_NR_DUAL_CONNECTIVITY_CONFIGURATION_AVAILABLE)); in testReducedFeatureSet() 60 caps.contains(TelephonyManager.CAPABILITY_THERMAL_MITIGATION_DATA_THROTTLING)); in testReducedFeatureSet() [all …]
|
D | RadioAccessFamilyTest.java | 23 import android.telephony.TelephonyManager; 38 TelephonyManager.NETWORK_TYPE_BITMASK_HSUPA, in testCompareSameFamily() 39 TelephonyManager.NETWORK_TYPE_BITMASK_HSDPA)); in testCompareSameFamily() 44 TelephonyManager.NETWORK_TYPE_BITMASK_HSUPA, in testCompareSameFamily() 45 TelephonyManager.NETWORK_TYPE_BITMASK_HSDPA in testCompareSameFamily() 46 | TelephonyManager.NETWORK_TYPE_BITMASK_HSPA)); in testCompareSameFamily() 55 TelephonyManager.NETWORK_TYPE_BITMASK_LTE in testComparedGreatestUnique() 56 | TelephonyManager.NETWORK_TYPE_BITMASK_LTE_CA, in testComparedGreatestUnique() 57 TelephonyManager.NETWORK_TYPE_BITMASK_LTE in testComparedGreatestUnique() 58 | TelephonyManager.NETWORK_TYPE_BITMASK_HSUPA in testComparedGreatestUnique() [all …]
|
D | TelephonyRegistryTest.java | 22 import static android.telephony.TelephonyManager.ACTION_MULTI_SIM_CONFIG_CHANGED; 23 import static android.telephony.TelephonyManager.RADIO_POWER_OFF; 24 import static android.telephony.TelephonyManager.RADIO_POWER_ON; 25 import static android.telephony.TelephonyManager.RADIO_POWER_UNAVAILABLE; 67 import android.telephony.TelephonyManager; 110 private int mDataConnectionState = TelephonyManager.DATA_UNKNOWN; 111 private int mNetworkType = TelephonyManager.NETWORK_TYPE_UNKNOWN; 112 private int mDataActivity = TelephonyManager.DATA_ACTIVITY_NONE; 409 int srvccState = TelephonyManager.SRVCC_STATE_HANDOVER_STARTED; in testSrvccStateChanged() 420 srvccState = TelephonyManager.SRVCC_STATE_HANDOVER_COMPLETED; in testSrvccStateChanged() [all …]
|
D | CarrierSignalAgentTest.java | 18 import static android.telephony.TelephonyManager.ACTION_CARRIER_SIGNAL_PCO_VALUE; 19 import static android.telephony.TelephonyManager.ACTION_CARRIER_SIGNAL_REQUEST_NETWORK_FAILED; 48 import android.telephony.TelephonyManager; 89 FAKE_PCO_INTENT.putExtra(TelephonyManager.EXTRA_APN_TYPE, ApnSetting.TYPE_MMS); in FAKE_PCO_INTENT.putExtra() 90 FAKE_PCO_INTENT.putExtra(TelephonyManager.EXTRA_APN_PROTOCOL, ApnSetting.PROTOCOL_IP); in FAKE_PCO_INTENT.putExtra() 91 FAKE_PCO_INTENT.putExtra(TelephonyManager.EXTRA_PCO_ID, 500); in FAKE_PCO_INTENT.putExtra() 92 FAKE_PCO_INTENT.putExtra(TelephonyManager.EXTRA_PCO_VALUE, new byte[]{1, 2, 3}); in FAKE_PCO_INTENT.putExtra() 94 FAKE_REDIRECTED_INTENT = new Intent(TelephonyManager.ACTION_CARRIER_SIGNAL_REDIRECTED); 95 FAKE_REDIRECTED_INTENT.putExtra(TelephonyManager.EXTRA_APN_TYPE, ApnSetting.TYPE_MMS); in FAKE_REDIRECTED_INTENT.putExtra() 96 FAKE_REDIRECTED_INTENT.putExtra(TelephonyManager.EXTRA_REDIRECTION_URL, "example.com"); in FAKE_REDIRECTED_INTENT.putExtra() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | PhoneConstantConversions.java | 19 import android.telephony.TelephonyManager; 31 return TelephonyManager.CALL_STATE_RINGING; in convertCallState() 33 return TelephonyManager.CALL_STATE_OFFHOOK; in convertCallState() 35 return TelephonyManager.CALL_STATE_IDLE; in convertCallState() 45 case TelephonyManager.CALL_STATE_RINGING: in convertCallState() 47 case TelephonyManager.CALL_STATE_OFFHOOK: in convertCallState() 61 return TelephonyManager.DATA_CONNECTING; in convertDataState() 63 return TelephonyManager.DATA_CONNECTED; in convertDataState() 65 return TelephonyManager.DATA_SUSPENDED; in convertDataState() 67 return TelephonyManager.DATA_DISCONNECTING; in convertDataState() [all …]
|
D | TelephonyIntents.java | 21 import android.telephony.TelephonyManager; 104 = TelephonyManager.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED; 125 = TelephonyManager.ACTION_EMERGENCY_CALL_STATE_CHANGED; 193 = TelephonyManager.ACTION_SHOW_NOTICE_ECM_BLOCK_OTHERS; 234 = TelephonyManager.ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGED; 244 = TelephonyManager.ACTION_DEFAULT_VOICE_SUBSCRIPTION_CHANGED; 284 TelephonyManager.ACTION_REQUEST_OMADM_CONFIGURATION_UPDATE;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ |
D | NetworkControllerDataTest.java | 21 import static android.telephony.TelephonyManager.ACTION_SUBSCRIPTION_CARRIER_IDENTITY_CHANGED; 22 import static android.telephony.TelephonyManager.EXTRA_CARRIER_ID; 23 import static android.telephony.TelephonyManager.EXTRA_SUBSCRIPTION_ID; 41 import android.telephony.TelephonyManager; 77 updateDataConnectionState(TelephonyManager.DATA_CONNECTED, in test2gDataIcon() 78 TelephonyManager.NETWORK_TYPE_GSM); in test2gDataIcon() 86 updateDataConnectionState(TelephonyManager.DATA_CONNECTED, in testCdmaDataIcon() 87 TelephonyManager.NETWORK_TYPE_CDMA); in testCdmaDataIcon() 95 updateDataConnectionState(TelephonyManager.DATA_CONNECTED, in testEdgeDataIcon() 96 TelephonyManager.NETWORK_TYPE_EDGE); in testEdgeDataIcon() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/ |
D | MobileMappings.java | 25 import android.telephony.TelephonyManager; 63 return toIconKey(TelephonyManager.NETWORK_TYPE_LTE) + "_CA"; in toDisplayIconKey() 65 return toIconKey(TelephonyManager.NETWORK_TYPE_LTE) + "_CA_Plus"; in toDisplayIconKey() 67 return toIconKey(TelephonyManager.NETWORK_TYPE_NR); in toDisplayIconKey() 69 return toIconKey(TelephonyManager.NETWORK_TYPE_NR) + "_Plus"; in toDisplayIconKey() 93 networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_EVDO_0), in mapIconSets() 95 networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_EVDO_A), in mapIconSets() 97 networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_EVDO_B), in mapIconSets() 99 networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_EHRPD), in mapIconSets() 102 networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_UMTS), in mapIconSets() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | Annotation.java | 22 TelephonyManager.DATA_ACTIVITY_NONE, 23 TelephonyManager.DATA_ACTIVITY_IN, 24 TelephonyManager.DATA_ACTIVITY_OUT, 25 TelephonyManager.DATA_ACTIVITY_INOUT, 26 TelephonyManager.DATA_ACTIVITY_DORMANT, 33 TelephonyManager.DATA_UNKNOWN, 34 TelephonyManager.DATA_DISCONNECTED, 35 TelephonyManager.DATA_CONNECTING, 36 TelephonyManager.DATA_CONNECTED, 37 TelephonyManager.DATA_SUSPENDED, [all …]
|
D | PhysicalChannelConfig.java | 327 case TelephonyManager.NETWORK_TYPE_NR: in setDownlinkFrequency() 331 case TelephonyManager.NETWORK_TYPE_LTE: in setDownlinkFrequency() 335 case TelephonyManager.NETWORK_TYPE_HSPAP: in setDownlinkFrequency() 336 case TelephonyManager.NETWORK_TYPE_TD_SCDMA: in setDownlinkFrequency() 337 case TelephonyManager.NETWORK_TYPE_UMTS: in setDownlinkFrequency() 338 case TelephonyManager.NETWORK_TYPE_HSDPA: in setDownlinkFrequency() 339 case TelephonyManager.NETWORK_TYPE_HSUPA: in setDownlinkFrequency() 340 case TelephonyManager.NETWORK_TYPE_HSPA: in setDownlinkFrequency() 344 case TelephonyManager.NETWORK_TYPE_GPRS: in setDownlinkFrequency() 345 case TelephonyManager.NETWORK_TYPE_EDGE: in setDownlinkFrequency() [all …]
|
D | RadioAccessFamily.java | 23 import android.telephony.TelephonyManager.PrefNetworkMode; 44 public static final int RAF_UNKNOWN = (int) TelephonyManager.NETWORK_TYPE_BITMASK_UNKNOWN; 45 public static final int RAF_GSM = (int) TelephonyManager.NETWORK_TYPE_BITMASK_GSM; 46 public static final int RAF_GPRS = (int) TelephonyManager.NETWORK_TYPE_BITMASK_GPRS; 47 public static final int RAF_EDGE = (int) TelephonyManager.NETWORK_TYPE_BITMASK_EDGE; 48 public static final int RAF_IS95A = (int) TelephonyManager.NETWORK_TYPE_BITMASK_CDMA; 49 public static final int RAF_IS95B = (int) TelephonyManager.NETWORK_TYPE_BITMASK_CDMA; 50 public static final int RAF_1xRTT = (int) TelephonyManager.NETWORK_TYPE_BITMASK_1xRTT; 52 public static final int RAF_EVDO_0 = (int) TelephonyManager.NETWORK_TYPE_BITMASK_EVDO_0; 53 public static final int RAF_EVDO_A = (int) TelephonyManager.NETWORK_TYPE_BITMASK_EVDO_A; [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | ServiceStateStatsTest.java | 19 import static android.telephony.TelephonyManager.DATA_CONNECTED; 20 import static android.telephony.TelephonyManager.DATA_UNKNOWN; 51 import android.telephony.TelephonyManager; 129 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mServiceState).getVoiceNetworkType(); in setUp() 130 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mServiceState).getDataNetworkType(); in setUp() 131 mockWwanPsRat(TelephonyManager.NETWORK_TYPE_LTE); in setUp() 132 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mImsStats).getImsVoiceRadioTech(); in setUp() 161 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, state.voiceRat); in conclude_inService() 162 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, state.dataRat); in conclude_inService() 181 doReturn(TelephonyManager.NETWORK_TYPE_UNKNOWN).when(mServiceState).getVoiceNetworkType(); in conclude_outOfService() [all …]
|
D | VoiceCallSessionStatsTest.java | 62 import android.telephony.TelephonyManager; 184 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_UNKNOWN); in setUp() 185 setServiceState(mSecondServiceState, TelephonyManager.NETWORK_TYPE_UNKNOWN); in setUp() 250 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE); in singleImsCall_moRejected() 251 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mImsStats).getImsVoiceRadioTech(); in singleImsCall_moRejected() 262 TelephonyManager.NETWORK_TYPE_LTE, in singleImsCall_moRejected() 269 expectedCall.ratAtConnected = TelephonyManager.NETWORK_TYPE_UNKNOWN; in singleImsCall_moRejected() 273 CARRIER_ID_SLOT_0, TelephonyManager.NETWORK_TYPE_LTE, 2000L, 12000L, 1L); in singleImsCall_moRejected() 304 setServiceState(mServiceState, TelephonyManager.NETWORK_TYPE_LTE); in singleImsCall_moFailed() 305 doReturn(TelephonyManager.NETWORK_TYPE_LTE).when(mImsStats).getImsVoiceRadioTech(); in singleImsCall_moFailed() [all …]
|
D | DataCallSessionStatsTest.java | 34 import android.telephony.TelephonyManager; 104 TelephonyManager.NETWORK_TYPE_LTE, in testSetupDataCallOnCellularIms_success() 120 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, stats.ratAtEnd); in testSetupDataCallOnCellularIms_success() 130 TelephonyManager.NETWORK_TYPE_IWLAN, in testSetupDataCallOnIwlan_success() 146 assertEquals(TelephonyManager.NETWORK_TYPE_IWLAN, stats.ratAtEnd); in testSetupDataCallOnIwlan_success() 159 TelephonyManager.NETWORK_TYPE_IWLAN, in testSetupDataCallOnCrossSimCalling_success() 175 assertEquals(TelephonyManager.NETWORK_TYPE_IWLAN, stats.ratAtEnd); in testSetupDataCallOnCrossSimCalling_success() 186 TelephonyManager.NETWORK_TYPE_LTE, in testSetupDataCallOnCellularIms_failure() 199 assertEquals(TelephonyManager.NETWORK_TYPE_LTE, stats.ratAtEnd); in testSetupDataCallOnCellularIms_failure() 209 TelephonyManager.NETWORK_TYPE_LTE, in testHandoverFromCellularToIwlan_success() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataSettingsManager.java | 34 import android.telephony.TelephonyManager; 35 import android.telephony.TelephonyManager.MobileDataPolicy; 157 @TelephonyManager.DataEnabledChangedReason int reason, in onDataEnabledChanged() 168 @TelephonyManager.MobileDataPolicy int policy) {} in onDataEnabledOverrideChanged() 202 mDataEnabledSettings.put(TelephonyManager.DATA_ENABLED_REASON_POLICY, true); in DataSettingsManager() 203 mDataEnabledSettings.put(TelephonyManager.DATA_ENABLED_REASON_CARRIER, true); in DataSettingsManager() 204 mDataEnabledSettings.put(TelephonyManager.DATA_ENABLED_REASON_THERMAL, true); in DataSettingsManager() 215 updateDataEnabledAndNotify(TelephonyManager.DATA_ENABLED_REASON_OVERRIDE); in handleMessage() 221 updateDataEnabledAndNotify(TelephonyManager.DATA_ENABLED_REASON_USER, in handleMessage() 231 case TelephonyManager.DATA_ENABLED_REASON_USER: in handleMessage() [all …]
|
D | DataUtils.java | 35 import android.telephony.TelephonyManager; 331 case TelephonyManager.NETWORK_TYPE_GPRS, TelephonyManager.NETWORK_TYPE_EDGE, 332 TelephonyManager.NETWORK_TYPE_GSM -> 334 case TelephonyManager.NETWORK_TYPE_UMTS, TelephonyManager.NETWORK_TYPE_HSDPA, 335 TelephonyManager.NETWORK_TYPE_HSPAP, TelephonyManager.NETWORK_TYPE_HSUPA, 336 TelephonyManager.NETWORK_TYPE_HSPA, TelephonyManager.NETWORK_TYPE_TD_SCDMA -> 338 case TelephonyManager.NETWORK_TYPE_CDMA, TelephonyManager.NETWORK_TYPE_EVDO_0, 339 TelephonyManager.NETWORK_TYPE_EVDO_A, TelephonyManager.NETWORK_TYPE_EVDO_B, 340 TelephonyManager.NETWORK_TYPE_1xRTT, TelephonyManager.NETWORK_TYPE_EHRPD -> 342 case TelephonyManager.NETWORK_TYPE_LTE, TelephonyManager.NETWORK_TYPE_LTE_CA -> [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | DataConnectionStats.java | 33 import android.telephony.TelephonyManager; 51 private int mSimState = TelephonyManager.SIM_STATE_READY; 54 private int mDataState = TelephonyManager.DATA_DISCONNECTED; 67 TelephonyManager phone = mContext.getSystemService(TelephonyManager.class); in startMonitoring() 92 boolean simReadyOrUnknown = mSimState == TelephonyManager.SIM_STATE_READY in notePhoneDataConnectionState() 93 || mSimState == TelephonyManager.SIM_STATE_UNKNOWN; in notePhoneDataConnectionState() 96 && mDataState == TelephonyManager.DATA_CONNECTED; in notePhoneDataConnectionState() 99 int networkType = regInfo == null ? TelephonyManager.NETWORK_TYPE_UNKNOWN in notePhoneDataConnectionState() 116 mSimState = TelephonyManager.SIM_STATE_ABSENT; in updateSimState() 118 mSimState = TelephonyManager.SIM_STATE_READY; in updateSimState() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/ |
D | DataConnectionState.kt | 19 import android.telephony.TelephonyManager.DATA_CONNECTED 20 import android.telephony.TelephonyManager.DATA_CONNECTING 21 import android.telephony.TelephonyManager.DATA_DISCONNECTED 22 import android.telephony.TelephonyManager.DATA_DISCONNECTING 23 import android.telephony.TelephonyManager.DATA_HANDOVER_IN_PROGRESS 24 import android.telephony.TelephonyManager.DATA_SUSPENDED 25 import android.telephony.TelephonyManager.DATA_UNKNOWN 26 import android.telephony.TelephonyManager.DataState
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ServiceStateStats.java | 19 import static android.telephony.TelephonyManager.DATA_CONNECTED; 36 import android.telephony.TelephonyManager; 268 if (rat == TelephonyManager.NETWORK_TYPE_UNKNOWN) { in getBand() 272 case TelephonyManager.NETWORK_TYPE_GSM: in getBand() 273 case TelephonyManager.NETWORK_TYPE_GPRS: in getBand() 274 case TelephonyManager.NETWORK_TYPE_EDGE: in getBand() 277 case TelephonyManager.NETWORK_TYPE_UMTS: in getBand() 278 case TelephonyManager.NETWORK_TYPE_HSDPA: in getBand() 279 case TelephonyManager.NETWORK_TYPE_HSUPA: in getBand() 280 case TelephonyManager.NETWORK_TYPE_HSPA: in getBand() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierSignalAgent.java | 36 import android.telephony.TelephonyManager; 102 TelephonyManager.ACTION_CARRIER_SIGNAL_PCO_VALUE, 103 TelephonyManager.ACTION_CARRIER_SIGNAL_REDIRECTED, 104 TelephonyManager.ACTION_CARRIER_SIGNAL_REQUEST_NETWORK_FAILED, 105 TelephonyManager.ACTION_CARRIER_SIGNAL_RESET, 106 TelephonyManager.ACTION_CARRIER_SIGNAL_DEFAULT_NETWORK_AVAILABLE); 109 TelephonyManager.ACTION_CARRIER_SIGNAL_PCO_VALUE, 111 TelephonyManager.ACTION_CARRIER_SIGNAL_REDIRECTED, 113 TelephonyManager.ACTION_CARRIER_SIGNAL_REQUEST_NETWORK_FAILED, 115 TelephonyManager.ACTION_CARRIER_SIGNAL_RESET, [all …]
|
/frameworks/libs/service_entitlement/tests/src/com/android/libraries/entitlement/ |
D | EapAkaHelperTest.java | 25 import android.telephony.TelephonyManager; 44 @Mock TelephonyManager mMockTelephonyManager; 45 @Mock TelephonyManager mMockTelephonyManagerForSubId; 53 when(mContext.getSystemService(TelephonyManager.class)) in setUp() 96 TelephonyManager.APPTYPE_USIM, TelephonyManager.AUTHTYPE_EAP_AKA, in getEapAkaChallengeResponse() 115 TelephonyManager.APPTYPE_USIM, TelephonyManager.AUTHTYPE_EAP_AKA, in getEapAkaChallengeResponse_getIccAuthenticationFailed() 132 TelephonyManager.APPTYPE_USIM, TelephonyManager.AUTHTYPE_EAP_AKA, in getEapAkaResponse() 152 TelephonyManager.APPTYPE_USIM, TelephonyManager.AUTHTYPE_EAP_AKA, in getEapAkaResponse_synchronizationFailure() 172 TelephonyManager.APPTYPE_USIM, TelephonyManager.AUTHTYPE_EAP_AKA, in getEapAkaResponse_getIccAuthenticationFailed()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/ |
D | DataProfileManagerTest.java | 43 import android.telephony.TelephonyManager; 176 TelephonyManager.NETWORK_TYPE_BITMASK_LTE 177 | TelephonyManager.NETWORK_TYPE_BITMASK_NR, // network_type_bitmask 215 TelephonyManager.NETWORK_TYPE_BITMASK_CDMA, // network_type_bitmask 252 TelephonyManager.NETWORK_TYPE_BITMASK_LTE, // network_type_bitmask 289 TelephonyManager.NETWORK_TYPE_BITMASK_NR, // network_type_bitmask 326 TelephonyManager.NETWORK_TYPE_BITMASK_LTE 327 | TelephonyManager.NETWORK_TYPE_BITMASK_NR, // network_type_bitmask 365 TelephonyManager.NETWORK_TYPE_BITMASK_LTE 366 | TelephonyManager.NETWORK_TYPE_BITMASK_NR, // network_type_bitmask [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | EriInfo.java | 19 import android.telephony.TelephonyManager; 23 public static final int ROAMING_INDICATOR_ON = TelephonyManager.ERI_ON; 24 public static final int ROAMING_INDICATOR_OFF = TelephonyManager.ERI_OFF; 25 public static final int ROAMING_INDICATOR_FLASH = TelephonyManager.ERI_FLASH; 27 public static final int ROAMING_ICON_MODE_NORMAL = TelephonyManager.ERI_ICON_MODE_NORMAL; 28 public static final int ROAMING_ICON_MODE_FLASH = TelephonyManager.ERI_ICON_MODE_FLASH;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | PinStorageTest.java | 36 import android.telephony.TelephonyManager; 170 assertThat(result).isEqualTo(TelephonyManager.PREPARE_UNATTENDED_REBOOT_SUCCESS); in storePin_unattendedReboot_pinCanBeRetrievedOnce() 190 assertThat(result).isEqualTo(TelephonyManager.PREPARE_UNATTENDED_REBOOT_ERROR); in storePin_unattendedReboot_deviceIsLocked() 204 assertThat(result).isEqualTo(TelephonyManager.PREPARE_UNATTENDED_REBOOT_SUCCESS); in storePin_unattendedReboot_pinIsRemovedAfterDelay() 216 assertThat(result).isEqualTo(TelephonyManager.PREPARE_UNATTENDED_REBOOT_SUCCESS); in storePin_unattendedReboot_pinIsRemovedAfterDelay() 229 assertThat(result).isEqualTo(TelephonyManager.PREPARE_UNATTENDED_REBOOT_SUCCESS); in storePin_unattendedRebootNotDone_pinCannotBeRetrieved() 245 assertThat(result).isEqualTo(TelephonyManager.PREPARE_UNATTENDED_REBOOT_SUCCESS); in storePin_unattendedReboot_iccidChange() 267 assertThat(result).isEqualTo(TelephonyManager.PREPARE_UNATTENDED_REBOOT_SUCCESS); in clearPin_pinCannotBeRetrieved() 281 assertThat(result).isEqualTo(TelephonyManager.PREPARE_UNATTENDED_REBOOT_SUCCESS); in storePin_pinChanged_pinIsUpdated() 294 assertThat(result).isEqualTo(TelephonyManager.PREPARE_UNATTENDED_REBOOT_SUCCESS); in storePin_pinTooShort_pinIsNotStored() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | CarrierTextManagerTest.java | 52 import android.telephony.TelephonyManager; 118 private TelephonyManager mTelephonyManager; 150 mContext.addMockSystemService(TelephonyManager.class, mTelephonyManager); in setUp() 209 when(mKeyguardUpdateMonitor.getSimState(0)).thenReturn(TelephonyManager.SIM_STATE_READY); in testAirplaneMode() 227 Intent stickyIntent = new Intent(TelephonyManager.ACTION_SERVICE_PROVIDERS_UPDATED); in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash() 228 stickyIntent.putExtra(TelephonyManager.EXTRA_SHOW_PLMN, true); in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash() 229 stickyIntent.removeExtra(TelephonyManager.EXTRA_PLMN); in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash() 230 stickyIntent.putExtra(TelephonyManager.EXTRA_SHOW_SPN, true); in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash() 231 stickyIntent.removeExtra(TelephonyManager.EXTRA_SPN); in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash() 257 .thenReturn(TelephonyManager.SIM_STATE_NOT_READY); in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash() [all …]
|