Added a new Camera2 framework stress test to put stress in the common use cases in exercising Camera2 APIs. Note that this stress test differs from Camera CTS in that it focus on ensuring stability rather than functionality. It could also provide the flexibility to get integrated with test tools if needed. For the initial run, most test codes are taken from CTS package except for test fixtures to handle arguments and results for stress test. However test implementation could be differentiated to meet needs in stress testing over time. Change-Id: Ie36594de3904e41f6175b8d5072b91941975d091
95 lines
4.2 KiB
XML
95 lines
4.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2008 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="com.android.mediaframeworktest">
|
|
|
|
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
|
|
<application>
|
|
<uses-library android:name="android.test.runner" />
|
|
<activity android:label="@string/app_name"
|
|
android:name="MediaFrameworkTest"
|
|
android:screenOrientation="landscape">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER"/>
|
|
</intent-filter>
|
|
</activity>
|
|
<activity android:label="Camera2CtsActivity"
|
|
android:name="Camera2SurfaceViewActivity"
|
|
android:screenOrientation="landscape"
|
|
android:configChanges="keyboardHidden|orientation|screenSize">
|
|
</activity>
|
|
</application>
|
|
|
|
<instrumentation android:name=".CameraStressTestRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="Camera stress tests InstrumentationRunner">
|
|
</instrumentation>
|
|
|
|
<instrumentation android:name=".Camera2InstrumentationTestRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="Camera2 InstrumentationTestRunner">
|
|
</instrumentation>
|
|
|
|
<instrumentation android:name=".MediaFrameworkTestRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="MediaFramework tests InstrumentationRunner">
|
|
</instrumentation>
|
|
|
|
<instrumentation android:name=".MediaFrameworkPerfTestRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="MediaFramework Performance tests InstrumentationRunner">
|
|
</instrumentation>
|
|
|
|
<instrumentation android:name=".MediaFrameworkUnitTestRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="MediaFramework unit tests InstrumentationRunner">
|
|
</instrumentation>
|
|
|
|
<instrumentation android:name=".MediaRecorderStressTestRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="MediaRecorder stress tests InstrumentationRunner">
|
|
</instrumentation>
|
|
|
|
<instrumentation android:name=".MediaFrameworkPowerTestRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="Media Power tests InstrumentationRunner">
|
|
</instrumentation>
|
|
|
|
<instrumentation android:name=".MediaPlayerStressTestRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="Media Power tests InstrumentationRunner">
|
|
</instrumentation>
|
|
|
|
<instrumentation android:name=".MediaFrameworkIntegrationTestRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="MediaFramework integration tests InstrumentationRunner">
|
|
</instrumentation>
|
|
|
|
<instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="media framework tests">
|
|
</instrumentation>
|
|
|
|
</manifest>
|