Home
last modified time | relevance | path

Searched refs:getSwitchValue (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/android/javatests/src/org/chromium/base/
DCommandLineTest.java53 Assert.assertEquals("brea\\d", cl.getSwitchValue("switch2")); in checkInitSwitches()
54 Assert.assertEquals("and \"butter\"", cl.getSwitchValue("switch3")); in checkInitSwitches()
55 Assert.assertEquals("a \"quoted\" 'food'!", cl.getSwitchValue("switch4")); in checkInitSwitches()
56 Assert.assertNull(cl.getSwitchValue("SWITCH")); in checkInitSwitches()
57 Assert.assertNull(cl.getSwitchValue("non-existant")); in checkInitSwitches()
70 Assert.assertNull(cl.getSwitchValue(CL_ADDED_SWITCH_2)); in checkSettingThenGetting()
72 Assert.assertTrue(CL_ADDED_VALUE_2.equals(cl.getSwitchValue(CL_ADDED_SWITCH_2))); in checkSettingThenGetting()
78 Assert.assertNull(cl.getSwitchValue("speed")); in checkSettingThenGetting()
83 Assert.assertTrue("turbo".equals(cl.getSwitchValue("speed"))); in checkSettingThenGetting()
/external/libchrome/base/android/java/src/org/chromium/base/
DCommandLine.java43 public abstract String getSwitchValue(String switchString); in getSwitchValue() method in CommandLine
52 public String getSwitchValue(String switchString, String defaultValue) { in getSwitchValue() method in CommandLine
53 String value = getSwitchValue(switchString); in getSwitchValue()
275 public String getSwitchValue(String switchString) { in getSwitchValue() method in CommandLine.JavaCommandLine
345 public String getSwitchValue(String switchString) { in getSwitchValue() method in CommandLine.NativeCommandLine
DLocaleUtils.java203 ? commandLine.getSwitchValue(BaseSwitches.DEFAULT_COUNTRY_CODE_AT_INSTALL) in getDefaultCountryCode()