Home
last modified time | relevance | path

Searched refs:isOpportunistic (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DSubscriptionInfo.java240 boolean isOpportunistic, @Nullable String groupUUID, int carrierId, int profileClass) { in SubscriptionInfo() argument
243 isOpportunistic, groupUUID, false, carrierId, profileClass, in SubscriptionInfo()
254 boolean isOpportunistic, @Nullable String groupUUID, boolean isGroupDisabled, in SubscriptionInfo() argument
275 this.mIsOpportunistic = isOpportunistic; in SubscriptionInfo()
498 public boolean isOpportunistic() { in isOpportunistic() method in SubscriptionInfo
701 boolean isOpportunistic = source.readBoolean();
716 countryIso, isEmbedded, nativeAccessRules, cardString, cardId, isOpportunistic,
DSubscriptionManager.java3111 if (info.getGroupUuid() == null || !info.isOpportunistic()) return true; in isSubscriptionVisible()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMultiSimSettingController.java297 if (mSubController.getDefaultDataSubId() != subId && !mSubController.isOpportunistic(subId) in onUserDataEnabled()
437 if (mSubController.isActiveSubId(subId) && !mSubController.isOpportunistic(subId)) { in onSubscriptionGroupChanged()
552 mPrimarySubList = activeSubList.stream().filter(info -> !info.isOpportunistic()) in updatePrimarySubListAndGetChangeType()
584 if (!mSubController.isOpportunistic(subId)) { in updatePrimarySubListAndGetChangeType()
698 && !mSubController.isOpportunistic(phone.getSubId()) in disableDataForNonDefaultNonOpportunisticSubscriptions()
DSubscriptionInfoUpdater.java1109 boolean isOpportunistic = config.getBoolean( in updateSubscriptionByCarrierConfig()
1111 if (currentSubInfo.isOpportunistic() != isOpportunistic) { in updateSubscriptionByCarrierConfig()
1112 if (DBG) logd("Set SubId=" + currentSubId + " isOpportunistic=" + isOpportunistic); in updateSubscriptionByCarrierConfig()
1113 cv.put(SubscriptionManager.IS_OPPORTUNISTIC, isOpportunistic ? "1" : "0"); in updateSubscriptionByCarrierConfig()
DSubscriptionController.java394 boolean isOpportunistic = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord()
418 + " isOpportunistic:" + isOpportunistic + " groupUUID:" + groupUUID in getSubInfoRecord()
431 countryIso, isEmbedded, accessRules, cardId, publicCardId, isOpportunistic, in getSubInfoRecord()
2533 public boolean isOpportunistic(int subId) { in isOpportunistic() method in SubscriptionController
2536 return (info != null) && info.isOpportunistic(); in isOpportunistic()
3909 if (!activeInfo.isOpportunistic() && groupUuid.equals(activeInfo.getGroupUuid())) {
DPhoneSwitcher.java1268 if (mSubscriptionController.isOpportunistic(subId)) { in confirmSwitch()
DServiceStateTracker.java4225 if (info == null || (info.isOpportunistic() && info.getGroupUuid() != null)) { in setNotification()
5076 if (info.isOpportunistic()) { in shouldRefreshSignalStrength()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneSwitcherTest.java387 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testSetPreferredData()
450 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testSetPreferredDataModemCommand()
497 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testSetPreferredDataWithValidation()
803 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testSetPreferredDataCallback()
945 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testValidationOffSwitch_shouldSwitchOnNetworkAvailable()
981 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testValidationOffSwitch_shouldSwitchOnTimeOut()
DMultiSimSettingControllerTest.java120 doReturn(true).when(mSubControllerMock).isOpportunistic(5); in setUp()
428 doReturn(true).when(mSubControllerMock).isOpportunistic(1); in testCbrs()
467 doReturn(true).when(mSubControllerMock).isOpportunistic(1); in testGroupedCbrs()
DSubscriptionInfoUpdaterTest.java729 boolean isOpportunistic, String groupUuid) { in getCarrierConfigForSubInfoUpdate() argument
731 p.putBoolean(CarrierConfigManager.KEY_IS_OPPORTUNISTIC_SUBSCRIPTION_BOOL, isOpportunistic); in getCarrierConfigForSubInfoUpdate()
768 doReturn(false).when(mSubInfo).isOpportunistic(); in testUpdateFromCarrierConfigOpportunisticSetOpportunistic()
878 doReturn(false).when(mSubInfo).isOpportunistic(); in testUpdateFromCarrierConfigCarrierCertificates()
DSubscriptionControllerTest.java173 boolean isOpportunistic = true; in testChangeSIMProperty()
191 mSubscriptionControllerUT.setOpportunistic(isOpportunistic, subID, mCallingPackage); in testChangeSIMProperty()
201 assertEquals(isOpportunistic, subInfo.isOpportunistic()); in testChangeSIMProperty()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java610 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return; in filterMobileSubscriptionInSameGroup()
618 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in filterMobileSubscriptionInSameGroup()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataEnabledSettings.java459 return (info != null) && info.isOpportunistic() && info.getGroupUuid() == null; in isStandAloneOpportunistic()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java534 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return subscriptions; in getFilteredSubscriptionInfo()
542 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in getFilteredSubscriptionInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java787 activeSubscriptionInfo.isOpportunistic = info.isOpportunistic() ? 1 : 0; in updateActiveSubscriptionInfoList()
820 invalidSubscriptionInfo.isOpportunistic = -1; in makeInvalidSubscriptionInfo()
/frameworks/base/core/java/android/os/
DRecoverySystem.java891 if (sub.isEmbedded() && sub.getGroupUuid() != null && sub.isOpportunistic()) { in removeEuiccInvisibleSubs()
/frameworks/base/config/
Dboot-image-profile.txt14262 HSPLandroid/telephony/SubscriptionInfo;->isOpportunistic()Z
/frameworks/base/non-updatable-api/
Dcurrent.txt45753 method public boolean isOpportunistic();
/frameworks/base/api/
Dcurrent.txt45897 method public boolean isOpportunistic();