xref: /aosp_15_r20/cts/hostsidetests/backup/SyncAdapterSettingsApp/AndroidManifest.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1*b7c941bbSAndroid Build Coastguard Worker<?xml version="1.0" encoding="utf-8"?>
2*b7c941bbSAndroid Build Coastguard Worker<!--
3*b7c941bbSAndroid Build Coastguard Worker  ~ Copyright (C) 2018 The Android Open Source Project
4*b7c941bbSAndroid Build Coastguard Worker  ~
5*b7c941bbSAndroid Build Coastguard Worker  ~ Licensed under the Apache License, Version 2.0 (the "License");
6*b7c941bbSAndroid Build Coastguard Worker  ~ you may not use this file except in compliance with the License.
7*b7c941bbSAndroid Build Coastguard Worker  ~ You may obtain a copy of the License at
8*b7c941bbSAndroid Build Coastguard Worker  ~
9*b7c941bbSAndroid Build Coastguard Worker  ~      http://www.apache.org/licenses/LICENSE-2.0
10*b7c941bbSAndroid Build Coastguard Worker  ~
11*b7c941bbSAndroid Build Coastguard Worker  ~ Unless required by applicable law or agreed to in writing, software
12*b7c941bbSAndroid Build Coastguard Worker  ~ distributed under the License is distributed on an "AS IS" BASIS,
13*b7c941bbSAndroid Build Coastguard Worker  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14*b7c941bbSAndroid Build Coastguard Worker  ~ See the License for the specific language governing permissions and
15*b7c941bbSAndroid Build Coastguard Worker  ~ limitations under the License
16*b7c941bbSAndroid Build Coastguard Worker  -->
17*b7c941bbSAndroid Build Coastguard Worker
18*b7c941bbSAndroid Build Coastguard Worker<manifest xmlns:android="http://schemas.android.com/apk/res/android"
19*b7c941bbSAndroid Build Coastguard Worker     package="android.cts.backup.syncadaptersettingsapp">
20*b7c941bbSAndroid Build Coastguard Worker
21*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
22*b7c941bbSAndroid Build Coastguard Worker    <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
23*b7c941bbSAndroid Build Coastguard Worker
24*b7c941bbSAndroid Build Coastguard Worker    <application android:label="BackupSyncAdapterSettings">
25*b7c941bbSAndroid Build Coastguard Worker        <uses-library android:name="android.test.runner"/>
26*b7c941bbSAndroid Build Coastguard Worker        <service android:name=".SyncAdapterSettingsAuthenticator"
27*b7c941bbSAndroid Build Coastguard Worker             android:exported="true">
28*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
29*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.accounts.AccountAuthenticator"/>
30*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
31*b7c941bbSAndroid Build Coastguard Worker            <meta-data android:name="android.accounts.AccountAuthenticator"
32*b7c941bbSAndroid Build Coastguard Worker                 android:resource="@xml/authenticator"/>
33*b7c941bbSAndroid Build Coastguard Worker        </service>
34*b7c941bbSAndroid Build Coastguard Worker
35*b7c941bbSAndroid Build Coastguard Worker        <service android:name=".SyncAdapterSettingsService"
36*b7c941bbSAndroid Build Coastguard Worker             android:exported="false">
37*b7c941bbSAndroid Build Coastguard Worker            <intent-filter>
38*b7c941bbSAndroid Build Coastguard Worker                <action android:name="android.content.SyncAdapter"/>
39*b7c941bbSAndroid Build Coastguard Worker            </intent-filter>
40*b7c941bbSAndroid Build Coastguard Worker            <meta-data android:name="android.content.SyncAdapter"
41*b7c941bbSAndroid Build Coastguard Worker                 android:resource="@xml/syncadapter"/>
42*b7c941bbSAndroid Build Coastguard Worker        </service>
43*b7c941bbSAndroid Build Coastguard Worker
44*b7c941bbSAndroid Build Coastguard Worker        <provider android:name=".SyncAdapterSettingsProvider"
45*b7c941bbSAndroid Build Coastguard Worker             android:authorities="android.cts.backup.syncadaptersettingsapp.provider"/>
46*b7c941bbSAndroid Build Coastguard Worker    </application>
47*b7c941bbSAndroid Build Coastguard Worker
48*b7c941bbSAndroid Build Coastguard Worker    <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
49*b7c941bbSAndroid Build Coastguard Worker         android:targetPackage="android.cts.backup.syncadaptersettingsapp"/>
50*b7c941bbSAndroid Build Coastguard Worker</manifest>
51