Home
last modified time | relevance | path

Searched refs:INVALID_RESOURCE_ID (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/
DClientProfile.java30 public static final int INVALID_RESOURCE_ID = -1; field in ClientProfile
78 private int mUsingCasSystemId = INVALID_RESOURCE_ID;
196 mUsingCasSystemId = INVALID_RESOURCE_ID; in releaseCas()
205 mUsingCasSystemId = INVALID_RESOURCE_ID; in reclaimAllResources()
DTunerResourceManagerService.java1108 if (profile.getInUseCasSystemId() != ClientProfile.INVALID_RESOURCE_ID) { in reclaimingResourcesFromClient()
/frameworks/base/core/java/android/net/
DIpSecTransform.java18 import static android.net.IpSecManager.INVALID_RESOURCE_ID;
95 mResourceId = INVALID_RESOURCE_ID; in IpSecTransform()
177 if (mResourceId == INVALID_RESOURCE_ID) { in close()
192 mResourceId = INVALID_RESOURCE_ID; in close()
301 if (mResourceId == INVALID_RESOURCE_ID) { in startNattKeepalive()
419 if (localSocket.getResourceId() == INVALID_RESOURCE_ID) { in setIpv4Encapsulation()
456 if (spi.getResourceId() == INVALID_RESOURCE_ID) { in buildTransportModeTransform()
495 if (spi.getResourceId() == INVALID_RESOURCE_ID) { in buildTunnelModeTransform()
DIpSecManager.java96 public static final int INVALID_RESOURCE_ID = -1; field in IpSecManager
156 private int mResourceId = INVALID_RESOURCE_ID;
181 mResourceId = INVALID_RESOURCE_ID; in close()
230 if (mResourceId == INVALID_RESOURCE_ID) { in SecurityParameterIndex()
548 private int mResourceId = INVALID_RESOURCE_ID;
601 mResourceId = INVALID_RESOURCE_ID; in close()
609 mResourceId = INVALID_RESOURCE_ID; in close()
728 private int mResourceId = INVALID_RESOURCE_ID;
837 mResourceId = INVALID_RESOURCE_ID; in close()
DIpSecTransformResponse.java50 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecTransformResponse()
DIpSecTunnelInterfaceResponse.java52 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecTunnelInterfaceResponse()
DIpSecSpiResponse.java58 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecSpiResponse()
DIpSecUdpEncapResponse.java63 resourceId = IpSecManager.INVALID_RESOURCE_ID; in IpSecUdpEncapResponse()
DIpSecConfig.java49 private int mSpiResourceId = IpSecManager.INVALID_RESOURCE_ID;
63 private int mEncapSocketResourceId = IpSecManager.INVALID_RESOURCE_ID;
DConnectivityManager.java18 import static android.net.IpSecManager.INVALID_RESOURCE_ID;
1958 INVALID_RESOURCE_ID /* Unused */, source, destination, executor, callback); in createNattKeepalive()
/frameworks/base/tests/net/java/android/net/
DIpSecConfigTest.java45 assertEquals(IpSecManager.INVALID_RESOURCE_ID, c.getEncapSocketResourceId()); in testDefaults()
50 assertEquals(IpSecManager.INVALID_RESOURCE_ID, c.getSpiResourceId()); in testDefaults()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java20 import static android.net.IpSecManager.INVALID_RESOURCE_ID;
499 if (resourceId == INVALID_RESOURCE_ID) { in OwnedResourceRecord()
1125 IpSecManager.Status.RESOURCE_UNAVAILABLE, INVALID_RESOURCE_ID, spi); in allocateSecurityParameterIndex()
1140 IpSecManager.Status.SPI_UNAVAILABLE, INVALID_RESOURCE_ID, spi); in allocateSecurityParameterIndex()
/frameworks/base/services/tests/servicestests/src/com/android/server/tv/tunerresourcemanager/
DTunerResourceManagerServiceTest.java547 .getInUseCasSystemId()).isEqualTo(ClientProfile.INVALID_RESOURCE_ID); in requestCasTest_NoCasAvailable_RequestWithHigherPriority()
585 .getInUseCasSystemId()).isEqualTo(ClientProfile.INVALID_RESOURCE_ID); in releaseCasTest()