1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2022 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 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:tools="http://schemas.android.com/tools" 21 package="com.android.adservices.tests.ui"> 22 23 <!-- New permission introduced in T+ devices needed to show notifications. --> 24 <uses-permission android:name="android.permission.POST_NOTIFICATIONS"/> 25 26 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 27 <!--acts as an application that uses adservices in order for PPAPI to be enabled and notification to be displayed--> 28 <uses-permission android:name="android.permission.ACCESS_ADSERVICES_TOPICS" /> 29 30 <!-- Permissions required for reading device configs --> 31 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG"/> 32 33 <application android:debuggable="true"> 34 <!-- Activity for the main view of Adservices Settings UI--> 35 <activity 36 android:name="com.android.adservices.ui.settings.activities.AdServicesSettingsMainActivity" 37 android:exported="true" 38 android:theme="@style/Theme.SubSettingsBase"> 39 <intent-filter android:priority="1"> 40 <action android:name="android.test.adservices.ui.MAIN" /> 41 <category android:name="android.intent.category.DEFAULT" /> 42 </intent-filter> 43 </activity> 44 45 <!-- Activity for the topics view of Adservices Settings UI--> 46 <activity 47 android:name="com.android.adservices.ui.settings.activities.TopicsActivity" 48 android:exported="true" 49 android:theme="@style/Theme.SubSettingsBase"> 50 <intent-filter android:priority="1"> 51 <action android:name="android.test.adservices.ui.TOPICS" /> 52 <category android:name="android.intent.category.DEFAULT" /> 53 </intent-filter> 54 </activity> 55 56 <!-- Activity for the blocked topics view of Adservices Settings UI--> 57 <activity 58 android:name="com.android.adservices.ui.settings.activities.BlockedTopicsActivity" 59 android:exported="true" 60 android:theme="@style/Theme.SubSettingsBase"> 61 <intent-filter android:priority="1"> 62 <action android:name="android.test.adservices.ui.BLOCKED_TOPICS" /> 63 <category android:name="android.intent.category.DEFAULT" /> 64 </intent-filter> 65 </activity> 66 67 <!-- Activity for the apps view of Adservices Settings UI--> 68 <activity 69 android:name="com.android.adservices.ui.settings.activities.AppsActivity" 70 android:exported="true" 71 android:theme="@style/Theme.SubSettingsBase"> 72 <intent-filter android:priority="1"> 73 <action android:name="android.test.adservices.ui.APPS" /> 74 <category android:name="android.intent.category.DEFAULT" /> 75 </intent-filter> 76 </activity> 77 78 <!-- Activity for the blocked apps view of Adservices Settings UI--> 79 <activity 80 android:name="com.android.adservices.ui.settings.activities.BlockedAppsActivity" 81 android:exported="true" 82 android:theme="@style/Theme.SubSettingsBase"> 83 <intent-filter android:priority="1"> 84 <action android:name="android.test.adservices.ui.BLOCKED_APPS" /> 85 <category android:name="android.intent.category.DEFAULT" /> 86 </intent-filter> 87 </activity> 88 89 <!-- Activity for the ads measurement view of AdServices Settings UI--> 90 <activity 91 android:name="com.android.adservices.ui.settings.activities.MeasurementActivity" 92 android:exported="true" 93 android:theme="@style/Theme.SubSettingsBase"> 94 <intent-filter android:priority="1"> 95 <action android:name="android.adservices.ui.MEASUREMENT" /> 96 <category android:name="android.intent.category.DEFAULT" /> 97 </intent-filter> 98 </activity> 99 100 </application> 101 102 <instrumentation 103 android:name="androidx.test.runner.AndroidJUnitRunner" 104 android:label="AdServices UI Test Cases" 105 android:targetPackage="com.android.adservices.tests.ui" /> 106</manifest> 107