Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceTest.java642 for (int i = 0; i < mIpSecService.TUN_INTF_NETID_RANGE; i++) { in testReserveNetId()
655 mIpSecService.TUN_INTF_NETID_START + mIpSecService.TUN_INTF_NETID_RANGE / 2; in testReserveNetId()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java749 @VisibleForTesting static final int TUN_INTF_NETID_RANGE = 0x0400; field in IpSecService
766 for (int i = 0; i < TUN_INTF_NETID_RANGE; i++) { in reserveNetId()
769 if (++mNextTunnelNetIdIndex >= TUN_INTF_NETID_RANGE) mNextTunnelNetIdIndex = 0; in reserveNetId()