/packages/services/Iwlan/test/com/google/android/iwlan/ |
D | IwlanNetworkServiceTest.java | 188 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(false); in testNetworkRegistrationInfoSearchingForCellularAndCstDisabled() 216 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(true); in testNetworkRegistrationInfoSearchingForCellularOnSameSubAndCstEnabled() 244 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(true); in testNetworkRegistrationInfoHomeForCellularOnDifferentSubAndCstEnabled() 274 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(true); in testNetworkRegistrationInfoHomeForCellularVcnOnDifferentSubAndCstEnabled() 302 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(true); in testNetworkRegistrationInfoHomeForWiFiAndCstEnabled() 328 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(false); in testNetworkRegistrationInfoHomeForWiFiAndCstDisabled()
|
D | IwlanEventListenerTest.java | 174 IwlanHelper.isCrossSimCallingEnabled( in testCrossSimCallingSettingEnableChanged() 198 IwlanHelper.isCrossSimCallingEnabled( in testCrossSimCallingSettingDisableChanged()
|
D | IwlanDataServiceTest.java | 531 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(true); in testOnCrossSimCallingEnable_doNotUpdateTunnelManagerIfCellularDataOnSameSub() 552 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(true); in testOnCrossSimCallingEnable_updateTunnelManagerIfCellularDataOnDifferentSub() 572 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(true); in testOnCrossSimCallingEnable_doNotUpdateTunnelManagerIfNoNetwork() 1496 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(false); in testIwlanSetupDataCallFailsWithCellularAndCstDisabled() 1528 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(true); in testIwlanSetupDataCallFailsWithCellularOnSameSubAndCstEnabled() 1561 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(true); in testIwlanSetupDataCallSucceedsWithCellularOnDifferentSubAndCstEnabled()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsEventDispatcher.java | 514 mLastCrossSimCallingEnabled = QnsUtils.isCrossSimCallingEnabled(mQnsImsManager); in registerContentObserver() 603 boolean isCrossSimCallingEnabled = in notifyCurrentSetting() 604 QnsUtils.isCrossSimCallingEnabled(mQnsImsManager); in notifyCurrentSetting() 605 if (mLastCrossSimCallingEnabled != isCrossSimCallingEnabled || bForceUpdate) { in notifyCurrentSetting() 606 if (isCrossSimCallingEnabled) { in notifyCurrentSetting() 611 mLastCrossSimCallingEnabled = isCrossSimCallingEnabled; in notifyCurrentSetting() 612 sb.append(", isCrossSimCallingEnabled:").append(isCrossSimCallingEnabled); in notifyCurrentSetting()
|
D | QnsUtils.java | 157 public static boolean isCrossSimCallingEnabled(QnsImsManager imsManager) { in isCrossSimCallingEnabled() method in QnsUtils 159 return imsManager.isCrossSimCallingEnabled(); in isCrossSimCallingEnabled()
|
D | IwlanNetworkStatusTracker.java | 334 if (QnsUtils.isCrossSimCallingEnabled(mQnsImsManagers.get(slotId))) { in makeIwlanAvailabilityInfo() 378 return QnsUtils.isCrossSimCallingEnabled(mQnsImsManagers.get(slotId)) in isCrossSimCallingCondition()
|
D | QnsImsManager.java | 440 crossSimCallingEnabled = mmTelManager.isCrossSimCallingEnabled(); in isCrossSimCallingEnabledByUser() 1031 boolean isCrossSimCallingEnabled() { in isCrossSimCallingEnabled() method in QnsImsManager
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | IwlanNetworkStatusTrackerTest.java | 163 lenient().when(QnsUtils.isCrossSimCallingEnabled(mMockQnsImsManager)).thenReturn(true); in testHandleMessage_ValidSubID() 183 lenient().when(QnsUtils.isCrossSimCallingEnabled(mMockQnsImsManager)).thenReturn(true); in testHandleMessage_ValidSubID_DDS_over_nDDS() 201 lenient().when(QnsUtils.isCrossSimCallingEnabled(mMockQnsImsManager)).thenReturn(true); in testHandleMessage_VcnWithValidSubID() 233 lenient().when(QnsUtils.isCrossSimCallingEnabled(mMockQnsImsManager)).thenReturn(false); in testHandleMessage_DisableCrossSim()
|
D | QnsImsManagerTest.java | 221 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(false); in testQnsImsManagerIsCrossSimCallingEnabled() 222 assertFalse(mQnsImsMgr.isCrossSimCallingEnabled()); in testQnsImsManagerIsCrossSimCallingEnabled() 224 when(mMockImsMmTelManager.isCrossSimCallingEnabled()).thenReturn(true); in testQnsImsManagerIsCrossSimCallingEnabled() 234 assertFalse(mQnsImsMgr.isCrossSimCallingEnabled()); in testQnsImsManagerIsCrossSimCallingEnabled() 249 assertFalse(mQnsImsMgr.isCrossSimCallingEnabled()); in testQnsImsManagerIsCrossSimCallingEnabled() 264 assertTrue(mQnsImsMgr.isCrossSimCallingEnabled()); in testQnsImsManagerIsCrossSimCallingEnabled()
|
D | QnsUtilsTest.java | 138 when(mMockQnsImsManager.isCrossSimCallingEnabled()).thenReturn(true, false); in testIsCrossSimCallingEnabled() 139 assertTrue(QnsUtils.isCrossSimCallingEnabled(mMockQnsImsManager)); in testIsCrossSimCallingEnabled() 140 assertFalse(QnsUtils.isCrossSimCallingEnabled(mMockQnsImsManager)); in testIsCrossSimCallingEnabled()
|
D | QnsEventDispatcherTest.java | 525 when(mMockQnsImsManager.isCrossSimCallingEnabled()).thenReturn(true); in setEnabledStatusForWfcSettingsCrossSimSettings() 542 when(mMockQnsImsManager.isCrossSimCallingEnabled()).thenReturn(false); in setDisabledStatusForWfcSettingsCrossSimSettings()
|
D | AccessNetworkEvaluatorTest.java | 164 when(mMockQnsImsManager.isCrossSimCallingEnabled()).thenAnswer(i -> mCrossSimEnabled); in stubQnsDefaultWfcSettings()
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanHelper.java | 203 public static boolean isCrossSimCallingEnabled(Context context, int slotId) { in isCrossSimCallingEnabled() method in IwlanHelper 217 isCstEnabled = imsMmTelManager.isCrossSimCallingEnabled(); in isCrossSimCallingEnabled()
|
D | IwlanDataService.java | 1126 IwlanHelper.isCrossSimCallingEnabled(mContext, getSlotIndex()))) { in updateNetwork() 1171 IwlanHelper.isCrossSimCallingEnabled(mContext, getSlotIndex())); in dnsPrefetchCheck() 1274 boolean isCSTEnabled = IwlanHelper.isCrossSimCallingEnabled(mContext, getSlotIndex()); in dump() 1689 boolean isCSTEnabled = IwlanHelper.isCrossSimCallingEnabled(mContext, slotId); in handleMessage() 2063 IwlanHelper.isCrossSimCallingEnabled(mContext, slotId)); in processDeactivateDataCall()
|
D | IwlanNetworkService.java | 281 IwlanHelper.isCrossSimCallingEnabled(mContext, slotId))) { in handleMessage()
|
D | IwlanEventListener.java | 482 boolean isCstEnabled = IwlanHelper.isCrossSimCallingEnabled(mContext, slotIndex); in notifyCurrentSetting()
|