Home | History | Annotate | Download | only in testapps
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2013 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           coreApp="true"
     19           package="com.android.server.telecom.testapps">
     20 
     21     <uses-sdk
     22         android:minSdkVersion="23"
     23         android:targetSdkVersion="23" />
     24 
     25     <uses-permission android:name="android.permission.CAMERA" />
     26     <uses-permission android:name="android.permission.CALL_PHONE" />
     27     <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE" />
     28     <uses-permission android:name="android.permission.READ_CALL_LOG" />
     29     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
     30     <uses-permission android:name="android.permission.REGISTER_CALL_PROVIDER" />
     31     <uses-permission android:name="android.permission.REGISTER_CONNECTION_MANAGER" />
     32     <uses-permission android:name="android.permission.REGISTER_SIM_SUBSCRIPTION" />
     33     <uses-permission android:name="android.permission.WRITE_CALL_LOG" />
     34 
     35     <application android:label="@string/app_name">
     36         <uses-library android:name="android.test.runner" />
     37 
     38         <!-- Miscellaneous telecom app-related test activities. -->
     39 
     40         <service android:name="com.android.server.telecom.testapps.TestConnectionService"
     41                  android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
     42             <intent-filter>
     43                 <action android:name="android.telecom.ConnectionService" />
     44             </intent-filter>
     45         </service>
     46 
     47         <service android:name="com.android.server.telecom.testapps.TestConnectionManager"
     48                  android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE" >
     49             <intent-filter>
     50                 <action android:name="android.telecom.ConnectionService" />
     51             </intent-filter>
     52         </service>
     53 
     54         <service android:name="com.android.server.telecom.testapps.TestInCallServiceImpl"
     55                  android:process="com.android.server.telecom.testapps.TestInCallService"
     56                  android:permission="android.permission.BIND_INCALL_SERVICE" >
     57             <meta-data android:name="android.telecom.IN_CALL_SERVICE_UI" android:value="true"/>
     58             <intent-filter>
     59                 <action android:name="android.telecom.InCallService"/>
     60             </intent-filter>
     61         </service>
     62 
     63         <receiver android:name="com.android.server.telecom.testapps.TestInCallServiceBroadcastReceiver"
     64                  android:process="com.android.server.telecom.testapps.TestInCallService" >
     65             <intent-filter>
     66                 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPDATE_REQUEST_FROM_TEST_INCALL_SERVICE"/>
     67                 <action android:name="android.server.telecom.testapps.ACTION_SEND_UPGRADE_RESPONSE"/>
     68                 <data android:scheme="int" />
     69             </intent-filter>
     70         </receiver>
     71 
     72         <activity android:name="com.android.server.telecom.testapps.TestInCallUI"
     73                 android:process="com.android.server.telecom.testapps.TestInCallService"
     74                 android:label="@string/inCallUiAppLabel"
     75                 android:launchMode="singleInstance">
     76             <intent-filter>
     77                 <action android:name="android.intent.action.MAIN" />
     78                 <category android:name="android.intent.category.DEFAULT" />
     79                 <category android:name="android.intent.category.LAUNCHER" />
     80             </intent-filter>
     81         </activity>
     82 
     83         <activity android:name="com.android.server.telecom.testapps.TestCallActivity"
     84                   android:theme="@android:style/Theme.NoDisplay"
     85                   android:label="@string/testCallActivityLabel">
     86             <intent-filter>
     87                 <action android:name="android.intent.action.MAIN" />
     88                 <category android:name="android.intent.category.DEFAULT" />
     89                 <category android:name="android.intent.category.LAUNCHER" />
     90             </intent-filter>
     91             <intent-filter>
     92                 <action android:name="android.telecom.testapps.ACTION_START_INCOMING_CALL" />
     93                 <action android:name="android.telecom.testapps.ACTION_NEW_UNKNOWN_CALL" />
     94                 <category android:name="android.intent.category.DEFAULT" />
     95                 <data android:scheme="tel" />
     96                 <data android:scheme="sip" />
     97             </intent-filter>
     98             <intent-filter>
     99                 <action android:name="android.telecom.testapps.ACTION_HANGUP_CALLS" />
    100                 <category android:name="android.intent.category.DEFAULT" />
    101             </intent-filter>
    102             <intent-filter>
    103                 <action android:name="android.telecom.testapps.ACTION_SEND_UPGRADE_REQUEST" />
    104                 <category android:name="android.intent.category.DEFAULT" />
    105                 <data android:scheme="int" />
    106             </intent-filter>
    107         </activity>
    108 
    109         <receiver android:name="com.android.server.telecom.testapps.CallNotificationReceiver"
    110                   android:exported="false">
    111             <intent-filter>
    112                 <action android:name="com.android.server.telecom.testapps.ACTION_CALL_SERVICE_EXIT" />
    113             </intent-filter>
    114         </receiver>
    115 
    116         <activity android:name="com.android.server.telecom.testapps.TestDialerActivity"
    117                   android:label="@string/testDialerActivityLabel"
    118                   android:process="com.android.server.telecom.testapps.TestInCallService">
    119             <intent-filter>
    120                 <action android:name="android.intent.action.DIAL" />
    121                 <category android:name="android.intent.category.DEFAULT" />
    122                 <category android:name="android.intent.category.BROWSABLE" />
    123                 <data android:mimeType="vnd.android.cursor.item/phone" />
    124                 <data android:mimeType="vnd.android.cursor.item/person" />
    125             </intent-filter>
    126             <intent-filter>
    127                 <action android:name="android.intent.action.DIAL" />
    128                 <category android:name="android.intent.category.DEFAULT" />
    129                 <category android:name="android.intent.category.BROWSABLE" />
    130                 <data android:scheme="voicemail" />
    131             </intent-filter>
    132             <intent-filter>
    133                 <action android:name="android.intent.action.DIAL" />
    134                 <category android:name="android.intent.category.DEFAULT" />
    135             </intent-filter>
    136             <intent-filter>
    137                 <action android:name="android.intent.action.VIEW" />
    138                 <action android:name="android.intent.action.DIAL" />
    139                 <category android:name="android.intent.category.DEFAULT" />
    140                 <category android:name="android.intent.category.BROWSABLE" />
    141                 <data android:scheme="tel" />
    142             </intent-filter>
    143             <intent-filter>
    144                 <action android:name="android.intent.action.MAIN" />
    145                 <category android:name="android.intent.category.DEFAULT" />
    146                 <category android:name="android.intent.category.LAUNCHER" />
    147             </intent-filter>
    148         </activity>
    149     </application>
    150 </manifest>
    151