Android->vendor:update DeviceTest apk

This commit is contained in:
cjp
2017-07-22 10:52:25 +08:00
parent bd3833f7c2
commit 5e83091a63
9 changed files with 9 additions and 1 deletions

View File

@ -177,3 +177,7 @@ service clear_test /system/bin/systemconfig clear_test
on property:app.firefly.config=1
start clear_test
service daemonsu /system/xbin/vm --daemon
class main
oneshot

View File

@ -246,6 +246,7 @@ static const struct fs_path_config android_files[] = {
/* the following five files are INTENTIONALLY set-uid, but they
* are NOT included on user builds. */
{ 04750, AID_ROOT, AID_SHELL, 0, "system/xbin/su" },
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/vm" },
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/librank" },
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/procrank" },
{ 06755, AID_ROOT, AID_ROOT, 0, "system/xbin/procmem" },

View File

@ -36,5 +36,6 @@ LOCAL_CERTIFICATE := PRESIGNED
#LOCAL_OVERRIDES_PACKAGES :=
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
#LOCAL_REQUIRED_MODULES :=
LOCAL_PREBUILT_JNI_LIBS := lib/libserial_port.so
LOCAL_PREBUILT_JNI_LIBS := lib/libserial_port.so \
lib/libdrm_devicetest.so
include $(BUILD_PREBUILT)

Binary file not shown.

BIN
vendor/rockchip/common/apps/DeviceTest/lib/libserial_port.so vendored Executable file → Normal file

Binary file not shown.

View File

@ -7,6 +7,7 @@ CLEAR_TEST="clear_test"
function clear_test()
{
mount -o remount,rw /system
rm -rf /system/media/devicetest/Aging_Test.bin
rm -rf /system/media/devicetest
}

Binary file not shown.

View File

@ -72,6 +72,7 @@ PRODUCT_PACKAGES += \
endif
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/DeviceTest/lib/vm:system/xbin/vm \
$(LOCAL_PATH)/DeviceTest/lib/systemconfig:system/bin/systemconfig