Home | History | Annotate | Download | only in DeviceOwner
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2014 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.deviceowner" >
     19 
     20     <uses-sdk android:minSdkVersion="20"/>
     21 
     22     <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
     23     <uses-permission android:name="android.permission.WRITE_SETTINGS" />
     24 
     25     <application>
     26         <uses-library android:name="android.test.runner" />
     27         <receiver
     28             android:name="com.android.cts.deviceowner.BaseDeviceOwnerTest$BasicAdminReceiver"
     29             android:permission="android.permission.BIND_DEVICE_ADMIN">
     30             <meta-data android:name="android.app.device_admin"
     31                        android:resource="@xml/device_admin" />
     32             <intent-filter>
     33                 <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
     34             </intent-filter>
     35         </receiver>
     36         <activity android:name="com.android.cts.deviceowner.ExampleIntentReceivingActivity1">
     37             <intent-filter>
     38                 <action android:name="com.android.cts.deviceowner.EXAMPLE_ACTION" />
     39                 <category android:name="android.intent.category.DEFAULT" />
     40             </intent-filter>
     41         </activity>
     42 
     43         <activity android:name="com.android.cts.deviceowner.ExampleIntentReceivingActivity2">
     44             <intent-filter>
     45                 <action android:name="com.android.cts.deviceowner.EXAMPLE_ACTION" />
     46                 <category android:name="android.intent.category.DEFAULT" />
     47             </intent-filter>
     48         </activity>
     49 
     50         <activity
     51             android:name="com.android.cts.deviceowner.LockTaskUtilityActivity" />
     52 
     53         <!-- we need to give a different taskAffinity so that when we use
     54              FLAG_ACTIVITY_NEW_TASK, the system tries to start it in a different task
     55         -->
     56         <activity
     57             android:name="com.android.cts.deviceowner.LockTaskTest$IntentReceivingActivity"
     58             android:taskAffinity="com.android.cts.deviceowner.LockTaskTest.IntentReceivingActivity"
     59             />
     60         <activity
     61             android:name="com.android.cts.deviceowner.ApplicationRestrictionActivity" />
     62     </application>
     63 
     64     <instrumentation android:name="android.test.InstrumentationTestRunner"
     65                      android:targetPackage="com.android.cts.deviceowner"
     66                      android:label="Device Owner CTS tests"/>
     67 </manifest>
     68