blob: b6dc5e80856e7e0006813dc4968e16ebb02f0694 [file] [log] [blame]
Eric Linc7a4d1b2022-01-11 11:56:45 +00001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2022 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 xmlns:android="http://schemas.android.com/apk/res/android"
19 package="android.nearby.multidevices">
20
21 <uses-feature android:name="android.hardware.bluetooth" />
22 <uses-feature android:name="android.hardware.bluetooth_le" />
23 <uses-permission android:name="android.permission.BLUETOOTH" />
24 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
25 <uses-permission android:name="android.permission.BLUETOOTH_ADVERTISE" />
26 <uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
27 <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED" />
28 <uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
29 <uses-permission android:name="android.permission.INTERNET"/>
30 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
31
32 <application>
33 <meta-data
34 android:name="mobly-log-tag"
35 android:value="NearbyMainlineSnippet" />
36 <meta-data
37 android:name="mobly-snippets"
38 android:value="android.nearby.multidevices.fastpair.seeker.FastPairSeekerSnippet,
39 android.nearby.multidevices.fastpair.provider.FastPairProviderSimulatorSnippet" />
40
41 <!-- Fast Pair Data Provider Service which acts as an "overlay" to the
42 framework Fast Pair Data Provider. Only supported on Android T and later.
43 All overlays are protected from non-system access via WRITE_SECURE_SETTINGS.
44 Must stay in the same process as Nearby Discovery Service.
45 -->
46 <service
47 android:name=".fastpair.seeker.FastPairTestDataProviderService"
48 android:exported="true"
49 android:permission="android.permission.WRITE_SECURE_SETTINGS"
50 android:visibleToInstantApps="true">
51 <intent-filter>
52 <action android:name="android.nearby.action.FAST_PAIR_DATA_PROVIDER" />
53 </intent-filter>
54
55 <meta-data
56 android:name="instantapps.clients.allowed"
57 android:value="true" />
58 <meta-data
59 android:name="serviceVersion"
60 android:value="1" />
61 </service>
62 </application>
63
64 <instrumentation
65 android:name="com.google.android.mobly.snippet.SnippetRunner"
66 android:label="Nearby Mainline Module Mobly Snippet"
67 android:targetPackage="android.nearby.multidevices" />
68
69</manifest>