Home
last modified time | relevance | path

Searched refs:getSupportedKeepalives (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/util/
DKeepaliveUtils.java45 public static int[] getSupportedKeepalives(@NonNull Context context) { in getSupportedKeepalives() method in KeepaliveUtils
46 return context.getSystemService(ConnectivityManager.class).getSupportedKeepalives(); in getSupportedKeepalives()
/packages/modules/Connectivity/tests/unit/java/android/net/util/
DKeepaliveUtilsTest.kt78 KeepaliveResourceUtil.getSupportedKeepalives(mockContext) in testGetSupportedKeepalives()
107 val actual = KeepaliveResourceUtil.getSupportedKeepalives(mockContext) in testGetSupportedKeepalives()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DKeepaliveResourceUtil.java40 public static int[] getSupportedKeepalives(@NonNull Context context) { in getSupportedKeepalives() method in KeepaliveResourceUtil
DKeepaliveTracker.java128 mSupportedKeepalives = mDependencies.getSupportedKeepalives(mContext); in KeepaliveTracker()
973 public int[] getSupportedKeepalives(@NonNull Context context) { in getSupportedKeepalives() method in KeepaliveTracker.Dependencies
974 return KeepaliveResourceUtil.getSupportedKeepalives(context); in getSupportedKeepalives()
/packages/modules/Connectivity/framework/src/android/net/
DIConnectivityManager.aidl200 int[] getSupportedKeepalives(); in getSupportedKeepalives() method
DConnectivityManager.java2693 public int[] getSupportedKeepalives() { in getSupportedKeepalives() method in ConnectivityManager
2695 return mService.getSupportedKeepalives(); in getSupportedKeepalives()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java1073 private int getSupportedKeepalives(NetworkCapabilities nc) throws Exception { in getSupportedKeepalives() method in VpnTest
1075 final int[] keepalivesPerTransport = KeepaliveUtils.getSupportedKeepalives( in getSupportedKeepalives()
1189 final int supported = getSupportedKeepalives(cap); in doTestAutomaticOnOffKeepaliveMode()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DAutomaticOnOffKeepaliveTrackerTest.java343 doReturn(new int[] {3, 0, 0, 3}).when(mKeepaliveTrackerDeps).getSupportedKeepalives(mCtx); in setup()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java1750 () -> mCm.getSupportedKeepalives()); in getSupportedKeepalivesForNet()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java11677 public int[] getSupportedKeepalives() {
11683 KeepaliveResourceUtil.getSupportedKeepalives(mContext));
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java1928 .getSupportedKeepalives(mServiceContext); in setUp()