Home
last modified time | relevance | path

Searched refs:mNetworkProviderWifiCallingGroup (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DNetworkProviderWifiCallingGroupTest.java88 private NetworkProviderWifiCallingGroup mNetworkProviderWifiCallingGroup; field in NetworkProviderWifiCallingGroupTest
129 mNetworkProviderWifiCallingGroup = spy(new NetworkProviderWifiCallingGroup( in setUp()
135 assertThat(mNetworkProviderWifiCallingGroup.shouldShowWifiCallingForSub( in shouldShowWifiCallingForSub_invalidSubId_returnFalse()
143 assertThat(mNetworkProviderWifiCallingGroup.shouldShowWifiCallingForSub(SUB_ID)) in shouldShowWifiCallingForSub_carrierConfigIsUnavailable_returnFalse()
151 doReturn(mMockQueryWfcState).when(mNetworkProviderWifiCallingGroup).queryImsState(SUB_ID); in shouldShowWifiCallingForSub_wifiCallingDisabledWithWifiCallingNotReady_returnFalse()
153 assertThat(mNetworkProviderWifiCallingGroup.shouldShowWifiCallingForSub(SUB_ID)) in shouldShowWifiCallingForSub_wifiCallingDisabledWithWifiCallingNotReady_returnFalse()
160 doReturn(mMockQueryWfcState).when(mNetworkProviderWifiCallingGroup).queryImsState(SUB_ID); in shouldShowWifiCallingForSub_wifiCallingEnabledWithWifiCallingIsReady_returnTrue()
162 assertThat(mNetworkProviderWifiCallingGroup.shouldShowWifiCallingForSub(SUB_ID)) in shouldShowWifiCallingForSub_wifiCallingEnabledWithWifiCallingIsReady_returnTrue()
170 doReturn(mMockQueryWfcState).when(mNetworkProviderWifiCallingGroup).queryImsState(SUB_ID); in shouldShowWifiCallingForSub_wifiCallingDisabledWithNoActivityHandleIntent_returnFalse()
171 doReturn(mPhoneAccountHandle).when(mNetworkProviderWifiCallingGroup) in shouldShowWifiCallingForSub_wifiCallingDisabledWithNoActivityHandleIntent_returnFalse()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkProviderWifiCallingPreferenceController.java40 private NetworkProviderWifiCallingGroup mNetworkProviderWifiCallingGroup; field in NetworkProviderWifiCallingPreferenceController
49 mNetworkProviderWifiCallingGroup = createWifiCallingControllerForSub(lifecycle); in init()
60 if (mNetworkProviderWifiCallingGroup == null in getAvailabilityStatus()
61 || !mNetworkProviderWifiCallingGroup.isAvailable()) { in getAvailabilityStatus()
74 mNetworkProviderWifiCallingGroup.displayPreference(screen); in displayPreference()