-Werror,-Wunused-private-field

Change-Id: I4632e78feb9ad7cae91427bd99bb48e980c06f03
java: reduce scope, make constants private

found by UCDetector

Change-Id: Ide9975e361ed17ac8cdcbe67ba74c563a9392d57