blob: 46e7ac3e339627a1bf031c14b619237a9cea2e84 [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" />
Daisuke Miyakawa14380a42012-04-17 11:37:02 -070022 <uses-permission android:name="android.permission.READ_CALL_LOG" />
23 <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
Daniel Lehmann20130582010-10-21 20:51:15 -070024 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070025
Makoto Onukidcf751d2011-10-17 16:14:06 -070026 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
27 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
28 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
29 <uses-permission android:name="android.permission.READ_SYNC_STATS" />
30 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
31 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
32
Makoto Onukif68c5e72012-03-01 15:14:16 -080033 <uses-permission android:name="android.permission.READ_PROFILE" />
34 <uses-permission android:name="android.permission.READ_SOCIAL_STREAM" />
35
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080036 <application>
37 <uses-library android:name="android.test.runner" />
Evan Millare49dfac2009-06-30 15:21:47 -070038 <meta-data android:name="com.android.contacts.iconset" android:resource="@xml/iconset" />
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070039
40 <activity android:name=".allintents.AllIntentsActivity"
41 android:label="@string/contactsIntents"
42 >
43 <intent-filter>
44 <action android:name="android.intent.action.MAIN" />
45 <category android:name="android.intent.category.DEFAULT" />
46 <category android:name="android.intent.category.LAUNCHER" />
47 </intent-filter>
48 </activity>
49
50 <activity android:name=".allintents.ResultActivity"
51 android:label="@string/result"
52 >
53 <intent-filter>
54 <action android:name="android.intent.action.MAIN" />
55 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -070056 </intent-filter>
57 </activity>
58
Dmitri Plotnikove1247222010-06-02 18:14:21 -070059 <activity android:name=".widget.PinnedHeaderUseCaseActivity"
60 android:label="@string/pinnedHeaderList"
61 >
62 <intent-filter>
63 <action android:name="android.intent.action.MAIN" />
64 <category android:name="android.intent.category.DEFAULT" />
65 <category android:name="android.intent.category.LAUNCHER" />
66 </intent-filter>
67 </activity>
68
Daniel Lehmann69e82442010-11-18 16:40:30 -080069 <activity android:name=".quickcontact.QuickContactTestsActivity"
70 android:label="@string/quickContactTests"
71 >
72 <intent-filter>
73 <action android:name="android.intent.action.MAIN" />
74 <category android:name="android.intent.category.DEFAULT" />
75 <category android:name="android.intent.category.LAUNCHER" />
76 </intent-filter>
77 </activity>
Flavio Lerda27d76482011-06-13 17:20:43 +010078
Makoto Onukidcf751d2011-10-17 16:14:06 -070079 <!--
80 Test authenticators/sync adapters.
81
82 The idea is to have multiple account types with various edit schemas. We use subclasses
83 so we could easily add multiple pairs of authenticators and sync adapters.
84 Unfortunately there's an issue with the contacts app which prevents a single apk from
85 having multiple contacts.xml files, so for now we only declare one account type here.
86 -->
87 <service android:name=".testauth.TestAuthenticationService$Basic" android:exported="true">
88 <intent-filter>
89 <action android:name="android.accounts.AccountAuthenticator" />
90 </intent-filter>
91 <meta-data
92 android:name="android.accounts.AccountAuthenticator"
93 android:resource="@xml/test_basic_authenticator" />
94 </service>
95
Makoto Onuki8e347442011-11-29 17:17:33 -080096 <service android:name=".QueryService" />
Makoto Onuki65488852011-11-30 10:55:31 -080097 <service android:name=".PhoneNumberTestService" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080098 </application>
99
Evan Millare49dfac2009-06-30 15:21:47 -0700100 <instrumentation android:name="android.test.InstrumentationTestRunner"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800101 android:targetPackage="com.android.contacts"
Evan Millare49dfac2009-06-30 15:21:47 -0700102 android:label="Contacts app tests">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800103 </instrumentation>
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -0700104
Brett Chabot0e89b192009-11-12 11:48:30 -0800105 <instrumentation android:name="com.android.contacts.ContactsLaunchPerformance"
106 android:targetPackage="com.android.contacts"
107 android:label="Contacts launch performance">
108 </instrumentation>
Guang Zhu3b616942010-04-01 11:26:21 -0700109
Dmitri Plotnikov31ec0b52010-04-19 13:56:16 -0700110</manifest>