Home
last modified time | relevance | path

Searched refs:KeepaliveDeviceConfigurationException (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/net/util/
DKeepaliveUtils.java37 public static class KeepaliveDeviceConfigurationException extends AndroidRuntimeException { class in KeepaliveUtils
38 public KeepaliveDeviceConfigurationException(final String msg) { in KeepaliveDeviceConfigurationException() method in KeepaliveUtils.KeepaliveDeviceConfigurationException
59 if (res == null) throw new KeepaliveDeviceConfigurationException("invalid resource"); in getSupportedKeepalives()
64 throw new KeepaliveDeviceConfigurationException("Empty string"); in getSupportedKeepalives()
68 throw new KeepaliveDeviceConfigurationException("Invalid parameter length"); in getSupportedKeepalives()
77 throw new KeepaliveDeviceConfigurationException("Invalid number format"); in getSupportedKeepalives()
81 throw new KeepaliveDeviceConfigurationException("Invalid transport " + transport); in getSupportedKeepalives()
85 throw new KeepaliveDeviceConfigurationException( in getSupportedKeepalives()
/frameworks/base/tests/net/java/android/net/util/
DKeepaliveUtilsTest.kt67 } catch (expected: KeepaliveUtils.KeepaliveDeviceConfigurationException) { in testGetSupportedKeepalives()