android_packages_modules_Co.../tests/net/java/android/net
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Roshan Pius 08c94fb8a9 RELAND: NetworkRequest: Embed requestor uid & packageName
Add the requestorUid & requestorPackageName fields to
NetworkCapabilities. This is populated by CS when
a new network request is received.
These 2 requestor fields are also optionally used for network
matching. All of the regular app initiated requests will have the
requestor uid and package name set by connectivity service. Network
agents can optionally set the requestorUid and requestorPackageName
to restrict the network created only to the app that requested the network.

This will help removing the necessity for the various specifiers to embed
the uid & package name info in the specifier for network matching.

Note: NetworkSpecifier.assertValidFromUid() is deprecated & removed in
favor of setting the uid/package name on the agent to restrict the
network to a certain app (useful for wifi peer to peer API & wifi aware).

Bug: 144102365
Test: Verified that wifi network request related CTS verifier tests
pass.
Test: Device boots up and connects to wifi networks
Merged-In: I207c446108afdac7ee2c25e6bbcbc37c4e3f6529

Change-Id: I58775e82aa7725aac5aa27ca9d2b5ee8f0be4242
2020-02-12 16:58:36 -08:00
..
ipmemorystore Add DHCP address lease expiry in IpMemoryStore. 2019-03-29 16:51:47 +09:00
nsd Add a common test library. 2019-05-28 22:20:51 +09:00
util Move the test of minimum supported keepalive slots to CTS 2019-06-19 16:25:19 +08:00
CaptivePortalDataTest.kt Add API for CaptivePortalData 2020-01-22 22:27:44 +09:00
ConnectivityDiagnosticsManagerTest.java Include NetworkCapabilities and LinkProperties in DataStallReport. 2020-02-11 08:50:59 -08:00
ConnectivityManagerTest.java RELAND: NetworkRequest: Embed requestor uid & packageName 2020-02-12 16:58:36 -08:00
Ikev2VpnProfileTest.java Add Ikev2VpnProfile as public API 2020-01-22 19:23:01 -08:00
IpMemoryStoreTest.java Wipe the data in IpMemoryStore database upon network factory reset. 2019-05-28 08:46:44 +00:00
IpSecAlgorithmTest.java Migrate frameworks/base/tests/net/ to androidx.test 2019-03-05 09:05:47 -08:00
IpSecConfigTest.java Factorize custom asserts. 2019-06-20 16:24:25 +09:00
IpSecManagerTest.java Migrate frameworks/base/tests/net/ to androidx.test 2019-03-05 09:05:47 -08:00
IpSecTransformTest.java Factorize custom asserts. 2019-06-20 16:24:25 +09:00
MacAddressTest.java Merge "Migrate frameworks/base/tests/net/ to androidx.test" am: e69a7a1554 am: 29e6ab8d01 2019-03-06 22:10:32 -08:00
NetworkStatsHistoryTest.java Migrate frameworks/base/tests/net/ to androidx.test 2019-03-05 09:05:47 -08:00
NetworkStatsTest.java [SP01] Add NetworkStats to system API 2020-01-09 03:11:22 +00:00
NetworkUtilsTest.java Revert "Remove providesRoutesToMostDestinations." 2019-07-09 09:23:25 +00:00
TcpKeepalivePacketDataTest.java Add keepalive related methods and fields to system APIs 2019-12-17 16:21:19 +00:00
TelephonyNetworkSpecifierTest.java Replace StringNetworkSpecifier & subId with TelephonyNetworkSpecifer 2020-01-14 10:51:11 -08:00
VpnManagerTest.java Add separate user consent for Platform VPNs 2020-02-04 21:05:36 +00:00