1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3    xmlns:tools="http://schemas.android.com/tools"
4    package="com.android.perftests.core">
5
6    <permission android:name="com.android.perftests.core.TestPermission" />
7    <uses-permission android:name="com.android.perftests.core.TestPermission" />
8
9    <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" />
10    <uses-permission android:name="android.permission.DELETE_PACKAGES" />
11    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
12    <uses-permission android:name="android.permission.INSTALL_PACKAGES"/>
13    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
14    <uses-permission android:name="android.permission.INTERNET" />
15    <uses-permission android:name="android.permission.VIBRATE" />
16    <uses-permission android:name="android.permission.DEVICE_POWER" />
17    <uses-permission android:name="android.permission.CONTROL_DISPLAY_BRIGHTNESS" />
18    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
19    <application>
20        <uses-library android:name="android.test.runner" />
21        <profileable android:shell="true" />
22        <activity android:name="android.perftests.utils.PerfTestActivity"
23            android:exported="true">
24          <intent-filter>
25            <action android:name="com.android.perftests.core.PERFTEST" />
26          </intent-filter>
27        </activity>
28
29        <service
30            android:name="android.os.SomeService"
31            android:exported="false"
32            android:process=":some_service" />
33
34        <provider
35            android:name="android.os.SomeProvider"
36            android:authorities="android.os.SomeProvider"
37            android:exported="false"
38            android:process=":some_provider" />
39
40        <!-- We remove EmojiCompat initializer here because it may crash the test process
41             if the initializer runs while TypefaceSerializationPerfTest is running. -->
42        <provider
43            android:name="androidx.startup.InitializationProvider"
44            android:authorities="${applicationId}.androidx-startup"
45            android:exported="false"
46            tools:node="merge">
47            <meta-data android:name="androidx.emoji2.text.EmojiCompatInitializer"
48                tools:node="remove" />
49        </provider>
50
51        <service
52            android:name="android.view.autofill.MyAutofillService"
53            android:label="PERF AutofillService"
54            android:permission="android.permission.BIND_AUTOFILL_SERVICE"
55            android:exported="true">
56            <intent-filter>
57                <action android:name="android.service.autofill.AutofillService" />
58            </intent-filter>
59        </service>
60
61    </application>
62
63    <instrumentation android:name="androidx.benchmark.junit4.AndroidBenchmarkRunner"
64        android:targetPackage="com.android.perftests.core"/>
65
66</manifest>
67