• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.BLUETOOTH_CONNECT" />
13    <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
14    <uses-permission android:name="android.permission.WAKE_LOCK" />
15    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
16    <uses-permission android:name="android.permission.READ_CONTACTS" />
17    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
18    <uses-permission android:name="android.permission.READ_CALL_LOG" />
19    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
20    <uses-permission android:name="android.permission.WRITE_SETTINGS" />
21    <uses-permission android:name="android.permission.NFC_HANDOVER_STATUS" />
22    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
23    <uses-permission android:name="android.permission.NET_ADMIN" />
24    <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
25    <uses-permission android:name="com.android.permission.HANDOVER_STATUS" />
26    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
27    <uses-permission android:name="android.permission.NET_TUNNELING" />
28    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
29    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
30    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
31    <uses-permission android:name="android.permission.BLUETOOTH_STACK" />
32    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/>
33    <uses-permission android:name="android.permission.MANAGE_USERS"/>
34    <uses-permission android:name="android.permission.LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH"/>
35    <uses-permission android:name="com.google.android.gallery3d.permission.GALLERY_PROVIDER"/>
36    <uses-permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER"/>
37
38    <uses-permission android:name="android.permission.RECEIVE_SMS" />
39    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
40    <uses-permission android:name="android.permission.SEND_SMS" />
41    <uses-permission android:name="android.permission.READ_SMS" />
42    <uses-permission android:name="android.permission.WRITE_SMS" />
43    <uses-permission android:name="android.permission.READ_CONTACTS" />
44    <uses-permission android:name="com.android.permission.ALLOWLIST_BLUETOOTH_DEVICE" />
45    <uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/>
46
47    <!-- For testing Email content access -->
48    <uses-permission android:name="com.android.email.permission.BT_ACCESS_PROVIDER"/>
49    <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/>
50    <!-- For PBAP Owner Vcard Info -->
51    <uses-permission android:name="android.permission.READ_PROFILE"/>
52
53    <!-- We add an application tag here just so that we can indicate that
54         this package needs to link against the android.test library,
55         which is needed when building test cases. -->
56
57    <application android:allowBackup="true"
58                 android:autoRevokePermissions="disallowed">
59        <uses-library android:name="android.test.runner" />
60        <uses-library android:name="org.apache.http.legacy" android:required="false" />
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="androidx.test.runner.AndroidJUnitRunner"
68                     android:targetPackage="com.android.bluetooth"
69                     android:label="Tests for com.android.bluetooth"/>
70</manifest>
71
72