Searched refs:isNetworkTypeUnmetered (Results 1 – 2 of 2) sorted by relevance
1742 private boolean isNetworkTypeUnmetered(int networkType) throws Exception { in isNetworkTypeUnmetered() method in DcTrackerTest1788 assertTrue(isNetworkTypeUnmetered(TelephonyManager.NETWORK_TYPE_NR)); in testIsNetworkTypeUnmetered()1789 assertFalse(isNetworkTypeUnmetered(TelephonyManager.NETWORK_TYPE_LTE)); in testIsNetworkTypeUnmetered()1790 assertFalse(isNetworkTypeUnmetered(TelephonyManager.NETWORK_TYPE_UNKNOWN)); in testIsNetworkTypeUnmetered()1795 assertFalse(isNetworkTypeUnmetered(TelephonyManager.NETWORK_TYPE_NR)); in testIsNetworkTypeUnmetered()1796 assertFalse(isNetworkTypeUnmetered(TelephonyManager.NETWORK_TYPE_LTE)); in testIsNetworkTypeUnmetered()1797 assertFalse(isNetworkTypeUnmetered(TelephonyManager.NETWORK_TYPE_UNKNOWN)); in testIsNetworkTypeUnmetered()1810 assertTrue(isNetworkTypeUnmetered(TelephonyManager.NETWORK_TYPE_NR)); in testIsNetworkTypeUnmetered()1811 assertTrue(isNetworkTypeUnmetered(TelephonyManager.NETWORK_TYPE_LTE)); in testIsNetworkTypeUnmetered()1812 assertTrue(isNetworkTypeUnmetered(TelephonyManager.NETWORK_TYPE_UNKNOWN)); in testIsNetworkTypeUnmetered()
4028 boolean nrPlanUnmetered = isNetworkTypeUnmetered(NETWORK_TYPE_NR) && (rat == NETWORK_TYPE_NR in reevaluateUnmeteredConnections()4040 setDataConnectionUnmetered(isNetworkTypeUnmetered(rat)); in reevaluateUnmeteredConnections()4050 private boolean isNetworkTypeUnmetered(@NetworkType int networkType) { in isNetworkTypeUnmetered() method in DcTracker