blob: 6ea42d640e3a716d67f723f21dd61e40e42142dc [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
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070020 <uses-permission android:name="android.permission.READ_CONTACTS" />
Flavio Lerda27d76482011-06-13 17:20:43 +010021 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Daniel Lehmann20130582010-10-21 20:51:15 -070022 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070023
Makoto Onukidcf751d2011-10-17 16:14:06 -070024 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
25 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
26 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
27 <uses-permission android:name="android.permission.READ_SYNC_STATS" />
28 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
29 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
30
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080031 <application>
32 <uses-library android:name="android.test.runner" />
Evan Millare49dfac2009-06-30 15:21:47 -070033 <meta-data android:name="com.android.contacts.iconset" android:resource="@xml/iconset" />
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070034
35 <activity android:name=".allintents.AllIntentsActivity"
36 android:label="@string/contactsIntents"
37 >
38 <intent-filter>
39 <action android:name="android.intent.action.MAIN" />
40 <category android:name="android.intent.category.DEFAULT" />
41 <category android:name="android.intent.category.LAUNCHER" />
42 </intent-filter>
43 </activity>
44
45 <activity android:name=".allintents.ResultActivity"
46 android:label="@string/result"
47 >
48 <intent-filter>
49 <action android:name="android.intent.action.MAIN" />
50 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070051 </intent-filter>
52 </activity>
53
Dmitri Plotnikove1247222010-06-02 18:14:21 -070054 <activity android:name=".widget.PinnedHeaderUseCaseActivity"
55 android:label="@string/pinnedHeaderList"
56 >
57 <intent-filter>
58 <action android:name="android.intent.action.MAIN" />
59 <category android:name="android.intent.category.DEFAULT" />
60 <category android:name="android.intent.category.LAUNCHER" />
61 </intent-filter>
62 </activity>
63
Daniel Lehmann69e82442010-11-18 16:40:30 -080064 <activity android:name=".quickcontact.QuickContactTestsActivity"
65 android:label="@string/quickContactTests"
66 >
67 <intent-filter>
68 <action android:name="android.intent.action.MAIN" />
69 <category android:name="android.intent.category.DEFAULT" />
70 <category android:name="android.intent.category.LAUNCHER" />
71 </intent-filter>
72 </activity>
Flavio Lerda27d76482011-06-13 17:20:43 +010073
74 <activity android:name=".calllog.FillCallLogTestActivity"
75 android:label="@string/fillCallLogTest"
76 >
77 <intent-filter>
78 <action android:name="android.intent.action.MAIN" />
79 <category android:name="android.intent.category.DEFAULT" />
80 <category android:name="android.intent.category.LAUNCHER" />
81 </intent-filter>
82 </activity>
Dave Santoro0b0a96a2011-07-20 13:44:44 -070083
84 <activity android:name=".streamitems.StreamItemPopulatorActivity"
85 android:label="@string/streamItemPopulator"
86 >
87 <intent-filter>
88 <action android:name="android.intent.action.MAIN" />
89 <category android:name="android.intent.category.DEFAULT" />
90 <category android:name="android.intent.category.LAUNCHER" />
91 </intent-filter>
92 </activity>
Makoto Onukidcf751d2011-10-17 16:14:06 -070093
94 <!--
95 Test authenticators/sync adapters.
96
97 The idea is to have multiple account types with various edit schemas. We use subclasses
98 so we could easily add multiple pairs of authenticators and sync adapters.
99 Unfortunately there's an issue with the contacts app which prevents a single apk from
100 having multiple contacts.xml files, so for now we only declare one account type here.
101 -->
102 <service android:name=".testauth.TestAuthenticationService$Basic" android:exported="true">
103 <intent-filter>
104 <action android:name="android.accounts.AccountAuthenticator" />
105 </intent-filter>
106 <meta-data
107 android:name="android.accounts.AccountAuthenticator"
108 android:resource="@xml/test_basic_authenticator" />
109 </service>
110
111 <service android:name=".testauth.TestSyncService$Basic" android:exported="true">
112 <intent-filter>
113 <action android:name="android.content.SyncAdapter" />
114 </intent-filter>
115 <meta-data
116 android:name="android.content.SyncAdapter"
117 android:resource="@xml/test_basic_syncadapter" />
118 <meta-data
119 android:name="android.provider.CONTACTS_STRUCTURE"
120 android:resource="@xml/test_basic_contacts" />
121 </service>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800122 </application>
123
Evan Millare49dfac2009-06-30 15:21:47 -0700124 <instrumentation android:name="android.test.InstrumentationTestRunner"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800125 android:targetPackage="com.android.contacts"
Evan Millare49dfac2009-06-30 15:21:47 -0700126 android:label="Contacts app tests">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800127 </instrumentation>
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -0700128
Brett Chabot0e89b192009-11-12 11:48:30 -0800129 <instrumentation android:name="com.android.contacts.ContactsLaunchPerformance"
130 android:targetPackage="com.android.contacts"
131 android:label="Contacts launch performance">
132 </instrumentation>
Guang Zhu3b616942010-04-01 11:26:21 -0700133
Guang Zhu3b616942010-04-01 11:26:21 -0700134 <instrumentation android:name="com.android.contacts.DialerLaunchPerformance"
135 android:targetPackage="com.android.contacts"
136 android:label="Dialer launch performance">
137 </instrumentation>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800138
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -0700139</manifest>