Amith Yamasani | 907b253 | 2017-01-31 15:45:12 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2017 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.server.cts.device.batterystats" > |
Fyodor Kupolov | 934755f | 2017-02-15 19:00:27 -0800 | [diff] [blame] | 19 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> |
| 20 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> |
Bookatz | 345ad27 | 2017-04-19 16:23:33 -0700 | [diff] [blame] | 21 | <uses-permission android:name="android.permission.BLUETOOTH"/> |
| 22 | <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/> |
Fyodor Kupolov | 934755f | 2017-02-15 19:00:27 -0800 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/> |
Dianne Hackborn | 62ab61e | 2018-01-19 17:54:16 -0800 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> |
Jocelyn Dang | 8bc24f7 | 2017-03-07 12:57:38 -0800 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.INTERNET" /> |
Amith Yamasani | 907b253 | 2017-01-31 15:45:12 -0800 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Makoto Onuki | 3ecad0e | 2017-03-07 14:47:22 -0800 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.READ_SYNC_STATS" /> |
| 28 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
Suprabh Shukla | 68e8bbc | 2017-06-16 18:40:23 -0700 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" /> |
Amith Yamasani | 907b253 | 2017-01-31 15:45:12 -0800 | [diff] [blame] | 30 | |
Makoto Onuki | 3ecad0e | 2017-03-07 14:47:22 -0800 | [diff] [blame] | 31 | <application android:label="@string/app_name"> |
Amith Yamasani | 907b253 | 2017-01-31 15:45:12 -0800 | [diff] [blame] | 32 | <uses-library android:name="android.test.runner" /> |
Jocelyn Dang | 8bc24f7 | 2017-03-07 12:57:38 -0800 | [diff] [blame] | 33 | <uses-library android:name="org.apache.http.legacy" android:required="false" /> |
| 34 | |
Bookatz | a190263 | 2017-04-03 14:05:10 -0700 | [diff] [blame] | 35 | <service android:name=".BatteryStatsBackgroundService" android:exported="true" /> |
| 36 | |
| 37 | <activity android:name=".BatteryStatsForegroundActivity" android:exported="true" /> |
| 38 | |
Amith Yamasani | 0444010 | 2017-02-03 16:40:06 -0800 | [diff] [blame] | 39 | <service android:name=".SimpleForegroundService" android:exported="true" /> |
Amith Yamasani | 754ea7b | 2017-02-24 11:32:17 -0800 | [diff] [blame] | 40 | |
| 41 | <service android:name=".SimpleJobService" |
| 42 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
| 43 | |
Bookatz | a190263 | 2017-04-03 14:05:10 -0700 | [diff] [blame] | 44 | <activity android:name=".SimpleActivity" android:label="BatteryStats Test Activity" android:exported="true" /> |
Makoto Onuki | 3ecad0e | 2017-03-07 14:47:22 -0800 | [diff] [blame] | 45 | |
| 46 | <service android:name=".BatteryStatsAuthenticator" |
| 47 | android:exported="false"> |
| 48 | <intent-filter> |
| 49 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 50 | </intent-filter> |
| 51 | |
| 52 | <meta-data android:name="android.accounts.AccountAuthenticator" |
| 53 | android:resource="@xml/authenticator" /> |
| 54 | </service> |
| 55 | <service android:name=".BatteryStatsSyncService" |
| 56 | android:exported="false" > |
| 57 | <intent-filter> |
| 58 | <action android:name="android.content.SyncAdapter" /> |
| 59 | </intent-filter> |
| 60 | <meta-data android:name="android.content.SyncAdapter" |
| 61 | android:resource="@xml/syncadapter" /> |
| 62 | </service> |
| 63 | |
| 64 | <provider android:name=".BatteryStatsProvider" |
| 65 | android:authorities="com.android.server.cts.device.batterystats.provider" /> |
| 66 | |
Amith Yamasani | 907b253 | 2017-01-31 15:45:12 -0800 | [diff] [blame] | 67 | </application> |
| 68 | |
Brett Chabot | 0146627 | 2019-03-06 15:52:42 -0800 | [diff] [blame] | 69 | <instrumentation android:name="androidx.test.runner.AndroidJUnitRunner" |
Amith Yamasani | 907b253 | 2017-01-31 15:45:12 -0800 | [diff] [blame] | 70 | android:targetPackage="com.android.server.cts.device.batterystats" /> |
| 71 | </manifest> |