xref: /aosp_15_r20/cts/apps/VpnApp/latest/AndroidManifest.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*b7c941bbSAndroid Build Coastguard Worker<!-- Copyright (C) 2016 The Android Open Source Project
3*b7c941bbSAndroid Build Coastguard Worker
4*b7c941bbSAndroid Build Coastguard Worker     Licensed under the Apache License, Version 2.0 (the "License");
5*b7c941bbSAndroid Build Coastguard Worker     you may not use this file except in compliance with the License.
6*b7c941bbSAndroid Build Coastguard Worker     You may obtain a copy of the License at
7*b7c941bbSAndroid Build Coastguard Worker
8*b7c941bbSAndroid Build Coastguard Worker          http://www.apache.org/licenses/LICENSE-2.0
9*b7c941bbSAndroid Build Coastguard Worker
10*b7c941bbSAndroid Build Coastguard Worker     Unless required by applicable law or agreed to in writing, software
11*b7c941bbSAndroid Build Coastguard Worker     distributed under the License is distributed on an "AS IS" BASIS,
12*b7c941bbSAndroid Build Coastguard Worker     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*b7c941bbSAndroid Build Coastguard Worker     See the License for the specific language governing permissions and
14*b7c941bbSAndroid Build Coastguard Worker     limitations under the License.
15*b7c941bbSAndroid Build Coastguard Worker-->
16*b7c941bbSAndroid Build Coastguard Worker
17*b7c941bbSAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18*b7c941bbSAndroid Build Coastguard Worker     package="com.android.cts.vpnfirewall">
19*b7c941bbSAndroid Build Coastguard Worker
20*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
21*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
22*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE"/>
23*b7c941bbSAndroid Build Coastguard Worker
24*b7c941bbSAndroid Build Coastguard Worker    <application android:label="@string/app">
25*b7c941bbSAndroid Build Coastguard Worker        <activity android:name=".VpnClient"
26*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
27*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
28*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.intent.action.MAIN"/>
29*b7c941bbSAndroid Build Coastguard Worker                <action android:name="com.android.cts.vpnfirewall.action.CONNECT_AND_FINISH"/>
30*b7c941bbSAndroid Build Coastguard Worker                <action android:name="com.android.cts.vpnfirewall.action.DISCONNECT_AND_FINISH"/>
31*b7c941bbSAndroid Build Coastguard Worker                <category android:name="android.intent.category.LAUNCHER"/>
32*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
33*b7c941bbSAndroid Build Coastguard Worker        </activity>
34*b7c941bbSAndroid Build Coastguard Worker
35*b7c941bbSAndroid Build Coastguard Worker        <service android:name=".ReflectorVpnService"
36*b7c941bbSAndroid Build Coastguard Worker             android:permission="android.permission.BIND_VPN_SERVICE"
37*b7c941bbSAndroid Build Coastguard Worker             android:foregroundServiceType="specialUse"
38*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
39*b7c941bbSAndroid Build Coastguard Worker            <property android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE" android:value="cts" />
40*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
41*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.net.VpnService"/>
42*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
43*b7c941bbSAndroid Build Coastguard Worker        </service>
44*b7c941bbSAndroid Build Coastguard Worker    </application>
45*b7c941bbSAndroid Build Coastguard Worker
46*b7c941bbSAndroid Build Coastguard Worker</manifest>
47