In Android, I'm trying to write Java code to trigger different types of crashes. We try to evaluate what types of crash reports are available for different types of crashes.
In particular, I'm interested in writing Java code that can cause a crash in the system_server process that causes Android to restart and possibly restart the device.
I searched the internet but did not find anything that I could use. There's a lot of information to show crashing crash reports, but not much to crash.
Any tips from people familiar with Android are welcome.