xref: /aosp_15_r20/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/AndroidManifest.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*b7c941bbSAndroid Build Coastguard Worker<!-- Copyright (C) 2015 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.useprocess">
19*b7c941bbSAndroid Build Coastguard Worker
20*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.INTERNET" />
21*b7c941bbSAndroid Build Coastguard Worker
22*b7c941bbSAndroid Build Coastguard Worker    <application>
23*b7c941bbSAndroid Build Coastguard Worker        <processes>
24*b7c941bbSAndroid Build Coastguard Worker            <process />
25*b7c941bbSAndroid Build Coastguard Worker            <deny-permission android:name="android.permission.INTERNET" />
26*b7c941bbSAndroid Build Coastguard Worker            <process android:process=":withoutnet1" />
27*b7c941bbSAndroid Build Coastguard Worker            <process android:process="com.android.cts.useprocess.withnet1">
28*b7c941bbSAndroid Build Coastguard Worker                <allow-permission android:name="android.permission.INTERNET" />
29*b7c941bbSAndroid Build Coastguard Worker            </process>
30*b7c941bbSAndroid Build Coastguard Worker            <allow-permission android:name="android.permission.INTERNET" />
31*b7c941bbSAndroid Build Coastguard Worker            <process android:process=":withoutnet2">
32*b7c941bbSAndroid Build Coastguard Worker                <deny-permission android:name="android.permission.INTERNET" />
33*b7c941bbSAndroid Build Coastguard Worker            </process>
34*b7c941bbSAndroid Build Coastguard Worker            <process android:process="com.android.cts.useprocess.withnet2" />
35*b7c941bbSAndroid Build Coastguard Worker        </processes>
36*b7c941bbSAndroid Build Coastguard Worker
37*b7c941bbSAndroid Build Coastguard Worker        <activity android:name=".ActivityWithNetwork1" android:exported="true" />
38*b7c941bbSAndroid Build Coastguard Worker        <activity android:name=".ActivityWithoutNetwork1" android:exported="true"
39*b7c941bbSAndroid Build Coastguard Worker            android:process=":withoutnet1" />
40*b7c941bbSAndroid Build Coastguard Worker        <activity android:name=".ActivityWithNetwork2" android:exported="true"
41*b7c941bbSAndroid Build Coastguard Worker            android:process="com.android.cts.useprocess.withnet1" />
42*b7c941bbSAndroid Build Coastguard Worker        <service android:name=".ServiceWithNetwork1" />
43*b7c941bbSAndroid Build Coastguard Worker        <service android:name=".ServiceWithNetwork2"
44*b7c941bbSAndroid Build Coastguard Worker            android:process="com.android.cts.useprocess.withnet1" />
45*b7c941bbSAndroid Build Coastguard Worker        <service android:name=".ServiceWithNetwork3"
46*b7c941bbSAndroid Build Coastguard Worker            android:process="com.android.cts.useprocess.withnet2" />
47*b7c941bbSAndroid Build Coastguard Worker        <service android:name=".ServiceWithoutNetwork1" android:process=":withoutnet1" />
48*b7c941bbSAndroid Build Coastguard Worker        <service android:name=".ServiceWithoutNetwork2" android:process=":withoutnet2" />
49*b7c941bbSAndroid Build Coastguard Worker        <receiver android:name=".DummyReceiver1" />
50*b7c941bbSAndroid Build Coastguard Worker        <receiver android:name=".DummyReceiver2" android:process=":withoutnet2" />
51*b7c941bbSAndroid Build Coastguard Worker        <receiver android:name=".DummyReceiver3"
52*b7c941bbSAndroid Build Coastguard Worker            android:process="com.android.cts.useprocess.withnet2" />
53*b7c941bbSAndroid Build Coastguard Worker        <provider android:name=".ProviderWithNetwork1"
54*b7c941bbSAndroid Build Coastguard Worker            android:authorities="com.android.cts.useprocess.auth1"/>
55*b7c941bbSAndroid Build Coastguard Worker        <provider android:name=".ProviderWithoutNetwork1" android:process=":withoutnet1"
56*b7c941bbSAndroid Build Coastguard Worker            android:authorities="com.android.cts.useprocess.auth2"/>
57*b7c941bbSAndroid Build Coastguard Worker        <provider android:name=".ProviderWithNetwork2"
58*b7c941bbSAndroid Build Coastguard Worker            android:process="com.android.cts.useprocess.withnet2"
59*b7c941bbSAndroid Build Coastguard Worker            android:authorities="com.android.cts.useprocess.auth3"/>
60*b7c941bbSAndroid Build Coastguard Worker    </application>
61*b7c941bbSAndroid Build Coastguard Worker
62*b7c941bbSAndroid Build Coastguard Worker    <instrumentation android:targetPackage="com.android.cts.useprocess"
63*b7c941bbSAndroid Build Coastguard Worker        android:name="androidx.test.runner.AndroidJUnitRunner"/>
64*b7c941bbSAndroid Build Coastguard Worker</manifest>
65