I am inspecting this piece of code (it opens Usage Settings permissions for a particular app):
val intent = Intent("android.settings.USAGE_ACCESS_SETTINGS")
val uri: Uri = Uri.fromParts("package", "com.my.example", null)
intent.data = uri
context.startActivity(intent)
I understand the "USAGE_ACCESS_SETTINGS" part, it is documented: https://developer.android.com/reference/android/provider/Settings#ACTION_USAGE_ACCESS_SETTINGS
But how did the author of this code come up with the "package" intent data? Is there any list of allowed intent data for each of intents?
I cannot find any info about this in the docs. Maybe there's something in the Android source code I can read?