android_packages_modules_Co.../tests/unit/res/xml
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yuyang Huang 96e8bfee5f Check network slicing declaration for network request
When the application wants to request network with
NET_CAPABILITY_PRIORITIZE_BANDWIDTH or
NET_CAPABILITY_PRIORITIZE_LATENCY, it has to declare
PackageManager.PROPERTY_NETWORK_SLICE_DECLARATIONS property and also
adds the declaration in a separate XML files. Otherwise, the request
will fail with a SecurityException being thrown.

Test: atest FrameworksNetTests CtsNetTestCases
Bug: 266524688
Change-Id: I6affc857b803211517368da288e1b2fdc06a955b
2023-02-28 17:38:30 +09:00
..
self_certified_capabilities_bandwidth.xml Check network slicing declaration for network request 2023-02-28 17:38:30 +09:00
self_certified_capabilities_both.xml Check network slicing declaration for network request 2023-02-28 17:38:30 +09:00
self_certified_capabilities_latency.xml Check network slicing declaration for network request 2023-02-28 17:38:30 +09:00
self_certified_capabilities_other.xml Check network slicing declaration for network request 2023-02-28 17:38:30 +09:00
self_certified_capabilities_wrong_declaration.xml Check network slicing declaration for network request 2023-02-28 17:38:30 +09:00
self_certified_capabilities_wrong_tag.xml Check network slicing declaration for network request 2023-02-28 17:38:30 +09:00