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