blob: 1ffa00a263bfa41e6eee62d988ba3850aaf6711a [file] [log] [blame]
Bookatz0ac354b2017-12-08 13:32:27 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 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"
Jeffrey Huangbd3573f2020-10-22 11:14:51 -070018 package="com.android.server.cts.device.statsdatom"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070019 android:versionCode="10">
20 <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/>
Bookatz68a398f2018-08-29 10:51:06 -070021 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
Tej Singh9a241b42018-01-04 14:34:06 -080022 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
Bookatz0ac354b2017-12-08 13:32:27 -080023 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
Bookatz0ac354b2017-12-08 13:32:27 -080024 <uses-permission android:name="android.permission.BLUETOOTH"/>
25 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
Tej Singh9d867e32017-12-22 18:14:44 -080026 <uses-permission android:name="android.permission.CAMERA"/>
junyulai6f07ed12020-03-19 15:51:19 +080027 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/>
Tej Singh9a241b42018-01-04 14:34:06 -080028 <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/>
Bookatz68a398f2018-08-29 10:51:06 -070029 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070030 <uses-permission android:name="android.permission.CONFIGURE_DISPLAY_BRIGHTNESS"/>
31 <uses-permission android:name="android.permission.DUMP"/> <!-- must be granted via pm grant -->
32 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
33 <uses-permission android:name="android.permission.INTERNET"/>
34 <uses-permission android:name="android.permission.READ_SYNC_STATS"/>
35 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
36 <uses-permission android:name="android.permission.VIBRATE"/>
37 <uses-permission android:name="android.permission.WAKE_LOCK"/>
38 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
tsaichristine537b5c42020-09-08 17:18:54 -070039 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/>
Bookatz0ac354b2017-12-08 13:32:27 -080040
Bookatz0ac354b2017-12-08 13:32:27 -080041 <application android:label="@string/app_name">
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070042 <uses-library android:name="android.test.runner"/>
43 <uses-library android:name="org.apache.http.legacy"
44 android:required="false"/>
Bookatzbb61b8e2018-01-08 10:36:39 -080045
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070046 <service android:name=".StatsdCtsBackgroundService"
47 android:exported="true"/>
Ioannis Ilkos2c1cbfe2021-01-20 13:30:01 +000048 <service android:name=".LmkVictimBackgroundService"
49 android:process=":lmk_victim"
50 android:exported="true"/>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070051 <activity android:name=".StatsdCtsForegroundActivity"
52 android:exported="true"/>
Stanislav Zholnin482a7692020-04-02 12:59:49 +010053 <service android:name=".StatsdCtsForegroundService"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070054 android:foregroundServiceType="camera"
55 android:exported="true"/>
Bookatzbb61b8e2018-01-08 10:36:39 -080056
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070057 <activity android:name=".VideoPlayerActivity"
58 android:label="@string/app_name"
59 android:resizeableActivity="true"
60 android:supportsPictureInPicture="true"
61 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation"
62 android:launchMode="singleTop"
63 android:exported="true">
Chenjie Yudbb3c3b2018-01-04 19:41:08 -080064 <intent-filter>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070065 <action android:name="android.intent.action.MAIN"/>
66 <category android:name="android.intent.category.LAUNCHER"/>
Chenjie Yudbb3c3b2018-01-04 19:41:08 -080067 </intent-filter>
68 </activity>
Bookatzbb61b8e2018-01-08 10:36:39 -080069
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070070 <activity android:name=".DaveyActivity"
71 android:exported="true"/>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070072 <activity android:name=".ANRActivity"
73 android:label="ANR Test Activity"
74 android:launchMode="singleInstance"
75 android:process=":ANRProcess"
76 android:exported="true"/>
Tej Singh2bed51b2018-01-27 13:15:57 -080077
Tej Singh6bceabd2018-01-05 21:50:43 -080078 <service android:name=".StatsdAuthenticator"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070079 android:exported="false">
Tej Singh6bceabd2018-01-05 21:50:43 -080080 <intent-filter>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070081 <action android:name="android.accounts.AccountAuthenticator"/>
Tej Singh6bceabd2018-01-05 21:50:43 -080082 </intent-filter>
83
84 <meta-data android:name="android.accounts.AccountAuthenticator"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070085 android:resource="@xml/authenticator"/>
Tej Singh6bceabd2018-01-05 21:50:43 -080086 </service>
87 <service android:name="StatsdSyncService"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070088 android:exported="false">
Tej Singh6bceabd2018-01-05 21:50:43 -080089 <intent-filter>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070090 <action android:name="android.content.SyncAdapter"/>
Tej Singh6bceabd2018-01-05 21:50:43 -080091 </intent-filter>
92 <meta-data android:name="android.content.SyncAdapter"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070093 android:resource="@xml/syncadapter"/>
Tej Singh6bceabd2018-01-05 21:50:43 -080094 </service>
95
96 <provider android:name=".StatsdProvider"
Jeffrey Huangbd3573f2020-10-22 11:14:51 -070097 android:authorities="com.android.server.cts.device.statsdatom.provider"/>
Tej Singh6bceabd2018-01-05 21:50:43 -080098
Tej Singhb1415192018-01-05 22:54:00 -080099 <service android:name=".StatsdJobService"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -0700100 android:permission="android.permission.BIND_JOB_SERVICE"/>
Philip P. Moltmann567813d2019-01-30 12:24:57 -0800101
102 <service android:name=".DummyCallscreeningService"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -0700103 android:permission="android.permission.BIND_SCREENING_SERVICE"
104 android:exported="true">
Philip P. Moltmann567813d2019-01-30 12:24:57 -0800105 <intent-filter>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -0700106 <action android:name="android.telecom.CallScreeningService"/>
Philip P. Moltmann567813d2019-01-30 12:24:57 -0800107 </intent-filter>
108 </service>
Ruchir Rastogi32a40c62020-04-13 10:56:23 -0700109
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -0700110 <service android:name=".IsolatedProcessService"
111 android:isolatedProcess="true"/>
Bookatz0ac354b2017-12-08 13:32:27 -0800112 </application>
113
Brett Chabot244f0382019-02-15 13:02:34 -0800114 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
Jeffrey Huangbd3573f2020-10-22 11:14:51 -0700115 android:targetPackage="com.android.server.cts.device.statsdatom"
116 android:label="CTS tests of android.os.statsdatom stats collection">
Bookatz0ac354b2017-12-08 13:32:27 -0800117 <meta-data android:name="listener"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -0700118 android:value="com.android.cts.runner.CtsTestRunListener"/>
Muhammad Qureshi1ec1df32020-08-27 15:35:17 -0700119 </instrumentation>
Muhammad Qureshiedc78362019-04-16 14:05:00 -0700120</manifest>