I want to know how uninstalls on my app are recorded on the Google Play console exactly. I do not want my own personal uninstalls on my test devices to show, so I want to fi
You cannot detect the uninstall event of your own app. When an app is uninstalled the event ACTION_PACKAGE_REMOVED
is sent as a broadcast to all apps except the app which is being uninstalled.
So to answer your question, Google console calculates the number of uninstalls via Google Play Store app, not via your own app.
Also, Google Play store only tracks the install and uninstall events for the apps which are installed from the Play store. So, if you want to block the uninstalls from your test devices from being counted, install the APK directly and not from the play store.