Searched refs:isBandwidthControlEnabled (Results 1 – 9 of 9) sorted by relevance
40 on { isBandwidthControlEnabled } doReturn true in <lambda>()61 whenever(mockNetworkManagementService.isBandwidthControlEnabled).thenReturn(false) in <lambda>()90 whenever(mockNetworkManagementService.isBandwidthControlEnabled).thenReturn(true) in <lambda>()103 whenever(mockNetworkManagementService.isBandwidthControlEnabled).thenReturn(false) in isBandwidthControlEnabled_bandwidthControlDisabled_returnFalse()105 val enabled = repository.isBandwidthControlEnabled() in isBandwidthControlEnabled_bandwidthControlDisabled_returnFalse()112 whenever(mockNetworkManagementService.isBandwidthControlEnabled).thenReturn(true) in isBandwidthControlEnabled_bandwidthControlEnabled_returnTrue()114 val enabled = repository.isBandwidthControlEnabled() in isBandwidthControlEnabled_bandwidthControlEnabled_returnTrue()
74 doReturn(true).when(mController).isBandwidthControlEnabled(); in getAvailabilityStatus_bandwidthControlEnabled_shouldReturnAvailable()82 doReturn(false).when(mController).isBandwidthControlEnabled(); in getAvailabilityStatus_bandwidthControlDisabled_shouldReturnDisabled()143 doReturn(true).when(mController).isBandwidthControlEnabled(); in displayPreference_noEntry_preferenceShouldNotEnable()158 doReturn(true).when(mController).isBandwidthControlEnabled(); in displayPreference_appIsInstalled_preferenceShouldEnable()172 doReturn(true).when(mController).isBandwidthControlEnabled(); in displayPreference_appIsNotInstalled_preferenceShouldDisable()
45 isDataEnabled && isBandwidthControlEnabled() && userManager.isAdminUser in <lambda>()48 open fun isBandwidthControlEnabled(): Boolean = try { in <lambda>() method49 networkService.isBandwidthControlEnabled in <lambda>()
64 return isBandwidthControlEnabled() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()154 boolean isBandwidthControlEnabled() { in isBandwidthControlEnabled() method in AppDataUsagePreferenceController155 return Utils.isBandwidthControlEnabled(); in isBandwidthControlEnabled()
81 whenever(Utils.isBandwidthControlEnabled()).thenReturn(true) in <lambda>()91 whenever(Utils.isBandwidthControlEnabled()).thenReturn(false) in <lambda>()
95 Utils.isBandwidthControlEnabled() in <lambda>()
80 if (!billingCycleRepository.isBandwidthControlEnabled()) { in <lambda>()
754 Utils.isBandwidthControlEnabled() /* enabled */, in doUpdateTilesList()769 Utils.isBandwidthControlEnabled(), isAdmin) in doUpdateTilesList()
662 public static boolean isBandwidthControlEnabled() { in isBandwidthControlEnabled() method in Utils666 return netManager.isBandwidthControlEnabled(); in isBandwidthControlEnabled()