Searched refs:isBandwidthControlEnabled (Results 1 – 12 of 12) sorted by relevance
74 return policy != null && isBandwidthControlEnabled() && services.mUserManager.isAdminUser() in isNetworkPolicyModifiable()85 protected boolean isBandwidthControlEnabled() { in isBandwidthControlEnabled() method in DataUsageBaseFragment87 return services.mNetworkService.isBandwidthControlEnabled(); in isBandwidthControlEnabled()
66 setEnabled(mServices.mNetworkService.isBandwidthControlEnabled() in updateEnabled()
133 if (!isBandwidthControlEnabled()) { in onCreate()
132 if (!isBandwidthControlEnabled()) { in onCreate()
57 return isBandwidthControlEnabled() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()148 boolean isBandwidthControlEnabled() { in isBandwidthControlEnabled() method in AppDataUsagePreferenceController149 return Utils.isBandwidthControlEnabled(); in isBandwidthControlEnabled()
74 doReturn(true).when(mController).isBandwidthControlEnabled(); in getAvailabilityStatus_bandwidthControlEnabled_shouldReturnAvailable()82 doReturn(false).when(mController).isBandwidthControlEnabled(); in getAvailabilityStatus_bandwidthControlDisabled_shouldReturnDisabled()
604 Utils.isBandwidthControlEnabled() /* enabled */, in doUpdateTilesList()619 Utils.isBandwidthControlEnabled(), isAdmin) in doUpdateTilesList()
611 public static boolean isBandwidthControlEnabled() { in isBandwidthControlEnabled() method in Utils615 return netManager.isBandwidthControlEnabled(); in isBandwidthControlEnabled()
616 public static boolean isBandwidthControlEnabled() { in isBandwidthControlEnabled() method in Utils620 return netManager.isBandwidthControlEnabled(); in isBandwidthControlEnabled()