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 | |
Jay Shrauner | fda7fd9 | 2015-08-31 09:51:47 -0700 | [diff] [blame^] | 20 | <uses-sdk |
| 21 | android:minSdkVersion="23" |
| 22 | android:targetSdkVersion="23" /> |
| 23 | |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.READ_CONTACTS" /> |
Flavio Lerda | 27d7648 | 2011-06-13 17:20:43 +0100 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.WRITE_CONTACTS" /> |
Daisuke Miyakawa | 14380a4 | 2012-04-17 11:37:02 -0700 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.READ_CALL_LOG" /> |
| 27 | <uses-permission android:name="android.permission.WRITE_CALL_LOG" /> |
Daniel Lehmann | 2013058 | 2010-10-21 20:51:15 -0700 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 29 | |
Makoto Onuki | dcf751d | 2011-10-17 16:14:06 -0700 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.USE_CREDENTIALS" /> |
| 31 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
| 32 | <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> |
| 33 | <uses-permission android:name="android.permission.READ_SYNC_STATS" /> |
| 34 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
| 35 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
| 36 | |
Makoto Onuki | f68c5e7 | 2012-03-01 15:14:16 -0800 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.READ_PROFILE" /> |
| 38 | <uses-permission android:name="android.permission.READ_SOCIAL_STREAM" /> |
| 39 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 40 | <application> |
| 41 | <uses-library android:name="android.test.runner" /> |
Evan Millar | e49dfac | 2009-06-30 15:21:47 -0700 | [diff] [blame] | 42 | <meta-data android:name="com.android.contacts.iconset" android:resource="@xml/iconset" /> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 43 | |
| 44 | <activity android:name=".allintents.AllIntentsActivity" |
| 45 | android:label="@string/contactsIntents" |
| 46 | > |
| 47 | <intent-filter> |
| 48 | <action android:name="android.intent.action.MAIN" /> |
| 49 | <category android:name="android.intent.category.DEFAULT" /> |
| 50 | <category android:name="android.intent.category.LAUNCHER" /> |
| 51 | </intent-filter> |
| 52 | </activity> |
| 53 | |
| 54 | <activity android:name=".allintents.ResultActivity" |
| 55 | android:label="@string/result" |
| 56 | > |
| 57 | <intent-filter> |
| 58 | <action android:name="android.intent.action.MAIN" /> |
| 59 | <category android:name="android.intent.category.DEFAULT" /> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 60 | </intent-filter> |
| 61 | </activity> |
| 62 | |
Dmitri Plotnikov | e124722 | 2010-06-02 18:14:21 -0700 | [diff] [blame] | 63 | <activity android:name=".widget.PinnedHeaderUseCaseActivity" |
| 64 | android:label="@string/pinnedHeaderList" |
| 65 | > |
| 66 | <intent-filter> |
| 67 | <action android:name="android.intent.action.MAIN" /> |
| 68 | <category android:name="android.intent.category.DEFAULT" /> |
| 69 | <category android:name="android.intent.category.LAUNCHER" /> |
| 70 | </intent-filter> |
| 71 | </activity> |
| 72 | |
Daniel Lehmann | 69e8244 | 2010-11-18 16:40:30 -0800 | [diff] [blame] | 73 | <activity android:name=".quickcontact.QuickContactTestsActivity" |
| 74 | android:label="@string/quickContactTests" |
| 75 | > |
| 76 | <intent-filter> |
| 77 | <action android:name="android.intent.action.MAIN" /> |
| 78 | <category android:name="android.intent.category.DEFAULT" /> |
| 79 | <category android:name="android.intent.category.LAUNCHER" /> |
| 80 | </intent-filter> |
| 81 | </activity> |
Flavio Lerda | 27d7648 | 2011-06-13 17:20:43 +0100 | [diff] [blame] | 82 | |
Makoto Onuki | dcf751d | 2011-10-17 16:14:06 -0700 | [diff] [blame] | 83 | <!-- |
| 84 | Test authenticators/sync adapters. |
| 85 | |
| 86 | The idea is to have multiple account types with various edit schemas. We use subclasses |
| 87 | so we could easily add multiple pairs of authenticators and sync adapters. |
| 88 | Unfortunately there's an issue with the contacts app which prevents a single apk from |
| 89 | having multiple contacts.xml files, so for now we only declare one account type here. |
| 90 | --> |
| 91 | <service android:name=".testauth.TestAuthenticationService$Basic" android:exported="true"> |
| 92 | <intent-filter> |
| 93 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 94 | </intent-filter> |
| 95 | <meta-data |
| 96 | android:name="android.accounts.AccountAuthenticator" |
| 97 | android:resource="@xml/test_basic_authenticator" /> |
| 98 | </service> |
| 99 | |
Makoto Onuki | 8e34744 | 2011-11-29 17:17:33 -0800 | [diff] [blame] | 100 | <service android:name=".QueryService" /> |
Makoto Onuki | 6548885 | 2011-11-30 10:55:31 -0800 | [diff] [blame] | 101 | <service android:name=".PhoneNumberTestService" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 102 | </application> |
| 103 | |
Evan Millar | e49dfac | 2009-06-30 15:21:47 -0700 | [diff] [blame] | 104 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 105 | android:targetPackage="com.android.contacts" |
Evan Millar | e49dfac | 2009-06-30 15:21:47 -0700 | [diff] [blame] | 106 | android:label="Contacts app tests"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 107 | </instrumentation> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 108 | |
Brett Chabot | 0e89b19 | 2009-11-12 11:48:30 -0800 | [diff] [blame] | 109 | <instrumentation android:name="com.android.contacts.ContactsLaunchPerformance" |
| 110 | android:targetPackage="com.android.contacts" |
| 111 | android:label="Contacts launch performance"> |
| 112 | </instrumentation> |
Guang Zhu | 3b61694 | 2010-04-01 11:26:21 -0700 | [diff] [blame] | 113 | |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 114 | </manifest> |