Searched refs:getConnectionOwnerUid (Results 1 – 8 of 8) sorted by relevance
/packages/modules/NetworkStack/tests/integration/src/android/net/netlink/ |
D | InetDiagSocketIntegrationTest.java | 145 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/ |
D | VpnTest.java | 490 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/ |
D | InetDiagMessage.java | 190 public static int getConnectionOwnerUid(int protocol, InetSocketAddress local, in getConnectionOwnerUid() method in InetDiagMessage
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | IConnectivityManager.aidl | 196 int getConnectionOwnerUid(in ConnectionInfo connectionInfo); in getConnectionOwnerUid() method
|
D | ConnectivityManager.java | 5123 public int getConnectionOwnerUid( in getConnectionOwnerUid() method in ConnectivityManager 5127 return mService.getConnectionOwnerUid(connectionInfo); in getConnectionOwnerUid()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 76 …method public int getConnectionOwnerUid(int, @NonNull java.net.InetSocketAddress, @NonNull java.ne…
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 1293 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/ |
D | ConnectivityServiceTest.java | 10072 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()
|