Searched refs:LIFETIME_UNKNOWN (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/framework/src/android/net/ |
D | LinkAddress.java | 71 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/ |
D | TunInterfaceController.java | 156 || address.getDeprecationTime() == LinkAddress.LIFETIME_UNKNOWN) { in addAddress() 166 || address.getExpirationTime() == LinkAddress.LIFETIME_UNKNOWN) { in addAddress()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | LinkAddressTest.java | 359 LinkAddress.LIFETIME_UNKNOWN, 100000L); in testDeprecationTime() 383 200000L, LinkAddress.LIFETIME_UNKNOWN); in testExpirationTime()
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClientLinkObserver.java | 567 long deprecationTime = LinkAddress.LIFETIME_UNKNOWN; in processRtNetlinkAddressMessage() 568 long expirationTime = LinkAddress.LIFETIME_UNKNOWN; in processRtNetlinkAddressMessage()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 5780 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/ |
D | system-current.txt | 179 field public static final long LIFETIME_UNKNOWN = -1L; // 0xffffffffffffffffL
|