blob: 049e2943be18c2b113fac87b8800fee1a3ba56f5 [file] [log] [blame]
Ivan Podogov46652ad2019-09-20 15:25:16 +01001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 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"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070018 package="com.google.android.cts.deviceowner">
Ivan Podogov46652ad2019-09-20 15:25:16 +010019
Felipe Lemeac086202021-04-12 14:26:06 -070020 <!-- TODO(b/176993670): needed by DevicePolicyManagerWrapper to send ordered broadcast from
21 current user to system user on devices running on headless system user mode. Should be
22 removed once tests are refactored to use the proper IPC between theses users. -->
23 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
24
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070025 <application android:label="Privacy Settings for Device Owner CTS host side app"
26 android:testOnly="true">
Ivan Podogov46652ad2019-09-20 15:25:16 +010027
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070028 <uses-library android:name="android.test.runner"/>
Ivan Podogov46652ad2019-09-20 15:25:16 +010029
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070030 <activity android:name="com.google.android.cts.deviceowner.WorkPolicyInfoActivity"
31 android:exported="true"
32 android:launchMode="singleTask">
Ivan Podogov46652ad2019-09-20 15:25:16 +010033 <intent-filter>
34 <category android:name="android.intent.category.DEFAULT"/>
35 <action android:name="android.settings.SHOW_WORK_POLICY_INFO"/>
36 </intent-filter>
37 </activity>
38
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070039 <receiver android:name="com.google.android.cts.deviceowner.DeviceOwnerTest$BasicAdminReceiver"
40 android:permission="android.permission.BIND_DEVICE_ADMIN"
41 android:exported="true">
Ivan Podogov46652ad2019-09-20 15:25:16 +010042 <meta-data android:name="android.app.device_admin"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070043 android:resource="@xml/device_admin"/>
Ivan Podogov46652ad2019-09-20 15:25:16 +010044 <intent-filter>
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070045 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED"/>
Ivan Podogov46652ad2019-09-20 15:25:16 +010046 </intent-filter>
47 </receiver>
Felipe Lemeac086202021-04-12 14:26:06 -070048
49 <!-- TODO(b/176993670): remove if DpmWrapperManagerWrapper goes away -->
50 <receiver android:name="com.android.bedstead.dpmwrapper.TestAppCallbacksReceiver"
51 android:exported="true">
52 </receiver>
Ivan Podogov46652ad2019-09-20 15:25:16 +010053 </application>
54
55 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
Ashwini Oruganti62e39bb2020-05-29 16:14:30 -070056 android:targetPackage="com.google.android.cts.deviceowner"
57 android:label="Privacy Settings for Device Owner CTS tests"/>
Ivan Podogov46652ad2019-09-20 15:25:16 +010058</manifest>