Searched refs:key (Results 1 – 6 of 6) sorted by relevance
78 protected String getPropertyString(String key) in getPropertyString() argument80 String value = getProperty(key); in getPropertyString()101 protected long getPropertyLong(String key) in getPropertyLong() argument103 String value = getProperty(key); in getPropertyLong()109 private String getProperty(String key) in getProperty() argument117 value = prop.getProperty(key); in getProperty()
55 for (String key : result.keySet()) { in writeResultToFile()56 outputWriter.write(String.format("%s %s\n", key, in writeResultToFile()57 result.get(key))); in writeResultToFile()
50 private String getProp(String key) throws IOException { in getProp() argument51 Process p = Runtime.getRuntime().exec("getprop " + key); in getProp()
191 private long parseLongParam(String key, long alternative) throws NumberFormatException { in parseLongParam() argument192 if (mParams.containsKey(key)) { in parseLongParam()194 mParams.getString(key)); in parseLongParam()200 private boolean parseBooleanParam(String key, boolean alternative) in parseBooleanParam() argument202 if (mParams.containsKey(key)) { in parseBooleanParam()203 return Boolean.parseBoolean(mParams.getString(key)); in parseBooleanParam()209 private String parseStringParam(String key, String alternative) { in parseStringParam() argument210 if (mParams.containsKey(key)) { in parseStringParam()211 return mParams.getString(key); in parseStringParam()
280 public long getLongParam(String key, long defaultValue) throws NumberFormatException { in getLongParam() argument281 if (getParams().containsKey(key)) { in getLongParam()282 return Long.parseLong(getParams().getString(key)); in getLongParam()
176 private String getKeyDesc(char key) { in getKeyDesc() argument177 String specialKeyDesc = SPECIAL_KEY_CONTENT_DESCRIPTIONS.get(key); in getKeyDesc()181 return String.valueOf(key); in getKeyDesc()185 private UiObject2 getKeyboardKey(char key) { in getKeyboardKey() argument186 String keyDesc = getKeyDesc(key); in getKeyboardKey()