| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2016 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="com.android.frameworks.tests.net"> |
| |
| <uses-permission android:name="android.permission.READ_LOGS" /> |
| <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
| <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| <uses-permission android:name="android.permission.BROADCAST_STICKY" /> |
| <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> |
| <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> |
| <uses-permission android:name="android.permission.MANAGE_APP_TOKENS" /> |
| <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| <uses-permission android:name="android.permission.REAL_GET_TASKS" /> |
| <uses-permission android:name="android.permission.GET_DETAILED_TASKS" /> |
| <uses-permission android:name="android.permission.MANAGE_NETWORK_POLICY" /> |
| <uses-permission android:name="android.permission.READ_NETWORK_USAGE_HISTORY" /> |
| <uses-permission android:name="android.permission.CONNECTIVITY_USE_RESTRICTED_NETWORKS" /> |
| <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| <uses-permission android:name="android.permission.MANAGE_USERS" /> |
| <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
| <uses-permission android:name="android.permission.MANAGE_DEVICE_ADMINS" /> |
| <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" /> |
| <uses-permission android:name="android.permission.INTERNET" /> |
| <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> |
| <uses-permission android:name="android.permission.PACKET_KEEPALIVE_OFFLOAD" /> |
| <uses-permission android:name="android.permission.GET_INTENT_SENDER_INTENT" /> |
| <uses-permission android:name="android.permission.MANAGE_ACTIVITY_TASKS" /> |
| <uses-permission android:name="android.permission.INSTALL_PACKAGES" /> |
| <uses-permission android:name="android.permission.NETWORK_STACK" /> |
| <uses-permission android:name="android.permission.OBSERVE_NETWORK_POLICY" /> |
| <uses-permission android:name="android.permission.NETWORK_FACTORY" /> |
| <uses-permission android:name="android.permission.NETWORK_STATS_PROVIDER" /> |
| <uses-permission android:name="android.permission.CONTROL_OEM_PAID_NETWORK_PREFERENCE" /> |
| <!-- Workaround for flakes where the launcher package is not found despite the <queries> tag |
| below (b/286550950). --> |
| <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
| |
| <!-- Declare the intent that the test intends to query. This is necessary for |
| UiDevice.getLauncherPackageName which is used in NetworkNotificationManagerTest |
| --> |
| <queries> |
| <intent> |
| <action android:name="android.intent.action.MAIN" /> |
| <category android:name="android.intent.category.HOME"/> |
| </intent> |
| </queries> |
| <application android:testOnly="true"> |
| <uses-library android:name="android.test.runner" /> |
| <uses-library android:name="android.net.ipsec.ike" /> |
| <activity |
| android:name="android.net.connectivity.com.android.server.connectivity.NetworkNotificationManagerTest$TestDialogActivity"/> |
| </application> |
| |
| <instrumentation |
| android:name="androidx.test.runner.AndroidJUnitRunner" |
| android:targetPackage="com.android.frameworks.tests.net" |
| android:label="Frameworks Networking Tests" /> |
| </manifest> |