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 28 <queries> 29 <package android:name="android.sample.quickaccesswallet.app" /> 30 </queries> 31 32 <application android:testOnly="true"> 33 <uses-library android:name="android.test.runner"/> 34 <activity android:name="android.quickaccesswallet.QuickAccessWalletActivity" 35 android:exported="true"> 36 <intent-filter> 37 <action android:name="android.intent.action.MAIN"/> 38 <category android:name="android.intent.category.LAUNCHER"/> 39 </intent-filter> 40 </activity> 41 42 <activity android:name="android.quickaccesswallet.QuickAccessWalletSettingsActivity" 43 android:exported="true"> 44 <intent-filter> 45 <action android:name="android.service.quickaccesswallet.action.VIEW_WALLET_SETTINGS"/> 46 <category android:name="android.intent.category.DEFAULT"/> 47 </intent-filter> 48 </activity> 49 50 <activity android:name="android.quickaccesswallet.delegate.QuickAccessWalletDelegateTargetActivity" 51 android:exported="false" 52 android:enabled="true"> 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 <service android:name="android.quickaccesswallet.TestHostApduService" 60 android:exported="true" 61 android:permission="android.permission.BIND_NFC_SERVICE" 62 android:label="@string/app_name"> 63 <intent-filter> 64 <action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE"/> 65 <category android:name="android.intent.category.DEFAULT"/> 66 </intent-filter> 67 <meta-data android:name="android.nfc.cardemulation.host_apdu_service" 68 android:resource="@xml/hce_aids"/> 69 </service> 70 71 <service android:name="android.quickaccesswallet.TestQuickAccessWalletService" 72 android:enabled="true" 73 android:label="@string/app_name" 74 android:icon="@drawable/android" 75 android:permission="android.permission.BIND_QUICK_ACCESS_WALLET_SERVICE" 76 android:exported="true"> 77 <intent-filter> 78 <action android:name="android.service.quickaccesswallet.QuickAccessWalletService"/> 79 <category android:name="android.intent.category.DEFAULT"/> 80 </intent-filter> 81 <meta-data android:name="android.quickaccesswallet" 82 android:resource="@xml/quickaccesswallet_configuration"/>; 83 </service> 84 85 86 <service android:name="android.quickaccesswallet.QuickAccessWalletDelegateTargetActivityService" 87 android:enabled="false" 88 android:label="@string/app_name" 89 android:icon="@drawable/android" 90 android:permission="android.permission.BIND_QUICK_ACCESS_WALLET_SERVICE" 91 android:exported="true"> 92 <intent-filter> 93 <action android:name="android.service.quickaccesswallet.QuickAccessWalletService"/> 94 <category android:name="android.intent.category.DEFAULT"/> 95 </intent-filter> 96 <meta-data android:name="android.quickaccesswallet" 97 android:resource="@xml/quickaccesswallet_configuration"/> 98 </service> 99 100 101 <service android:name="android.quickaccesswallet.NoPermissionQuickAccessWalletService" 102 android:enabled="false" 103 android:label="@string/app_name" 104 android:icon="@drawable/android" 105 android:exported="true"> 106 <intent-filter> 107 <action android:name="android.service.quickaccesswallet.QuickAccessWalletService"/> 108 <category android:name="android.intent.category.DEFAULT"/> 109 </intent-filter> 110 <meta-data android:name="android.quickaccesswallet" 111 android:resource="@xml/quickaccesswallet_configuration"/>; 112 </service> 113 </application> 114 115 <!-- self-instrumenting test package. --> 116 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 117 android:label="Quick Access Wallet tests" 118 android:targetPackage="android.quickaccesswallet.cts"> 119 </instrumentation> 120</manifest> 121