AndroidStressTest

downloads-apk-brightgreen.svg

This is an Android system stress test app that verifies the reliability of the main modules of the system. It is suitable for Android hardware manufacturers and supports the stress test of the following modules:

CPU test

Memory test

Video test

WIFI test

Bluetooth test

Airplane mode test

Restart test

Sleep test

Restore factory test

Time power-on/off test

Network test

Camera test

UVC Camera test

Preview

a392e6abb577de29ef85318538ec9038.png

record.gif

Compile

You need to use android-ndk-r14b when compiling libuvccamera. If you don't modify the code in libuvccamera, you can also use the pre-compiled library. You can modify it like this:

libuvccamera/build.gradle

tasks.withType(JavaCompile) {

//compileTask -> compileTask.dependsOn ndkBuild

}

If you want to compile libuvccamera, you first need to download android-ndk-r14b, then you can configure local.properties like this:

ndk.dir=F\:\\android\\sdk\\ndk-bundle

uvccamera.ndk.dir=F\:\\android\\android-ndk-r11b

sdk.dir=F\:\\android\\sdk

Regarding the signature key you can configure local.properties like this:

keystore.path=xxx

keystore.alias=xxx

keystore.store_password=xxx

keystore.key_password=xxx

Using AndroidStressTest in your device

Download

System Signature

Installation

System signature:

$java -jar SignApk.jar platform.x509.pem platform.pk8 AndroidStressTest.apk AndroidStressTest_signed.apk

NOTE:

System permissions are required for tests such as rebooting and restoring the factory, because system signature is required

Because the test of restarting and restoring the factory needs to be booted from the boot, and some devices prohibit the booting of the third-party APP, you can push this APP to System/app to solve it.

Developed By

License

Copyright 2019 Bob Shen.

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.

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐