| Lais Andrade | 65fbba6 | 2023-07-12 18:23:07 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2023 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 |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 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.framework.services.tests.vibrator"> |
| 19 | |
| 20 | <!-- Required to set user settings --> |
| 21 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" /> |
| 22 | <!-- Required to register uid observer --> |
| 23 | <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" /> |
| 24 | <!-- Required to acquire wake locks during vibrations --> |
| 25 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
| 26 | <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> |
| 27 | <!-- Required to request vibrations --> |
| 28 | <uses-permission android:name="android.permission.VIBRATE" /> |
| 29 | <!-- Required to listen to the vibrator state --> |
| 30 | <uses-permission android:name="android.permission.ACCESS_VIBRATOR_STATE" /> |
| 31 | <!-- Required to set always-on vibrations --> |
| 32 | <uses-permission android:name="android.permission.VIBRATE_ALWAYS_ON" /> |
| Lais Andrade | b2e56fd | 2024-03-26 16:34:57 +0000 | [diff] [blame] | 33 | <!-- Required to play system-only haptic feedback constants --> |
| 34 | <uses-permission android:name="android.permission.VIBRATE_SYSTEM_CONSTANTS" /> |
| Lais Andrade | 65fbba6 | 2023-07-12 18:23:07 +0100 | [diff] [blame] | 35 | |
| Lais Andrade | 1cde707 | 2023-07-18 12:51:28 +0100 | [diff] [blame] | 36 | <application android:debuggable="true"> |
| Lais Andrade | 65fbba6 | 2023-07-12 18:23:07 +0100 | [diff] [blame] | 37 | <uses-library android:name="android.test.mock" android:required="true" /> |
| 38 | <uses-library android:name="android.test.runner" /> |
| 39 | </application> |
| 40 | |
| 41 | <instrumentation |
| 42 | android:name="androidx.test.runner.AndroidJUnitRunner" |
| 43 | android:label="Vibrator Service Tests" |
| 44 | android:targetPackage="com.android.framework.services.tests.vibrator" /> |
| 45 | |
| 46 | </manifest> |