1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2017 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.internal.tests"> 20 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> 21 <uses-permission android:name="android.permission.BIND_WALLPAPER"/> 22 <!-- Allow the test to connect to perfetto trace processor --> 23 <uses-permission android:name="android.permission.INTERNET"/> 24 <application 25 android:requestLegacyExternalStorage="true" 26 android:networkSecurityConfig="@xml/network_security_config"> 27 <uses-library android:name="android.test.runner"/> 28 29 <service android:name="stub.DummyWallpaperService" 30 android:enabled="true" 31 android:directBootAware="true" 32 android:label="Dummy wallpaper" 33 android:permission="android.permission.BIND_WALLPAPER" 34 android:exported="true"> 35 36 <intent-filter> 37 <action android:name="android.service.wallpaper.WallpaperService"/> 38 </intent-filter> 39 40 <!-- Link to XML that defines the wallpaper info. --> 41 <meta-data android:name="android.service.wallpaper" 42 android:resource="@xml/livewallpaper"/> 43 </service> 44 </application> 45 46 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 47 android:targetPackage="com.android.internal.tests" 48 android:label="Internal Tests"/> 49</manifest> 50