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 <uses-permission android:name="android.permission.NEARBY_WIFI_DEVICES" 25 android:usesPermissionFlags="neverForLocation" /> 26 <application> 27 <!-- Add any classes that implement the Snippet interface as meta-data, whose 28 value is a comma-separated string, each section being the package path 29 of a snippet class --> 30 <meta-data 31 android:name="mobly-snippets" 32 android:value="com.google.snippet.connectivity.ConnectivityMultiDevicesSnippet, 33 com.google.snippet.connectivity.MdnsMultiDevicesSnippet, 34 com.google.snippet.connectivity.Wifip2pMultiDevicesSnippet" /> 35 </application> 36 <!-- Add an instrumentation tag so that the app can be launched through an 37 instrument command. The runner `com.google.android.mobly.snippet.SnippetRunner` 38 is derived from `AndroidJUnitRunner`, and is required to use the 39 Mobly Snippet Lib. --> 40 <instrumentation 41 android:name="com.google.android.mobly.snippet.SnippetRunner" 42 android:targetPackage="com.google.snippet.connectivity" /> 43</manifest> 44