summaryrefslogtreecommitdiffstats
path: root/components/devtools_bridge/android/javatests/AndroidManifest.xml
blob: e2bc021a1746eb3bbc4abe27ca0cff56da2a516d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0" encoding="utf-8"?>
  <!-- Copyright 2014 The Chromium Authors. All rights reserved. Use of
       this source code is governed by a BSD-style license that can be found
       in the LICENSE file. -->
  <!-- package name must be unique so suffix with "tests" so package loader
       doesn't ignore this. -->
  <manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="org.chromium.components.devtools_bridge.tests">
    <application>
        <uses-library android:name="android.test.runner" />
        <service
                android:name=".DebugService" >
        </service>
        <service
                android:name="org.chromium.components.devtools_bridge.DevToolsBridgeServerSandbox$Service" />
        <service
                android:name="org.chromium.components.devtools_bridge.GCDHostService" />
        <activity
                android:name=".DebugActivity"
                android:label="DevToolsBridge tests" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <receiver
                android:name="org.chromium.components.devtools_bridge.GCDHostService$Receiver"
                android:permission="com.google.android.c2dm.permission.SEND" >
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.RECEIVE" />
                <category android:name="org.chromium.components.devtools_bridge.tests" />
            </intent-filter>
            <intent-filter>
                <action android:name="com.google.android.c2dm.intent.REGISTRATION" />
                <category android:name="org.chromium.components.devtools_bridge.tests" />
            </intent-filter>
        </receiver>
    </application>
    <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21" />
    <instrumentation android:name="android.test.InstrumentationTestRunner"
            android:targetPackage="org.chromium.components.devtools_bridge.tests"
            android:label="Tests for org.chromium.components.devtools_bridge"/>

    <permission
            android:name="org.chromium.components.devtools_bridge.tests.permission.C2D_MESSAGE"
            android:protectionLevel="signature" />

    <uses-permission android:name="android.permission.RUN_INSTRUMENTATION" />
    <uses-permission android:name="android.permission.INJECT_EVENTS" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.USE_CREDENTIALS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
    <uses-permission
            android:name="org.chromium.components.devtools_bridge.tests.permission.C2D_MESSAGE" />

    <!-- For manual testing with Chrome Shell -->
    <uses-permission android:name="org.chromium.chrome.shell.permission.DEBUG" />

    <!-- For manual testing with Clankium -->
    <uses-permission android:name="com.google.android.apps.chrome.permission.DEBUG" />
</manifest>