chromium/net/test/android/javatests/AndroidManifest.xml

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2015 The Chromium Authors
     Use of this source code is governed by a BSD-style license that can be
     found in the LICENSE file. -->

<!-- package name must be unique. -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="org.chromium.net.test.support">

    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.INTERNET"/>

    <application android:label="ChromiumNetTestSupport"
             android:name="androidx.multidex.MultiDexApplication">

        <!-- The android:requestLegacyExternalStorage setting is necessary to
             work on Q+. If the target SDK version of this APK is ever updated
             to 30 or higher, that workaround will stop working and the more
             complicated one used by the test APKs (using app compatibility
             changes) will need to be used instead. Note that this setting is
             usually applied at the application level, but those do not
             propagate to child services and the service is the thing that
             actually reads from external storage. -->
        <service android:name="org.chromium.net.test.EmbeddedTestServerService"
                android:requestLegacyExternalStorage="true"
                android:exported="true"
                tools:ignore="ExportedService">
            <intent-filter>
                <action android:name="org.chromium.net.test.EMBEDDED_TEST_SERVER_SERVICE" />
            </intent-filter>
        </service>

    </application>

</manifest>