| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| * Copyright 2020 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| --> |
| |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| package="android.quickaccesswallet.cts" |
| android:targetSandboxVersion="2"> |
| |
| <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| <!-- Required for HostApduService --> |
| <uses-permission android:name="android.permission.NFC"/> |
| <!-- Required to test QuickAccessWalletClient feature availability --> |
| <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
| |
| <application> |
| <uses-library android:name="android.test.runner" /> |
| <activity android:name="android.quickaccesswallet.QuickAccessWalletActivity" > |
| <intent-filter> |
| <action android:name="android.intent.action.MAIN" /> |
| <category android:name="android.intent.category.LAUNCHER" /> |
| </intent-filter> |
| </activity> |
| |
| <activity android:name="android.quickaccesswallet.QuickAccessWalletSettingsActivity"> |
| <intent-filter> |
| <action android:name="android.service.quickaccesswallet.action.VIEW_WALLET_SETTINGS" /> |
| <category android:name="android.intent.category.DEFAULT" /> |
| </intent-filter> |
| </activity> |
| |
| <service |
| android:name="android.quickaccesswallet.TestHostApduService" |
| android:exported="true" |
| android:permission="android.permission.BIND_NFC_SERVICE" |
| android:label="@string/app_name"> |
| <intent-filter> |
| <action android:name="android.nfc.cardemulation.action.HOST_APDU_SERVICE"/> |
| <category android:name="android.intent.category.DEFAULT"/> |
| </intent-filter> |
| <meta-data |
| android:name="android.nfc.cardemulation.host_apdu_service" |
| android:resource="@xml/hce_aids"/> |
| </service> |
| |
| <service |
| android:name="android.quickaccesswallet.TestQuickAccessWalletService" |
| android:enabled="true" |
| android:label="@string/app_name" |
| android:icon="@drawable/android" |
| android:permission="android.permission.BIND_QUICK_ACCESS_WALLET_SERVICE"> |
| <intent-filter> |
| <action android:name="android.service.quickaccesswallet.QuickAccessWalletService" /> |
| <category android:name="android.intent.category.DEFAULT"/> |
| </intent-filter> |
| <meta-data android:name="android.quickaccesswallet" |
| android:resource="@xml/quickaccesswallet_configuration" />; |
| </service> |
| |
| <service |
| android:name="android.quickaccesswallet.NoPermissionQuickAccessWalletService" |
| android:enabled="false" |
| android:label="@string/app_name" |
| android:icon="@drawable/android"> |
| <intent-filter> |
| <action android:name="android.service.quickaccesswallet.QuickAccessWalletService" /> |
| <category android:name="android.intent.category.DEFAULT"/> |
| </intent-filter> |
| <meta-data android:name="android.quickaccesswallet" |
| android:resource="@xml/quickaccesswallet_configuration" />; |
| </service> |
| </application> |
| |
| <!-- self-instrumenting test package. --> |
| <instrumentation |
| android:name="androidx.test.runner.AndroidJUnitRunner" |
| android:label="Quick Access Wallet tests" |
| android:targetPackage="android.quickaccesswallet.cts" > |
| </instrumentation> |
| </manifest> |
| |