Home
last modified time | relevance | path

Searched refs:simSlotIndex (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/dataservice/
DSubscriptionInfoEntity.java31 public SubscriptionInfoEntity(@NonNull String subId, int simSlotIndex, int carrierId, in SubscriptionInfoEntity() argument
41 this.simSlotIndex = simSlotIndex; in SubscriptionInfoEntity()
73 public int simSlotIndex; field in SubscriptionInfoEntity
167 simSlotIndex, in hashCode()
204 && simSlotIndex == info.simSlotIndex in equals()
235 .append(simSlotIndex) in toString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DServiceStateStatsTest.java166 assertEquals(0, state.simSlotIndex); in conclude_inService()
202 assertEquals(0, state.simSlotIndex); in conclude_outOfService()
270 assertEquals(0, state.simSlotIndex); in conclude_noSimCardEmergencyOnly()
307 assertEquals(0, state.simSlotIndex); in conclude_noSimCardOutOfService()
339 assertEquals(0, state.simSlotIndex); in conclude_longOnGoingServiceState()
352 assertEquals(0, state.simSlotIndex); in conclude_longOnGoingServiceState()
390 assertEquals(0, state.simSlotIndex); in onImsVoiceRegistrationChanged_wifiCallingWhileOos()
403 assertEquals(0, state.simSlotIndex); in onImsVoiceRegistrationChanged_wifiCallingWhileOos()
462 assertEquals(0, state.simSlotIndex); in onInternetDataNetworkDisconnected()
475 assertEquals(0, state.simSlotIndex); in onInternetDataNetworkDisconnected()
[all …]
DImsStatsTest.java190 assertEquals(0, stats.simSlotIndex); in conclude_registered()
238 assertEquals(0, stats.simSlotIndex); in conclude_registeredPartialFeatures()
285 assertEquals(0, stats.simSlotIndex); in conclude_registeredVoiceOnly()
320 assertEquals(0, stats.simSlotIndex); in conclude_registeredVoiceOnly_crossSimCalling()
377 assertEquals(0, stats.simSlotIndex); in conclude_notRegistered()
418 assertEquals(0, stats.simSlotIndex); in conclude_registering()
536 assertEquals(0, stats.simSlotIndex); in conclude_serviceStateChanged_afterRatLte()
561 assertEquals(0, stats.simSlotIndex); in onImsCapabilitiesChanged_sameTech()
601 assertEquals(0, stats.simSlotIndex); in onImsCapabilitiesChanged_differentTech()
641 assertEquals(0, stats.simSlotIndex); in onImsCapabilitiesChanged_differentTechNoVoice()
[all …]
DPersistAtomsStorageTest.java347 mCall1Proto.simSlotIndex = 0; in makeTestData()
374 mCall2Proto.simSlotIndex = 1; in makeTestData()
401 mCall3Proto.simSlotIndex = 1; in makeTestData()
427 mCall4Proto.simSlotIndex = 0; in makeTestData()
483 mServiceSwitch1Proto.simSlotIndex = 0; in makeTestData()
492 mServiceSwitch2Proto.simSlotIndex = 0; in makeTestData()
504 mServiceState1Proto.simSlotIndex = 0; in makeTestData()
517 mServiceState2Proto.simSlotIndex = 0; in makeTestData()
530 mServiceState3Proto.simSlotIndex = 1; in makeTestData()
543 mServiceState4Proto.simSlotIndex = 1; in makeTestData()
[all …]
DVoiceCallSessionStatsTest.java2934 call.simSlotIndex = 0; in makeSlot0CallProto()
2971 call.simSlotIndex = 1; in makeSlot1CallProto()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java283 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
287 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
301 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
306 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
319 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
327 this(id, iccId, simSlotIndex, displayName, carrierName, nameSource, iconTint, number, in SubscriptionInfo()
340 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
348 this(id, iccId, simSlotIndex, displayName, carrierName, displayNameSource, iconTint, number, in SubscriptionInfo()
362 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, in SubscriptionInfo() argument
372 this.mSimSlotIndex = simSlotIndex; in SubscriptionInfo()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DServiceStateStats.java136 newState.simSlotIndex = mPhone.getPhoneId(); in onServiceStateChanged()
231 serviceSwitch.simSlotIndex = nextState.simSlotIndex; in getDataServiceSwitch()
312 copy.simSlotIndex = state.simSlotIndex; in copyOf()
DSmsStats.java234 proto.simSlotIndex = getPhoneId(); in getIncomingDefaultProto()
259 proto.simSlotIndex = getPhoneId(); in getOutgoingDefaultProto()
345 sms.isRoaming, sms.isFromDefaultApp, sms.simSlotIndex, sms.isMultiSim, in getSmsHashCode()
356 sms.isRoaming, sms.simSlotIndex, sms.isMultiSim, sms.isEsim, sms.carrierId); in getSmsHashCode()
DImsStats.java452 mLastRegistrationStats.simSlotIndex = phone.getPhoneId(); in updateImsRegistrationStats()
502 dest.simSlotIndex = source.simSlotIndex; in copyOfDimensionsOnly()
DMetricsCollector.java1064 serviceSwitch.simSlotIndex, in buildStatsEvent()
1078 state.simSlotIndex, in buildStatsEvent()
1119 session.simSlotIndex, in buildStatsEvent()
1166 sms.simSlotIndex, in buildStatsEvent()
1187 sms.simSlotIndex, in buildStatsEvent()
1238 stats.simSlotIndex, in buildStatsEvent()
DPersistAtomsStorage.java1971 && state.simSlotIndex == key.simSlotIndex in find()
1995 && serviceSwitch.simSlotIndex == key.simSlotIndex in find()
2027 && stats.simSlotIndex == key.simSlotIndex in find()
DVoiceCallSessionStats.java237 proto.simSlotIndex, proto.disconnectReasonCode); in onRilCallListChanged()
488 proto.simSlotIndex = mPhoneId; in addCall()
701 proto.simSlotIndex, proto.disconnectReasonCode); in finishImsCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/
DTelephonyAnalytics.java256 int simSlotIndex, in onCallTerminated() argument
287 sendDataToProvider(callType, status, simSlotIndex, rat, ratString, in onCallTerminated()
291 private void sendDataToProvider(String callType, String status, int simSlotIndex, in sendDataToProvider() argument
295 callType, status, simSlotIndex, ratString, disconnectCauseString); in sendDataToProvider()
306 Integer.toString(simSlotIndex))); in sendDataToProvider()
/frameworks/base/core/java/android/provider/
DContactsContract.java8427 int simSlotIndex, in addSimAccount() argument
8429 if (simSlotIndex < 0) { in addSimAccount()
8440 extras.putInt(KEY_SIM_SLOT_INDEX, simSlotIndex); in addSimAccount()
8460 int simSlotIndex) { in removeSimAccounts() argument
8461 if (simSlotIndex < 0) { in removeSimAccounts()
8466 extras.putInt(KEY_SIM_SLOT_INDEX, simSlotIndex); in removeSimAccounts()
8551 int simSlotIndex, in SimAccount() argument
8555 this.mSimSlotIndex = simSlotIndex; in SimAccount()
/frameworks/base/core/java/android/telephony/
DTelephonyRegistryManager.java650 public void notifyOutgoingEmergencyCall(int simSlotIndex, int subscriptionId, in notifyOutgoingEmergencyCall() argument
653 sRegistry.notifyOutgoingEmergencyCall(simSlotIndex, subscriptionId, emergencyNumber); in notifyOutgoingEmergencyCall()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionInfoInternal.java1994 public Builder setSimSlotIndex(int simSlotIndex) { in setSimSlotIndex() argument
1995 mSimSlotIndex = simSlotIndex; in setSimSlotIndex()
DSubscriptionManagerService.java1014 public void markSubscriptionsInactive(int simSlotIndex) { in markSubscriptionsInactive() argument
1015 logl("markSubscriptionsInactive: slot " + simSlotIndex); in markSubscriptionsInactive()
1016 mSlotIndexToSubId.remove(simSlotIndex); in markSubscriptionsInactive()
1018 .filter(subInfo -> subInfo.getSimSlotIndex() == simSlotIndex) in markSubscriptionsInactive()
DSubscriptionDatabaseManager.java1081 public void setSimSlotIndex(int subId, int simSlotIndex) { in setSimSlotIndex() argument
1082 writeDatabaseAndCacheHelper(subId, SimInfo.COLUMN_SIM_SLOT_INDEX, simSlotIndex, in setSimSlotIndex()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DMultiSimSettingControllerTest.java135 private void setSimSlotIndex(int subId, int simSlotIndex) { in setSimSlotIndex() argument
137 .setSimSlotIndex(simSlotIndex).build(); in setSimSlotIndex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerImpl.java1422 private SubscriptionInfo addDemoModeSignalController(int id, int simSlotIndex) { in addDemoModeSignalController() argument
1423 SubscriptionInfo info = new SubscriptionInfo(id, "", simSlotIndex, "", "", 0, 0, "", 0, in addDemoModeSignalController()