1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 * Copyright 2020 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="android.quickaccesswallet.cts" 20 android:targetSandboxVersion="2"> 21 22 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 23 <!-- Required for HostApduService --> 24 <uses-permission android:name="android.permission.NFC"/> 25 <!-- Required to test QuickAccessWalletClient feature availability --> 26 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> 27 <!-- Required to set the role holder --> 28 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL"/> 29 30 <queries> 31 <package android:name="android.sample.quickaccesswallet.app" /> 32 </queries> 33 34 <application android:testOnly="true"> 35 <uses-library android:name="android.test.runner"/> 36 <activity android:name="android.quickaccesswallet.QuickAccessWalletActivity" 37 android:exported="true"> 38 <intent-filter> 39 <action android:name="android.intent.action.MAIN"/> 40 <category android:name="android.intent.category.LAUNCHER"/> 41 </intent-filter> 42 </activity> 43 44 <activity android:name="android.quickaccesswallet.QuickAccessWalletSettingsActivity" 45 android:exported="true"> 46 <intent-filter> 47 <action android:name="android.service.quickaccesswallet.action.VIEW_WALLET_SETTINGS"/> 48 <category android:name="android.intent.category.DEFAULT"/> 49 </intent-filter> 50 </activity> 51 52 <activity android:name="android.quickaccesswallet.delegate.QuickAccessWalletDelegateTargetActivity" 53 android:exported="false" 54 android:enabled="true"> 55 <intent-filter> 56 <action android:name="android.intent.action.MAIN"/> 57 <category android:name="android.intent.category.LAUNCHER"/> 58 </intent-filter> 59 </activity> 60 61 <service android:name="android.quickaccesswallet.TestHostApduService" 62 android:exported="true" 63 android:permission="android.permission.BIND_NFC_SERVICE" 64 android:label="@string/app_name"> 65 <intent-filter> 66 <action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE"/> 67 <category android:name="android.intent.category.DEFAULT"/> 68 </intent-filter> 69 <meta-data android:name="android.nfc.cardemulation.host_apdu_service" 70 android:resource="@xml/hce_aids"/> 71 </service> 72 73 <service android:name="android.quickaccesswallet.TestQuickAccessWalletService" 74 android:enabled="true" 75 android:label="@string/app_name" 76 android:icon="@drawable/android" 77 android:permission="android.permission.BIND_QUICK_ACCESS_WALLET_SERVICE" 78 android:exported="true"> 79 <intent-filter> 80 <action android:name="android.service.quickaccesswallet.QuickAccessWalletService"/> 81 <category android:name="android.intent.category.DEFAULT"/> 82 </intent-filter> 83 <meta-data android:name="android.quickaccesswallet" 84 android:resource="@xml/quickaccesswallet_configuration"/>; 85 </service> 86 87 88 <service android:name="android.quickaccesswallet.QuickAccessWalletDelegateTargetActivityService" 89 android:enabled="false" 90 android:label="@string/app_name" 91 android:icon="@drawable/android" 92 android:permission="android.permission.BIND_QUICK_ACCESS_WALLET_SERVICE" 93 android:exported="true"> 94 <intent-filter> 95 <action android:name="android.service.quickaccesswallet.QuickAccessWalletService"/> 96 <category android:name="android.intent.category.DEFAULT"/> 97 </intent-filter> 98 <meta-data android:name="android.quickaccesswallet" 99 android:resource="@xml/quickaccesswallet_configuration"/> 100 </service> 101 102 103 <service android:name="android.quickaccesswallet.NoPermissionQuickAccessWalletService" 104 android:enabled="false" 105 android:label="@string/app_name" 106 android:icon="@drawable/android" 107 android:exported="true"> 108 <intent-filter> 109 <action android:name="android.service.quickaccesswallet.QuickAccessWalletService"/> 110 <category android:name="android.intent.category.DEFAULT"/> 111 </intent-filter> 112 <meta-data android:name="android.quickaccesswallet" 113 android:resource="@xml/quickaccesswallet_configuration"/>; 114 </service> 115 </application> 116 117 <!-- self-instrumenting test package. --> 118 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 119 android:label="Quick Access Wallet tests" 120 android:targetPackage="android.quickaccesswallet.cts"> 121 </instrumentation> 122</manifest> 123