blob: 2f6c0dd14adc2dc10bedf02564628d721629d0dc [file] [log] [blame]
Dave McCloskey49471c72022-02-25 01:34:18 +00001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2022 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.trust.test"
20 android:targetSandboxVersion="2">
21
22 <uses-permission android:name="android.permission.ACCESS_KEYGUARD_SECURE_STORAGE" />
23 <uses-permission android:name="android.permission.BIND_DEVICE_ADMIN" />
24 <uses-permission android:name="android.permission.CONTROL_KEYGUARD" />
25 <uses-permission android:name="android.permission.DEVICE_POWER" />
Your Namec83a7fd2022-03-08 23:18:23 +000026 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
Dave McCloskey49471c72022-02-25 01:34:18 +000027 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
Your Namec83a7fd2022-03-08 23:18:23 +000028 <uses-permission android:name="android.permission.MANAGE_USERS" />
Dave McCloskey49471c72022-02-25 01:34:18 +000029 <uses-permission android:name="android.permission.PROVIDE_TRUST_AGENT" />
30 <uses-permission android:name="android.permission.TRUST_LISTENER" />
31
32 <application>
33 <uses-library android:name="android.test.runner"/>
34 <activity android:name="android.trust.TrustTestActivity"
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 <service
43 android:name=".UserUnlockRequestTrustAgent"
44 android:exported="true"
45 android:label="Test Agent"
46 android:permission="android.permission.BIND_TRUST_AGENT">
47 <intent-filter>
48 <action android:name="android.service.trust.TrustAgentService" />
49 </intent-filter>
50 </service>
51
52 <service
53 android:name=".LockUserTrustAgent"
54 android:exported="true"
55 android:label="Test Agent"
56 android:permission="android.permission.BIND_TRUST_AGENT">
57 <intent-filter>
58 <action android:name="android.service.trust.TrustAgentService" />
59 </intent-filter>
60 </service>
61
62 <service
63 android:name=".GrantAndRevokeTrustAgent"
64 android:exported="true"
65 android:label="Test Agent"
66 android:permission="android.permission.BIND_TRUST_AGENT">
67 <intent-filter>
68 <action android:name="android.service.trust.TrustAgentService" />
69 </intent-filter>
70 </service>
Your Name1ce742a2022-03-15 02:07:38 +000071
72 <service
73 android:name=".TemporaryAndRenewableTrustAgent"
74 android:exported="true"
75 android:label="Test Agent"
76 android:permission="android.permission.BIND_TRUST_AGENT">
77 <intent-filter>
78 <action android:name="android.service.trust.TrustAgentService" />
79 </intent-filter>
80 </service>
Billy Huang45ca5fe2024-05-21 11:04:28 -070081
Derek Jedraldfa32632023-04-26 18:28:02 -070082 <service
83 android:name=".IsActiveUnlockRunningTrustAgent"
84 android:exported="true"
85 android:label="Test Agent"
86 android:permission="android.permission.BIND_TRUST_AGENT">
87 <intent-filter>
88 <action android:name="android.service.trust.TrustAgentService" />
89 </intent-filter>
90 </service>
91
Billy Huang45ca5fe2024-05-21 11:04:28 -070092 <service
93 android:name=".UnlockAttemptTrustAgent"
94 android:exported="true"
95 android:label="Test Agent"
96 android:permission="android.permission.BIND_TRUST_AGENT">
97 <intent-filter>
98 <action android:name="android.service.trust.TrustAgentService" />
99 </intent-filter>
100 </service>
101
Dave McCloskey49471c72022-02-25 01:34:18 +0000102 </application>
103
104 <!-- self-instrumenting test package. -->
105 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
106 android:targetPackage="android.trust.test">
107 </instrumentation>
108</manifest>