Home
last modified time | relevance | path

Searched refs:KeepaliveUtils (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/net/java/android/net/util/
DKeepaliveUtilsTest.kt65 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()
/frameworks/base/core/java/android/net/util/
DKeepaliveUtils.java33 public final class KeepaliveUtils { class
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java50 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()