Home
last modified time | relevance | path

Searched refs:getDeprecationTime (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/thread/service/java/com/android/server/thread/
DTunInterfaceController.java155 if (address.getDeprecationTime() == LinkAddress.LIFETIME_PERMANENT in addAddress()
156 || address.getDeprecationTime() == LinkAddress.LIFETIME_UNKNOWN) { in addAddress()
161 (address.getDeprecationTime() - SystemClock.elapsedRealtime()) / 1000L, in addAddress()
/packages/modules/Connectivity/framework/src/android/net/
DLinkAddress.java461 public long getDeprecationTime() { in getDeprecationTime() method in LinkAddress
/packages/modules/Connectivity/thread/tests/integration/src/android/net/thread/
DThreadIntegrationTest.java239 assertThat(address.getDeprecationTime()) in joinNetworkWithBrDisabled_meshLocalAddressesArePreferred()
DBorderRoutingTest.java268 assertThat(address.getDeprecationTime()).isAtMost(SystemClock.elapsedRealtime()); in unicastRouting_meshLocalAddressesAreNotPreferred()
/packages/modules/Connectivity/tests/common/java/android/net/
DLinkAddressTest.java376 assertEquals(100000L, addr.getDeprecationTime()); in testDeprecationTime()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java5780 assertTrue(la.getDeprecationTime() != LinkAddress.LIFETIME_UNKNOWN);
5782 assertTrue(la.getDeprecationTime() < when + TEST_LIFETIME_TOLERANCE_MS);
5783 assertTrue(la.getDeprecationTime() > when - TEST_LIFETIME_TOLERANCE_MS);
5794 assertEquals(LinkAddress.LIFETIME_PERMANENT, la.getDeprecationTime());
5919 return (la.getDeprecationTime() != LinkAddress.LIFETIME_UNKNOWN)
5921 && (la.getDeprecationTime() < when + TEST_LIFETIME_TOLERANCE_MS)
5922 && (la.getDeprecationTime() > when - TEST_LIFETIME_TOLERANCE_MS)
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt172 method public long getDeprecationTime();