1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2014 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 17 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 18 package="com.android.cts.net.hostside"> 19 20 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 21 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> 22 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> 23 <uses-permission android:name="android.permission.INTERNET"/> 24 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 25 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" /> 26 27 <application> 28 <uses-library android:name="android.test.runner" /> 29 <activity android:name=".MyActivity" /> 30 <service android:name=".MyVpnService" 31 android:permission="android.permission.BIND_VPN_SERVICE"> 32 <intent-filter> 33 <action android:name="android.net.VpnService"/> 34 </intent-filter> 35 </service> 36 <service 37 android:name=".MyNotificationListenerService" 38 android:label="MyNotificationListenerService" 39 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" > 40 <intent-filter> 41 <action android:name="android.service.notification.NotificationListenerService" /> 42 </intent-filter> 43 </service> 44 </application> 45 46 <instrumentation 47 android:name="android.support.test.runner.AndroidJUnitRunner" 48 android:targetPackage="com.android.cts.net.hostside" /> 49 50 </manifest> 51