1 <!-- 2 * Copyright (C) 2015 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="android.alarmclock.cts"> 19 20 <uses-permission android:name="android.permission.DISABLE_KEYGUARD" /> 21 <uses-permission android:name="com.android.alarm.permission.SET_ALARM" /> 22 23 <application> 24 <uses-library android:name="android.test.runner" /> 25 26 <activity android:name="TestStartActivity" 27 android:label="The Target Activity for AlarmClock CTS Test"> 28 <intent-filter> 29 <action android:name="android.intent.action.TEST_START_ACTIVITY_DISMISS_ALARM" /> 30 <action android:name="android.intent.action.TEST_START_ACTIVITY_SET_ALARM" /> 31 <action android:name= 32 "android.intent.action.TEST_START_ACTIVITY_SET_ALARM_FOR_DISMISSAL" /> 33 <action android:name="android.intent.action.TEST_START_ACTIVITY_SNOOZE_ALARM" /> 34 <category android:name="android.intent.category.LAUNCHER" /> 35 <category android:name="android.intent.category.DEFAULT" /> 36 </intent-filter> 37 </activity> 38 </application> 39 40 <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner" 41 android:targetPackage="android.alarmclock.cts" 42 android:label="CTS tests of android.alarmclock"> 43 <meta-data android:name="listener" 44 android:value="com.android.cts.runner.CtsTestRunListener" /> 45 </instrumentation> 46 </manifest> 47 48