1*d57664e9SAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?> 2*d57664e9SAndroid Build Coastguard Worker<!-- 3*d57664e9SAndroid Build Coastguard Worker ~ Copyright (C) 2022 The Android Open Source Project 4*d57664e9SAndroid Build Coastguard Worker ~ 5*d57664e9SAndroid Build Coastguard Worker ~ Licensed under the Apache License, Version 2.0 (the "License"); 6*d57664e9SAndroid Build Coastguard Worker ~ you may not use this file except in compliance with the License. 7*d57664e9SAndroid Build Coastguard Worker ~ You may obtain a copy of the License at 8*d57664e9SAndroid Build Coastguard Worker ~ 9*d57664e9SAndroid Build Coastguard Worker ~ http://www.apache.org/licenses/LICENSE-2.0 10*d57664e9SAndroid Build Coastguard Worker ~ 11*d57664e9SAndroid Build Coastguard Worker ~ Unless required by applicable law or agreed to in writing, software 12*d57664e9SAndroid Build Coastguard Worker ~ distributed under the License is distributed on an "AS IS" BASIS, 13*d57664e9SAndroid Build Coastguard Worker ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14*d57664e9SAndroid Build Coastguard Worker ~ See the License for the specific language governing permissions and 15*d57664e9SAndroid Build Coastguard Worker ~ limitations under the License. 16*d57664e9SAndroid Build Coastguard Worker --> 17*d57664e9SAndroid Build Coastguard Worker 18*d57664e9SAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android" 19*d57664e9SAndroid Build Coastguard Worker package="android.trust.test" 20*d57664e9SAndroid Build Coastguard Worker android:targetSandboxVersion="2"> 21*d57664e9SAndroid Build Coastguard Worker 22*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE" /> 23*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" /> 24*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.CONTROL_KEYGUARD" /> 25*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.DEVICE_POWER" /> 26*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> 27*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> 28*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.MANAGE_USERS" /> 29*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.PROVIDE_TRUST_AGENT" /> 30*d57664e9SAndroid Build Coastguard Worker <uses-permission android:name="android.permission.TRUST_LISTENER" /> 31*d57664e9SAndroid Build Coastguard Worker 32*d57664e9SAndroid Build Coastguard Worker <application> 33*d57664e9SAndroid Build Coastguard Worker <uses-library android:name="android.test.runner"/> 34*d57664e9SAndroid Build Coastguard Worker <activity android:name="android.trust.TrustTestActivity" 35*d57664e9SAndroid Build Coastguard Worker android:exported="true"> 36*d57664e9SAndroid Build Coastguard Worker <intent-filter> 37*d57664e9SAndroid Build Coastguard Worker <action android:name="android.intent.action.MAIN"/> 38*d57664e9SAndroid Build Coastguard Worker <category android:name="android.intent.category.LAUNCHER"/> 39*d57664e9SAndroid Build Coastguard Worker </intent-filter> 40*d57664e9SAndroid Build Coastguard Worker </activity> 41*d57664e9SAndroid Build Coastguard Worker 42*d57664e9SAndroid Build Coastguard Worker <service 43*d57664e9SAndroid Build Coastguard Worker android:name=".UserUnlockRequestTrustAgent" 44*d57664e9SAndroid Build Coastguard Worker android:exported="true" 45*d57664e9SAndroid Build Coastguard Worker android:label="Test Agent" 46*d57664e9SAndroid Build Coastguard Worker android:permission="android.permission.BIND_TRUST_AGENT"> 47*d57664e9SAndroid Build Coastguard Worker <intent-filter> 48*d57664e9SAndroid Build Coastguard Worker <action android:name="android.service.trust.TrustAgentService" /> 49*d57664e9SAndroid Build Coastguard Worker </intent-filter> 50*d57664e9SAndroid Build Coastguard Worker </service> 51*d57664e9SAndroid Build Coastguard Worker 52*d57664e9SAndroid Build Coastguard Worker <service 53*d57664e9SAndroid Build Coastguard Worker android:name=".LockUserTrustAgent" 54*d57664e9SAndroid Build Coastguard Worker android:exported="true" 55*d57664e9SAndroid Build Coastguard Worker android:label="Test Agent" 56*d57664e9SAndroid Build Coastguard Worker android:permission="android.permission.BIND_TRUST_AGENT"> 57*d57664e9SAndroid Build Coastguard Worker <intent-filter> 58*d57664e9SAndroid Build Coastguard Worker <action android:name="android.service.trust.TrustAgentService" /> 59*d57664e9SAndroid Build Coastguard Worker </intent-filter> 60*d57664e9SAndroid Build Coastguard Worker </service> 61*d57664e9SAndroid Build Coastguard Worker 62*d57664e9SAndroid Build Coastguard Worker <service 63*d57664e9SAndroid Build Coastguard Worker android:name=".GrantAndRevokeTrustAgent" 64*d57664e9SAndroid Build Coastguard Worker android:exported="true" 65*d57664e9SAndroid Build Coastguard Worker android:label="Test Agent" 66*d57664e9SAndroid Build Coastguard Worker android:permission="android.permission.BIND_TRUST_AGENT"> 67*d57664e9SAndroid Build Coastguard Worker <intent-filter> 68*d57664e9SAndroid Build Coastguard Worker <action android:name="android.service.trust.TrustAgentService" /> 69*d57664e9SAndroid Build Coastguard Worker </intent-filter> 70*d57664e9SAndroid Build Coastguard Worker </service> 71*d57664e9SAndroid Build Coastguard Worker 72*d57664e9SAndroid Build Coastguard Worker <service 73*d57664e9SAndroid Build Coastguard Worker android:name=".TemporaryAndRenewableTrustAgent" 74*d57664e9SAndroid Build Coastguard Worker android:exported="true" 75*d57664e9SAndroid Build Coastguard Worker android:label="Test Agent" 76*d57664e9SAndroid Build Coastguard Worker android:permission="android.permission.BIND_TRUST_AGENT"> 77*d57664e9SAndroid Build Coastguard Worker <intent-filter> 78*d57664e9SAndroid Build Coastguard Worker <action android:name="android.service.trust.TrustAgentService" /> 79*d57664e9SAndroid Build Coastguard Worker </intent-filter> 80*d57664e9SAndroid Build Coastguard Worker </service> 81*d57664e9SAndroid Build Coastguard Worker 82*d57664e9SAndroid Build Coastguard Worker <service 83*d57664e9SAndroid Build Coastguard Worker android:name=".IsActiveUnlockRunningTrustAgent" 84*d57664e9SAndroid Build Coastguard Worker android:exported="true" 85*d57664e9SAndroid Build Coastguard Worker android:label="Test Agent" 86*d57664e9SAndroid Build Coastguard Worker android:permission="android.permission.BIND_TRUST_AGENT"> 87*d57664e9SAndroid Build Coastguard Worker <intent-filter> 88*d57664e9SAndroid Build Coastguard Worker <action android:name="android.service.trust.TrustAgentService" /> 89*d57664e9SAndroid Build Coastguard Worker </intent-filter> 90*d57664e9SAndroid Build Coastguard Worker </service> 91*d57664e9SAndroid Build Coastguard Worker 92*d57664e9SAndroid Build Coastguard Worker <service 93*d57664e9SAndroid Build Coastguard Worker android:name=".UnlockAttemptTrustAgent" 94*d57664e9SAndroid Build Coastguard Worker android:exported="true" 95*d57664e9SAndroid Build Coastguard Worker android:label="Test Agent" 96*d57664e9SAndroid Build Coastguard Worker android:permission="android.permission.BIND_TRUST_AGENT"> 97*d57664e9SAndroid Build Coastguard Worker <intent-filter> 98*d57664e9SAndroid Build Coastguard Worker <action android:name="android.service.trust.TrustAgentService" /> 99*d57664e9SAndroid Build Coastguard Worker </intent-filter> 100*d57664e9SAndroid Build Coastguard Worker </service> 101*d57664e9SAndroid Build Coastguard Worker 102*d57664e9SAndroid Build Coastguard Worker </application> 103*d57664e9SAndroid Build Coastguard Worker 104*d57664e9SAndroid Build Coastguard Worker <!-- self-instrumenting test package. --> 105*d57664e9SAndroid Build Coastguard Worker <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 106*d57664e9SAndroid Build Coastguard Worker android:targetPackage="android.trust.test"> 107*d57664e9SAndroid Build Coastguard Worker </instrumentation> 108*d57664e9SAndroid Build Coastguard Worker</manifest> 109