Home
last modified time | relevance | path

Searched refs:key (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/power-helper/src/com/android/helper/
DPowerTestHelper.java78 protected String getPropertyString(String key) in getPropertyString() argument
80 String value = getProperty(key); in getPropertyString()
101 protected long getPropertyLong(String key) in getPropertyLong() argument
103 String value = getProperty(key); in getPropertyLong()
109 private String getProperty(String key) in getProperty() argument
117 value = prop.getProperty(key); in getProperty()
/platform_testing/libraries/timeresult-helper/src/android/support/test/timeresulthelper/
DTimeResultLogger.java55 for (String key : result.keySet()) { in writeResultToFile()
56 outputWriter.write(String.format("%s %s\n", key, in writeResultToFile()
57 result.get(key))); in writeResultToFile()
/platform_testing/tests/functional/otatests/src/com/android/functional/otatests/
DVersionCheckingTest.java50 private String getProp(String key) throws IOException { in getProp() argument
51 Process p = Runtime.getRuntime().exec("getprop " + key); in getProp()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestRunner.java191 private long parseLongParam(String key, long alternative) throws NumberFormatException { in parseLongParam() argument
192 if (mParams.containsKey(key)) { in parseLongParam()
194 mParams.getString(key)); in parseLongParam()
200 private boolean parseBooleanParam(String key, boolean alternative) in parseBooleanParam() argument
202 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() argument
210 if (mParams.containsKey(key)) { in parseStringParam()
211 return mParams.getString(key); in parseStringParam()
DAuptTestCase.java280 public long getLongParam(String key, long defaultValue) throws NumberFormatException { in getLongParam() argument
281 if (getParams().containsKey(key)) { in getLongParam()
282 return Long.parseLong(getParams().getString(key)); in getLongParam()
/platform_testing/libraries/google-keyboard-app-helper/src/android/platform/test/helpers/
DGoogleKeyboardHelperImpl.java176 private String getKeyDesc(char key) { in getKeyDesc() argument
177 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() argument
186 String keyDesc = getKeyDesc(key); in getKeyboardKey()