Home
last modified time | relevance | path

Searched refs:getConnectionOwnerUid (Results 1 – 8 of 8) sorted by relevance

/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/
DInetDiagSocketIntegrationTest.java145 final int uid = mCm.getConnectionOwnerUid(protocol, local, remote); in checkConnectionOwnerUid()
210 mCm.getConnectionOwnerUid(IPPROTO_TCP, src, dst); in testB141603906()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java490 int uid = mCM.getConnectionOwnerUid(OsConstants.IPPROTO_UDP, loc, rem); in checkConnectionOwnerUidUdp()
498 int uid = mCM.getConnectionOwnerUid(OsConstants.IPPROTO_TCP, loc, rem); in checkConnectionOwnerUidTcp()
843 int uid = mCM.getConnectionOwnerUid(OsConstants.IPPROTO_TCP, loc, rem); in testGetConnectionOwnerUidSecurity()
1118 mCM.getConnectionOwnerUid(IPPROTO_TCP, src, dst); in testB141603906()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DInetDiagMessage.java190 public static int getConnectionOwnerUid(int protocol, InetSocketAddress local, in getConnectionOwnerUid() method in InetDiagMessage
/packages/modules/Connectivity/framework/src/android/net/
DIConnectivityManager.aidl196 int getConnectionOwnerUid(in ConnectionInfo connectionInfo); in getConnectionOwnerUid() method
DConnectivityManager.java5123 public int getConnectionOwnerUid( in getConnectionOwnerUid() method in ConnectivityManager
5127 return mService.getConnectionOwnerUid(connectionInfo); in getConnectionOwnerUid()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt76 …method public int getConnectionOwnerUid(int, @NonNull java.net.InetSocketAddress, @NonNull java.ne…
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java1293 public int getConnectionOwnerUid(int protocol, InetSocketAddress local, in getConnectionOwnerUid() method in ConnectivityService.Dependencies
1295 return InetDiagMessage.getConnectionOwnerUid(protocol, local, remote); in getConnectionOwnerUid()
8985 public int getConnectionOwnerUid(ConnectionInfo connectionInfo) { in getConnectionOwnerUid() method in ConnectivityService
8990 final int uid = mDeps.getConnectionOwnerUid(connectionInfo.protocol, in getConnectionOwnerUid()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java10072 when(mDeps.getConnectionOwnerUid(anyInt(), any(), any())).thenReturn(42); in setupConnectionOwnerUid()
10097 assertEquals(INVALID_UID, mService.getConnectionOwnerUid(getTestConnectionInfo())); in testGetConnectionOwnerUidPlatformVpn()
10105 assertEquals(INVALID_UID, mService.getConnectionOwnerUid(getTestConnectionInfo())); in testGetConnectionOwnerUidVpnServiceWrongUser()
10113 assertEquals(42, mService.getConnectionOwnerUid(getTestConnectionInfo())); in testGetConnectionOwnerUidVpnServiceDoesNotThrow()
10122 assertEquals(42, mService.getConnectionOwnerUid(getTestConnectionInfo())); in testGetConnectionOwnerUidVpnServiceNetworkStackDoesNotThrow()
10133 assertEquals(42, mService.getConnectionOwnerUid(getTestConnectionInfo())); in testGetConnectionOwnerUidVpnServiceMainlineNetworkStackDoesNotThrow()