Home
last modified time | relevance | path

Searched refs:ProxySubscriptionManager (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DProxySubscriptionManagerTest.java76 private ProxySubscriptionManager getInstance(Context context) { in getInstance()
77 ProxySubscriptionManager proxy = in getInstance()
78 Mockito.mock(ProxySubscriptionManager.class, Mockito.CALLS_REAL_METHODS); in getInstance()
84 public class Client implements ProxySubscriptionManager.OnActiveSubscriptionChangedListener {
108 ProxySubscriptionManager proxy = getInstance(mContext); in addActiveSubscriptionsListener_addOneClient_getNoCallback()
117 ProxySubscriptionManager proxy = getInstance(mContext); in addActiveSubscriptionsListener_addOneClient_changeOnSimGetCallback()
129 ProxySubscriptionManager proxy = getInstance(mContext); in addActiveSubscriptionsListener_addOneClient_noCallbackUntilUiResume()
154 ProxySubscriptionManager proxy = getInstance(mContext); in addActiveSubscriptionsListener_addTwoClient_eachClientGetNoCallback()
167 ProxySubscriptionManager proxy = getInstance(mContext); in addActiveSubscriptionsListener_addTwoClient_callbackOnlyWhenResume()
194 ProxySubscriptionManager proxy = getInstance(mContext); in removeActiveSubscriptionsListener_removedClient_noCallback()
[all …]
/packages/apps/Settings/src/com/android/settings/network/
DProxySubscriptionManager.java44 public class ProxySubscriptionManager implements LifecycleObserver { class
75 public static ProxySubscriptionManager getInstance(Context context) { in getInstance()
79 sSingleton = new ProxySubscriptionManager(context.getApplicationContext()); in getInstance()
83 private static ProxySubscriptionManager sSingleton;
85 private ProxySubscriptionManager(Context context) { in ProxySubscriptionManager() method in ProxySubscriptionManager
DSubscriptionsPreferenceController.java541 ProxySubscriptionManager.getInstance(context), subId) != null); in canSubscriptionBeDisplayed()
572 ProxySubscriptionManager.getInstance(context), subId) != null); in canSubscriptionBeDisplayed()
DSubscriptionUtil.java119 ProxySubscriptionManager subscriptionManager, int subId) { in getAvailableSubscription()
/packages/apps/Settings/src/com/android/settings/datausage/
DCellDataPreference.java38 import com.android.settings.network.ProxySubscriptionManager;
119 ProxySubscriptionManager getProxySubscriptionManager() { in getProxySubscriptionManager()
120 return ProxySubscriptionManager.getInstance(getContext()); in getProxySubscriptionManager()
240 final ProxySubscriptionManager.OnActiveSubscriptionChangedListener
242 new ProxySubscriptionManager.OnActiveSubscriptionChangedListener() {
DDataUsageUtils.java38 import com.android.settings.network.ProxySubscriptionManager;
111 ProxySubscriptionManager.getInstance(context) in hasReadyMobileRadio()
164 final ProxySubscriptionManager proxySubscriptionMgr = in getDefaultSubscriptionId()
165 ProxySubscriptionManager.getInstance(context); in getDefaultSubscriptionId()
DDataUsageSummary.java37 import com.android.settings.network.ProxySubscriptionManager;
71 private ProxySubscriptionManager mProxySubscriptionMgr;
157 mProxySubscriptionMgr = ProxySubscriptionManager.getInstance(context); in enableProxySubscriptionManager()
DDataUsageSummaryPreferenceController.java43 import com.android.settings.network.ProxySubscriptionManager;
186 return ProxySubscriptionManager.getInstance(mContext).get() in getSubscriptionPlans()
195 return ProxySubscriptionManager.getInstance(mContext) in getSubscriptionInfo()
DDataUsageList.java63 import com.android.settings.network.ProxySubscriptionManager;
290 final SubscriptionInfo sir = ProxySubscriptionManager.getInstance(context) in updateBody()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DMobileNetworkActivity.java45 import com.android.settings.network.ProxySubscriptionManager;
56 implements ProxySubscriptionManager.OnActiveSubscriptionChangedListener {
65 ProxySubscriptionManager mProxySubscriptionMgr;
145 ProxySubscriptionManager getProxySubscriptionManager() { in getProxySubscriptionManager()
147 mProxySubscriptionMgr = ProxySubscriptionManager.getInstance(this); in getProxySubscriptionManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkActivityTest.java43 import com.android.settings.network.ProxySubscriptionManager;
116 ProxySubscriptionManager getProxySubscriptionManager() { in getProxySubscriptionManager()
118 mProxySubscriptionMgr = mock(ProxySubscriptionManager.class); in getProxySubscriptionManager()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/apn/
DApnEditorTest.java49 import com.android.settings.network.ProxySubscriptionManager;
105 private ProxySubscriptionManager mProxySubscriptionMgr;
457 ProxySubscriptionManager proxySubscriptionMgr = mock(ProxySubscriptionManager.class); in onCreate_noAction_shouldFinishAndNoCrash()
/packages/apps/Settings/src/com/android/settings/
DAirplaneModeEnabler.java33 import com.android.settings.network.ProxySubscriptionManager;
153 ProxySubscriptionManager.getInstance(mContext).getActiveSubscriptionsInfo(); in isInEcmMode()
DIccLockSettings.java58 import com.android.settings.network.ProxySubscriptionManager;
120 private ProxySubscriptionManager mProxySubscriptionMgr;
184 mProxySubscriptionMgr = ProxySubscriptionManager.getInstance(getContext()); in onCreate()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditor.java56 import com.android.settings.network.ProxySubscriptionManager;
137 ProxySubscriptionManager mProxySubscriptionMgr;
341 mProxySubscriptionMgr = ProxySubscriptionManager.getInstance(getContext()); in setLifecycleForAllControllers()