xref: /aosp_15_r20/frameworks/base/tests/AppJankTest/AndroidManifest.xml (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2024 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19          package="android.app.jank.tests">
20
21    <application android:appCategory="news">
22        <activity android:name=".JankTrackerActivity"
23                  android:exported="true"
24                  android:label="JankTrackerActivity"
25                  android:launchMode="singleTop">
26            <intent-filter>
27                <action android:name="android.intent.action.MAIN"/>
28                <action android:name="android.intent.action.VIEW_PERMISSION_USAGE"/>
29            </intent-filter>
30        </activity>
31        <activity android:name=".EmptyActivity"
32                  android:exported="true"
33                  android:label="EmptyActivity">
34            <intent-filter>
35                <action android:name="android.intent.action.MAIN"/>
36                <action android:name="android.intent.action.VIEW_PERMISSION_USAGE"/>
37            </intent-filter>
38        </activity>
39        <uses-library android:name="android.test.runner"/>
40    </application>
41
42    <!--  self-instrumenting test package. -->
43    <instrumentation
44        android:name="androidx.test.runner.AndroidJUnitRunner"
45        android:label="Core tests of App Jank Tracking"
46        android:targetPackage="android.app.jank.tests">
47    </instrumentation>
48
49</manifest>