Searched refs:hasActiveSubscription (Results 1 – 2 of 2) sorted by relevance
117 doReturn(true).when(dataUsageSummary).hasActiveSubscription(); in configuration_withSim_shouldShowMobileAndWifi()138 doReturn(false).when(dataUsageSummary).hasActiveSubscription(); in configuration_withoutSim_shouldShowWifiSectionOnly()159 doReturn(false).when(dataUsageSummary).hasActiveSubscription(); in configuration_withoutMobile_shouldShowWifiSectionOnly()183 doReturn(false).when(dataUsageSummary).hasActiveSubscription(); in configuration_invalidDataSusbscription_shouldShowWifiSectionOnly()
100 if (hasActiveSubscription() && hasWifiRadio) { in onCreate()162 boolean hasActiveSubscription() { in hasActiveSubscription() method in DataUsageSummary