diff options
Diffstat (limited to 'tests')
91 files changed, 246 insertions, 110 deletions
diff --git a/tests/cpp_api/cpp-globalguard/Android.mk b/tests/cpp_api/cpp-globalguard/Android.mk index 0f98f77c..88a10c9e 100644 --- a/tests/cpp_api/cpp-globalguard/Android.mk +++ b/tests/cpp_api/cpp-globalguard/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE:= rstest-cpp-globalguard +LOCAL_LICENSE_KINDS:= SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS:= notice LOCAL_SDK_VERSION := 21 LOCAL_NDK_STL_VARIANT := c++_static diff --git a/tests/cpp_api/cppallocation/Android.mk b/tests/cpp_api/cppallocation/Android.mk index 3b7a7d79..d2c7cbcc 100644 --- a/tests/cpp_api/cppallocation/Android.mk +++ b/tests/cpp_api/cppallocation/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE:= rstest-cppallocation +LOCAL_LICENSE_KINDS:= SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS:= notice LOCAL_SDK_VERSION := 21 LOCAL_NDK_STL_VARIANT := c++_static diff --git a/tests/cpp_api/cppbasic-getpointer/Android.mk b/tests/cpp_api/cppbasic-getpointer/Android.mk index c50db0d8..963a3e4a 100644 --- a/tests/cpp_api/cppbasic-getpointer/Android.mk +++ b/tests/cpp_api/cppbasic-getpointer/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE:= rstest-compute-getpointer +LOCAL_LICENSE_KINDS:= SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS:= notice LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk diff --git a/tests/cpp_api/cppbasic-shared/Android.mk b/tests/cpp_api/cppbasic-shared/Android.mk index 3ec3035c..ca91745d 100644 --- a/tests/cpp_api/cppbasic-shared/Android.mk +++ b/tests/cpp_api/cppbasic-shared/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE:= rstest-compute-shared +LOCAL_LICENSE_KINDS:= SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS:= notice LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk diff --git a/tests/cpp_api/cppbasic/Android.mk b/tests/cpp_api/cppbasic/Android.mk index 979d364d..a1f090f4 100644 --- a/tests/cpp_api/cppbasic/Android.mk +++ b/tests/cpp_api/cppbasic/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE:= rstest-compute +LOCAL_LICENSE_KINDS:= SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS:= notice LOCAL_SDK_VERSION := 21 LOCAL_NDK_STL_VARIANT := c++_static diff --git a/tests/cpp_api/cppf16/Android.mk b/tests/cpp_api/cppf16/Android.mk index b49dc1de..eca91db0 100644 --- a/tests/cpp_api/cppf16/Android.mk +++ b/tests/cpp_api/cppf16/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE:= rstest-cppf16 +LOCAL_LICENSE_KINDS:= SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS:= notice LOCAL_NDK_STL_VARIANT := c++_static diff --git a/tests/cpp_api/cppstrided/Android.mk b/tests/cpp_api/cppstrided/Android.mk index e88f6cf8..e0e03b3a 100644 --- a/tests/cpp_api/cppstrided/Android.mk +++ b/tests/cpp_api/cppstrided/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE:= rstest-cppstrided +LOCAL_LICENSE_KINDS:= SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS:= notice LOCAL_SDK_VERSION := 21 LOCAL_NDK_STL_VARIANT := c++_static diff --git a/tests/cpp_api/latency/Android.mk b/tests/cpp_api/latency/Android.mk index 59d49f53..16557f4c 100644 --- a/tests/cpp_api/latency/Android.mk +++ b/tests/cpp_api/latency/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE:= rstest-latency +LOCAL_LICENSE_KINDS:= SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS:= notice LOCAL_SDK_VERSION := 21 LOCAL_NDK_STL_VARIANT := c++_static diff --git a/tests/cpp_api/typecheck/Android.mk b/tests/cpp_api/typecheck/Android.mk index 66ad6450..82f92ea8 100644 --- a/tests/cpp_api/typecheck/Android.mk +++ b/tests/cpp_api/typecheck/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE:= rstest-typecheck +LOCAL_LICENSE_KINDS:= SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS:= notice LOCAL_SDK_VERSION := 21 LOCAL_NDK_STL_VARIANT := c++_static diff --git a/tests/java_api/Android.mk b/tests/java_api/Android.mk index d070b876..54845a16 100644 --- a/tests/java_api/Android.mk +++ b/tests/java_api/Android.mk @@ -36,7 +36,11 @@ my_package_name := RSUnbundledTests19 include $(BUILD_SYSTEM)/tasks/tools/package-modules.mk +.PHONY: RSUnbundledTests19 +RSUnbundledTests19: $(my_package_zip) + $(call dist-for-goals,RSUnbundledTests,$(my_package_zip):$(my_package_name).zip) +$(call dist-for-goals,RSUnbundledTests19,$(my_package_zip):$(my_package_name).zip) # RSTests diff --git a/tests/java_api/Balls/Android.mk b/tests/java_api/Balls/Android.mk index e1cea043..409c7354 100644 --- a/tests/java_api/Balls/Android.mk +++ b/tests/java_api/Balls/Android.mk @@ -22,6 +22,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := RsBalls +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := 14 include $(BUILD_PACKAGE) diff --git a/tests/java_api/CannyLive/Android.mk b/tests/java_api/CannyLive/Android.mk index 9481365e..54aeb00b 100644 --- a/tests/java_api/CannyLive/Android.mk +++ b/tests/java_api/CannyLive/Android.mk @@ -28,5 +28,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-fil LOCAL_SDK_VERSION := current LOCAL_PACKAGE_NAME := CannyLive +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice include $(BUILD_PACKAGE) diff --git a/tests/java_api/ComputeBenchmark/Android.mk b/tests/java_api/ComputeBenchmark/Android.mk index e3f42917..a3ca7852 100644 --- a/tests/java_api/ComputeBenchmark/Android.mk +++ b/tests/java_api/ComputeBenchmark/Android.mk @@ -23,6 +23,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := RsComputeBenchmark +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_MIN_SDK_VERSION := 17 diff --git a/tests/java_api/ComputePerf/Android.mk b/tests/java_api/ComputePerf/Android.mk index 39858dcf..163e7dd6 100644 --- a/tests/java_api/ComputePerf/Android.mk +++ b/tests/java_api/ComputePerf/Android.mk @@ -23,6 +23,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := RsComputePerf +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_MIN_SDK_VERSION := 19 diff --git a/tests/java_api/GenImages/Android.mk b/tests/java_api/GenImages/Android.mk index 18728f68..d3e00ae6 100644 --- a/tests/java_api/GenImages/Android.mk +++ b/tests/java_api/GenImages/Android.mk @@ -23,6 +23,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := RsGenImages +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_MIN_SDK_VERSION := 14 diff --git a/tests/java_api/HealingBrush/Android.mk b/tests/java_api/HealingBrush/Android.mk index 89ec9ad1..4ca12512 100644 --- a/tests/java_api/HealingBrush/Android.mk +++ b/tests/java_api/HealingBrush/Android.mk @@ -25,6 +25,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ LOCAL_STATIC_JAVA_LIBRARIES := android-support-v8-renderscript LOCAL_PACKAGE_NAME := HealingBrush +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_RENDERSCRIPT_TARGET_API := 19 LOCAL_RENDERSCRIPT_COMPATIBILITY := 18 diff --git a/tests/java_api/HelloComputeNDK/Android.mk b/tests/java_api/HelloComputeNDK/Android.mk index 2f5bd17f..5fe2ffda 100644 --- a/tests/java_api/HelloComputeNDK/Android.mk +++ b/tests/java_api/HelloComputeNDK/Android.mk @@ -25,6 +25,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ LOCAL_CFLAGS := -Werror -Wall -Wextra LOCAL_PACKAGE_NAME := HelloComputeNDK +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_JNI_SHARED_LIBRARIES := libhellocomputendk diff --git a/tests/java_api/HelloComputeNDK/libhellocomputendk/Android.mk b/tests/java_api/HelloComputeNDK/libhellocomputendk/Android.mk index b9fab0be..d0a8d888 100644 --- a/tests/java_api/HelloComputeNDK/libhellocomputendk/Android.mk +++ b/tests/java_api/HelloComputeNDK/libhellocomputendk/Android.mk @@ -20,13 +20,14 @@ include $(CLEAR_VARS) LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk LOCAL_MODULE := libhellocomputendk +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := helloComputeNDK.cpp mono.rscript -LOCAL_C_INCLUDES := $(JNI_H_INCLUDE) - LOCAL_CFLAGS := -Wall -Werror LOCAL_LDFLAGS := -Wl,-Bsymbolic +LOCAL_HEADER_LIBRARIES := jni_headers LOCAL_SHARED_LIBRARIES := libdl liblog libjnigraphics LOCAL_STATIC_LIBRARIES := libRScpp_static diff --git a/tests/java_api/ImageProcessing/Android.mk b/tests/java_api/ImageProcessing/Android.mk index 2fcb8a41..5ac0d15c 100644 --- a/tests/java_api/ImageProcessing/Android.mk +++ b/tests/java_api/ImageProcessing/Android.mk @@ -27,6 +27,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := ImageProcessing +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_MIN_SDK_VERSION := 23 diff --git a/tests/java_api/ImageProcessing2/Android.mk b/tests/java_api/ImageProcessing2/Android.mk index 8cf7a5ae..7165cc35 100644 --- a/tests/java_api/ImageProcessing2/Android.mk +++ b/tests/java_api/ImageProcessing2/Android.mk @@ -25,6 +25,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ LOCAL_STATIC_JAVA_LIBRARIES := android-support-v8-renderscript LOCAL_PACKAGE_NAME := ImageProcessing2 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_RENDERSCRIPT_TARGET_API := 18 LOCAL_RENDERSCRIPT_COMPATIBILITY := 18 diff --git a/tests/java_api/ImageProcessing_jb/Android.mk b/tests/java_api/ImageProcessing_jb/Android.mk index 4271c3c4..71669e7b 100644 --- a/tests/java_api/ImageProcessing_jb/Android.mk +++ b/tests/java_api/ImageProcessing_jb/Android.mk @@ -27,6 +27,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := ImageProcessingJB +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current include $(BUILD_PACKAGE) diff --git a/tests/java_api/ImageProcessing_jb/AndroidManifest.xml b/tests/java_api/ImageProcessing_jb/AndroidManifest.xml index 5a61312d..ea3d7ef1 100644 --- a/tests/java_api/ImageProcessing_jb/AndroidManifest.xml +++ b/tests/java_api/ImageProcessing_jb/AndroidManifest.xml @@ -8,13 +8,15 @@ android:hardwareAccelerated="true" android:theme="@android:style/Theme.Holo.Light"> <uses-library android:name="android.test.runner" /> - <activity android:name="ImageProcessingActivityJB"> + <activity android:name="ImageProcessingActivityJB" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> </intent-filter> </activity> - <activity class=".IPControlsJB" android:name="IPControlsJB"> + <activity class=".IPControlsJB" android:name="IPControlsJB" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> diff --git a/tests/java_api/LatencyBenchmark/Android.mk b/tests/java_api/LatencyBenchmark/Android.mk index 791a3620..8df2d057 100644 --- a/tests/java_api/LatencyBenchmark/Android.mk +++ b/tests/java_api/LatencyBenchmark/Android.mk @@ -25,6 +25,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ LOCAL_RENDERSCRIPT_TARGET_API := 23 LOCAL_PACKAGE_NAME := RsLatencyBenchmark +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_MIN_SDK_VERSION := 23 diff --git a/tests/java_api/LivePreview/Android.mk b/tests/java_api/LivePreview/Android.mk index 416853ff..a1cbe5f8 100644 --- a/tests/java_api/LivePreview/Android.mk +++ b/tests/java_api/LivePreview/Android.mk @@ -22,6 +22,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := PreviewRS +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current include $(BUILD_PACKAGE) diff --git a/tests/java_api/MathErr/Android.mk b/tests/java_api/MathErr/Android.mk index 40f38f3e..1fae614b 100644 --- a/tests/java_api/MathErr/Android.mk +++ b/tests/java_api/MathErr/Android.mk @@ -23,6 +23,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := RsMathErr +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_MIN_SDK_VERSION := 19 diff --git a/tests/java_api/RSTestBackward/Android.mk b/tests/java_api/RSTestBackward/Android.mk index d253ee58..b3111a65 100644 --- a/tests/java_api/RSTestBackward/Android.mk +++ b/tests/java_api/RSTestBackward/Android.mk @@ -18,6 +18,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_PACKAGE_NAME := RSTestBackward +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_MODULE_TAGS := tests @@ -34,4 +36,3 @@ LOCAL_MIN_SDK_VERSION := 21 LOCAL_SDK_VERSION := current include $(BUILD_PACKAGE) - diff --git a/tests/java_api/RSTestBackward19/Android.mk b/tests/java_api/RSTestBackward19/Android.mk index 15da2d56..5e563469 100644 --- a/tests/java_api/RSTestBackward19/Android.mk +++ b/tests/java_api/RSTestBackward19/Android.mk @@ -27,6 +27,8 @@ LOCAL_RENDERSCRIPT_TARGET_API := 19 LOCAL_MIN_SDK_VERSION := 17 LOCAL_SDK_VERSION := current LOCAL_PACKAGE_NAME := RSTestBackward19 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice my_rs_unit_tests_path := ../RSUnitTests/src/com/android/rs/unittest LOCAL_SRC_FILES :=\ $(call all-java-files-under,src)\ @@ -105,4 +107,3 @@ LOCAL_SRC_FILES :=\ include $(BUILD_PACKAGE) my_rs_unit_tests_path := - diff --git a/tests/java_api/RSTestForward/21.1.2/Android.mk b/tests/java_api/RSTestForward/21.1.2/Android.mk index f67fbbd3..9adce23e 100644 --- a/tests/java_api/RSTestForward/21.1.2/Android.mk +++ b/tests/java_api/RSTestForward/21.1.2/Android.mk @@ -31,6 +31,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules LOCAL_COMPATIBILITY_SUITE := device-tests LOCAL_RENDERSCRIPT_TARGET_API := current LOCAL_PACKAGE_NAME := RSTestForward_21_1_2 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current my_rs_path := $(TOP)/prebuilts/renderscript/host/linux-x86/21.1.2 LOCAL_RENDERSCRIPT_CC := $(my_rs_path)/bin/llvm-rs-cc diff --git a/tests/java_api/RSTestForward/22.0.1/Android.mk b/tests/java_api/RSTestForward/22.0.1/Android.mk index 34ccb5f2..0479a36a 100644 --- a/tests/java_api/RSTestForward/22.0.1/Android.mk +++ b/tests/java_api/RSTestForward/22.0.1/Android.mk @@ -31,6 +31,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules LOCAL_COMPATIBILITY_SUITE := device-tests LOCAL_RENDERSCRIPT_TARGET_API := current LOCAL_PACKAGE_NAME := RSTestForward_22_0_1 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current my_rs_path := $(TOP)/prebuilts/renderscript/host/linux-x86/22.0.1 LOCAL_RENDERSCRIPT_CC := $(my_rs_path)/bin/llvm-rs-cc diff --git a/tests/java_api/RSTestForward/23.0.3/Android.mk b/tests/java_api/RSTestForward/23.0.3/Android.mk index 861541b0..ddafbd49 100644 --- a/tests/java_api/RSTestForward/23.0.3/Android.mk +++ b/tests/java_api/RSTestForward/23.0.3/Android.mk @@ -31,6 +31,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules LOCAL_COMPATIBILITY_SUITE := device-tests LOCAL_RENDERSCRIPT_TARGET_API := current LOCAL_PACKAGE_NAME := RSTestForward_23_0_3 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current my_rs_path := $(TOP)/prebuilts/renderscript/host/linux-x86/23.0.3 LOCAL_RENDERSCRIPT_CC := $(my_rs_path)/bin/llvm-rs-cc diff --git a/tests/java_api/RSTestForward/24.0.3/Android.mk b/tests/java_api/RSTestForward/24.0.3/Android.mk index 3e81caa7..61486577 100644 --- a/tests/java_api/RSTestForward/24.0.3/Android.mk +++ b/tests/java_api/RSTestForward/24.0.3/Android.mk @@ -31,6 +31,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules LOCAL_COMPATIBILITY_SUITE := device-tests LOCAL_RENDERSCRIPT_TARGET_API := current LOCAL_PACKAGE_NAME := RSTestForward_24_0_3 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current my_rs_path := $(TOP)/prebuilts/renderscript/host/linux-x86/24.0.3 LOCAL_RENDERSCRIPT_CC := $(my_rs_path)/bin/llvm-rs-cc diff --git a/tests/java_api/RSTestForward/25.0.2/Android.mk b/tests/java_api/RSTestForward/25.0.2/Android.mk index 127f29d8..df491a1a 100644 --- a/tests/java_api/RSTestForward/25.0.2/Android.mk +++ b/tests/java_api/RSTestForward/25.0.2/Android.mk @@ -31,6 +31,8 @@ LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules LOCAL_COMPATIBILITY_SUITE := device-tests LOCAL_RENDERSCRIPT_TARGET_API := current LOCAL_PACKAGE_NAME := RSTestForward_25_0_2 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current my_rs_path := $(TOP)/prebuilts/renderscript/host/linux-x86/25.0.2 LOCAL_RENDERSCRIPT_CC := $(my_rs_path)/bin/llvm-rs-cc diff --git a/tests/java_api/RSTest_CompatLib/Android.mk b/tests/java_api/RSTest_CompatLib/Android.mk index 6f8e2471..2df8904f 100644 --- a/tests/java_api/RSTest_CompatLib/Android.mk +++ b/tests/java_api/RSTest_CompatLib/Android.mk @@ -18,6 +18,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_PACKAGE_NAME := RSTest_Compat +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_MODULE_TAGS := tests @@ -39,4 +41,3 @@ LOCAL_MIN_SDK_VERSION := 8 LOCAL_RENDERSCRIPT_FLAGS := -rs-package-name=androidx.renderscript include $(BUILD_PACKAGE) - diff --git a/tests/java_api/RSTest_CompatLib19/Android.mk b/tests/java_api/RSTest_CompatLib19/Android.mk index 80596d00..4d200f27 100644 --- a/tests/java_api/RSTest_CompatLib19/Android.mk +++ b/tests/java_api/RSTest_CompatLib19/Android.mk @@ -21,6 +21,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_PACKAGE_NAME := RSTest_Compat19 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_MODULE_TAGS := tests LOCAL_STATIC_JAVA_LIBRARIES := \ @@ -111,4 +113,3 @@ LOCAL_SRC_FILES :=\ include $(BUILD_PACKAGE) my_rs_unit_tests_path := - diff --git a/tests/java_api/RSTest_CompatLibLegacy/Android.mk b/tests/java_api/RSTest_CompatLibLegacy/Android.mk index 66df5286..537cff9e 100644 --- a/tests/java_api/RSTest_CompatLibLegacy/Android.mk +++ b/tests/java_api/RSTest_CompatLibLegacy/Android.mk @@ -27,6 +27,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := RSTest_CompatLegacy +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_STATIC_JAVA_LIBRARIES := \ android-support-v8-renderscript diff --git a/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/apitest.rscript b/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/apitest.rscript index b0829a38..4e2dd4fa 100644 --- a/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/apitest.rscript +++ b/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/apitest.rscript @@ -132,7 +132,7 @@ rs_matrix2x2 m2x2; rs_matrix3x3 m3x3; rs_matrix4x4 m4x4; -int RS_KERNEL dummyKernel(int v) { return v; } +int RS_KERNEL testKernel(int v) { return v; } // This function just checks that all of the called functions are // able to be linked. It is not intended to be executed! @@ -1137,7 +1137,7 @@ void check_api_presence() { rsSendToClientBlocking(0); rsSendToClientBlocking(0, NULL, 0); - rsForEach(dummyKernel, allocNonNull, allocNonNull); + rsForEach(testKernel, allocNonNull, allocNonNull); // rs_debug.rsh rsDebug("", f); diff --git a/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/apitest.rscript b/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/apitest.rscript index 28f6c8f9..2ebdf7a3 100644 --- a/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/apitest.rscript +++ b/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/apitest.rscript @@ -134,7 +134,7 @@ rs_matrix2x2 m2x2; rs_matrix3x3 m3x3; rs_matrix4x4 m4x4; -int RS_KERNEL dummyKernel(int v) { return v; } +int RS_KERNEL testKernel(int v) { return v; } // This function just checks that all of the called functions are // able to be linked. It is not intended to be executed! @@ -1139,7 +1139,7 @@ void check_api_presence() { rsSendToClientBlocking(0); rsSendToClientBlocking(0, NULL, 0); - rsForEach(dummyKernel, allocNonNull, allocNonNull); + rsForEach(testKernel, allocNonNull, allocNonNull); // rs_debug.rsh rsDebug("", f); diff --git a/tests/java_api/Refocus/Android.mk b/tests/java_api/Refocus/Android.mk index 95e1fb9f..96350056 100644 --- a/tests/java_api/Refocus/Android.mk +++ b/tests/java_api/Refocus/Android.mk @@ -25,6 +25,8 @@ LOCAL_STATIC_JAVA_LIBRARIES += xmp_toolkit LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := Refocus +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_RENDERSCRIPT_TARGET_API := 21 diff --git a/tests/java_api/Refocus/dataExtraction/RefocusTestTimingProcess.txt b/tests/java_api/Refocus/dataExtraction/RefocusTestTimingProcess.txt index 98460a45..1d82453a 100644 --- a/tests/java_api/Refocus/dataExtraction/RefocusTestTimingProcess.txt +++ b/tests/java_api/Refocus/dataExtraction/RefocusTestTimingProcess.txt @@ -26,7 +26,7 @@ Here are the timing process: …..logs 2…..
3.
…..logs 3…..
- N5 (you have to put this dummy line here. The script is not perfect and feel free to change)
+ N5 (you have to put this placeholder line here. The script is not perfect and feel free to change)
3. Put the file “extract_ave.sh” and “extract_data.sh” in the same directory as the file N5.txt
diff --git a/tests/java_api/Refocus/src/com/android/rs/test/layered_filter_fast_d1new.rscript b/tests/java_api/Refocus/src/com/android/rs/test/layered_filter_fast_d1new.rscript index 750e4ee2..9a63ac61 100644 --- a/tests/java_api/Refocus/src/com/android/rs/test/layered_filter_fast_d1new.rscript +++ b/tests/java_api/Refocus/src/com/android/rs/test/layered_filter_fast_d1new.rscript @@ -30,7 +30,6 @@ // UnpackInputImage, ComputeLayerMatteBehindFocalDepth, ComputeIntegralImageForLayerBehindFocalDepth, // FilterLayerBehindFocalDepth, updateSharpImageUsingFuzzyImage, ComputeLayerMatteInFrontOfFocalDepth, // FilterLayerInFrontOfFocalDepth -// double cpuDummy; // Image size of padded images: g_sharp_image and g_fuzzy_image. // Float4 that stores the image size info: 1. width, 2. height, 3. margin diff --git a/tests/java_api/RsBLAS_Benchmark/Android.bp b/tests/java_api/RsBLAS_Benchmark/Android.bp new file mode 100644 index 00000000..e5a088ef --- /dev/null +++ b/tests/java_api/RsBLAS_Benchmark/Android.bp @@ -0,0 +1,33 @@ +// +// Copyright (C) 2015 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. +// + +package { + // See: http://go/android-license-faq + default_applicable_licenses: ["Android-Apache-2.0"], +} + +android_test { + name: "RsBlasBenchmark", + static_libs: ["androidx.test.rules"], + libs: [ + "android.test.runner.stubs", + "android.test.base.stubs", + ], + test_suites: ["device-tests"], + srcs: ["src/**/*.java"], + sdk_version: "current", + jni_libs: ["libgemmdata"], +} diff --git a/tests/java_api/RsBLAS_Benchmark/Android.mk b/tests/java_api/RsBLAS_Benchmark/Android.mk deleted file mode 100644 index dccc3424..00000000 --- a/tests/java_api/RsBLAS_Benchmark/Android.mk +++ /dev/null @@ -1,34 +0,0 @@ -# -# Copyright (C) 2015 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. -# - -LOCAL_PATH := $(call my-dir) -include $(CLEAR_VARS) - -LOCAL_STATIC_JAVA_LIBRARIES := androidx.test.rules -LOCAL_JAVA_LIBRARIES := android.test.runner.stubs android.test.base.stubs - -LOCAL_MODULE_TAGS := tests -LOCAL_COMPATIBILITY_SUITE += device-tests - -LOCAL_SRC_FILES := $(call all-java-files-under, src) \ - $(call all-renderscript-files-under, src) - -LOCAL_PACKAGE_NAME := RsBlasBenchmark -LOCAL_SDK_VERSION := current -LOCAL_JNI_SHARED_LIBRARIES := libgemmdata - -include $(BUILD_PACKAGE) -include $(LOCAL_PATH)/libsgemm/Android.mk diff --git a/tests/java_api/RsBLAS_Benchmark/AndroidManifest.xml b/tests/java_api/RsBLAS_Benchmark/AndroidManifest.xml index 38a2c93b..87f29b83 100644 --- a/tests/java_api/RsBLAS_Benchmark/AndroidManifest.xml +++ b/tests/java_api/RsBLAS_Benchmark/AndroidManifest.xml @@ -22,12 +22,14 @@ <application android:label="RsBlasBenchmark" android:hardwareAccelerated="true"> <uses-library android:name="android.test.runner" /> - <activity android:name="BlasBenchmark"> + <activity android:name="BlasBenchmark" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> </intent-filter> </activity> - <activity class=".BlasControls" android:name="BlasControls"> + <activity class=".BlasControls" android:name="BlasControls" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> diff --git a/tests/java_api/RsBLAS_Benchmark/libsgemm/Android.bp b/tests/java_api/RsBLAS_Benchmark/libsgemm/Android.bp new file mode 100644 index 00000000..9e4b7e23 --- /dev/null +++ b/tests/java_api/RsBLAS_Benchmark/libsgemm/Android.bp @@ -0,0 +1,29 @@ +// Copyright (C) 2015 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. + +// +// This is the shared library included by the JNI test app. +// + +package { + // See: http://go/android-license-faq + default_applicable_licenses: ["Android-Apache-2.0"], +} + +cc_test_library { + name: "libgemmdata", + srcs: ["test_data.cpp"], + sdk_version: "current", + header_libs: ["jni_headers"], +} diff --git a/tests/java_api/RsBLAS_Benchmark/libsgemm/Android.mk b/tests/java_api/RsBLAS_Benchmark/libsgemm/Android.mk deleted file mode 100644 index 6c868730..00000000 --- a/tests/java_api/RsBLAS_Benchmark/libsgemm/Android.mk +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (C) 2015 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. - -# -# This is the shared library included by the JNI test app. -# -LOCAL_PATH := $(call my-dir) -include $(CLEAR_VARS) - -LOCAL_MODULE := libgemmdata -LOCAL_MODULE_TAGS := tests -LOCAL_SRC_FILES := test_data.cpp -LOCAL_SDK_VERSION := current - -LOCAL_CFLAGS := -Wall -Werror -LOCAL_C_INCLUDES := $(JNI_H_INCLUDE) - -include $(BUILD_SHARED_LIBRARY) diff --git a/tests/java_api/RsCameraDemo/Android.mk b/tests/java_api/RsCameraDemo/Android.mk index 8e9c2690..fd9daf9f 100644 --- a/tests/java_api/RsCameraDemo/Android.mk +++ b/tests/java_api/RsCameraDemo/Android.mk @@ -23,5 +23,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-fil LOCAL_SDK_VERSION := current LOCAL_PACKAGE_NAME := RsCameraDemo +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice include $(BUILD_PACKAGE) diff --git a/tests/java_api/RsMinimalTest/Android.mk b/tests/java_api/RsMinimalTest/Android.mk index 74c49663..65cba1b3 100644 --- a/tests/java_api/RsMinimalTest/Android.mk +++ b/tests/java_api/RsMinimalTest/Android.mk @@ -26,7 +26,8 @@ LOCAL_RENDERSCRIPT_TARGET_API := 21 LOCAL_SDK_VERSION := 26 LOCAL_PACKAGE_NAME := RsMinimalTest +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_COMPATIBILITY_SUITE := device-tests include $(BUILD_PACKAGE) - diff --git a/tests/java_api/RsNbody/Android.mk b/tests/java_api/RsNbody/Android.mk index 80aa3fbd..4c99c42a 100644 --- a/tests/java_api/RsNbody/Android.mk +++ b/tests/java_api/RsNbody/Android.mk @@ -25,6 +25,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ LOCAL_STATIC_ANDROID_LIBRARIES += androidx.legacy_legacy-support-v4 LOCAL_PACKAGE_NAME := RsNbody +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_RENDERSCRIPT_TARGET_API := 23 diff --git a/tests/java_api/RsTest/Android.mk b/tests/java_api/RsTest/Android.mk index 256efef6..4f231b5f 100644 --- a/tests/java_api/RsTest/Android.mk +++ b/tests/java_api/RsTest/Android.mk @@ -29,8 +29,9 @@ LOCAL_SRC_FILES := \ LOCAL_RENDERSCRIPT_TARGET_API := current LOCAL_PACKAGE_NAME := RSTest +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_COMPATIBILITY_SUITE := device-tests include $(BUILD_PACKAGE) - diff --git a/tests/java_api/RsTest_11/Android.mk b/tests/java_api/RsTest_11/Android.mk index 13c80658..87414414 100644 --- a/tests/java_api/RsTest_11/Android.mk +++ b/tests/java_api/RsTest_11/Android.mk @@ -22,6 +22,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := RSTest_v11 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := 11 include $(BUILD_PACKAGE) diff --git a/tests/java_api/RsTest_14/Android.mk b/tests/java_api/RsTest_14/Android.mk index a4386a44..3008e2e4 100644 --- a/tests/java_api/RsTest_14/Android.mk +++ b/tests/java_api/RsTest_14/Android.mk @@ -22,6 +22,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := RSTest_v14 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := 14 include $(BUILD_PACKAGE) diff --git a/tests/java_api/RsTest_16/Android.mk b/tests/java_api/RsTest_16/Android.mk index f53c1ab6..4bb59a28 100644 --- a/tests/java_api/RsTest_16/Android.mk +++ b/tests/java_api/RsTest_16/Android.mk @@ -22,6 +22,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := RSTest_v16 +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := 16 include $(BUILD_PACKAGE) diff --git a/tests/java_api/SSHealingBrush/Android.mk b/tests/java_api/SSHealingBrush/Android.mk index 47bf9fba..63154e50 100644 --- a/tests/java_api/SSHealingBrush/Android.mk +++ b/tests/java_api/SSHealingBrush/Android.mk @@ -25,9 +25,10 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ LOCAL_STATIC_JAVA_LIBRARIES := android-support-v8-renderscript LOCAL_PACKAGE_NAME := SSHealingBrush +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_RENDERSCRIPT_FLAGS := -target-api 0 include $(BUILD_PACKAGE) - diff --git a/tests/java_api/SampleTest/Android.mk b/tests/java_api/SampleTest/Android.mk index 41ae99fc..81521812 100644 --- a/tests/java_api/SampleTest/Android.mk +++ b/tests/java_api/SampleTest/Android.mk @@ -22,6 +22,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := SampleRS +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_MIN_SDK_VERSION := 17 diff --git a/tests/java_api/ScriptGroupTest/Android.mk b/tests/java_api/ScriptGroupTest/Android.mk index c9e6dad2..6fed8b9b 100644 --- a/tests/java_api/ScriptGroupTest/Android.mk +++ b/tests/java_api/ScriptGroupTest/Android.mk @@ -28,6 +28,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ LOCAL_RENDERSCRIPT_FLAGS := -target-api 0 LOCAL_PACKAGE_NAME := ScriptGroupTest +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current include $(BUILD_PACKAGE) diff --git a/tests/java_api/VrDemo/Android.mk b/tests/java_api/VrDemo/Android.mk index 4cc64ec7..e33fb77b 100644 --- a/tests/java_api/VrDemo/Android.mk +++ b/tests/java_api/VrDemo/Android.mk @@ -23,5 +23,7 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-fil LOCAL_SDK_VERSION := current LOCAL_PACKAGE_NAME := VrDemo +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice include $(BUILD_PACKAGE) diff --git a/tests/lldb/README.txt b/tests/lldb/README.txt index 9c07494d..70e93bc6 100644 --- a/tests/lldb/README.txt +++ b/tests/lldb/README.txt @@ -42,7 +42,7 @@ Running the test suite: [--run-emu] [--adb-path ADB_PATH] [--aosp-product-path AOSP_PRODUCT_PATH] - [--blacklist BLACKLIST [BLACKLIST ...]] + [--blocklist BLOCKLIST [BLOCKLIST ...]] [--device-port DEVICE_PORT] [--emu-cmd EMU_CMD] [--host-port HOST_PORT] @@ -75,10 +75,10 @@ Running the test suite: --adb-path ADB_PATH Path to android debug bridge on the host. --aosp-product-path AOSP_PRODUCT_PATH The path to the "out" folder of the AOSP repository. - --blacklist BLACKLIST [BLACKLIST ...] - Provide a test blacklist for skipping specific tests. - To specify the blacklist from the command line the - following can be used: --blacklist test1.py test2.py + --blocklist BLOCKLIST [BLOCKLIST ...] + Provide a test blocklist for skipping specific tests. + To specify the blocklist from the command line the + following can be used: --blocklist test1.py test2.py ... --device-port DEVICE_PORT Specify the port number that lldb-server (on the diff --git a/tests/lldb/config.py b/tests/lldb/config.py index a72b80b7..bc478d03 100644 --- a/tests/lldb/config.py +++ b/tests/lldb/config.py @@ -82,11 +82,11 @@ class Config(object): return 'lldb' @property - def blacklist(self): - '''Provide a test blacklist for skipping specific tests. + def blocklist(self): + '''Provide a test blocklist for skipping specific tests. - To specify the blacklist from the command line the following can be - used: --blacklist test1.py test2.py ...''' + To specify the blocklist from the command line the following can be + used: --blocklist test1.py test2.py ...''' return [] @property diff --git a/tests/lldb/cpp/Allocations/Android.mk b/tests/lldb/cpp/Allocations/Android.mk index 11b484ff..9f72923b 100644 --- a/tests/lldb/cpp/Allocations/Android.mk +++ b/tests/lldb/cpp/Allocations/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := CppAllocations +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := \ Allocations.cpp \ diff --git a/tests/lldb/cpp/BranchingFunCalls/Android.mk b/tests/lldb/cpp/BranchingFunCalls/Android.mk index 12a3e322..c06e6af3 100644 --- a/tests/lldb/cpp/BranchingFunCalls/Android.mk +++ b/tests/lldb/cpp/BranchingFunCalls/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := CppBranchingFunCalls +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := \ BranchingFunCalls.cpp \ diff --git a/tests/lldb/cpp/InfiniteLoop/Android.mk b/tests/lldb/cpp/InfiniteLoop/Android.mk index f0895ecf..86a4ec55 100644 --- a/tests/lldb/cpp/InfiniteLoop/Android.mk +++ b/tests/lldb/cpp/InfiniteLoop/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := CppInfiniteLoop +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := \ InfiniteLoop.cpp \ diff --git a/tests/lldb/cpp/KernelVariables/Android.mk b/tests/lldb/cpp/KernelVariables/Android.mk index b9f9102e..7a68c937 100644 --- a/tests/lldb/cpp/KernelVariables/Android.mk +++ b/tests/lldb/cpp/KernelVariables/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := CppKernelVariables +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := \ KernelVariables.cpp \ diff --git a/tests/lldb/cpp/MultipleRSFiles/Android.mk b/tests/lldb/cpp/MultipleRSFiles/Android.mk index 4c224b8a..d4b5b35c 100644 --- a/tests/lldb/cpp/MultipleRSFiles/Android.mk +++ b/tests/lldb/cpp/MultipleRSFiles/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := CppMultipleRSFiles +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := \ MultipleRSFiles.cpp \ diff --git a/tests/lldb/cpp/WaitAttach/Android.mk b/tests/lldb/cpp/WaitAttach/Android.mk index 2c4f18c5..00bf745d 100644 --- a/tests/lldb/cpp/WaitAttach/Android.mk +++ b/tests/lldb/cpp/WaitAttach/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := CppDebugWaitAttach +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := \ WaitAttach.cpp \ @@ -13,6 +15,8 @@ include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) LOCAL_MODULE := CppNoDebugWaitAttach +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := \ WaitAttach.cpp \ diff --git a/tests/lldb/java/Allocations/Android.mk b/tests/lldb/java/Allocations/Android.mk index f7de2af6..cff322f3 100644 --- a/tests/lldb/java/Allocations/Android.mk +++ b/tests/lldb/java/Allocations/Android.mk @@ -8,9 +8,10 @@ LOCAL_SRC_FILES := \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := Allocations +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -Wno-unused -target-api 0 include $(BUILD_PACKAGE) - diff --git a/tests/lldb/java/BranchingFunCalls/Android.mk b/tests/lldb/java/BranchingFunCalls/Android.mk index ae79a64a..94f9d6fb 100644 --- a/tests/lldb/java/BranchingFunCalls/Android.mk +++ b/tests/lldb/java/BranchingFunCalls/Android.mk @@ -8,9 +8,10 @@ LOCAL_SRC_FILES := \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := BranchingFunCalls +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 include $(BUILD_PACKAGE) - diff --git a/tests/lldb/java/DebugWaitAttach/Android.mk b/tests/lldb/java/DebugWaitAttach/Android.mk index 8eafa53a..3486b780 100644 --- a/tests/lldb/java/DebugWaitAttach/Android.mk +++ b/tests/lldb/java/DebugWaitAttach/Android.mk @@ -6,9 +6,10 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := JavaDebugWaitAttach +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 include $(BUILD_PACKAGE) - diff --git a/tests/lldb/java/InfiniteLoop/Android.mk b/tests/lldb/java/InfiniteLoop/Android.mk index d2f143c7..02e27908 100644 --- a/tests/lldb/java/InfiniteLoop/Android.mk +++ b/tests/lldb/java/InfiniteLoop/Android.mk @@ -6,6 +6,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := JavaInfiniteLoop +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 diff --git a/tests/lldb/java/KernelVariables/Android.mk b/tests/lldb/java/KernelVariables/Android.mk index f37abced..c642a9d0 100644 --- a/tests/lldb/java/KernelVariables/Android.mk +++ b/tests/lldb/java/KernelVariables/Android.mk @@ -6,9 +6,10 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := KernelVariables +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 include $(BUILD_PACKAGE) - diff --git a/tests/lldb/java/MultipleRSFiles/Android.mk b/tests/lldb/java/MultipleRSFiles/Android.mk index b7cb887d..b45cc517 100644 --- a/tests/lldb/java/MultipleRSFiles/Android.mk +++ b/tests/lldb/java/MultipleRSFiles/Android.mk @@ -6,9 +6,10 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := MultipleRSFiles +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 include $(BUILD_PACKAGE) - diff --git a/tests/lldb/java/NoDebugWaitAttach/Android.mk b/tests/lldb/java/NoDebugWaitAttach/Android.mk index a852a526..355ffb74 100644 --- a/tests/lldb/java/NoDebugWaitAttach/Android.mk +++ b/tests/lldb/java/NoDebugWaitAttach/Android.mk @@ -6,7 +6,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := JavaNoDebugWaitAttach +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_PRIVATE_PLATFORM_APIS := true include $(BUILD_PACKAGE) - diff --git a/tests/lldb/java/Reduction/Android.mk b/tests/lldb/java/Reduction/Android.mk index bd0d5a51..6e71659d 100644 --- a/tests/lldb/java/Reduction/Android.mk +++ b/tests/lldb/java/Reduction/Android.mk @@ -24,6 +24,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-fil LOCAL_RENDERSCRIPT_FLAGS := -target-api 0 -O0 -g LOCAL_PACKAGE_NAME := Reduction +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_PRIVATE_PLATFORM_APIS := true include $(BUILD_PACKAGE) diff --git a/tests/lldb/java/ScriptGroup/Android.mk b/tests/lldb/java/ScriptGroup/Android.mk index c673b67c..18a1cd5e 100644 --- a/tests/lldb/java/ScriptGroup/Android.mk +++ b/tests/lldb/java/ScriptGroup/Android.mk @@ -6,6 +6,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := ScriptGroup +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 diff --git a/tests/lldb/java/SingleSource/Android.mk b/tests/lldb/java/SingleSource/Android.mk index 09bfc4e0..202c2a79 100644 --- a/tests/lldb/java/SingleSource/Android.mk +++ b/tests/lldb/java/SingleSource/Android.mk @@ -6,6 +6,8 @@ LOCAL_MODULE_TAGS := tests LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := SingleSource +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 diff --git a/tests/lldb/jni/Allocations/Android.mk b/tests/lldb/jni/Allocations/Android.mk index 8b0793b6..67ef2d9a 100644 --- a/tests/lldb/jni/Allocations/Android.mk +++ b/tests/lldb/jni/Allocations/Android.mk @@ -7,6 +7,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := JNIAllocations +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_JNI_SHARED_LIBRARIES := libjniallocations @@ -15,4 +17,3 @@ LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 include $(BUILD_PACKAGE) include $(LOCAL_PATH)/jniallocations/Android.mk - diff --git a/tests/lldb/jni/Allocations/jniallocations/Android.mk b/tests/lldb/jni/Allocations/jniallocations/Android.mk index e5c28635..e52e1a35 100644 --- a/tests/lldb/jni/Allocations/jniallocations/Android.mk +++ b/tests/lldb/jni/Allocations/jniallocations/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libjniallocations +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := jniallocations.cpp allocs.rscript diff --git a/tests/lldb/jni/BranchingFunCalls/Android.mk b/tests/lldb/jni/BranchingFunCalls/Android.mk index 5fdcdb31..a5ee3b42 100644 --- a/tests/lldb/jni/BranchingFunCalls/Android.mk +++ b/tests/lldb/jni/BranchingFunCalls/Android.mk @@ -7,6 +7,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := JNIBranchingFunCalls +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_JNI_SHARED_LIBRARIES := libjnibranchingfuncalls @@ -15,4 +17,3 @@ LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 include $(BUILD_PACKAGE) include $(LOCAL_PATH)/jnibranchingfuncalls/Android.mk - diff --git a/tests/lldb/jni/BranchingFunCalls/jnibranchingfuncalls/Android.mk b/tests/lldb/jni/BranchingFunCalls/jnibranchingfuncalls/Android.mk index 34dd1add..69f9162c 100644 --- a/tests/lldb/jni/BranchingFunCalls/jnibranchingfuncalls/Android.mk +++ b/tests/lldb/jni/BranchingFunCalls/jnibranchingfuncalls/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libjnibranchingfuncalls +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := jnibranchingfuncalls.cpp scalars.rscript diff --git a/tests/lldb/jni/DebugWaitAttach/Android.mk b/tests/lldb/jni/DebugWaitAttach/Android.mk index 9d848425..14cf20d2 100644 --- a/tests/lldb/jni/DebugWaitAttach/Android.mk +++ b/tests/lldb/jni/DebugWaitAttach/Android.mk @@ -7,6 +7,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := JNIDebugWaitAttach +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_JNI_SHARED_LIBRARIES := libjnidebugwaitattach @@ -15,4 +17,3 @@ LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 include $(BUILD_PACKAGE) include $(LOCAL_PATH)/jnidebugwaitattach/Android.mk - diff --git a/tests/lldb/jni/DebugWaitAttach/jnidebugwaitattach/Android.mk b/tests/lldb/jni/DebugWaitAttach/jnidebugwaitattach/Android.mk index edb348fc..af7d578a 100644 --- a/tests/lldb/jni/DebugWaitAttach/jnidebugwaitattach/Android.mk +++ b/tests/lldb/jni/DebugWaitAttach/jnidebugwaitattach/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libjnidebugwaitattach +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := jnidebugwaitattach.cpp simple.rscript diff --git a/tests/lldb/jni/InfiniteLoop/Android.mk b/tests/lldb/jni/InfiniteLoop/Android.mk index 35dfc0d5..892e1e94 100644 --- a/tests/lldb/jni/InfiniteLoop/Android.mk +++ b/tests/lldb/jni/InfiniteLoop/Android.mk @@ -7,6 +7,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := JNIInfiniteLoop +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_JNI_SHARED_LIBRARIES := libjniinfiniteloop @@ -15,4 +17,3 @@ LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 include $(BUILD_PACKAGE) include $(LOCAL_PATH)/jniinfiniteloop/Android.mk - diff --git a/tests/lldb/jni/InfiniteLoop/jniinfiniteloop/Android.mk b/tests/lldb/jni/InfiniteLoop/jniinfiniteloop/Android.mk index 31001d00..21717224 100644 --- a/tests/lldb/jni/InfiniteLoop/jniinfiniteloop/Android.mk +++ b/tests/lldb/jni/InfiniteLoop/jniinfiniteloop/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libjniinfiniteloop +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := jniinfiniteloop.cpp infiniteloop.rscript diff --git a/tests/lldb/jni/KernelVariables/Android.mk b/tests/lldb/jni/KernelVariables/Android.mk index 8ab1297d..12017d5a 100644 --- a/tests/lldb/jni/KernelVariables/Android.mk +++ b/tests/lldb/jni/KernelVariables/Android.mk @@ -7,6 +7,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := JNIKernelVariables +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_JNI_SHARED_LIBRARIES := libjnikernelvariables @@ -15,4 +17,3 @@ LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 include $(BUILD_PACKAGE) include $(LOCAL_PATH)/jnikernelvariables/Android.mk - diff --git a/tests/lldb/jni/KernelVariables/jnikernelvariables/Android.mk b/tests/lldb/jni/KernelVariables/jnikernelvariables/Android.mk index fe372a74..10afc4bf 100644 --- a/tests/lldb/jni/KernelVariables/jnikernelvariables/Android.mk +++ b/tests/lldb/jni/KernelVariables/jnikernelvariables/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libjnikernelvariables +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := jnikernelvariables.cpp simple.rscript diff --git a/tests/lldb/jni/MultipleRSFiles/Android.mk b/tests/lldb/jni/MultipleRSFiles/Android.mk index 4aa54e3b..ff24154d 100644 --- a/tests/lldb/jni/MultipleRSFiles/Android.mk +++ b/tests/lldb/jni/MultipleRSFiles/Android.mk @@ -7,6 +7,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := JNIMultipleRSFiles +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_JNI_SHARED_LIBRARIES := libjnimultiplersfiles @@ -15,4 +17,3 @@ LOCAL_RENDERSCRIPT_FLAGS := -g -O0 -target-api 0 include $(BUILD_PACKAGE) include $(LOCAL_PATH)/jnimultiplersfiles/Android.mk - diff --git a/tests/lldb/jni/MultipleRSFiles/jnimultiplersfiles/Android.mk b/tests/lldb/jni/MultipleRSFiles/jnimultiplersfiles/Android.mk index 6fd4b10a..b3c335fa 100644 --- a/tests/lldb/jni/MultipleRSFiles/jnimultiplersfiles/Android.mk +++ b/tests/lldb/jni/MultipleRSFiles/jnimultiplersfiles/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libjnimultiplersfiles +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := jnimultiplersfiles.cpp first.rscript second.rscript diff --git a/tests/lldb/jni/NoDebugWaitAttach/Android.mk b/tests/lldb/jni/NoDebugWaitAttach/Android.mk index 84d4e28b..887b1996 100644 --- a/tests/lldb/jni/NoDebugWaitAttach/Android.mk +++ b/tests/lldb/jni/NoDebugWaitAttach/Android.mk @@ -7,6 +7,8 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src) \ $(call all-renderscript-files-under, src) LOCAL_PACKAGE_NAME := JNINoDebugWaitAttach +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SDK_VERSION := current LOCAL_JNI_SHARED_LIBRARIES := libjninodebugwaitattach @@ -15,4 +17,3 @@ LOCAL_RENDERSCRIPT_FLAGS := -O0 -target-api 0 include $(BUILD_PACKAGE) include $(LOCAL_PATH)/jninodebugwaitattach/Android.mk - diff --git a/tests/lldb/jni/NoDebugWaitAttach/jninodebugwaitattach/Android.mk b/tests/lldb/jni/NoDebugWaitAttach/jninodebugwaitattach/Android.mk index fda6fcf9..19b08075 100644 --- a/tests/lldb/jni/NoDebugWaitAttach/jninodebugwaitattach/Android.mk +++ b/tests/lldb/jni/NoDebugWaitAttach/jninodebugwaitattach/Android.mk @@ -2,6 +2,8 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libjninodebugwaitattach +LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 +LOCAL_LICENSE_CONDITIONS := notice LOCAL_SRC_FILES := jninodebugwaitattach.cpp simple.rscript diff --git a/tests/lldb/jni/common.mk b/tests/lldb/jni/common.mk index 269f1d96..74413077 100644 --- a/tests/lldb/jni/common.mk +++ b/tests/lldb/jni/common.mk @@ -1,12 +1,11 @@ LOCAL_MODULE_TAGS := tests -LOCAL_C_INCLUDES += $(JNI_H_INCLUDE) - LOCAL_CPP_FEATURES += exceptions LOCAL_CFLAGS := -Werror -Wall -Wextra -std=c++11 LOCAL_RENDERSCRIPT_FLAGS += -O0 -target-api 0 +LOCAL_HEADER_LIBRARIES := jni_headers LOCAL_SHARED_LIBRARIES += libdl liblog LOCAL_STATIC_LIBRARIES += libRScpp_static diff --git a/tests/lldb/run_tests.py b/tests/lldb/run_tests.py index 2ac51230..d1700bbd 100755 --- a/tests/lldb/run_tests.py +++ b/tests/lldb/run_tests.py @@ -173,8 +173,8 @@ class State(object): # use the default configuration config = Config() - # save the test blacklist - self.blacklist = _choice(args.blacklist, config.blacklist) + # save the test denylist + self.blocklist = _choice(args.blocklist, config.blocklist) # Allow any of the command line arguments to override the # values in the config file. @@ -722,7 +722,7 @@ def _discover_tests(state): for item in os.listdir(current_test_dir): if (item.startswith('test') and item.endswith('.py') - and not item in state.blacklist): + and not item in state.blocklist): tests.append(item) else: if single_test.endswith('.py'): diff --git a/tests/lldb/tests/harness/util_android.py b/tests/lldb/tests/harness/util_android.py index 16596f59..a0cf700b 100644 --- a/tests/lldb/tests/harness/util_android.py +++ b/tests/lldb/tests/harness/util_android.py @@ -635,7 +635,7 @@ class UtilAndroid(object): # if the remote is an emulator do not even try to reboot # otherwise check whether a reboot is advised - if (self._get_prop('ro.kernel.qemu') != '1' and output and + if (self._get_prop('ro.boot.qemu') != '1' and output and 'Now reboot your device for settings to take effect' in output): self._reboot_device() |