Searched refs:hasActiveSubscription (Results 1 – 2 of 2) sorted by relevance
113 doReturn(true).when(dataUsageSummary).hasActiveSubscription(); in configuration_withSim_shouldShowMobileAndWifi()133 doReturn(false).when(dataUsageSummary).hasActiveSubscription(); in configuration_withoutSim_shouldShowWifiSectionOnly()153 doReturn(false).when(dataUsageSummary).hasActiveSubscription(); in configuration_withoutMobile_shouldShowWifiSectionOnly()176 doReturn(false).when(dataUsageSummary).hasActiveSubscription(); in configuration_invalidDataSusbscription_shouldShowWifiSectionOnly()
105 if (hasActiveSubscription() && hasWifiRadio) { in onCreate()160 boolean hasActiveSubscription() { in hasActiveSubscription() method in DataUsageSummary