1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 ~ Copyright (C) 2020 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 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:androidprv="http://schemas.android.com/apk/prv/res/android" 21 android:sharedUserId="android.uid.system" 22 package="com.android.car.settings.tests.unit"> 23 24 <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> 25 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> 26 <uses-permission android:name="android.permission.BACKUP"/> 27 <uses-permission android:name="android.permission.BLUETOOTH"/> 28 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> 29 <uses-permission android:name="android.permission.BLUETOOTH_PRIVILEGED"/> 30 <uses-permission android:name="android.permission.CAR_VENDOR_EXTENSION"/> 31 <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> 32 <uses-permission android:name="android.permission.CLEAR_APP_USER_DATA"/> 33 <uses-permission android:name="android.permission.CONTROL_DISPLAY_UNITS"/> 34 <uses-permission android:name="android.permission.DELETE_CACHE_FILES"/> 35 <uses-permission android:name="android.permission.DUMP"/> 36 <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/> 37 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/> 38 <uses-permission android:name="android.permission.GET_PACKAGE_SIZE"/> 39 <uses-permission android:name="android.permission.INJECT_EVENTS"/> 40 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS"/> 41 <uses-permission android:name="android.permission.INTERNET"/> 42 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/> 43 <uses-permission android:name="android.permission.MANAGE_ROLE_HOLDERS"/> 44 <uses-permission android:name="android.permission.MANAGE_USERS"/> 45 <uses-permission android:name="android.permission.MASTER_CLEAR" /> 46 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS"/> 47 <uses-permission android:name="android.permission.NETWORK_SETTINGS" /> 48 <uses-permission android:name="android.permission.OVERRIDE_WIFI_CONFIG"/> 49 <uses-permission android:name="android.permission.READ_CONTACTS"/> 50 <uses-permission android:name="android.permission.READ_DISPLAY_UNITS"/> 51 <uses-permission android:name="android.permission.REBOOT"/> 52 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> 53 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> 54 <uses-permission android:name="android.permission.REQUEST_DELETE_PACKAGES"/> 55 <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS"/> 56 <uses-permission android:name="android.permission.START_FOREGROUND"/> 57 <uses-permission android:name="android.permission.STATUS_BAR_SERVICE"/> 58 <uses-permission android:name="android.permission.SUGGEST_MANUAL_TIME_AND_ZONE"/> 59 <uses-permission android:name="android.permission.WRITE_SETTINGS"/> 60 <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS"/> 61 <uses-permission android:name="android.permission.MANAGE_SENSOR_PRIVACY"/> 62 <uses-permission android:name="android.permission.OBSERVE_SENSOR_PRIVACY"/> 63 64 <application android:debuggable="true"> 65 <uses-library android:name="android.test.runner" /> 66 67 <activity 68 android:name="com.android.car.settings.common.SubSettingsActivity" 69 android:theme="@style/CarSettingTheme" 70 android:windowSoftInputMode="adjustPan"> 71 <meta-data android:name="com.android.car.settings.SINGLE_PANE" android:value="true"/> 72 <meta-data android:name="distractionOptimized" android:value="true"/> 73 </activity> 74 75 <provider 76 android:name="com.android.car.settings.testutils.TestContentProvider" 77 android:authorities="com.android.car.settings.testutils.TestContentProvider" 78 android:exported="true"> 79 </provider> 80 81 <activity 82 android:name="com.android.car.settings.testutils.TestFinishActivity"> 83 <meta-data android:name="distractionOptimized" android:value="true"/> 84 </activity> 85 86 <activity 87 android:name="com.android.car.settings.testutils.BaseCarSettingsTestActivity" 88 android:theme="@style/CarSettingTheme" 89 android:windowSoftInputMode="adjustPan"> 90 <meta-data android:name="distractionOptimized" android:value="true"/> 91 </activity> 92 93 <activity 94 android:name="com.android.car.settings.testutils.SinglePaneTestActivity" 95 android:theme="@style/CarSettingTheme" 96 android:windowSoftInputMode="adjustPan"> 97 <meta-data android:name="com.android.car.settings.SINGLE_PANE" android:value="true"/> 98 <meta-data android:name="distractionOptimized" android:value="true"/> 99 </activity> 100 101 <activity 102 android:name="com.android.car.settings.testutils.DualPaneTestActivity" 103 android:theme="@style/CarSettingTheme" 104 android:windowSoftInputMode="adjustPan"> 105 <meta-data android:name="com.android.car.settings.SINGLE_PANE" android:value="false"/> 106 <meta-data android:name="distractionOptimized" android:value="true"/> 107 </activity> 108 109 <activity 110 android:name="com.android.car.settings.common.DualPaneBaseCarSettingsActivityTest$TestDualPaneHomepageActivity" 111 android:theme="@style/CarSettingTheme" 112 android:windowSoftInputMode="adjustPan"> 113 <meta-data android:name="com.android.car.settings.SINGLE_PANE" android:value="false"/> 114 <meta-data android:name="distractionOptimized" android:value="true"/> 115 </activity> 116 117 <activity 118 android:name="com.android.car.settings.common.DualPaneBaseCarSettingsActivityTest$TestDualPaneFragmentActivity" 119 android:theme="@style/CarSettingTheme" 120 android:windowSoftInputMode="adjustPan"> 121 <meta-data android:name="com.android.car.settings.SINGLE_PANE" android:value="false"/> 122 <meta-data android:name="distractionOptimized" android:value="true"/> 123 </activity> 124 125 <activity 126 android:name="com.android.car.settings.testutils.TestSettingsScreenLockActivity" 127 android:theme="@style/CarSettingTheme" 128 android:windowSoftInputMode="adjustPan"> 129 <meta-data android:name="com.android.car.settings.SINGLE_PANE" android:value="true"/> 130 <meta-data android:name="distractionOptimized" android:value="true"/> 131 </activity> 132 133 <activity 134 android:name="com.android.car.settings.system.RegulatoryInfoDisplayActivity" 135 android:theme="@style/CarSettingTheme" 136 android:label="@string/regulatory_labels"> 137 </activity> 138 139 <receiver 140 android:name="com.android.car.settings.enterprise.DefaultDeviceAdminReceiver"> 141 <meta-data android:name="android.app.device_admin" 142 android:resource="@xml/empty_device_admin"/> 143 </receiver> 144 145 <receiver 146 android:name="com.android.car.settings.enterprise.FancyDeviceAdminReceiver" 147 android:label="@string/fancy_device_admin_label" 148 android:icon="@drawable/test_icon" 149 android:description="@string/fancy_device_admin_description"> 150 <meta-data android:name="android.app.device_admin" 151 android:resource="@xml/fancy_device_admin"/> 152 </receiver> 153 154 </application> 155 156 <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" 157 android:targetPackage="com.android.car.settings.tests.unit" 158 android:label="Car Settings Unit Tests"/> 159</manifest> 160