Christopher Tate | d417d62 | 2013-08-19 16:14:25 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2014 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.idleservicetest"> |
| 19 | |
| 20 | <application> |
| 21 | <service android:name="TestService" |
| 22 | android:exported="true" |
| 23 | android:enabled="true" |
| 24 | android:permission="android.permission.BIND_IDLE_SERVICE" > |
| 25 | <intent-filter> |
| 26 | <action android:name="android.service.idle.IdleService" /> |
| 27 | </intent-filter> |
| 28 | </service> |
| 29 | |
| 30 | <service android:name="CrashingTestService" |
| 31 | android:exported="true" |
| 32 | android:enabled="true" |
| 33 | android:permission="android.permission.BIND_IDLE_SERVICE" > |
| 34 | <intent-filter> |
| 35 | <action android:name="android.service.idle.IdleService" /> |
| 36 | </intent-filter> |
| 37 | </service> |
| 38 | |
| 39 | <service android:name="TimeoutTestService" |
| 40 | android:exported="true" |
| 41 | android:enabled="true" |
| 42 | android:permission="android.permission.BIND_IDLE_SERVICE" > |
| 43 | <intent-filter> |
| 44 | <action android:name="android.service.idle.IdleService" /> |
| 45 | </intent-filter> |
| 46 | </service> |
| 47 | |
| 48 | <!-- UnpermissionedTestService should never run because it does |
| 49 | not require the necessary permission in its <service> block --> |
| 50 | <service android:name="UnpermissionedTestService" |
| 51 | android:exported="true" |
| 52 | android:enabled="true" > |
| 53 | <intent-filter> |
| 54 | <action android:name="android.service.idle.IdleService" /> |
| 55 | </intent-filter> |
| 56 | </service> |
| 57 | |
| 58 | </application> |
| 59 | </manifest> |