[KA09] add keepalive offload permission to shell
This change adds PACKET_KEEPALIVE_OFFLOAD to shell, which allows
shell or code with shell permission identity to use privileged
tcp keepalive offload API.
Bug: 114151147
Test: -atest ConnectivityManagerTest#testCreateTcpKeepalive
-build, flash, boot
Change-Id: Ib6660a5eaa72f83042596481452be4d415383f02
Merged-in: Ib6660a5eaa72f83042596481452be4d415383f02
This commit is contained in:
@@ -268,6 +268,8 @@ applications that come with the platform
|
||||
<permission name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/>
|
||||
<permission name="android.permission.MOVE_PACKAGE"/>
|
||||
<permission name="android.permission.PACKAGE_USAGE_STATS" />
|
||||
<!-- Needed for test only -->
|
||||
<permission name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
|
||||
<permission name="android.permission.READ_FRAME_BUFFER"/>
|
||||
<permission name="android.permission.READ_LOWPAN_CREDENTIAL"/>
|
||||
<!-- Needed for test only -->
|
||||
|
||||
@@ -161,6 +161,8 @@
|
||||
|
||||
<!-- Permission needed to run network tests in CTS -->
|
||||
<uses-permission android:name="android.permission.MANAGE_TEST_NETWORKS" />
|
||||
<!-- Permission needed to test tcp keepalive offload. -->
|
||||
<uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" />
|
||||
|
||||
<application android:label="@string/app_label"
|
||||
android:defaultToDeviceProtectedStorage="true"
|
||||
|
||||
Reference in New Issue
Block a user