Example Android Substrate function hook