Searched refs:mSubscriptionsController (Results 1 – 2 of 2) sorted by relevance
64 private SubscriptionsPreferenceController mSubscriptionsController; field in NetworkMobileProviderControllerTest87 return mSubscriptionsController; in setUp()99 when(mSubscriptionsController.isAvailable()).thenReturn(true); in testDisplayPreference_subscriptionsControllerAvailable()107 when(mSubscriptionsController.isAvailable()).thenReturn(false); in testDisplayPreference_subscriptionsControllerUnAvailable()115 when(mSubscriptionsController.isAvailable()).thenReturn(false); in testGetAvailabilityStatus_subscriptionsControllerIsNull()132 when(mSubscriptionsController.isAvailable()).thenReturn(true); in testGetAvailabilityStatus_subscriptionsControllerAvailable()142 when(mSubscriptionsController.isAvailable()).thenReturn(true); in testOnChildUpdated_subscriptionsControllerAvailable_categoryIsVisible()154 when(mSubscriptionsController.isAvailable()).thenReturn(false); in testOnChildUpdated_subscriptionsControllerUnavailable_categoryIsInvisible()166 when(mSubscriptionsController.isAvailable()).thenReturn(true); in testOnChildUpdated_noExpandedChildCountAndAvailable_doesNotSetExpandedCount()177 when(mSubscriptionsController.isAvailable()).thenReturn(true); in hidePreference_hidePreferenceTrue_preferenceIsNotVisible()[all …]
48 private SubscriptionsPreferenceController mSubscriptionsController; field in NetworkMobileProviderController62 mSubscriptionsController = createSubscriptionsController(lifecycle); in init()67 if (mSubscriptionsController == null) { in createSubscriptionsController()75 return mSubscriptionsController; in createSubscriptionsController()81 if (mSubscriptionsController == null) { in displayPreference()91 mSubscriptionsController.displayPreference(screen); in displayPreference()96 if (mHide || mSubscriptionsController == null) { in getAvailabilityStatus()99 return mSubscriptionsController.isAvailable() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()