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