• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3Copyright 2024 The ANGLE Project Authors. All rights reserved.
4Use of this source code is governed by a BSD-style license that can be
5found in the LICENSE file.
6-->
7
8<manifest xmlns:android="http://schemas.android.com/apk/res/android"
9      package="com.android.angle.test"
10      android:versionCode="1"
11      android:versionName="1.0">
12
13    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
14    <uses-permission android:name="android.permission.BLUETOOTH"/>
15    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
16    <uses-permission android:name="android.permission.CHANGE_CONFIGURATION"/>
17    <uses-permission android:name="android.permission.CAMERA" />
18    <uses-permission android:name="android.permission.INTERNET"/>
19    <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE"/>
20    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
21    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
22    <uses-permission android:name="android.permission.SET_TIME_ZONE"/>
23    <uses-permission android:name="android.permission.WAKE_LOCK"/>
24    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
25
26    <!-- Explicitly set the attribute requestLegacyExternalStorage to "true"
27         since it is "false" by default on apps targeting Android 10, and that
28         breaks test listing. See
29         https://developer.android.com/training/data-storage#scoped-storage and
30         https://developer.android.com/training/data-storage/compatibility. -->
31    <!-- Disable allowNativeHeapPointerTagging for siginfo_t POSIX struct
32         pointers to match heap allocations. This is required for the
33         SystemUtils.PageFaultHandler* tests.
34         https://source.android.com/devices/tech/debug/tagged-pointers -->
35    <application android:label="ANGLEBenchmarkTests"
36      android:requestLegacyExternalStorage="true"
37      android:allowNativeHeapPointerTagging="false">
38        <uses-library android:name="android.test.runner"/>
39        <activity android:name=".StandaloneBenchmarkActivity"
40                android:label="ANGLEBench"
41                android:configChanges="orientation|screenSize|screenLayout|keyboardHidden"
42                android:exported="true"
43                android:process=":test_process">
44            <meta-data android:name="android.app.lib_name"
45                       android:value="{{ native_library_name }}" />
46            <intent-filter>
47                <action android:name="android.intent.action.MAIN" />
48                <category android:name="android.intent.category.LAUNCHER" />
49            </intent-filter>
50        </activity>
51    </application>
52
53    <instrumentation android:name="org.chromium.build.gtest_apk.NativeTestInstrumentationTestRunner"
54            android:targetPackage="com.android.angle.test"
55            android:label="Instrumentation entry point for com.android.angle.test"
56            chromium-junit3="true"/>
57
58</manifest>
59