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 <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" /> 20 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> 21 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 22 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> 23 <uses-permission android:name="android.permission.BLUETOOTH"/> 24 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> 25 <uses-permission android:name="android.permission.CAMERA"/> 26 <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE"/> 27 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> 28 <uses-permission android:name="android.permission.CONFIGURE_DISPLAY_BRIGHTNESS" /> 29 <uses-permission android:name="android.permission.DUMP" /> <!-- must be granted via pm grant --> 30 <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> 31 <uses-permission android:name="android.permission.INTERNET" /> 32 <uses-permission android:name="android.permission.READ_SYNC_STATS" /> 33 <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> 34 <uses-permission android:name="android.permission.VIBRATE" /> 35 <uses-permission android:name="android.permission.WAKE_LOCK" /> 36 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> 37 38 <application android:label="@string/app_name"> 39 <uses-library android:name="android.test.runner" /> 40 <uses-library android:name="org.apache.http.legacy" android:required="false" /> 41 42 <service android:name=".StatsdCtsBackgroundService" android:exported="true" /> 43 <activity android:name=".StatsdCtsForegroundActivity" android:exported="true" /> 44 <service android:name=".StatsdCtsForegroundService" android:exported="true" /> 45 46 <activity 47 android:name=".VideoPlayerActivity" 48 android:label="@string/app_name" 49 android:resizeableActivity="true" 50 android:supportsPictureInPicture="true" 51 android:configChanges="screenSize|smallestScreenSize|screenLayout|orientation" 52 android:launchMode="singleTop" > 53 <intent-filter> 54 <action android:name="android.intent.action.MAIN" /> 55 <category android:name="android.intent.category.LAUNCHER" /> 56 </intent-filter> 57 </activity> 58 59 <activity android:name=".DaveyActivity" android:exported="true" /> 60 <activity android:name=".HiddenApiUsedActivity" android:exported="true" /> 61 <activity 62 android:name=".ANRActivity" 63 android:label="ANR Test Activity" 64 android:launchMode="singleInstance" 65 android:process=":ANRProcess" 66 android:exported="true" 67 /> 68 69 <service android:name=".StatsdAuthenticator" 70 android:exported="false"> 71 <intent-filter> 72 <action android:name="android.accounts.AccountAuthenticator" /> 73 </intent-filter> 74 75 <meta-data android:name="android.accounts.AccountAuthenticator" 76 android:resource="@xml/authenticator" /> 77 </service> 78 <service android:name="StatsdSyncService" 79 android:exported="false" > 80 <intent-filter> 81 <action android:name="android.content.SyncAdapter" /> 82 </intent-filter> 83 <meta-data android:name="android.content.SyncAdapter" 84 android:resource="@xml/syncadapter" /> 85 </service> 86 87 <provider android:name=".StatsdProvider" 88 android:authorities="com.android.server.cts.device.statsd.provider" /> 89 90 <service android:name=".StatsdJobService" 91 android:permission="android.permission.BIND_JOB_SERVICE" /> 92 93 <service android:name=".DummyCallscreeningService" 94 android:permission="android.permission.BIND_SCREENING_SERVICE"> 95 <intent-filter> 96 <action android:name="android.telecom.CallScreeningService" /> 97 </intent-filter> 98 </service> 99 </application> 100 101 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 102 android:targetPackage="com.android.server.cts.device.statsd" 103 android:label="CTS tests of android.os.statsd stats collection"> 104 <meta-data android:name="listener" 105 android:value="com.android.cts.runner.CtsTestRunListener" /> 106 </instrumentation>/> 107</manifest> 108