AudioTestHarnessTemplateAndroidTest class defines all the APIs that will be executed by the actual AudioTestHarnessTemplateTest class. If you wish to add coverage for certain Android APIs, this should be the place to append. Meanwhile AudioTestHarnessTemplateRunner class will extract all the test methods defined in AudioTestHarnessTemplateAndroidTest class and add them to the test suite. Bug: 148106105 Test: This is an instrumentation test apk itself and it runs with the test class defined in ag/10195888 Change-Id: I09ef70d468ed7c806e24916000a53f3bbf5bc6f3
100 lines
4.5 KiB
XML
100 lines
4.5 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 android:networkSecurityConfig="@xml/network_security_config">
|
|
<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=".AudioTestHarnessTemplateRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="Audio Test Harness 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="androidx.test.runner.AndroidJUnitRunner"
|
|
android:targetPackage="com.android.mediaframeworktest"
|
|
android:label="media framework tests">
|
|
</instrumentation>
|
|
|
|
</manifest>
|