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