| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2011 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <manifest |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| package="com.android.frameworks.coretests.install_multi_package"> |
| |
| <!-- |
| This manifest is has child packages with components. |
| --> |
| |
| <uses-feature |
| android:name="com.android.frameworks.coretests.nonexistent" /> |
| <uses-configuration |
| android:reqFiveWayNav="false" /> |
| |
| <instrumentation |
| android:name="android.test.InstrumentationTestRunner" |
| android:targetPackage="com.android.frameworks.coretests" |
| android:label="Frameworks Core Tests" /> |
| |
| <permission |
| android:label="test permission" |
| android:name="test_permission" |
| android:protectionLevel="normal" /> |
| <uses-permission android:name="android.permission.INTERNET" /> |
| |
| <!-- |
| NOTE: This declares a child package, application, then another child |
| package, to test potential bugs that are order-dependent. Also, each |
| one varies the order. |
| --> |
| |
| <package package="com.android.frameworks.coretests.install_multi_package.first_child"> |
| <uses-permission android:name="android.permission.NFC" /> |
| <!-- NOTE: A declared permission is ignored since the tag is not whitelisted. --> |
| <permission |
| android:label="test permission" |
| android:name="first_child_permission" |
| android:protectionLevel="signature" /> |
| <application |
| android:hasCode="true"> |
| <activity |
| android:name="com.android.frameworks.coretests.FirstChildTestActivity"> |
| </activity> |
| <provider |
| android:name="com.android.frameworks.coretests.FirstChildTestProvider" |
| android:authorities="com.android.frameworks.coretests.testprovider" /> |
| <receiver |
| android:name="com.android.frameworks.coretests.FirstChildTestReceiver" /> |
| <service |
| android:name="com.android.frameworks.coretests.FirstChildTestService" /> |
| </application> |
| </package> |
| |
| <application |
| android:hasCode="true"> |
| <service |
| android:name="com.android.frameworks.coretests.TestService" /> |
| <activity |
| android:name="com.android.frameworks.coretests.TestActivity"> |
| </activity> |
| <provider |
| android:name="com.android.frameworks.coretests.TestProvider" |
| android:authorities="com.android.frameworks.coretests.testprovider" /> |
| <receiver |
| android:name="com.android.frameworks.coretests.TestReceiver" /> |
| </application> |
| |
| <package package="com.android.frameworks.coretests.blah.second_child"> |
| <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
| <uses-permission-sdk-23 android:name="android.permission.READ_CONTACTS" /> |
| <!-- NOTE: A declared permission is ignored since the tag is not whitelisted. --> |
| <permission |
| android:label="test permission" |
| android:name="second_child_permission" |
| android:protectionLevel="dangerous" /> |
| <application |
| android:hasCode="true"> |
| <receiver |
| android:name="com.android.frameworks.coretests.SecondChildTestReceiver" /> |
| <service |
| android:name="com.android.frameworks.coretests.SecondChildTestService" /> |
| <activity |
| android:name="com.android.frameworks.coretests.SecondChildTestActivity"> |
| </activity> |
| <provider |
| android:name="com.android.frameworks.coretests.SecondChildTestProvider" |
| android:authorities="com.android.frameworks.coretests.testprovider" /> |
| </application> |
| </package> |
| </manifest> |