blob: 46a5fee4d88806d4e97c962312858f507355d22e [file] [log] [blame]
Makoto Onukif308df72017-04-04 16:37:21 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.android.cts.deviceadminservice" >
19
20 <application android:testOnly="true">
21 <uses-library android:name="android.test.runner" />
22 <receiver
23 android:name=".MyOwner"
24 android:permission="android.permission.BIND_DEVICE_ADMIN"
25 >
26 <meta-data android:name="android.app.device_admin"
27 android:resource="@xml/device_admin" />
28 <intent-filter>
29 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
30 </intent-filter>
31 </receiver>
32
33 <service
34 android:name=".MyService"
Makoto Onuki9a09cfe2017-04-25 13:22:22 -070035 android:exported="false">
Makoto Onukif308df72017-04-04 16:37:21 -070036 <intent-filter>
37 <action android:name="android.app.action.DEVICE_ADMIN_SERVICE" />
38 </intent-filter>
39 </service>
40
41 </application>
42
Brett Chabot244f0382019-02-15 13:02:34 -080043 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
Makoto Onukif308df72017-04-04 16:37:21 -070044 android:targetPackage="com.android.cts.deviceadminservice" />
45</manifest>