Searched refs:deprecationTime (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Connectivity/framework/src/android/net/ |
D | LinkAddress.java | 111 private long deprecationTime; field in LinkAddress 188 long deprecationTime, long expirationTime) { in init() argument 199 if ((deprecationTime == LIFETIME_UNKNOWN) != (expirationTime == LIFETIME_UNKNOWN)) { in init() 205 if (deprecationTime != LIFETIME_UNKNOWN && deprecationTime < 0) { in init() 206 throw new IllegalArgumentException("invalid deprecation time " + deprecationTime); in init() 215 if (deprecationTime != LIFETIME_UNKNOWN && expirationTime != LIFETIME_UNKNOWN in init() 216 && expirationTime < deprecationTime) { in init() 218 + deprecationTime + ", " + expirationTime + ")"); in init() 225 this.deprecationTime = deprecationTime; in init() 273 int flags, int scope, long deprecationTime, long expirationTime) { in LinkAddress() argument [all …]
|
/packages/modules/NetworkStack/src/android/net/ip/ |
D | IpClientLinkObserver.java | 567 long deprecationTime = LinkAddress.LIFETIME_UNKNOWN; in processRtNetlinkAddressMessage() local 570 deprecationTime = LinkAddress.LIFETIME_PERMANENT; in processRtNetlinkAddressMessage() 576 deprecationTime = now + (cacheInfo.preferred /* seconds */ * 1000); in processRtNetlinkAddressMessage() 584 msg.getFlags(), ifaddrMsg.scope, deprecationTime, expirationTime); in processRtNetlinkAddressMessage()
|
D | IpClient.java | 3232 final long deprecationTime = now + ipo.preferred * 1000; in addInterfaceAddress() local 3237 RT_SCOPE_UNIVERSE /* scope */, deprecationTime, expirationTime); in addInterfaceAddress()
|