Translate android_core code