when I open ouya-sdk.jar there is no such function call GetButtonDown. How then this
can be referenced when actually I can not find such 1:1 function name in anywhere in ouya-sdk.jar?
Very good answer, thanks. Indeed it is C sharp aka C# aka file_name.cs code. That function call points to ouyaSDK.cs file and it is all written in C sharp programming language.
I found documentation to access controller input in Android OS with JAVA programming language:
This document is for developers that uses Java to make apps for Android. The docs target developers using Android Studio, Eclipse, or IntelliJ. ouya-docs/java.md at master · zturtleman/ouya-docs · GitHub
EDIT:
This enables way to modify input functions or call input directly from custom Android APK to enable 3rd party controllers.