Home
last modified time | relevance | path

Searched refs:PHONE_ID (Results 1 – 15 of 15) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/security/
DNullCipherNotifierTest.java48 private static final int PHONE_ID = 999; field in NullCipherNotifierTest
157 PHONE_ID, in onSecurityAlgorithmUpdate_enabled_unprotectedEmergency_noSafetySourceUpdate()
175 PHONE_ID, in onSecurityAlgorithmUpdate_disabled_noSafetySourceUpdate()
194 PHONE_ID, in onSecurityAlgorithmUpdate_enabled_nonTransportLayerEvent_noSafetySourceUpdate()
217 PHONE_ID, in onUpdate_enabled_transportLayerEvent_encryptionNullCipher_notifyNonEncrypted()
248 PHONE_ID, in onUpdate_enabled_transportLayerEvent_integrityNullCipher_notifyNonEncrypted()
279 PHONE_ID, in onUpdate_enabled_transportLayerEvent_encryptionNonNullCipher_encrypted()
310 PHONE_ID, in onUpdate_enabled_transportLayerEvent_integrityNonNullCipher_encrypted()
340 PHONE_ID, in onUpdate_enabled_transportLayerEvent_encryptionNonNullCipher_notifyEncrypted()
351 PHONE_ID, in onUpdate_enabled_transportLayerEvent_encryptionNonNullCipher_notifyEncrypted()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java86 private static final int PHONE_ID = 2; field in CarrierPrivilegesTrackerTest
132 when(mPhone.getPhoneId()).thenReturn(PHONE_ID); in setUp()
166 when(mTelephonyManager.hasIccCard(PHONE_ID)).thenReturn(true); in setupSimLoadedRules()
273 eq(PHONE_ID), in verifyCarrierPrivilegesChangedUpdates()
291 eq(PHONE_ID), eq(expectedUpdate.first), eq(expectedUpdate.second)); in verifyCarrierServicesChangedUpdates()
306 sendCarrierConfigChanged(SUB_ID, PHONE_ID); in testCarrierConfigUpdated()
332 sendCarrierConfigChanged(INVALID_SUBSCRIPTION_ID, PHONE_ID); in testCarrierConfigUpdatedInvalidSubId()
351 sendCarrierConfigChanged(SUB_ID, PHONE_ID); in testCarrierConfigUpdatedNotIdentifiedCarrier()
370 sendCarrierConfigChanged(SUB_ID, PHONE_ID); in testCarrierConfigUpdatedExplicitPackageNames()
382 sendCarrierConfigChanged(SUB_ID, PHONE_ID); in testCarrierConfigUpdatedExplicitPackageNames()
[all …]
DCarrierSignalAgentTest.java110 private static final int PHONE_ID = 0; field in CarrierSignalAgentTest
176 mCarrierConfigChangeListener.onCarrierConfigChanged(PHONE_ID, in testNotifyManifestReceivers()
226 mCarrierConfigChangeListener.onCarrierConfigChanged(PHONE_ID, in testLegacyConversionSupport()
345 mCarrierConfigChangeListener.onCarrierConfigChanged(PHONE_ID, in testNotifyRuntimeReceivers()
383 mCarrierConfigChangeListener.onCarrierConfigChanged(PHONE_ID, in testNotify()
439 mCarrierConfigChangeListener.onCarrierConfigChanged(PHONE_ID, in testCarrierConfigChange()
451 mCarrierConfigChangeListener.onCarrierConfigChanged(PHONE_ID, in testCarrierConfigChange()
463 mCarrierConfigChangeListener.onCarrierConfigChanged(PHONE_ID, in testCarrierConfigChange()
DDisplayInfoControllerTest.java60 private static final int PHONE_ID = 0; field in DisplayInfoControllerTest
85 doReturn(NUMERIC).when(mTelephonyManager).getSimOperatorNumericForPhone(eq(PHONE_ID)); in onLooperPrepared()
86 doReturn(NETWORK).when(mTelephonyManager).getSimOperatorNameForPhone(eq(PHONE_ID)); in onLooperPrepared()
130 mCarrierConfigChangeListener.onCarrierConfigChanged(PHONE_ID, in sendCarrierConfigUpdate()
DDefaultPhoneNotifierTest.java54 private static final int PHONE_ID = 1; field in DefaultPhoneNotifierTest
123 doReturn(PHONE_ID).when(mPhone).getPhoneId(); in testNotifyDataActivityWithSlot()
205 doReturn(PHONE_ID).when(mPhone).getPhoneId(); in testNotifyDisconnectCause()
209 verify(mTelephonyRegistryManager).notifyDisconnectCause(PHONE_ID, SUB_ID, in testNotifyDisconnectCause()
214 verify(mTelephonyRegistryManager).notifyDisconnectCause(PHONE_ID, SUB_ID, in testNotifyDisconnectCause()
DSignalStrengthControllerTest.java91 private static final int PHONE_ID = 0; field in SignalStrengthControllerTest
1541 mCarrierConfigChangeListener.onCarrierConfigChanged(PHONE_ID, ACTIVE_SUB_ID, in sendCarrierConfigUpdate()
DServiceStateTrackerTest.java164 private static final int PHONE_ID = 0; field in ServiceStateTrackerTest
302 doReturn(PHONE_ID).when(mPhone).getPhoneId(); in setUp()
393 sendCarrierConfigUpdate(PHONE_ID); in setUp()
2765 doReturn(PHONE_ID).when(mPhone).getPhoneId(); in testGetMdn()
3144 sendCarrierConfigUpdate(PHONE_ID); in testUpdateSpnDisplay_spnEmptyAndWifiCallingEnabled_showPlmnOnly()
3224 sendCarrierConfigUpdate(PHONE_ID); in testUpdateSpnDisplayLegacy_WlanServiceNoWifiCalling_displayOOS()
/frameworks/opt/net/ims/tests/src/com/android/ims/
DFeatureConnectionTest.java89 public static final int PHONE_ID = 1; field in FeatureConnectionTest
99 mTestFeatureConnection = new TestFeatureConnection(mContext, PHONE_ID, SUB_ID); in setUp()
DFeatureConnectorTest.java131 private static final int PHONE_ID = 1; field in FeatureConnectorTest
139 mTestManager = new TestManager(mContext, PHONE_ID); in setUp()
284 mTestManager.registerFeatureCallback(PHONE_ID, null); in testCantConnectToServer()
421 mFeatureConnector = new FeatureConnector<>(mContext, PHONE_ID, in createFeatureConnector()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DPhoneMediaDeviceTest.java24 import static com.android.settingslib.media.PhoneMediaDevice.PHONE_ID;
146 .isEqualTo(PHONE_ID); in getId_whenAdvancedWiredRoutingDisabled_returnCorrectId()
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DSlicePurchaseActivityTest.java57 private static final int PHONE_ID = 0; field in SlicePurchaseActivityTest
98 intent.putExtra(SlicePurchaseController.EXTRA_PHONE_ID, PHONE_ID); in setUp()
DSlicePurchaseBroadcastReceiverTest.java65 private static final int PHONE_ID = 0; field in SlicePurchaseBroadcastReceiverTest
134 doReturn(PHONE_ID).when(mIntent).getIntExtra( in testIsIntentValid()
245 doReturn(PHONE_ID).when(mIntent).getIntExtra( in displayPerformanceBoostNotification()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/
DPhoneMediaDevice.java60 public static final String PHONE_ID = "phone_media_device_id"; field in PhoneMediaDevice
264 id = PHONE_ID; in getId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMockModem.java47 private static final String PHONE_ID = "phone_id"; field in MockModem
159 intent.putExtra(PHONE_ID, phoneId); in bindModuleToMockModemService()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/satellite/
DSatelliteSOSMessageRecommenderTest.java93 private static final int PHONE_ID = 0; field in SatelliteSOSMessageRecommenderTest
133 mContext, PHONE_ID, mMmTelFeatureConnectionFactory, null, null, null); in setUp()
140 when(mPhone.getPhoneId()).thenReturn(PHONE_ID); in setUp()