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
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
- 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.
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.