android_packages_modules_Co.../tests/cts/hostside
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael Groover ce6a0508c1 Add exported flag to exposed test runtime receiver
Android T allows apps to declare a runtime receiver as not exported
by invoking registerReceiver with a new RECEIVER_NOT_EXPORTED flag;
receivers registered with this flag will only receive broadcasts from
the platform and the app itself. However to ensure developers can
properly protect their receivers, all apps targeting a future
platform release and registering a receiver for non-system
broadcasts must specify either the exported or not exported flag
when invoking #registerReceiver; if one of these flags is not
provided, the platform will throw a SecurityException. This commit
updates all the exposed receiver with the RECEIVER_EXPORTED flag
to maintain the existing behavior for this test.

Bug: 234659204
Test: atest CtsHostsideNetworkTests:com.android.cts.net.HostsideVpnTests
Change-Id: I61b3ee109cf37545918f03daf1fbe1ea90157002
2022-10-25 14:56:15 -05:00
..
aidl Add cts test for VPN incoming packets blocking 2022-07-22 02:10:34 +00:00
app Add exported flag to exposed test runtime receiver 2022-10-25 14:56:15 -05:00
app2 Merge android13-tests-dev 2022-08-17 16:31:44 -07:00
certs [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Connectivity 2021-02-16 04:09:58 -08:00
src/com/android/cts/net Merge "Simplify per-target-SDK LinkProperties tests." am: 9f74712d49 2022-07-26 06:16:00 +00:00
Android.bp Simplify per-target-SDK LinkProperties tests. 2022-07-22 17:53:55 +09:00
AndroidTest.xml Update CtsHostsideNetworkTests to take network capability into account. 2021-02-24 08:00:12 -08:00
OWNERS Set noparent in connectivity CTS owners 2020-12-03 08:07:32 +00:00
TEST_MAPPING Update TEST_MAPPING file. 2022-04-05 18:56:41 +00:00