We have some ideas on how to improve the efficiency of CursorWindow transport for smaller data sets, but we want to get some benchmarking in place to better characterize our upcoming changes. These tests move a small, medium, and large cursor across process boundaries, exercising the typical ContentProvider.query() flow. Bug: 169251528 Test: ./frameworks/base/libs/hwui/tests/scripts/prep_generic.sh little && atest CorePerfTests:android.database.CrossProcessCursorPerfTest Change-Id: Ia9e6a3195324db93a02d224e8b5108d397e3bb41
51 lines
2.0 KiB
XML
51 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
package="com.android.perftests.core">
|
|
|
|
<permission android:name="com.android.perftests.core.TestPermission" />
|
|
<uses-permission android:name="com.android.perftests.core.TestPermission" />
|
|
|
|
<uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" />
|
|
<uses-permission android:name="android.permission.DELETE_PACKAGES" />
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
|
<uses-permission android:name="android.permission.INSTALL_PACKAGES"/>
|
|
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
|
|
<uses-permission android:name="android.permission.VIBRATE" />
|
|
|
|
<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.os.SomeService"
|
|
android:exported="false"
|
|
android:process=":some_service" />
|
|
|
|
<provider
|
|
android:name="android.os.SomeProvider"
|
|
android:authorities="android.os.SomeProvider"
|
|
android:exported="false"
|
|
android:process=":some_provider" />
|
|
|
|
<service
|
|
android:name="android.view.autofill.MyAutofillService"
|
|
android:label="PERF AutofillService"
|
|
android:permission="android.permission.BIND_AUTOFILL_SERVICE"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.service.autofill.AutofillService" />
|
|
</intent-filter>
|
|
</service>
|
|
|
|
</application>
|
|
|
|
<instrumentation android:name="androidx.benchmark.junit4.AndroidBenchmarkRunner"
|
|
android:targetPackage="com.android.perftests.core"/>
|
|
|
|
</manifest>
|