Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51dd1e51 authored by Chris Craik's avatar Chris Craik
Browse files

Add misc apct perf tests

Includes test for Log.d(), and System.nanoTime().

Also unifies Android.mk format, and package usage.

Change-Id: I90039eff1c2c2d59afe75c4a808a29b67f3176f3
parent 58a00115
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -6,7 +6,9 @@ LOCAL_MODULE_TAGS := tests
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_STATIC_JAVA_LIBRARIES := android-support-test apct-perftests-utils
LOCAL_STATIC_JAVA_LIBRARIES := \
    android-support-test \
    apct-perftests-utils

LOCAL_PACKAGE_NAME := CorePerfTests

+2 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.core.frameworks.perftests">
    package="android.core.perftests">

    <application>
        <uses-library android:name="android.test.runner" />
@@ -8,6 +8,6 @@
    </application>

    <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
        android:targetPackage="com.android.core.frameworks.perftests"/>
        android:targetPackage="android.core.perftests"/>

</manifest>
+1 −1
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ import android.support.test.rule.ActivityTestRule;
import android.view.View;
import android.view.ViewGroup;

import com.android.core.frameworks.perftests.R;
import android.core.perftests.R;

import org.junit.Rule;
import org.junit.Test;
+4 −2
Original line number Diff line number Diff line
@@ -3,11 +3,13 @@ include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := tests

LOCAL_STATIC_JAVA_LIBRARIES := apct-perftests-utils android-support-test

LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_SRC_FILES := $(call all-java-files-under, src)

LOCAL_STATIC_JAVA_LIBRARIES := \
    android-support-test \
    apct-perftests-utils

LOCAL_PACKAGE_NAME := GraphicsPerfTests

include $(BUILD_PACKAGE)
+2 −2
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.frameworks.perftests">
    package="android.graphics.perftests">

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

@@ -16,6 +16,6 @@
    </application>

    <instrumentation android:name="android.support.test.runner.AndroidJUnitRunner"
        android:targetPackage="com.android.frameworks.perftests"/>
        android:targetPackage="android.graphics.perftests"/>

</manifest>
Loading