Home
last modified time | relevance | path

Searched refs:getSimSlotIndex (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyRegistryTest.java360 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testPhoneCapabilityChanged()
408 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testSrvccStateChanged()
436 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testSrvccStateChangedWithRenouncedLocationAccess()
465 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testSrvccStateChangedWithRenouncedFineLocationAccess()
563 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testDataConnectionStateChanged()
637 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testDataConnectionStateChangedMultipleInternet()
842 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testPreciseDataConnectionStateChanged()
921 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in testPhysicalChannelConfigChanged()
962 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in checkBarringInfoWithLocationPermission()
1058 doReturn(0/*slotIndex*/).when(mMockSubInfo).getSimSlotIndex(); in checkRegistrationFailedEventWithLocationPermission()
[all …]
DSubscriptionInfoTest.java89 assertThat(mSubscriptionInfoUT.getSimSlotIndex()).isEqualTo(0); in testSubProperties()
DMultiSimSettingControllerTest.java231 return mSubInfo[subId].getSimSlotIndex(); in setUp()
236 if (mSubInfo[i] != null && mSubInfo[i].getSimSlotIndex() == 0) return i; in setUp()
243 if (mSubInfo[i] != null && mSubInfo[i].getSimSlotIndex() == 1) return i; in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/
DSubscriptionInfoInternalTest.java162 assertThat(mSubInfo.getSimSlotIndex()).isEqualTo(0); in testSubscriptionInfoInternalSetAndGet()
271 assertThat(subInfo.getSimSlotIndex()).isEqualTo(0); in testConvertToSubscriptionInfo()
329 assertThat(subInfoNull.getSimSlotIndex()).isEqualTo(0); in testNullability()
DSubscriptionManagerServiceTest.java305 if (subInfo.getSimSlotIndex() >= 0) { in insertSubscription()
307 map.put(subInfo.getSimSlotIndex(), subId); in insertSubscription()
313 if (subInfo.getSimSlotIndex() >= 0) { in insertSubscription()
320 Array.set(array, subInfo.getSimSlotIndex(), TelephonyManager.SIM_STATE_LOADED); in insertSubscription()
358 assertThat(subInfo.getSimSlotIndex()).isEqualTo(0); in testAddSubInfo()
967 assertThat(subInfo.getSimSlotIndex()).isEqualTo(SubscriptionManager.INVALID_SIM_SLOT_INDEX); in testUpdateEmbeddedSubscriptions()
986 assertThat(subInfo.getSimSlotIndex()).isEqualTo(SubscriptionManager.INVALID_SIM_SLOT_INDEX); in testUpdateEmbeddedSubscriptions()
2426 assertThat(subInfo.getSimSlotIndex()).isEqualTo(SubscriptionManager.INVALID_SIM_SLOT_INDEX); in testUserUnlockUpdateEmbeddedSubscriptions()
2478 assertThat(subInfo.getSimSlotIndex()).isEqualTo(0); in testInsertNewSim()
2636 assertThat(subInfoList.get(0).getSimSlotIndex()).isEqualTo(1); in testEsimActivation()
[all …]
DSubscriptionDatabaseManagerTest.java620 assertThat(mDatabaseManagerUT.getSubscriptionInfoInternal(1).getSimSlotIndex()) in testUpdateSimSlotIndex()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerImpl.java951 return lhs.getSimSlotIndex() == rhs.getSimSlotIndex() in setCurrentSubscriptionsLocked()
953 : lhs.getSimSlotIndex() - rhs.getSimSlotIndex(); in setCurrentSubscriptionsLocked()
990 if (subscriptions.get(i).getSimSlotIndex() == 0) { in setCurrentSubscriptionsLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/
DSubscriptionManagerService.java1018 .filter(subInfo -> subInfo.getSimSlotIndex() == simSlotIndex) in markSubscriptionsInactive()
1293 && mSimState[subInfo.getSimSlotIndex()] in updateEmbeddedSubscriptions()
1489 .filter(sub -> sub.getSimSlotIndex() == phoneId && !iccId.equals( in updateSubscription()
1905 .sorted(Comparator.comparing(SubscriptionInfo::getSimSlotIndex) in getAllSubInfoList()
2078 .sorted(Comparator.comparing(SubscriptionInfo::getSimSlotIndex) in getActiveSubscriptionInfoList()
2160 .sorted(Comparator.comparing(SubscriptionInfoInternal::getSimSlotIndex) in getAvailableSubscriptionInfoList()
2233 .sorted(Comparator.comparing(SubscriptionInfo::getSimSlotIndex) in getAccessibleSubscriptionInfoList()
2348 mSlotIndexToSubId.remove(subInfo.getSimSlotIndex()); in removeSubInfo()
2755 .sorted(Comparator.comparing(SubscriptionInfo::getSimSlotIndex) in getOpportunisticSubscriptions()
3509 .filter(subInfo -> subInfo.isActive() && subInfo.getSimSlotIndex() == slotIndex) in getEnabledSubscriptionId()
DSubscriptionInfoInternal.java597 public int getSimSlotIndex() { in getSimSlotIndex() method in SubscriptionInfoInternal
DSubscriptionDatabaseManager.java104 SubscriptionInfoInternal::getSimSlotIndex),
/frameworks/base/tests/vcn/java/com/android/server/vcn/
DTelephonySubscriptionTrackerTest.java188 doReturn(TEST_SIM_SLOT_INDEX).when(TEST_SUBINFO_1).getSimSlotIndex(); in TelephonySubscriptionTrackerTest()
189 doReturn(INVALID_SIM_SLOT_INDEX).when(TEST_SUBINFO_2).getSimSlotIndex(); in TelephonySubscriptionTrackerTest()
/frameworks/base/services/core/java/com/android/server/vcn/
DTelephonySubscriptionTracker.java253 if (subInfo.getSimSlotIndex() != INVALID_SIM_SLOT_INDEX in handleSubscriptionsChanged()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java573 return info.getSimSlotIndex(); in getPhoneIdFromSubId()
DVcnManagementService.java492 if (subMgr.isValidSlotIndex(info.getSimSlotIndex()) in enforceCallingUserAndCarrierPrivilege()
DTelephonyRegistry.java4440 return info.getSimSlotIndex();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
DNetworkControllerSignalTest.java467 when(mockSubInfo.getSimSlotIndex()).thenReturn(testSubscriptions[i]); in testSetCurrentSubscriptions()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextManager.java373 subOrderBySlot[subs.get(i).getSimSlotIndex()] = i; in updateCarrierText()
DKeyguardUpdateMonitor.java609 boolean changed = refreshSimState(info.getSubscriptionId(), info.getSimSlotIndex()); in handleSimSubscriptionInfoChanged()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java475 public int getSimSlotIndex() { in getSimSlotIndex() method in SubscriptionInfo
/frameworks/base/core/java/android/provider/
DContactsContract.java8577 public int getSimSlotIndex() { in getSimSlotIndex() method in ContactsContract.SimAccount
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java846 int phoneId = info.getSimSlotIndex(); in updateActiveSubscriptionInfoList()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt36921 method public int getSimSlotIndex();
45778 method public int getSimSlotIndex();
/frameworks/base/boot/
Dboot-image-profile.txt14256 HSPLandroid/telephony/SubscriptionInfo;->getSimSlotIndex()I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28627 method public int getSimSlotIndex();

12