I our company we have a lot of ui-tests which are run on virtual/real devices. After running for some time tests randomly crashing, which I think is the result of file descr
I have researched for this question for a while and would like to share what I found:
File descriptor are used in Android at least for:
If you have created a HandlerThread, even if the last link to the HandlerThread instance will disappear thread will still work and consume FileDescriptor
Threads in android can be seen:
adb shell ps -t
or just ps -t