Searched refs:KeepaliveUtils (Results 1 – 3 of 3) sorted by relevance
65 KeepaliveUtils.getSupportedKeepalives(mockContext) in testGetSupportedKeepalives()67 } catch (expected: KeepaliveUtils.KeepaliveDeviceConfigurationException) { in testGetSupportedKeepalives()93 val actual = KeepaliveUtils.getSupportedKeepalives(mockContext) in testGetSupportedKeepalives()111 assertEquals(3, KeepaliveUtils.getSupportedKeepalivesForNetworkCapabilities(cust, nc)) in testGetSupportedKeepalivesForNetworkCapabilities()115 assertEquals(0, KeepaliveUtils.getSupportedKeepalivesForNetworkCapabilities(cust, nc)) in testGetSupportedKeepalivesForNetworkCapabilities()119 assertEquals(0, KeepaliveUtils.getSupportedKeepalivesForNetworkCapabilities(cust, nc)) in testGetSupportedKeepalivesForNetworkCapabilities()124 KeepaliveUtils.getSupportedKeepalivesForNetworkCapabilities(cust, nc) in testGetSupportedKeepalivesForNetworkCapabilities()
33 public final class KeepaliveUtils { class
50 import android.net.util.KeepaliveUtils;115 mSupportedKeepalives = KeepaliveUtils.getSupportedKeepalives(mContext); in KeepaliveTracker()275 final int supported = KeepaliveUtils.getSupportedKeepalivesForNetworkCapabilities( in checkPermission()306 final int supported = KeepaliveUtils.getSupportedKeepalivesForNetworkCapabilities( in checkLimit()