1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2019 The Android Open Source Project 4 ~ 5 ~ Licensed under the Apache License, Version 2.0 (the "License"); 6 ~ you may not use this file except in compliance with the License. 7 ~ You may obtain a copy of the License at 8 ~ 9 ~ http://www.apache.org/licenses/LICENSE-2.0 10 ~ 11 ~ Unless required by applicable law or agreed to in writing, software 12 ~ distributed under the License is distributed on an "AS IS" BASIS, 13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 ~ See the License for the specific language governing permissions and 15 ~ limitations under the License. 16 --> 17 18<manifest xmlns:android="http://schemas.android.com/apk/res/android" 19 xmlns:tools="http://schemas.android.com/tools" 20 package="com.android.cts.appsearch"> 21 22 <!--The Harrier library uses the READ_EXTERNAL_STORAGE permission. We have a test that 23 assumes this test app does not have this permission. So removes it. --> 24 <uses-permission 25 android:name="android.permission.READ_EXTERNAL_STORAGE" 26 tools:node="remove" /> 27 28 <queries> 29 <package android:name="com.android.cts.appsearch.helper.a" /> 30 <package android:name="com.android.cts.appsearch.helper.b" /> 31 </queries> 32 33 <application android:label="CtsAppSearchTestCases"> 34 <uses-library android:name="android.test.runner"/> 35 36 <activity android:name="android.app.appsearch.testutil.functions.ActivityCreationSynchronizer" 37 android:exported="true"/> 38 <service android:name="android.app.appsearch.testutil.functions.TestAppFunctionService" 39 android:exported="true" 40 android:permission="android.permission.BIND_APP_FUNCTION_SERVICE" 41 android:process=":appfunctions"> 42 <intent-filter> 43 <action android:name="android.app.appsearch.functions.AppFunctionService"/> 44 </intent-filter> 45 </service> 46 <receiver 47 android:name="android.app.appsearch.testutil.functions.TestAppFunctionServiceLifecycleReceiver" 48 android:exported="false"/> 49 </application> 50 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 51 android:targetPackage="com.android.cts.appsearch" 52 android:label="CtsAppSearchTestCases"/> 53</manifest> 54