Searched refs:hasSwitch (Results 1 – 5 of 5) sorted by relevance
37 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 …]
104 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()
48 public abstract boolean hasSwitch(String switchString); in hasSwitch() method in CommandLine309 public boolean hasSwitch(String switchString) { in hasSwitch() method in CommandLine.JavaCommandLine375 public boolean hasSwitch(String switchString) { in hasSwitch() method in CommandLine.NativeCommandLine
60 return commandLine.hasSwitch(BaseSwitches.DEFAULT_COUNTRY_CODE_AT_INSTALL) in getDefaultCountryCode()
165 CommandLine.getInstance().hasSwitch(BaseSwitches.ENABLE_IDLE_TRACING)