base: improve some class in jni

Change-Id: I8b6cbaf61de2d2903f62a816a53f6c8c7dd8a5f3
Signed-off-by: klozz <xxx.reptar.rawrr.xxx@gmail.com>