The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 1 | <?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 Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 7 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 9 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 10 | 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 Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 20 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
Flavio Lerda | 27d7648 | 2011-06-13 17:20:43 +0100 | [diff] [blame] | 21 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
Daniel Lehmann | 2013058 | 2010-10-21 20:51:15 -0700 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 23 | |
Makoto Onuki | dcf751d | 2011-10-17 16:14:06 -0700 | [diff] [blame] | 24 | <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 | |
Makoto Onuki | f68c5e7 | 2012-03-01 15:14:16 -0800 | [diff] [blame^] | 31 | <uses-permission android:name="android.permission.READ_PROFILE" /> |
| 32 | <uses-permission android:name="android.permission.READ_SOCIAL_STREAM" /> |
| 33 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 34 | <application> |
| 35 | <uses-library android:name="android.test.runner" /> |
Evan Millar | e49dfac | 2009-06-30 15:21:47 -0700 | [diff] [blame] | 36 | <meta-data android:name="com.android.contacts.iconset" android:resource="@xml/iconset" /> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 37 | |
| 38 | <activity android:name=".allintents.AllIntentsActivity" |
| 39 | android:label="@string/contactsIntents" |
| 40 | > |
| 41 | <intent-filter> |
| 42 | <action android:name="android.intent.action.MAIN" /> |
| 43 | <category android:name="android.intent.category.DEFAULT" /> |
| 44 | <category android:name="android.intent.category.LAUNCHER" /> |
| 45 | </intent-filter> |
| 46 | </activity> |
| 47 | |
| 48 | <activity android:name=".allintents.ResultActivity" |
| 49 | android:label="@string/result" |
| 50 | > |
| 51 | <intent-filter> |
| 52 | <action android:name="android.intent.action.MAIN" /> |
| 53 | <category android:name="android.intent.category.DEFAULT" /> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 54 | </intent-filter> |
| 55 | </activity> |
| 56 | |
Dmitri Plotnikov | e124722 | 2010-06-02 18:14:21 -0700 | [diff] [blame] | 57 | <activity android:name=".widget.PinnedHeaderUseCaseActivity" |
| 58 | android:label="@string/pinnedHeaderList" |
| 59 | > |
| 60 | <intent-filter> |
| 61 | <action android:name="android.intent.action.MAIN" /> |
| 62 | <category android:name="android.intent.category.DEFAULT" /> |
| 63 | <category android:name="android.intent.category.LAUNCHER" /> |
| 64 | </intent-filter> |
| 65 | </activity> |
| 66 | |
Daniel Lehmann | 69e8244 | 2010-11-18 16:40:30 -0800 | [diff] [blame] | 67 | <activity android:name=".quickcontact.QuickContactTestsActivity" |
| 68 | android:label="@string/quickContactTests" |
| 69 | > |
| 70 | <intent-filter> |
| 71 | <action android:name="android.intent.action.MAIN" /> |
| 72 | <category android:name="android.intent.category.DEFAULT" /> |
| 73 | <category android:name="android.intent.category.LAUNCHER" /> |
| 74 | </intent-filter> |
| 75 | </activity> |
Flavio Lerda | 27d7648 | 2011-06-13 17:20:43 +0100 | [diff] [blame] | 76 | |
| 77 | <activity android:name=".calllog.FillCallLogTestActivity" |
| 78 | android:label="@string/fillCallLogTest" |
| 79 | > |
| 80 | <intent-filter> |
| 81 | <action android:name="android.intent.action.MAIN" /> |
| 82 | <category android:name="android.intent.category.DEFAULT" /> |
| 83 | <category android:name="android.intent.category.LAUNCHER" /> |
| 84 | </intent-filter> |
| 85 | </activity> |
Dave Santoro | 0b0a96a | 2011-07-20 13:44:44 -0700 | [diff] [blame] | 86 | |
| 87 | <activity android:name=".streamitems.StreamItemPopulatorActivity" |
| 88 | android:label="@string/streamItemPopulator" |
| 89 | > |
| 90 | <intent-filter> |
| 91 | <action android:name="android.intent.action.MAIN" /> |
| 92 | <category android:name="android.intent.category.DEFAULT" /> |
| 93 | <category android:name="android.intent.category.LAUNCHER" /> |
| 94 | </intent-filter> |
| 95 | </activity> |
Makoto Onuki | dcf751d | 2011-10-17 16:14:06 -0700 | [diff] [blame] | 96 | |
| 97 | <!-- |
| 98 | Test authenticators/sync adapters. |
| 99 | |
| 100 | The idea is to have multiple account types with various edit schemas. We use subclasses |
| 101 | so we could easily add multiple pairs of authenticators and sync adapters. |
| 102 | Unfortunately there's an issue with the contacts app which prevents a single apk from |
| 103 | having multiple contacts.xml files, so for now we only declare one account type here. |
| 104 | --> |
| 105 | <service android:name=".testauth.TestAuthenticationService$Basic" android:exported="true"> |
| 106 | <intent-filter> |
| 107 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 108 | </intent-filter> |
| 109 | <meta-data |
| 110 | android:name="android.accounts.AccountAuthenticator" |
| 111 | android:resource="@xml/test_basic_authenticator" /> |
| 112 | </service> |
| 113 | |
| 114 | <service android:name=".testauth.TestSyncService$Basic" android:exported="true"> |
| 115 | <intent-filter> |
| 116 | <action android:name="android.content.SyncAdapter" /> |
| 117 | </intent-filter> |
| 118 | <meta-data |
| 119 | android:name="android.content.SyncAdapter" |
| 120 | android:resource="@xml/test_basic_syncadapter" /> |
| 121 | <meta-data |
| 122 | android:name="android.provider.CONTACTS_STRUCTURE" |
| 123 | android:resource="@xml/test_basic_contacts" /> |
| 124 | </service> |
Makoto Onuki | 8e34744 | 2011-11-29 17:17:33 -0800 | [diff] [blame] | 125 | |
| 126 | <service android:name=".QueryService" /> |
Makoto Onuki | 6548885 | 2011-11-30 10:55:31 -0800 | [diff] [blame] | 127 | <service android:name=".PhoneNumberTestService" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 128 | </application> |
| 129 | |
Evan Millar | e49dfac | 2009-06-30 15:21:47 -0700 | [diff] [blame] | 130 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 131 | android:targetPackage="com.android.contacts" |
Evan Millar | e49dfac | 2009-06-30 15:21:47 -0700 | [diff] [blame] | 132 | android:label="Contacts app tests"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 133 | </instrumentation> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 134 | |
Brett Chabot | 0e89b19 | 2009-11-12 11:48:30 -0800 | [diff] [blame] | 135 | <instrumentation android:name="com.android.contacts.ContactsLaunchPerformance" |
| 136 | android:targetPackage="com.android.contacts" |
| 137 | android:label="Contacts launch performance"> |
| 138 | </instrumentation> |
Guang Zhu | 3b61694 | 2010-04-01 11:26:21 -0700 | [diff] [blame] | 139 | |
Guang Zhu | 3b61694 | 2010-04-01 11:26:21 -0700 | [diff] [blame] | 140 | <instrumentation android:name="com.android.contacts.DialerLaunchPerformance" |
| 141 | android:targetPackage="com.android.contacts" |
| 142 | android:label="Dialer launch performance"> |
| 143 | </instrumentation> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 144 | |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 145 | </manifest> |