/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | VideoCallingPreferenceControllerTest.java | 50 private ImsManager mImsManager; field in VideoCallingPreferenceControllerTest 79 mController.mImsManager = mImsManager; in setUp() 82 doReturn(true).when(mImsManager).isVtEnabledByPlatform(); in setUp() 83 doReturn(true).when(mImsManager).isVtProvisionedOnDevice(); in setUp() 84 doReturn(ImsFeature.STATE_READY).when(mImsManager).getImsServiceState(); in setUp() 90 assertThat(mController.isVideoCallEnabled(SUB_ID, mImsManager)).isTrue(); in isVideoCallEnabled_allFlagsOn_returnTrue() 95 doReturn(false).when(mImsManager).isVtEnabledByPlatform(); in isVideoCallEnabled_disabledByPlatform_returnFalse() 97 assertThat(mController.isVideoCallEnabled(SUB_ID, mImsManager)).isFalse(); in isVideoCallEnabled_disabledByPlatform_returnFalse() 106 assertThat(mController.isVideoCallEnabled(SUB_ID, mImsManager)).isFalse(); in isVideoCallEnabled_dataDisabled_returnFalse() 111 doReturn(false).when(mImsManager).isEnhanced4gLteModeSettingEnabledByUser(); in updateState_4gLteOff_disabled() [all …]
|
D | Enhanced4gLtePreferenceControllerTest.java | 58 private ImsManager mImsManager; field in Enhanced4gLtePreferenceControllerTest 83 mController.mImsManager = mImsManager; in setUp() 97 doReturn(false).when(mImsManager).isVolteEnabledByPlatform(); in getAvailabilityStatus_volteDisabled_returnUnavailable() 98 doReturn(true).when(mImsManager).isVolteProvisionedOnDevice(); in getAvailabilityStatus_volteDisabled_returnUnavailable() 166 doReturn(true).when(mImsManager).isNonTtyOrTtyOnVolteEnabled(); in updateState_configEnabled_prefEnabled() 177 doReturn(true).when(mImsManager).isEnhanced4gLteModeSettingEnabledByUser(); in updateState_configOn_prefChecked() 178 doReturn(true).when(mImsManager).isNonTtyOrTtyOnVolteEnabled(); in updateState_configOn_prefChecked()
|
D | ContactDiscoveryDialogFragmentTest.java | 53 @Mock private ImsManager mImsManager; field in ContactDiscoveryDialogFragmentTest 66 doReturn(mImsManager).when(mDialogFragmentUT).getImsManager(any()); in setUp() 67 doReturn(mImsRcsManager).when(mImsManager).getImsRcsManager(TEST_SUB_ID); in setUp()
|
D | ContactDiscoveryPreferenceControllerTest.java | 72 @Mock private ImsManager mImsManager; field in ContactDiscoveryPreferenceControllerTest 93 doReturn(mImsManager).when(mContext).getSystemService(ImsManager.class); in setUp() 94 doReturn(mImsRcsManager).when(mImsManager).getImsRcsManager(anyInt()); in setUp()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | Enhanced4gLtePreferenceController.java | 52 ImsManager mImsManager; field in Enhanced4gLtePreferenceController 77 && mImsManager != null && carrierConfig != null in getAvailabilityStatus() 78 && mImsManager.isVolteEnabledByPlatform() in getAvailabilityStatus() 79 && mImsManager.isVolteProvisionedOnDevice() in getAvailabilityStatus() 80 && MobileNetworkUtils.isImsServiceStateReady(mImsManager) in getAvailabilityStatus() 119 switchPreference.setChecked(mImsManager.isEnhanced4gLteModeSettingEnabledByUser() in updateState() 120 && mImsManager.isNonTtyOrTtyOnVolteEnabled()); in updateState() 125 mImsManager.setEnhanced4gLteModeSetting(isChecked); in setChecked() 134 return mImsManager.isEnhanced4gLteModeSettingEnabledByUser(); in isChecked() 142 mImsManager = ImsManager.getInstance(mContext, SubscriptionManager.getPhoneId(mSubId)); in init() [all …]
|
D | VideoCallingPreferenceController.java | 52 ImsManager mImsManager; field in VideoCallingPreferenceController 95 final boolean videoCallEnabled = isVideoCallEnabled(mSubId, mImsManager); in updateState() 98 final boolean is4gLteEnabled = mImsManager.isEnhanced4gLteModeSettingEnabledByUser() in updateState() 99 && mImsManager.isNonTtyOrTtyOnVolteEnabled(); in updateState() 102 switchPreference.setChecked(is4gLteEnabled && mImsManager.isVtEnabledByUser()); in updateState() 108 mImsManager.setVtSetting(isChecked); in setChecked() 114 return mImsManager.isVtEnabledByUser(); in isChecked() 121 mImsManager = ImsManager.getInstance(mContext, SubscriptionManager.getPhoneId(mSubId)); in init()
|
D | WifiCallingPreferenceController.java | 59 ImsManager mImsManager; field in WifiCallingPreferenceController 129 if (mImsManager.isWfcEnabledByUser()) { in updateState() 132 int wfcMode = mImsManager.getWfcMode(isRoaming && wfcRoamingEnabled); in updateState() 157 mImsManager = ImsManager.getInstance(mContext, SubscriptionManager.getPhoneId(mSubId)); in init()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | Enhanced4gLtePreferenceController.java | 52 ImsManager mImsManager; field in Enhanced4gLtePreferenceController 77 && mImsManager != null && carrierConfig != null in getAvailabilityStatus() 78 && mImsManager.isVolteEnabledByPlatform() in getAvailabilityStatus() 79 && mImsManager.isVolteProvisionedOnDevice() in getAvailabilityStatus() 80 && MobileNetworkUtils.isImsServiceStateReady(mImsManager) in getAvailabilityStatus() 119 switchPreference.setChecked(mImsManager.isEnhanced4gLteModeSettingEnabledByUser() in updateState() 120 && mImsManager.isNonTtyOrTtyOnVolteEnabled()); in updateState() 125 mImsManager.setEnhanced4gLteModeSetting(isChecked); in setChecked() 134 return mImsManager.isEnhanced4gLteModeSettingEnabledByUser(); in isChecked() 142 mImsManager = ImsManager.getInstance(mContext, SubscriptionManager.getPhoneId(mSubId)); in init() [all …]
|
D | VideoCallingPreferenceController.java | 52 ImsManager mImsManager; field in VideoCallingPreferenceController 93 final boolean videoCallEnabled = isVideoCallEnabled(mSubId, mImsManager); in updateState() 96 final boolean is4gLteEnabled = mImsManager.isEnhanced4gLteModeSettingEnabledByUser() in updateState() 97 && mImsManager.isNonTtyOrTtyOnVolteEnabled(); in updateState() 100 switchPreference.setChecked(is4gLteEnabled && mImsManager.isVtEnabledByUser()); in updateState() 106 mImsManager.setVtSetting(isChecked); in setChecked() 112 return mImsManager.isVtEnabledByUser(); in isChecked() 119 mImsManager = ImsManager.getInstance(mContext, SubscriptionManager.getPhoneId(mSubId)); in init()
|
D | ContactDiscoveryPreferenceController.java | 50 private ImsManager mImsManager; field in ContactDiscoveryPreferenceController 60 mImsManager = mContext.getSystemService(ImsManager.class); in ContactDiscoveryPreferenceController() 74 return MobileNetworkUtils.isContactDiscoveryEnabled(mImsManager, mSubId); in isChecked() 94 MobileNetworkUtils.setContactDiscoveryEnabled(mImsManager, mSubId, false /*isEnabled*/); in setChecked()
|
D | ContactDiscoveryDialogFragment.java | 48 private ImsManager mImsManager; field in ContactDiscoveryDialogFragment 72 mImsManager = getImsManager(context); in onAttach() 103 MobileNetworkUtils.setContactDiscoveryEnabled(mImsManager, mSubId, true /*isEnabled*/); in onClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/ |
D | WifiCallingSettingsForSub.java | 100 private ImsManager mImsManager; field in WifiCallingSettingsForSub 113 boolean isNonTtyOrTtyOnVolteEnabled = mImsManager.isNonTtyOrTtyOnVolteEnabled(); 262 mImsManager = getImsManager(); in onCreate() 302 if (!mImsManager.isWfcProvisionedOnDevice()) { in updateBody() 343 boolean wfcEnabled = mImsManager.isWfcEnabledByUser() in updateBody() 344 && mImsManager.isNonTtyOrTtyOnVolteEnabled(); in updateBody() 346 int wfcMode = mImsManager.getWfcMode(false); in updateBody() 347 int wfcRoamingMode = mImsManager.getWfcMode(true); in updateBody() 361 if (mImsManager.isWfcEnabledByPlatform()) { in onResume() 378 mImsManager.getConfigInterface().addConfigCallback(mProvisioningCallback); in onResume() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RadioInfo.java | 227 private ImsManager mImsManager = null; field in RadioInfo 413 mImsManager = ImsManager.getInstance(getApplicationContext(), in onCreate() 1286 if (phone != null && mImsManager != null) { in setImsConfigProvisionedState() 1290 mImsManager.getConfigInterface().setProvisionedValue( in setImsConfigProvisionedState() 1310 if (phone != null && mImsManager != null) { in isImsVolteProvisioned() 1311 return mImsManager.isVolteEnabledByPlatform(phone.getContext()) in isImsVolteProvisioned() 1312 && mImsManager.isVolteProvisionedOnDevice(phone.getContext()); in isImsVolteProvisioned() 1325 if (phone != null && mImsManager != null) { in isImsVtProvisioned() 1326 return mImsManager.isVtEnabledByPlatform(phone.getContext()) in isImsVtProvisioned() 1327 && mImsManager.isVtProvisionedOnDevice(phone.getContext()); in isImsVtProvisioned() [all …]
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 277 private ImsManager mImsManager = null; field in RadioInfo 407 mImsManager = ImsManager.getInstance(getApplicationContext(), phoneIndex); in updatePhoneIndex() 483 mImsManager = ImsManager.getInstance(getApplicationContext(), mPhone.getPhoneId()); in onCreate() 1491 if (mPhone != null && mImsManager != null) { in setImsConfigProvisionedState() 1495 mImsManager.getConfigInterface().setProvisionedValue( in setImsConfigProvisionedState() 1524 if (mImsManager != null) { in isImsVolteProvisioned() 1525 return mImsManager.isVolteEnabledByPlatform() in isImsVolteProvisioned() 1526 && mImsManager.isVolteProvisionedOnDevice(); in isImsVolteProvisioned() 1539 if (mImsManager != null) { in isImsVtProvisioned() 1540 return mImsManager.isVtEnabledByPlatform() in isImsVtProvisioned() [all …]
|
/packages/services/Telephony/testapps/ImsTestService/src/com/android/phone/testapps/imstestapp/ |
D | ImsCallingActivity.java | 130 private ImsMmTelManager mImsManager; field in ImsCallingActivity 166 mImsManager = ImsMmTelManager.createForSubscriptionId( in onResume() 169 mImsManager.registerMmTelCapabilityCallback(getMainExecutor(), mCapabilityCallback); in onResume() 178 mImsManager.unregisterMmTelCapabilityCallback(mCapabilityCallback); in onPause() 179 mImsManager = null; in onPause()
|
D | ImsRegistrationActivity.java | 167 private ImsMmTelManager mImsManager; field in ImsRegistrationActivity 183 mImsManager = ImsMmTelManager.createForSubscriptionId( in onResume() 185 mImsManager.registerImsRegistrationCallback(getMainExecutor(), mRegistrationCallback); in onResume() 225 mImsManager.unregisterImsRegistrationCallback(mRegistrationCallback); in onPause() 226 mImsManager = null; in onPause()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelecomAccountRegistry.java | 587 ImsRcsManager manager = mImsManager.getImsRcsManager(mPhone.getSubId()); in isUserContactDiscoverySettingEnabled() 1074 private final android.telephony.ims.ImsManager mImsManager; field in TelecomAccountRegistry 1105 mImsManager = context.getSystemService(android.telephony.ims.ImsManager.class); in TelecomAccountRegistry()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | WifiCallingSettingsTest.java | 61 private ImsManager mImsManager; field in WifiCallingSettingsTest
|