Xml文件  |  89行  |  3.88 KB

<?xml version="1.0" encoding="utf-8"?>
<!--
 * Copyright (C) 2015 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 -->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="android.camera.cts">
    <uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.REORDER_TASKS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />

    <application android:largeHeap="true">
        <uses-library android:name="android.test.runner" />

        <activity android:name="android.hardware.cts.CameraCtsActivity"
            android:label="CameraCtsActivity"
            android:screenOrientation="landscape"
            android:configChanges="keyboardHidden|orientation|screenSize">
        </activity>

        <activity android:name="android.hardware.camera2.cts.Camera2SurfaceViewCtsActivity"
            android:label="Camera2CtsActivity"
            android:screenOrientation="landscape"
            android:configChanges="keyboardHidden|orientation|screenSize">
        </activity>

        <activity android:name="android.hardware.camera2.cts.Camera2MultiViewCtsActivity"
            android:label="Camera2MultiViewCtsActivity"
            android:screenOrientation="landscape"
            android:configChanges="keyboardHidden|orientation|screenSize">
        </activity>

        <activity android:name="android.hardware.cts.GLSurfaceViewCtsActivity"
            android:label="GLSurfaceViewCtsActivity"/>

        <service android:name="android.hardware.multiprocess.camera.cts.ErrorLoggingService"
            android:label="ErrorLoggingService"
            android:process=":errorLoggingServiceProcess"
            android:exported="false">
        </service>

        <activity android:name="android.hardware.multiprocess.camera.cts.Camera1Activity"
            android:label="RemoteCamera1Activity"
            android:screenOrientation="landscape"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:process=":camera1ActivityProcess">
        </activity>

        <activity android:name="android.hardware.multiprocess.camera.cts.Camera2Activity"
            android:label="RemoteCamera2Activity"
            android:screenOrientation="landscape"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:process=":camera2ActivityProcess">
        </activity>

        <activity android:name="android.hardware.multiprocess.camera.cts.MediaRecorderCameraActivity"
            android:label="RemoteMediaRecorderCameraActivity"
            android:screenOrientation="landscape"
            android:configChanges="keyboardHidden|orientation|screenSize"
            android:process=":mediaRecorderCameraActivityProcess">
        </activity>

    </application>

    <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
                     android:targetPackage="android.camera.cts"
                     android:label="CTS tests of android camera">
        <meta-data android:name="listener"
            android:value="com.android.cts.runner.CtsTestRunListener" />
    </instrumentation>

</manifest>