1<?xml version="1.0" encoding="utf-8"?>
2<!-- package name must be unique so suffix with "tests" so package loader doesn't ignore us -->
3<manifest xmlns:android="http://schemas.android.com/apk/res/android"
4          package="com.android.bluetooth.tests">
5
6    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
7    <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
8    <uses-permission android:name="android.permission.INTERNET" />
9    <uses-permission android:name="android.permission.BLUETOOTH" />
10    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
11    <uses-permission android:name="android.permission.WAKE_LOCK" />
12    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
13    <uses-permission android:name="android.permission.READ_CONTACTS" />
14    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
15    <uses-permission android:name="android.permission.READ_CALL_LOG" />
16    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
17    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
18    <uses-permission android:name="android.permission.NFC_HANDOVER_STATUS" />
19    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
20    <uses-permission android:name="android.permission.NET_ADMIN" />
21    <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
22    <uses-permission android:name="com.android.permission.HANDOVER_STATUS" />
23    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
24    <uses-permission android:name="android.permission.NET_TUNNELING" />
25    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
26    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
27    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
28    <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
29    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/>
30    <uses-permission android:name="android.permission.MANAGE_USERS"/>
31    <uses-permission android:name="com.google.android.gallery3d.permission.GALLERY_PROVIDER"/>
32    <uses-permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER"/>
33
34    <uses-permission android:name="android.permission.RECEIVE_SMS" />
35    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
36    <uses-permission android:name="android.permission.SEND_SMS" />
37    <uses-permission android:name="android.permission.READ_SMS" />
38    <uses-permission android:name="android.permission.WRITE_SMS" />
39    <uses-permission android:name="android.permission.READ_CONTACTS" />
40    <uses-permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE" />
41    <uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/>
42
43    <!-- For testing Email content access -->
44    <uses-permission android:name="com.android.email.permission.BT_ACCESS_PROVIDER"/>
45    <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/>
46    <!-- For PBAP Owner Vcard Info -->
47    <uses-permission android:name="android.permission.READ_PROFILE"/>
48
49    <!-- We add an application tag here just so that we can indicate that
50         this package needs to link against the android.test library,
51         which is needed when building test cases. -->
52
53    <application
54        android:allowBackup="true" >
55        <uses-library android:name="android.test.runner" />
56        <uses-permission android:name="android.permission.ACCESS_BLUETOOTH_SHARE" />
57        <uses-permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE" />
58        <path-permission
59                android:pathPrefix="/btopp"
60                android:permission="android.permission.ACCESS_BLUETOOTH_SHARE" />
61    </application>
62    <!--
63    This declares that this application uses the instrumentation test runner targeting
64    the package of com.android.bluetooth.  To run the tests use the command:
65    "adb shell am instrument -w com.android.bluetooth.tests/android.test.InstrumentationTestRunner"
66    -->
67    <instrumentation android:name="android.test.InstrumentationTestRunner"
68                     android:targetPackage="com.android.bluetooth"
69                     android:label="Tests for com.android.bluetooth"/>
70</manifest>
71
72