1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2024 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<manifest 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:tools="http://schemas.android.com/tools" 21 package="android.companion.cts.multidevice"> 22 23 <uses-permission android:name="android.permission.INTERNET" /> 24 <uses-permission android:name="android.permission.REQUEST_COMPANION_SELF_MANAGED" /> 25 <uses-permission android:name="android.permission.REQUEST_OBSERVE_COMPANION_DEVICE_PRESENCE" /> 26 <uses-permission android:name="android.permission.REQUEST_COMPANION_PROFILE_WATCH" /> 27 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 28 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 29 <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" /> 30 <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" /> 31 <uses-permission android:name="android.permission.DELIVER_COMPANION_MESSAGES" /> 32 33 <uses-feature android:name="android.hardware.bluetooth" android:required="true"/> 34 <uses-feature android:name="android.software.companion_device_setup" /> 35 36 <application> 37 <!-- Add any classes that implement the Snippet interface as meta-data, whose 38 value is a comma-separated string, each section being the package path 39 of a snippet class --> 40 <meta-data 41 android:name="mobly-snippets" 42 tools:replace="android:value" 43 android:value="com.google.android.mobly.snippet.bundled.bluetooth.BluetoothAdapterSnippet, 44 android.companion.cts.multidevice.CompanionDeviceManagerSnippet" /> 45 </application> 46 47 <!-- Add an instrumentation tag so that the app can be launched through an 48 instrument command. The runner `com.google.android.mobly.snippet.SnippetRunner` 49 is derived from `AndroidJUnitRunner`, and is required to use the 50 Mobly Snippet Lib. --> 51 <instrumentation 52 android:name="com.google.android.mobly.snippet.SnippetRunner" 53 android:targetPackage="android.companion.cts.multidevice" /> 54</manifest> 55