blob: c0f514fb9673131af36a8c200546fc5634508dad [file] [log] [blame]
Lais Andrade65fbba62023-07-12 18:23:07 +01001<?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 Andradeb2e56fd2024-03-26 16:34:57 +000033 <!-- Required to play system-only haptic feedback constants -->
34 <uses-permission android:name="android.permission.VIBRATE_SYSTEM_CONSTANTS" />
Lais Andrade65fbba62023-07-12 18:23:07 +010035
Lais Andrade1cde7072023-07-18 12:51:28 +010036 <application android:debuggable="true">
Lais Andrade65fbba62023-07-12 18:23:07 +010037 <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>