Files
frameworks_base/apct-tests/perftests/inputmethod/AndroidManifest.xml
Jaineel Mehta 66fdcd8a59 add permission to capture perfetto traces
Inputmethod perf unit tests

Change-Id: Icfbbde16ceeee5e0033a92154e3000107a834c4d
Test: Yes, using forrest go/abtd/run/L69800000951726302
Bug: 204600547
2021-10-30 02:27:42 +00:00

48 lines
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2020 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.perftests.inputmethod">
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application>
<uses-library android:name="android.test.runner" />
<activity android:name="android.perftests.utils.PerfTestActivity"
android:exported="true">
<intent-filter>
<action android:name="com.android.perftests.core.PERFTEST" />
</intent-filter>
</activity>
<service android:name="android.inputmethod.ImePerfTest$BaselineIme"
android:process=":BaselineIME"
android:label="Baseline IME"
android:permission="android.permission.BIND_INPUT_METHOD"
android:exported="true">
<intent-filter>
<action android:name="android.view.InputMethod"/>
</intent-filter>
<meta-data android:name="android.view.im"
android:resource="@xml/simple_method"/>
</service>
</application>
<instrumentation android:name="androidx.test.runner.AndroidJUnitRunner"
android:targetPackage="com.android.perftests.inputmethod">
<meta-data android:name="listener" android:value="android.inputmethod.ImePerfRunPrecondition" />
</instrumentation>
</manifest>