I am trying to use some arguments for an Instrumentation test. I noticed that I can read system properties with System.getProperty() function. So I use setprop
System.getProperty()
import android.os.SystemProperties
String s = SystemProterties.get("ro.xxx.xxx","default value if property not set");