I just want to get all dumps from java virtual machine threads, to look at what the threads lock and what threads waiting to unlock some resources. Something like is describ
Just debug your app on your phone in Android Studio; then in the "Debug view" Alt+5 just press the "Camera" button at the bottom left corner, to obtain a dump of all stacktraces, including locks they are holding.