Home
last modified time | relevance | path

Searched refs:isEmbedded (Results 1 – 25 of 57) sorted by relevance

123

/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
H A DDisableSimFooterPreferenceControllerTest.java72 when(mInfo.isEmbedded()).thenReturn(true); in isAvailable_eSIM_notAvailable()
79 when(mInfo.isEmbedded()).thenReturn(false); in isAvailable_pSIM_available_cannot_disable_pSIM()
87 when(mInfo.isEmbedded()).thenReturn(false); in isAvailable_pSIM_available_can_disable_pSIM()
H A DDeleteSimProfilePreferenceControllerTest.java79 when(mSubscriptionInfo.isEmbedded()).thenReturn(true); in setUp()
107 when(mSubscriptionInfo.isEmbedded()).thenReturn(false); in getAvailabilityStatus_physicalSim_notAvailable()
H A DMobileNetworkSwitchControllerTest.java88 when(mSubscription.isEmbedded()).thenReturn(true); in setUp()
125 when(mSubscription.isEmbedded()).thenReturn(false); in isAvailable_pSIM_isNotAvailable()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionInfo.java242 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument
245 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, -1, in SubscriptionInfo()
256 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument
260 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, -1, in SubscriptionInfo()
270 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument
289 this.mIsEmbedded = isEmbedded; in SubscriptionInfo()
545 public boolean isEmbedded() { in isEmbedded() method in SubscriptionInfo
778 boolean isEmbedded = source.readBoolean();
797 countryIso, isEmbedded, nativeAccessRules, cardString, cardId, isOpportunistic,
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/network/
H A DNetworkProviderSimListControllerTest.java156 when(subscriptionInfo.isEmbedded()).thenReturn(false); in setupSubscriptionInfoList()
237 when(info1.isEmbedded()).thenReturn(false); in getAvailablePhysicalSubscription_withTwoPhysicalSims_returnTwo()
239 when(info2.isEmbedded()).thenReturn(false); in getAvailablePhysicalSubscription_withTwoPhysicalSims_returnTwo()
H A DNetworkProviderSimsCategoryControllerTest.java138 when(subscriptionInfo.isEmbedded()).thenReturn(false); in setUpSubscriptionInfoForPhysicalSim()
H A DNetworkProviderDownloadedSimsCategoryControllerTest.java147 when(subscriptionInfo.isEmbedded()).thenReturn(true); in setUpSubscriptionInfoForDownloadedSim()
H A DNetworkProviderDownloadedSimListControllerTest.java161 when(subscriptionInfo.isEmbedded()).thenReturn(true); in setupSubscriptionInfoList()
/aosp12/packages/apps/Settings/src/com/android/settings/network/
H A DMobileNetworkListController.java118 if (info.isEmbedded()) { in update()
136 if (!info.isEmbedded() && !mSubscriptionManager.isActiveSubscriptionId(subId) in update()
H A DMobileNetworkSummaryController.java123 if (info.getSubInfo().isEmbedded() || info.isActive() in getSummary()
191 if (info.getSubInfo().isEmbedded() || info.isActive() in update()
H A DSwitchToRemovableSlotSidecar.java98 .anyMatch(SubscriptionInfo::isEmbedded)) { in run()
H A DSubscriptionUtil.java156 if (!subInfo.isEmbedded()) { in isPrimarySubscriptionWithinSameUuid()
529 .filter(sub -> sub.isEmbedded() && groupUuid.equals(sub.getGroupUuid()))
H A DNetworkProviderDownloadedSimListController.java178 if (info.isEmbedded()) { in getAvailableDownloadedSubscriptions()
H A DNetworkProviderSimListController.java176 if (!info.isEmbedded()) { in getAvailablePhysicalSubscription()
/aosp12/packages/apps/Settings/src/com/android/settings/network/telephony/
H A DDisableSimFooterPreferenceController.java54 if (info.isEmbedded() || SubscriptionUtil.showToggleForPhysicalSim(subManager)) { in getAvailabilityStatus()
H A DToggleSubscriptionDialogActivity.java104 mIsEsimOperation = mSubInfo != null && mSubInfo.isEmbedded(); in onCreate()
375 boolean isBetweenEsim = mIsEsimOperation && activeSub.isEmbedded(); in showEnableSimConfirmDialog()
474 .anyMatch(SubscriptionInfo::isEmbedded); in isDsdsConditionSatisfied()
H A DDeleteSimProfilePreferenceController.java54 if (info.getSubscriptionId() == subscriptionId && info.isEmbedded()) { in init()
H A DMobileNetworkSwitchController.java102 if (subInfo == null || (!subInfo.isEmbedded() && !SubscriptionUtil.showToggleForPhysicalSim( in update()
/aosp12/packages/apps/Settings/src/com/android/settings/sim/receivers/
H A DSimSlotChangeHandler.java285 return activeSubs.stream().anyMatch(SubscriptionInfo::isEmbedded); in hasActiveEsimSubscription()
296 .filter(sub -> sub.isEmbedded()) in getGroupedEmbeddedSubscriptions()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
H A DMobileNetworkListControllerTest.java160 when(sub1.isEmbedded()).thenReturn(true); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup()
165 when(sub2.isEmbedded()).thenReturn(false); in displayPreference_oneActiveESimOneInactivePSim_correctlySetup()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/network/
H A DMobileNetworkListPreferenceController.java88 boolean isEsim = info.isEmbedded(); in createPreference()
/aosp12/packages/apps/Settings/src/com/android/settings/network/helper/
H A DSubscriptionAnnotation.java92 mType = mSubInfo.isEmbedded() ? TYPE_ESIM : TYPE_PSIM; in SubscriptionAnnotation()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardEsimArea.java104 return sub != null && sub.isEmbedded(); in isEsimLocked()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSubscriptionController.java572 boolean isEmbedded = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
577 if (isEmbedded) { in getSubInfoRecord()
606 + isEmbedded + " accessRules:" + Arrays.toString(accessRules) in getSubInfoRecord()
622 countryIso, isEmbedded, accessRules, cardId, publicCardId, isOpportunistic, in getSubInfoRecord()
1904 if (subInfo.isEmbedded()) { in isExistingNameSourceStillValid()
2002 if (sub != null && sub.isEmbedded()) { in setDisplayNameUsingSrc()
3844 if (subInfo.isEmbedded() && subscriptionManager.canManageSubscription( in checkCarrierPrivilegeOnSubList()
4017 if (info.isEmbedded()) { in setSubscriptionEnabled()
4129 private int getPhysicalSlotIndex(boolean isEmbedded, int subId) { in getPhysicalSlotIndex() argument
4183 boolean isEmbedded = infoList.get(0).isEmbedded(); in isSubscriptionEnabled()
[all …]
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSubscriptionControllerTest.java266 private void setSimEmbedded(boolean isEmbedded) throws Exception { in setSimEmbedded() argument
268 values.put(SubscriptionManager.IS_EMBEDDED, isEmbedded ? 1 : 0); in setSimEmbedded()
459 when(mMockSubscriptionInfo.isEmbedded()).thenReturn(true); in testIsExistingNameSourceStillValid_simIsEmbedded_returnTrue()
469 when(mMockSubscriptionInfo.isEmbedded()).thenReturn(false); in testIsExistingNameSourceStillValid_carrierConfigIsNull_returnTrue()
480 when(mMockSubscriptionInfo.isEmbedded()).thenReturn(false); in testIsExistingNameSourceStillValid_carrierNameOverrideIsTrue_returnTrue()
491 when(mMockSubscriptionInfo.isEmbedded()).thenReturn(false); in testIsExistingNameSourceStillValid_spnIsNullAndCarrierNameIsNotNull_returnTrue()

123