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 |
Wenyi Wang | 6ad8269 | 2016-02-23 15:41:21 -0800 | [diff] [blame] | 21 | android:minSdkVersion="21" |
Walter Jang | b69f4cc | 2016-07-15 16:35:50 -0700 | [diff] [blame] | 22 | android:targetSdkVersion="25" /> |
Jay Shrauner | fda7fd9 | 2015-08-31 09:51:47 -0700 | [diff] [blame] | 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" /> |
Daniel Lehmann | 2013058 | 2010-10-21 20:51:15 -0700 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 27 | |
Makoto Onuki | dcf751d | 2011-10-17 16:14:06 -0700 | [diff] [blame] | 28 | <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 Onuki | f68c5e7 | 2012-03-01 15:14:16 -0800 | [diff] [blame] | 35 | <uses-permission android:name="android.permission.READ_PROFILE" /> |
| 36 | <uses-permission android:name="android.permission.READ_SOCIAL_STREAM" /> |
| 37 | |
Walter Jang | ad2acfb | 2016-03-09 12:23:09 -0800 | [diff] [blame] | 38 | <application |
| 39 | android:label="@string/applicationLabel"> |
| 40 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 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 | |
Walter Jang | ad2acfb | 2016-03-09 12:23:09 -0800 | [diff] [blame] | 44 | <activity android:name=".allintents.AllIntentsActivity"> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 45 | <intent-filter> |
| 46 | <action android:name="android.intent.action.MAIN" /> |
| 47 | <category android:name="android.intent.category.DEFAULT" /> |
| 48 | <category android:name="android.intent.category.LAUNCHER" /> |
| 49 | </intent-filter> |
| 50 | </activity> |
| 51 | |
Walter Jang | ad2acfb | 2016-03-09 12:23:09 -0800 | [diff] [blame] | 52 | <activity android:name=".allintents.ResultActivity"/> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 53 | |
Walter Jang | ad2acfb | 2016-03-09 12:23:09 -0800 | [diff] [blame] | 54 | <activity android:name=".quickcontact.QuickContactTestsActivity"/> |
Flavio Lerda | 27d7648 | 2011-06-13 17:20:43 +0100 | [diff] [blame] | 55 | |
Makoto Onuki | dcf751d | 2011-10-17 16:14:06 -0700 | [diff] [blame] | 56 | <!-- |
| 57 | Test authenticators/sync adapters. |
| 58 | |
| 59 | The idea is to have multiple account types with various edit schemas. We use subclasses |
| 60 | so we could easily add multiple pairs of authenticators and sync adapters. |
| 61 | Unfortunately there's an issue with the contacts app which prevents a single apk from |
| 62 | having multiple contacts.xml files, so for now we only declare one account type here. |
| 63 | --> |
| 64 | <service android:name=".testauth.TestAuthenticationService$Basic" android:exported="true"> |
| 65 | <intent-filter> |
| 66 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 67 | </intent-filter> |
| 68 | <meta-data |
| 69 | android:name="android.accounts.AccountAuthenticator" |
| 70 | android:resource="@xml/test_basic_authenticator" /> |
| 71 | </service> |
| 72 | |
Makoto Onuki | 8e34744 | 2011-11-29 17:17:33 -0800 | [diff] [blame] | 73 | <service android:name=".QueryService" /> |
Makoto Onuki | 6548885 | 2011-11-30 10:55:31 -0800 | [diff] [blame] | 74 | <service android:name=".PhoneNumberTestService" /> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 75 | </application> |
| 76 | |
Evan Millar | e49dfac | 2009-06-30 15:21:47 -0700 | [diff] [blame] | 77 | <instrumentation android:name="android.test.InstrumentationTestRunner" |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 78 | android:targetPackage="com.android.contacts" |
Evan Millar | e49dfac | 2009-06-30 15:21:47 -0700 | [diff] [blame] | 79 | android:label="Contacts app tests"> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 80 | </instrumentation> |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 81 | |
Brett Chabot | 0e89b19 | 2009-11-12 11:48:30 -0800 | [diff] [blame] | 82 | <instrumentation android:name="com.android.contacts.ContactsLaunchPerformance" |
| 83 | android:targetPackage="com.android.contacts" |
| 84 | android:label="Contacts launch performance"> |
| 85 | </instrumentation> |
Guang Zhu | 3b61694 | 2010-04-01 11:26:21 -0700 | [diff] [blame] | 86 | |
Dmitri Plotnikov | 31ec0b5 | 2010-04-19 13:56:16 -0700 | [diff] [blame] | 87 | </manifest> |