Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / content / shell / android / browsertests_apk / AndroidManifest.xml.jinja2
blobfa1fc35c82899772de8166e65fd5a3850b73a26c
1 <?xml version="1.0" encoding="utf-8"?>
3 <!-- Copyright (c) 2012 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
7 -->
9 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
10 package="org.chromium.content_browsertests_apk">
12 <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="23" />
13 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
14 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
15 <uses-permission android:name="android.permission.CAMERA" />
16 <uses-permission android:name="android.permission.INTERNET"/>
17 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
18 <uses-permission android:name="android.permission.RECORD_AUDIO"/>
19 <uses-permission android:name="android.permission.VIBRATE"/>
20 <uses-permission android:name="android.permission.WAKE_LOCK"/>
21 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
23 <application android:name="ContentBrowserTestsApplication"
24 android:label="ContentBrowserTests">
25 <activity android:name="ContentBrowserTestsActivity"
26 android:launchMode="singleTask"
27 android:theme="@android:style/Theme.Holo.Light.NoActionBar"
28 android:configChanges="orientation|keyboardHidden|keyboard|screenSize"
29 android:hardwareAccelerated="true"
30 android:process=":test_process">
31 <intent-filter>
32 <action android:name="android.intent.action.MAIN"/>
33 <category android:name="android.intent.category.LAUNCHER"/>
34 </intent-filter>
35 </activity>
36 <!-- The following service entries exist in order to allow us to
37 start more than one sandboxed process. -->
39 <!-- NOTE: If you change the values of "android:process" for any of the below services,
40 you also need to update kHelperProcessExecutableName in chrome_constants.cc. -->
41 {% set num_sandboxed_services = 20 %}
42 <meta-data android:name="org.chromium.content.browser.NUM_SANDBOXED_SERVICES"
43 android:value="{{ num_sandboxed_services }}"/>
44 {% for i in range(num_sandboxed_services) %}
45 <service android:name="org.chromium.content.app.SandboxedProcessService{{ i }}"
46 android:process=":sandboxed_process{{ i }}"
47 android:isolatedProcess="true"
48 android:exported="false" />
49 {% endfor %}
51 {% set num_privileged_services = 3 %}
52 <meta-data android:name="org.chromium.content.browser.NUM_PRIVILEGED_SERVICES"
53 android:value="{{ num_privileged_services }}"/>
54 {% for i in range(num_privileged_services) %}
55 <service android:name="org.chromium.content.app.PrivilegedProcessService{{ i }}"
56 android:process=":privileged_process{{ i }}"
57 android:isolatedProcess="false"
58 android:exported="false" />
59 {% endfor %}
61 <!-- Service Worker Background Sync service listener -->
62 <service android:name="org.chromium.content.browser.BackgroundSyncLauncherService"
63 android:exported="false" />
64 <receiver android:name="org.chromium.content.browser.BackgroundSyncLauncherService$Receiver">
65 <intent-filter>
66 <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />
67 </intent-filter>
68 </receiver>
70 </application>
72 <instrumentation android:name="org.chromium.native_test.NativeTestInstrumentationTestRunner"
73 android:label="ContentBrowserTests"
74 android:targetPackage="org.chromium.content_browsertests_apk"/>
75 </manifest>