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="com.google.android.gallery3d.permission.GALLERY_PROVIDER"/> 33 <uses-permission android:name="com.android.gallery3d.permission.GALLERY_PROVIDER"/> 34 35 <uses-permission android:name="android.permission.RECEIVE_SMS" /> 36 <uses-permission android:name="android.permission.READ_PHONE_STATE" /> 37 <uses-permission android:name="android.permission.SEND_SMS" /> 38 <uses-permission android:name="android.permission.READ_SMS" /> 39 <uses-permission android:name="android.permission.WRITE_SMS" /> 40 <uses-permission android:name="android.permission.READ_CONTACTS" /> 41 <uses-permission android:name="com.android.permission.WHITELIST_BLUETOOTH_DEVICE" /> 42 <uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/> 43 44 <!-- For testing Email content access --> 45 <uses-permission android:name="com.android.email.permission.BT_ACCESS_PROVIDER"/> 46 <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/> 47 <!-- For PBAP Owner Vcard Info --> 48 <uses-permission android:name="android.permission.READ_PROFILE"/> 49 50 <!-- We add an application tag here just so that we can indicate that 51 this package needs to link against the android.test library, 52 which is needed when building test cases. --> 53 54 <application 55 android:allowBackup="true" > 56 <uses-library android:name="android.test.runner" /> 57 <uses-library android:name="org.apache.http.legacy" android:required="false" /> 58 </application> 59 <!-- 60 This declares that this application uses the instrumentation test runner targeting 61 the package of com.android.bluetooth. To run the tests use the command: 62 "adb shell am instrument -w com.android.bluetooth.tests/android.test.InstrumentationTestRunner" 63 --> 64 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 65 android:targetPackage="com.android.bluetooth" 66 android:label="Tests for com.android.bluetooth"/> 67</manifest> 68 69