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 xmlns:android="http://schemas.android.com/apk/res/android" 19 package="com.android.adservices.servicecoretest" > 20 21 <uses-permission android:name="android.permission.INTERNET" /> 22 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 23 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> 24 25 <uses-permission android:name="android.permission.ACCESS_ADSERVICES_AD_ID" /> 26 <uses-permission android:name="android.permission.ACCESS_ADSERVICES_TOPICS" /> 27 <uses-permission android:name="android.permission.ACCESS_ADSERVICES_CUSTOM_AUDIENCE" /> 28 <uses-permission android:name="android.permission.ACCESS_ADSERVICES_PROTECTED_SIGNALS" /> 29 30 <!-- Needed to resolve Intent to ComponentName for measurement verifiedDestination --> 31 <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES"/> 32 33 <!-- Needed to schedule MDD jobs to persist across device reboots --> 34 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> 35 36 <!-- android:debuggable="true is needed. See b/228384531 --> 37 <application 38 android:debuggable="true" 39 android:networkSecurityConfig="@xml/network_security_config"> 40 <property android:name="android.adservices.AD_SERVICES_CONFIG" 41 android:resource="@xml/ad_services_config" /> 42 43 <!-- App Manifest Config that does not declare <includes-sdk-library> --> 44 <property android:name="android.adservices.AD_SERVICES_CONFIG.sdkTagMissing" 45 android:resource="@xml/ad_services_config_missing_sdk_tag" /> 46 47 <!-- App Manifest Config that does not include the sdk using Topics --> 48 <property android:name="android.adservices.AD_SERVICES_CONFIG.sdkMissing" 49 android:resource="@xml/ad_services_config_missing_sdk" /> 50 51 <!-- FLEDGE Background Fetch Job --> 52 <service android:name= 53 "com.android.adservices.service.customaudience.BackgroundFetchJobService" 54 android:permission="android.permission.BIND_JOB_SERVICE"> 55 </service> 56 57 <!-- FLEDGE Schedule Custom Audience Update Job --> 58 <service android:name= 59 "com.android.adservices.service.customaudience.ScheduleCustomAudienceUpdateJobService" 60 android:permission="android.permission.BIND_JOB_SERVICE"> 61 </service> 62 63 <!-- FLEDGE Background Key Fetch Job --> 64 <service android:name= 65 "com.android.adservices.service.adselection.encryption.BackgroundKeyFetchJobService" 66 android:permission="android.permission.BIND_JOB_SERVICE"> 67 </service> 68 <!-- FLEDGE Ad selection debug report sender Job --> 69 <service android:name= 70 "com.android.adservices.service.adselection.DebugReportSenderJobService" 71 android:permission="android.permission.BIND_JOB_SERVICE"> 72 </service> 73 <!-- FLEDGE Protected Signals periodic encoding job --> 74 <service android:name= 75 "com.android.adservices.service.signals.PeriodicEncodingJobService" 76 android:permission="android.permission.BIND_JOB_SERVICE"> 77 </service> 78 79 <!-- FLEDGE KAnon sign join background job --> 80 <service android:name= 81 "com.android.adservices.service.kanon.KAnonSignJoinBackgroundJobService" 82 android:permission="android.permission.BIND_JOB_SERVICE"> 83 </service> 84 85 <!-- Topics Epoch/Maintenance Service Job. Must be defined here in order to schedule them in 86 job scheduler. --> 87 <service android:name= 88 "com.android.adservices.service.topics.EpochJobService" 89 android:permission="android.permission.BIND_JOB_SERVICE"> 90 </service> 91 <service android:name= 92 "com.android.adservices.service.MaintenanceJobService" 93 android:permission="android.permission.BIND_JOB_SERVICE"> 94 </service> 95 <!-- Measurement debug report upload job. --> 96 <service android:name="com.android.adservices.service.measurement.reporting.DebugReportingJobService" 97 android:permission="android.permission.BIND_JOB_SERVICE"> 98 </service> 99 <!-- Measurement verbose debug report upload job. --> 100 <service android:name="com.android.adservices.service.measurement.reporting.VerboseDebugReportingJobService" 101 android:permission="android.permission.BIND_JOB_SERVICE"> 102 </service> 103 <!-- MDD Service Job. Must be defined here in order to schedule them in Tests. --> 104 <service android:name= 105 "com.android.adservices.download.MddJobService" 106 android:permission="android.permission.BIND_JOB_SERVICE"> 107 </service> 108 <!-- Cobalt Logging Job --> 109 <service 110 android:name="com.android.adservices.cobalt.CobaltJobService" 111 android:permission="android.permission.BIND_JOB_SERVICE"> 112 </service> 113 <provider 114 android:name="com.android.adservices.common.AdServicesTestingProvider" 115 android:authorities="com.android.adservices.provider.testing" 116 android:exported="false" 117 /> 118 <uses-library android:name="android.ext.adservices" android:required="false" /> 119 </application> 120 <instrumentation 121 android:name="androidx.test.runner.AndroidJUnitRunner" 122 android:targetPackage="com.android.adservices.servicecoretest" > 123 </instrumentation> 124</manifest> 125