Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/util/
DKeepaliveUtils.java36 public static class KeepaliveDeviceConfigurationException extends AndroidRuntimeException { class in KeepaliveUtils
37 public KeepaliveDeviceConfigurationException(final String msg) { in KeepaliveDeviceConfigurationException() method in KeepaliveUtils.KeepaliveDeviceConfigurationException
61 if (res == null) throw new KeepaliveDeviceConfigurationException("invalid resource"); in getSupportedKeepalives()
66 throw new KeepaliveDeviceConfigurationException("Empty string"); in getSupportedKeepalives()
70 throw new KeepaliveDeviceConfigurationException("Invalid parameter length"); in getSupportedKeepalives()
79 throw new KeepaliveDeviceConfigurationException("Invalid number format"); in getSupportedKeepalives()
83 throw new KeepaliveDeviceConfigurationException("Invalid transport " + transport); in getSupportedKeepalives()
87 throw new KeepaliveDeviceConfigurationException( in getSupportedKeepalives()
/packages/modules/Connectivity/tests/unit/java/android/net/util/
DKeepaliveUtilsTest.kt85 } catch (expected: KeepaliveUtils.KeepaliveDeviceConfigurationException) { in testGetSupportedKeepalives()