OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:HasSwitch
(Results
1 - 25
of
29
) sorted by null
1
2
/external/libchrome/base/
command_line_unittest.cc
52
EXPECT_FALSE(cl.
HasSwitch
("cruller"));
53
EXPECT_FALSE(cl.
HasSwitch
("flim"));
54
EXPECT_FALSE(cl.
HasSwitch
("program"));
55
EXPECT_FALSE(cl.
HasSwitch
("dog"));
56
EXPECT_FALSE(cl.
HasSwitch
("cat"));
57
EXPECT_FALSE(cl.
HasSwitch
("output-rotation"));
58
EXPECT_FALSE(cl.
HasSwitch
("not-a-switch"));
59
EXPECT_FALSE(cl.
HasSwitch
("--"));
64
EXPECT_TRUE(cl.
HasSwitch
("foo"));
66
EXPECT_TRUE(cl.
HasSwitch
("bar"))
[
all
...]
sys_info.cc
25
if (command_line->
HasSwitch
(switches::kEnableLowEndDeviceMode))
27
if (command_line->
HasSwitch
(switches::kDisableLowEndDeviceMode))
command_line.h
155
bool
HasSwitch
(const base::StringPiece& switch_string) const;
156
bool
HasSwitch
(const char switch_constant[]) const;
command_line.cc
277
bool CommandLine::
HasSwitch
(const base::StringPiece& switch_string) const {
283
bool CommandLine::
HasSwitch
(const char switch_constant[]) const {
284
return
HasSwitch
(base::StringPiece(switch_constant));
360
if (source.
HasSwitch
(switches[i]))
/system/tpm/tpm_manager/client/
main.cc
130
if (command_line->
HasSwitch
("help") || command_line->
HasSwitch
("h")) {
132
} else if (command_line->
HasSwitch
(kGetTpmStatusCommand)) {
135
} else if (command_line->
HasSwitch
(kTakeOwnershipCommand)) {
138
} else if (command_line->
HasSwitch
(kRemoveOwnerDependencyCommand)) {
143
} else if (command_line->
HasSwitch
(kDefineNvramCommand)) {
144
if (!command_line->
HasSwitch
(kNvramIndexArg) ||
145
!command_line->
HasSwitch
(kNvramLengthArg)) {
154
} else if (command_line->
HasSwitch
(kDestroyNvramCommand)) {
155
if (!command_line->
HasSwitch
(kNvramIndexArg))
[
all
...]
/system/tpm/trunks/
trunks_client.cc
139
if (cl->
HasSwitch
("help")) {
148
if (cl->
HasSwitch
("status")) {
151
if (cl->
HasSwitch
("startup")) {
154
if (cl->
HasSwitch
("clear")) {
157
if (cl->
HasSwitch
("init_tpm")) {
160
if (cl->
HasSwitch
("allocate_pcr")) {
164
if (cl->
HasSwitch
("own")) {
168
if (cl->
HasSwitch
("regression_test")) {
219
if (cl->
HasSwitch
("owner_password")) {
230
if (cl->
HasSwitch
("stress_test"))
[
all
...]
trunksd.cc
78
if (cl->
HasSwitch
("log_to_stderr")) {
97
if (cl->
HasSwitch
("ftdi")) {
100
} else if (cl->
HasSwitch
("simulator")) {
/system/connectivity/dhcp_client/
main.cc
55
SetupLogging(cl->
HasSwitch
(switches::kForeground), daemon_name);
63
if (cl->
HasSwitch
(switches::kHelp)) {
/system/connectivity/shill/
logging.cc
37
if (cl->
HasSwitch
(switches::kLogLevel)) {
50
if (cl->
HasSwitch
(switches::kLogScopes)) {
shill_main.cc
169
SetupLogging(cl->
HasSwitch
(switches::kForeground), daemon_name);
177
if (cl->
HasSwitch
(switches::kHelp)) {
183
if (cl->
HasSwitch
(switches::kTechnologyOrder)) {
200
if (cl->
HasSwitch
(switches::kDeviceBlackList)) {
206
if (cl->
HasSwitch
(switches::kDeviceWhiteList)) {
213
cl->
HasSwitch
(switches::kIgnoreUnknownEthernet);
215
if (cl->
HasSwitch
(switches::kPortalList)) {
220
settings.passive_mode = cl->
HasSwitch
(switches::kPassiveMode);
222
if (cl->
HasSwitch
(switches::kPrependDNSServers)) {
227
if (cl->
HasSwitch
(switches::kMinimumMTU))
[
all
...]
testrunner.cc
47
if (cl->
HasSwitch
(switches::kHelp)) {
/system/connectivity/shill/shims/
netfilter_queue_helper.cc
73
if (!cl->
HasSwitch
(option)) {
96
if (cl->
HasSwitch
(switches::kHelp)) {
115
if (cl->
HasSwitch
(switches::kVerbose)) {
/system/bt/service/
main.cpp
61
if (command_line->
HasSwitch
(bluetooth::switches::kHelpLong) ||
62
command_line->
HasSwitch
(bluetooth::switches::kHelpShort)) {
/system/connectivity/shill/test-rpc-proxy/
proxy_main.cc
47
if (cl->
HasSwitch
(switches::kHelp)) {
53
if (!cl->
HasSwitch
(switches::kPort)) {
/external/dbus-binding-generator/chromeos-dbus-bindings/
generate_chromeos_dbus_bindings.cc
133
if (cl->
HasSwitch
(switches::kHelp)) {
146
if (cl->
HasSwitch
(switches::kServiceConfig)) {
168
if (cl->
HasSwitch
(switches::kMethodNames)) {
180
if (cl->
HasSwitch
(switches::kAdaptor)) {
191
if (cl->
HasSwitch
(switches::kProxy)) {
205
if (cl->
HasSwitch
(switches::kProxyPathForMocks)) {
212
if (cl->
HasSwitch
(switches::kMock)) {
/system/connectivity/shill/setup_wifi/
main.cc
120
if (cl->
HasSwitch
(switches::kHelp)) {
125
if (!cl->
HasSwitch
(switches::kSSID)) {
133
if (cl->
HasSwitch
(switches::kPassphrase)) {
136
bool hex_ssid = cl->
HasSwitch
(switches::kHexSsid);
/system/tpm/attestation/client/
main.cc
128
if (command_line->
HasSwitch
("help") || command_line->
HasSwitch
("h") ||
164
if (!command_line->
HasSwitch
("input")) {
177
if (!command_line->
HasSwitch
("input") ||
178
!command_line->
HasSwitch
("output")) {
191
if (!command_line->
HasSwitch
("input") ||
192
!command_line->
HasSwitch
("output")) {
207
if (!command_line->
HasSwitch
("input")) {
222
if (!command_line->
HasSwitch
("input")) {
237
if (!command_line->
HasSwitch
("input") |
[
all
...]
/system/connectivity/apmanager/
main.cc
122
SetupLogging(minijail, cl->
HasSwitch
(switches::kForeground), daemon_name);
141
if (cl->
HasSwitch
(switches::kHelp)) {
/system/tpm/tpm_manager/server/
main.cc
68
command_line->
HasSwitch
(kWaitForOwnershipTriggerSwitch),
109
if (cl->
HasSwitch
("log_to_stderr")) {
/external/libchrome/base/test/
multiprocess_test.cc
24
if (!command_line.
HasSwitch
(switches::kTestChildProcess))
multiprocess_test_android.cc
68
if (!command_line->
HasSwitch
(switches::kTestChildProcess))
test_timeouts.cc
45
if (base::CommandLine::ForCurrentProcess()->
HasSwitch
(switch_name)) {
/system/core/crash_reporter/
list_proxies.cc
262
if (cl->
HasSwitch
(kHelp)) {
267
bool quiet = cl->
HasSwitch
(kQuiet);
268
bool verbose = cl->
HasSwitch
(kVerbose);
/system/bt/service/example/heart_rate/
server_main.cpp
136
bool advertise = base::CommandLine::ForCurrentProcess()->
HasSwitch
("advertise");
/system/tpm/attestation/server/
main.cc
106
if (cl->
HasSwitch
("log_to_stderr")) {
Completed in 1187 milliseconds
1
2