Home
last modified time | relevance | path

Searched refs:LIFETIME_UNKNOWN (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DLinkAddress.java71 public static final long LIFETIME_UNKNOWN = -1; field in LinkAddress
199 if ((deprecationTime == LIFETIME_UNKNOWN) != (expirationTime == LIFETIME_UNKNOWN)) { in init()
205 if (deprecationTime != LIFETIME_UNKNOWN && deprecationTime < 0) { in init()
210 if (expirationTime != LIFETIME_UNKNOWN && expirationTime < 0) { in init()
215 if (deprecationTime != LIFETIME_UNKNOWN && expirationTime != LIFETIME_UNKNOWN in init()
243 init(address, prefixLength, flags, scope, LIFETIME_UNKNOWN, LIFETIME_UNKNOWN); in LinkAddress()
327 init(ipAndMask.first, ipAndMask.second, flags, scope, LIFETIME_UNKNOWN, LIFETIME_UNKNOWN); in LinkAddress()
421 if (deprecationTime != LIFETIME_UNKNOWN) { in getFlags()
432 } else if (expirationTime != LIFETIME_UNKNOWN) { in getFlags()
/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DTunInterfaceController.java156 || address.getDeprecationTime() == LinkAddress.LIFETIME_UNKNOWN) { in addAddress()
166 || address.getExpirationTime() == LinkAddress.LIFETIME_UNKNOWN) { in addAddress()
/packages/modules/Connectivity/tests/common/java/android/net/
DLinkAddressTest.java359 LinkAddress.LIFETIME_UNKNOWN, 100000L); in testDeprecationTime()
383 200000L, LinkAddress.LIFETIME_UNKNOWN); in testExpirationTime()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java567 long deprecationTime = LinkAddress.LIFETIME_UNKNOWN; in processRtNetlinkAddressMessage()
568 long expirationTime = LinkAddress.LIFETIME_UNKNOWN; in processRtNetlinkAddressMessage()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java5780 assertTrue(la.getDeprecationTime() != LinkAddress.LIFETIME_UNKNOWN);
5787 assertTrue(la.getExpirationTime() != LinkAddress.LIFETIME_UNKNOWN);
5919 return (la.getDeprecationTime() != LinkAddress.LIFETIME_UNKNOWN)
5920 && (la.getExpirationTime() != LinkAddress.LIFETIME_UNKNOWN)
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt179 field public static final long LIFETIME_UNKNOWN = -1L; // 0xffffffffffffffffL