1<?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" 18 package="com.android.server.cts.device.statsd" 19 android:versionCode="10"> 20 <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION"/> 21 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 22 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 23 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> 24 <uses-permission android:name="android.permission.BLUETOOTH"/> 25 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> 26 <uses-permission android:name="android.permission.CAMERA"/> 27 <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE"/> 28 <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/> 29 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> 30 <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"/> 39 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> 40 41 <uses-sdk android:minSdkVersion="24" android:targetSdkVersion="24" /> 42 <application android:label="@string/app_name"> 43 <uses-library android:name="android.test.runner"/> 44 <uses-library android:name="org.apache.http.legacy" 45 android:required="false"/> 46 47 <service android:name=".StatsdCtsBackgroundService" 48 android:exported="true"/> 49 <activity android:name=".StatsdCtsForegroundActivity" 50 android:exported="true"/> 51 <service android:name=".StatsdCtsForegroundService" 52 android:foregroundServiceType="camera" 53 android:exported="true"/> 54 55 <activity android:name=".VideoPlayerActivity" 56 android:label="@string/app_name" 57 android:resizeableActivity="true" 58 android:supportsPictureInPicture="true" 59 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" 60 android:launchMode="singleTop" 61 android:exported="true"> 62 <intent-filter> 63 <action android:name="android.intent.action.MAIN"/> 64 <category android:name="android.intent.category.LAUNCHER"/> 65 </intent-filter> 66 </activity> 67 68 <activity android:name=".DaveyActivity" 69 android:exported="true"/> 70 <activity android:name=".ANRActivity" 71 android:label="ANR Test Activity" 72 android:launchMode="singleInstance" 73 android:process=":ANRProcess" 74 android:exported="true"/> 75 76 <service android:name=".StatsdAuthenticator" 77 android:exported="false"> 78 <intent-filter> 79 <action android:name="android.accounts.AccountAuthenticator"/> 80 </intent-filter> 81 82 <meta-data android:name="android.accounts.AccountAuthenticator" 83 android:resource="@xml/authenticator"/> 84 </service> 85 <service android:name="StatsdSyncService" 86 android:exported="false"> 87 <intent-filter> 88 <action android:name="android.content.SyncAdapter"/> 89 </intent-filter> 90 <meta-data android:name="android.content.SyncAdapter" 91 android:resource="@xml/syncadapter"/> 92 </service> 93 94 <provider android:name=".StatsdProvider" 95 android:authorities="com.android.server.cts.device.statsd.provider"/> 96 97 <service android:name=".StatsdJobService" 98 android:permission="android.permission.BIND_JOB_SERVICE"/> 99 100 <service android:name=".DummyCallscreeningService" 101 android:permission="android.permission.BIND_SCREENING_SERVICE" 102 android:exported="true"> 103 <intent-filter> 104 <action android:name="android.telecom.CallScreeningService"/> 105 </intent-filter> 106 </service> 107 108 <service android:name=".IsolatedProcessService" 109 android:isolatedProcess="true"/> 110 </application> 111 112 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 113 android:targetPackage="com.android.server.cts.device.statsd" 114 android:label="CTS tests of android.os.statsd stats collection"> 115 <meta-data android:name="listener" 116 android:value="com.android.cts.runner.CtsTestRunListener"/> 117 </instrumentation> 118</manifest> 119