Home
last modified time | relevance | path

Searched refs:hasSwitch (Results 1 – 5 of 5) sorted by relevance

/external/libmojo/base/android/javatests/src/org/chromium/base/
DCommandLineTest.java37 assertFalse(cl.hasSwitch("init_command")); in checkInitSwitches()
38 assertFalse(cl.hasSwitch("switch")); in checkInitSwitches()
39 assertTrue(cl.hasSwitch("SWITCH")); in checkInitSwitches()
40 assertFalse(cl.hasSwitch("--SWITCH")); in checkInitSwitches()
41 assertFalse(cl.hasSwitch("Arg")); in checkInitSwitches()
42 assertFalse(cl.hasSwitch("actually_an_arg")); in checkInitSwitches()
54 assertFalse(cl.hasSwitch(CL_ADDED_SWITCH)); in checkSettingThenGetting()
56 assertTrue(cl.hasSwitch(CL_ADDED_SWITCH)); in checkSettingThenGetting()
59 assertFalse(cl.hasSwitch(CL_ADDED_SWITCH_2)); in checkSettingThenGetting()
66 assertFalse(cl.hasSwitch("dummy")); in checkSettingThenGetting()
[all …]
/external/libmojo/base/android/java/src/org/chromium/base/
DSysUtils.java104 if (CommandLine.getInstance().hasSwitch(BaseSwitches.ENABLE_LOW_END_DEVICE_MODE)) { in detectLowEndDevice()
107 if (CommandLine.getInstance().hasSwitch(BaseSwitches.DISABLE_LOW_END_DEVICE_MODE)) { in detectLowEndDevice()
DCommandLine.java48 public abstract boolean hasSwitch(String switchString); in hasSwitch() method in CommandLine
309 public boolean hasSwitch(String switchString) { in hasSwitch() method in CommandLine.JavaCommandLine
375 public boolean hasSwitch(String switchString) { in hasSwitch() method in CommandLine.NativeCommandLine
DLocaleUtils.java60 return commandLine.hasSwitch(BaseSwitches.DEFAULT_COUNTRY_CODE_AT_INSTALL) in getDefaultCountryCode()
DTraceEvent.java165 CommandLine.getInstance().hasSwitch(BaseSwitches.ENABLE_IDLE_TRACING)