blob: 740e2937c50da464507f4628acd9093b4194e3ab [file] [log] [blame]
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -07007
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08008 http://www.apache.org/licenses/LICENSE-2.0
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -07009
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080010 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18 package="com.android.contacts.tests">
19
Jay Shraunerfda7fd92015-08-31 09:51:47 -070020 <uses-sdk
Wenyi Wang6ad82692016-02-23 15:41:21 -080021 android:minSdkVersion="21"
Walter Jangb69f4cc2016-07-15 16:35:50 -070022 android:targetSdkVersion="25" />
Jay Shraunerfda7fd92015-08-31 09:51:47 -070023
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070024 <uses-permission android:name="android.permission.READ_CONTACTS" />
Flavio Lerda27d76482011-06-13 17:20:43 +010025 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Daniel Lehmann20130582010-10-21 20:51:15 -070026 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070027
Makoto Onukidcf751d2011-10-17 16:14:06 -070028 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
29 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
30 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
31 <uses-permission android:name="android.permission.READ_SYNC_STATS" />
32 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
33 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
34
Makoto Onukif68c5e72012-03-01 15:14:16 -080035 <uses-permission android:name="android.permission.READ_PROFILE" />
36 <uses-permission android:name="android.permission.READ_SOCIAL_STREAM" />
37
Walter Jangad2acfb2016-03-09 12:23:09 -080038 <application
yaolu14235e62016-10-21 16:09:42 -070039 android:icon="@mipmap/ic_contacts_launcher"
Walter Jangad2acfb2016-03-09 12:23:09 -080040 android:label="@string/applicationLabel">
41
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080042 <uses-library android:name="android.test.runner" />
Evan Millare49dfac2009-06-30 15:21:47 -070043 <meta-data android:name="com.android.contacts.iconset" android:resource="@xml/iconset" />
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070044
Walter Jangad2acfb2016-03-09 12:23:09 -080045 <activity android:name=".allintents.AllIntentsActivity">
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070046 <intent-filter>
47 <action android:name="android.intent.action.MAIN" />
48 <category android:name="android.intent.category.DEFAULT" />
49 <category android:name="android.intent.category.LAUNCHER" />
50 </intent-filter>
51 </activity>
52
Walter Jang574601f2016-09-18 09:42:38 -070053 <activity android:name=".allintents.ResultActivity">
54 <intent-filter>
55 <action android:name="android.intent.action.VIEW" />
56 <category android:name="android.intent.category.DEFAULT" />
57 <data android:mimeType="vnd.android.cursor.item/vnd.contactstest.profile" />
58 </intent-filter>
59 </activity>
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070060
Walter Jangad2acfb2016-03-09 12:23:09 -080061 <activity android:name=".quickcontact.QuickContactTestsActivity"/>
Flavio Lerda27d76482011-06-13 17:20:43 +010062
Makoto Onukidcf751d2011-10-17 16:14:06 -070063 <!--
64 Test authenticators/sync adapters.
65
66 The idea is to have multiple account types with various edit schemas. We use subclasses
67 so we could easily add multiple pairs of authenticators and sync adapters.
68 Unfortunately there's an issue with the contacts app which prevents a single apk from
69 having multiple contacts.xml files, so for now we only declare one account type here.
70 -->
71 <service android:name=".testauth.TestAuthenticationService$Basic" android:exported="true">
72 <intent-filter>
73 <action android:name="android.accounts.AccountAuthenticator" />
74 </intent-filter>
75 <meta-data
76 android:name="android.accounts.AccountAuthenticator"
77 android:resource="@xml/test_basic_authenticator" />
78 </service>
Walter Jang98d41d72016-09-15 13:12:51 -070079 <service android:name=".testauth.TestSyncService$Basic" android:exported="true" >
80 <intent-filter>
81 <action android:name="android.content.SyncAdapter"/>
82 </intent-filter>
83 <meta-data
84 android:name="android.content.SyncAdapter"
85 android:resource="@xml/test_basic_syncadapter" />
86 <meta-data
87 android:name="android.provider.CONTACTS_STRUCTURE"
Walter Jang574601f2016-09-18 09:42:38 -070088 android:resource="@xml/contacts_contactsdatakind" />
Walter Jang98d41d72016-09-15 13:12:51 -070089 </service>
Makoto Onukidcf751d2011-10-17 16:14:06 -070090
Makoto Onuki8e347442011-11-29 17:17:33 -080091 <service android:name=".QueryService" />
Makoto Onuki65488852011-11-30 10:55:31 -080092 <service android:name=".PhoneNumberTestService" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080093 </application>
94
Marcus Hagerott8ac989c2016-10-04 08:45:58 -070095 <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080096 android:targetPackage="com.android.contacts"
Evan Millare49dfac2009-06-30 15:21:47 -070097 android:label="Contacts app tests">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080098 </instrumentation>
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070099
Brett Chabot0e89b192009-11-12 11:48:30 -0800100 <instrumentation android:name="com.android.contacts.ContactsLaunchPerformance"
101 android:targetPackage="com.android.contacts"
102 android:label="Contacts launch performance">
103 </instrumentation>
Guang Zhu3b616942010-04-01 11:26:21 -0700104
Marcus Hagerottfd79e872016-10-11 17:25:45 -0700105 <instrumentation
106 android:name="com.android.contacts.RunMethodInstrumentation"
107 android:targetPackage="com.android.contacts"
108 android:label="Run Contacts Method">
109 </instrumentation>
110
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -0700111</manifest>