xref: /aosp_15_r20/cts/hostsidetests/multidevices/bluetooth/snippet/AndroidManifest.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*b7c941bbSAndroid Build Coastguard Worker<!-- Copyright (C) 2023 The Android Open Source Project
3*b7c941bbSAndroid Build Coastguard Worker     Licensed under the Apache License, Version 2.0 (the "License");
4*b7c941bbSAndroid Build Coastguard Worker     you may not use this file except in compliance with the License.
5*b7c941bbSAndroid Build Coastguard Worker     You may obtain a copy of the License at
6*b7c941bbSAndroid Build Coastguard Worker          http://www.apache.org/licenses/LICENSE-2.0
7*b7c941bbSAndroid Build Coastguard Worker     Unless required by applicable law or agreed to in writing, software
8*b7c941bbSAndroid Build Coastguard Worker     distributed under the License is distributed on an "AS IS" BASIS,
9*b7c941bbSAndroid Build Coastguard Worker     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10*b7c941bbSAndroid Build Coastguard Worker     See the License for the specific language governing permissions and
11*b7c941bbSAndroid Build Coastguard Worker     limitations under the License.
12*b7c941bbSAndroid Build Coastguard Worker-->
13*b7c941bbSAndroid Build Coastguard Worker<manifest
14*b7c941bbSAndroid Build Coastguard Worker    xmlns:android="http://schemas.android.com/apk/res/android"
15*b7c941bbSAndroid Build Coastguard Worker    package="com.google.snippet.bluetooth">
16*b7c941bbSAndroid Build Coastguard Worker  <!-- Declare the minimum Android SDK version and internet permission,
17*b7c941bbSAndroid Build Coastguard Worker       which are required by Mobly Snippet Lib since it uses network socket. -->
18*b7c941bbSAndroid Build Coastguard Worker  <uses-sdk android:minSdkVersion="34" />
19*b7c941bbSAndroid Build Coastguard Worker  <uses-permission android:name="android.permission.INTERNET" />
20*b7c941bbSAndroid Build Coastguard Worker  <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
21*b7c941bbSAndroid Build Coastguard Worker  <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
22*b7c941bbSAndroid Build Coastguard Worker  <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
23*b7c941bbSAndroid Build Coastguard Worker  <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
24*b7c941bbSAndroid Build Coastguard Worker  <application>
25*b7c941bbSAndroid Build Coastguard Worker    <!-- Add any classes that implement the Snippet interface as meta-data, whose
26*b7c941bbSAndroid Build Coastguard Worker         value is a comma-separated string, each section being the package path
27*b7c941bbSAndroid Build Coastguard Worker         of a snippet class -->
28*b7c941bbSAndroid Build Coastguard Worker    <meta-data
29*b7c941bbSAndroid Build Coastguard Worker        android:name="mobly-snippets"
30*b7c941bbSAndroid Build Coastguard Worker        android:value="com.google.snippet.bluetooth.BluetoothGattMultiDevicesSnippet" />
31*b7c941bbSAndroid Build Coastguard Worker  </application>
32*b7c941bbSAndroid Build Coastguard Worker  <!-- Add an instrumentation tag so that the app can be launched through an
33*b7c941bbSAndroid Build Coastguard Worker       instrument command. The runner `com.google.android.mobly.snippet.SnippetRunner`
34*b7c941bbSAndroid Build Coastguard Worker       is derived from `AndroidJUnitRunner`, and is required to use the
35*b7c941bbSAndroid Build Coastguard Worker       Mobly Snippet Lib. -->
36*b7c941bbSAndroid Build Coastguard Worker  <instrumentation
37*b7c941bbSAndroid Build Coastguard Worker      android:name="com.google.android.mobly.snippet.SnippetRunner"
38*b7c941bbSAndroid Build Coastguard Worker      android:targetPackage="com.google.snippet.bluetooth" />
39*b7c941bbSAndroid Build Coastguard Worker</manifest>
40