1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 * Copyright (C) 2017 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 package="android.sensitivecontentprotection.cts"> 20 21 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> 22 <uses-permission android:name="android.permission.CAPTURE_VIDEO_OUTPUT"/> 23 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> 24 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" /> 25 26 <application android:label="Sensitive Content Protection TestCase"> 27 <uses-library android:name="android.test.runner"/> 28 29 <service android:name="android.app.stubs.shared.TestNotificationListener" 30 android:exported="true" 31 android:label="TestNotificationListener" 32 android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"> 33 <intent-filter> 34 <action android:name="android.service.notification.NotificationListenerService" /> 35 </intent-filter> 36 </service> 37 38 <service android:name="android.app.stubs.shared.TestNotificationAssistant" 39 android:exported="true" 40 android:label="TestNotificationAssistant" 41 android:permission="android.permission.BIND_NOTIFICATION_ASSISTANT_SERVICE"> 42 <intent-filter> 43 <action android:name="android.service.notification.NotificationAssistantService" /> 44 </intent-filter> 45 </service> 46 47 <activity android:name=".SensitiveContentActivity" 48 android:label="SensitiveContentActivity" 49 android:theme="@android:style/Theme.NoTitleBar" 50 android:exported="true"> 51 <intent-filter> 52 <action android:name="android.intent.action.MAIN"/> 53 <category android:name="android.intent.category.LAUNCHER"/> 54 </intent-filter> 55 </activity> 56 57 <activity android:name=".SimpleActivity" 58 android:label="SimpleActivity" 59 android:theme="@android:style/Theme.NoTitleBar" 60 android:exported="true"> 61 <intent-filter> 62 <action android:name="android.intent.action.MAIN"/> 63 <category android:name="android.intent.category.LAUNCHER"/> 64 </intent-filter> 65 </activity> 66 67 <activity android:name=".SimpleFlagSecureActivity" 68 android:label="SimpleFlagSecureActivity" 69 android:theme="@android:style/Theme.NoTitleBar" 70 android:exported="true"> 71 <intent-filter> 72 <action android:name="android.intent.action.MAIN"/> 73 <category android:name="android.intent.category.LAUNCHER"/> 74 </intent-filter> 75 </activity> 76 77 <activity android:name=".SensitiveAutofillHintActivity" 78 android:label="SensitiveAutofillHintActivity" 79 android:exported="true"> 80 <intent-filter> 81 <action android:name="android.intent.action.MAIN"/> 82 <category android:name="android.intent.category.LAUNCHER"/> 83 </intent-filter> 84 </activity> 85 86 <activity android:name="android.sensitivecontentprotection.cts.SensitiveContentMediaProjectionHelper$MediaProjectionActivity" /> 87 <service 88 android:name="android.sensitivecontentprotection.cts.SensitiveContentMediaProjectionHelper$MediaProjectionService" 89 android:enabled="true" 90 android:foregroundServiceType="mediaProjection" /> 91 92 </application> 93 94 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 95 android:targetPackage="android.sensitivecontentprotection.cts" 96 android:label="CTS tests for Sensitive Content Protection"> 97 </instrumentation> 98 99</manifest> 100