/frameworks/base/services/core/java/com/android/server/stats/pull/netstats/ |
D | SubInfo.java | 37 public final boolean isOpportunistic; field in SubInfo 40 @NonNull String subscriberId, boolean isOpportunistic) { in SubInfo() argument 46 this.isOpportunistic = isOpportunistic; in SubInfo() 56 && isOpportunistic == other.isOpportunistic in equals() 64 return Objects.hash(subId, mcc, mnc, carrierId, subscriberId, isOpportunistic); in hashCode()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SubscriptionInfo.java | 254 boolean isOpportunistic, @Nullable String groupUUID, int carrierId, int profileClass) { in SubscriptionInfo() argument 257 isOpportunistic, groupUUID, false, carrierId, profileClass, in SubscriptionInfo() 268 boolean isOpportunistic, @Nullable String groupUUID, boolean isGroupDisabled, in SubscriptionInfo() argument 289 this.mIsOpportunistic = isOpportunistic; in SubscriptionInfo() 551 public boolean isOpportunistic() { in isOpportunistic() method in SubscriptionInfo 772 boolean isOpportunistic = source.readBoolean(); 787 countryIso, isEmbedded, nativeAccessRules, cardString, cardId, isOpportunistic,
|
D | SubscriptionManager.java | 3060 if (info.getGroupUuid() == null || !info.isOpportunistic()) return true; in isSubscriptionVisible()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MultiSimSettingController.java | 297 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()
|
D | SubscriptionInfoUpdater.java | 1067 boolean isOpportunistic = config.getBoolean( in updateSubscriptionByCarrierConfig() 1069 if (currentSubInfo.isOpportunistic() != isOpportunistic) { in updateSubscriptionByCarrierConfig() 1070 if (DBG) logd("Set SubId=" + currentSubId + " isOpportunistic=" + isOpportunistic); in updateSubscriptionByCarrierConfig() 1071 cv.put(SubscriptionManager.IS_OPPORTUNISTIC, isOpportunistic ? "1" : "0"); in updateSubscriptionByCarrierConfig()
|
D | SubscriptionController.java | 555 boolean isOpportunistic = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord() 579 + " isOpportunistic:" + isOpportunistic + " groupUUID:" + groupUUID in getSubInfoRecord() 592 countryIso, isEmbedded, accessRules, cardId, publicCardId, isOpportunistic, in getSubInfoRecord() 2673 public boolean isOpportunistic(int subId) { in isOpportunistic() method in SubscriptionController 2676 return (info != null) && info.isOpportunistic(); in isOpportunistic() 4120 if (!activeInfo.isOpportunistic() && groupUuid.equals(activeInfo.getGroupUuid())) { in shouldDisableSubGroup()
|
D | PhoneSwitcher.java | 1278 if (mSubscriptionController.isOpportunistic(subId)) { in confirmSwitch()
|
D | ServiceStateTracker.java | 4212 if (info == null || (info.isOpportunistic() && info.getGroupUuid() != null)) { in setNotification() 5064 if (info.isOpportunistic()) { in shouldRefreshSignalStrength()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneSwitcherTest.java | 386 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testSetPreferredData() 449 doReturn(true).when(mSubscriptionController).isOpportunistic(2); in testSetPreferredDataModemCommand() 490 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()
|
D | MultiSimSettingControllerTest.java | 122 doReturn(true).when(mSubControllerMock).isOpportunistic(5); in setUp() 430 doReturn(true).when(mSubControllerMock).isOpportunistic(1); in testCbrs() 469 doReturn(true).when(mSubControllerMock).isOpportunistic(1); in testGroupedCbrs() 620 doReturn(true).when(mSubControllerMock).isOpportunistic(3); in testGroupChangeOnInactiveSub_shouldNotMarkAsDefaultDataSub()
|
D | SubscriptionInfoUpdaterTest.java | 704 boolean isOpportunistic, String groupUuid) { in getCarrierConfigForSubInfoUpdate() argument 706 p.putBoolean(CarrierConfigManager.KEY_IS_OPPORTUNISTIC_SUBSCRIPTION_BOOL, isOpportunistic); in getCarrierConfigForSubInfoUpdate() 743 doReturn(false).when(mSubInfo).isOpportunistic(); in testUpdateFromCarrierConfigOpportunisticSetOpportunistic() 853 doReturn(false).when(mSubInfo).isOpportunistic(); in testUpdateFromCarrierConfigCarrierCertificates()
|
D | SubscriptionControllerTest.java | 183 boolean isOpportunistic = true; in testChangeSIMProperty() 201 mSubscriptionControllerUT.setOpportunistic(isOpportunistic, subID, mCallingPackage); in testChangeSIMProperty() 211 assertEquals(isOpportunistic, subInfo.isOpportunistic()); in testChangeSIMProperty()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | NetworkControllerImpl.java | 642 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return; in filterMobileSubscriptionInSameGroup() 650 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in filterMobileSubscriptionInSameGroup()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataEnabledSettings.java | 459 return (info != null) && info.isOpportunistic() && info.getGroupUuid() == null; in isStandAloneOpportunistic()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 807 activeSubscriptionInfo.isOpportunistic = info.isOpportunistic() ? 1 : 0; in updateActiveSubscriptionInfoList() 840 invalidSubscriptionInfo.isOpportunistic = -1; in makeInvalidSubscriptionInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 493 if (!info1.isOpportunistic() && !info2.isOpportunistic()) return subscriptions; in getFilteredSubscriptionInfo() 501 subscriptions.remove(info1.isOpportunistic() ? info1 : info2); in getFilteredSubscriptionInfo()
|
/frameworks/base/core/java/android/os/ |
D | RecoverySystem.java | 968 if (sub.isEmbedded() && sub.getGroupUuid() != null && sub.isOpportunistic()) { in removeEuiccInvisibleSubs()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 1174 .writeInt(statsExt.subInfo.isOpportunistic in addDataUsageBytesTransferAtoms() 3924 subscriberId, sub.isOpportunistic());
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 18928 HSPLandroid/telephony/SubscriptionInfo;->isOpportunistic()Z
|
/frameworks/base/api/ |
D | current.txt | 47995 method public boolean isOpportunistic();
|