Searched defs:options (Results 1 - 25 of 50) sorted by relevance

12

/system/tools/aidl/
H A Dmain_cpp.cpp22 #include "options.h"
30 std::unique_ptr<CppOptions> options = CppOptions::Parse(argc, argv); local
31 if (!options) {
36 return android::aidl::compile_aidl_to_cpp(*options, io_delegate);
H A Dmain_java.cpp23 #include "options.h"
30 std::unique_ptr<JavaOptions> options = JavaOptions::Parse(argc, argv); local
31 if (!options) {
36 switch (options->task) {
38 return android::aidl::compile_aidl_to_java(*options, io_delegate);
40 if (android::aidl::preprocess_aidl(*options, io_delegate))
H A Daidl_unittest.cpp218 JavaOptions options; local
219 options.output_file_name_ = "preprocessed";
220 options.files_to_preprocess_.resize(2);
221 options.files_to_preprocess_[0] = "p/Outer.aidl";
222 options.files_to_preprocess_[1] = "one/IBar.aidl";
223 EXPECT_TRUE(::android::aidl::preprocess_aidl(options, io_delegate_));
256 JavaOptions options; local
257 options.input_file_name_ = "p/IFoo.aidl";
258 io_delegate_.SetFileContents(options.input_file_name_,
261 EXPECT_EQ(0, ::android::aidl::compile_aidl_to_java(options, io_delegate
297 JavaOptions options; local
316 JavaOptions options; local
[all...]
H A Doptions_unittest.cpp23 #include "options.h"
77 unique_ptr<T> options(T::Parse(argc, command));
78 if (!options) {
85 EXPECT_NE(options, nullptr) << "Failed to parse options!";
86 return options;
92 unique_ptr<JavaOptions> options = GetOptions<JavaOptions>(kPreprocessCommand); local
93 EXPECT_EQ(JavaOptions::PREPROCESS_AIDL, options->task);
94 EXPECT_EQ(false, options->fail_on_parcelable_);
95 EXPECT_EQ(0u, options
107 unique_ptr<JavaOptions> options = local
119 unique_ptr<CppOptions> options = GetOptions<CppOptions>(kCompileCppCommand); local
[all...]
/system/connectivity/shill/
H A Dppp_daemon.cc45 const PPPDaemon::Options& options,
50 if (options.debug) {
53 if (options.no_detach) {
56 if (options.no_default_route) {
59 if (options.use_peer_dns) {
62 if (options.use_shim_plugin) {
66 if (options.use_pppoe_plugin) {
70 if (options.lcp_echo_interval != kUnspecifiedValue) {
72 arguments.push_back(base::UintToString(options.lcp_echo_interval));
74 if (options
41 Start( ControlInterface* control_interface, ProcessManager* process_manager, const base::WeakPtr<RPCTaskDelegate>& task_delegate, const PPPDaemon::Options& options, const std::string& device, const PPPDaemon::DeathCallback& death_callback, Error* error) argument
[all...]
H A Dppp_daemon_unittest.cc50 std::unique_ptr<ExternalTask> Start(const PPPDaemon::Options& options, argument
57 options, device, callback, error);
87 PPPDaemon::Options options; local
88 std::unique_ptr<ExternalTask> task(Start(options, "eth0", &error));
101 PPPDaemon::Options options; local
102 options.no_detach = true;
103 options.no_default_route = true;
104 options.use_peer_dns = true;
105 options.lcp_echo_interval = 1;
106 options
127 PPPDaemon::Options options; local
[all...]
H A Dshill_ares.cc52 struct ares_options* options,
54 return ares_init_options(channelptr, options, optmask);
51 InitOptions(ares_channel* channelptr, struct ares_options* options, int optmask) argument
/system/connectivity/shill/shims/
H A Dopenvpn_script.cc49 dbus::Bus::Options options; local
50 options.bus_type = dbus::Bus::SYSTEM;
51 bus = new dbus::Bus(options);
H A Dppp.cc161 dbus::Bus::Options options; local
162 options.bus_type = dbus::Bus::SYSTEM;
163 bus_ = new dbus::Bus(options);
/system/connectivity/shill/test-rpc-proxy/
H A Dproxy_main.cc66 dbus::Bus::Options options; local
67 options.bus_type = dbus::Bus::SYSTEM;
68 scoped_refptr<dbus::Bus> dbus_bus = new dbus::Bus(options);
/system/connectivity/shill/test-scripts/
H A Dconnect-disconnect30 options = None variable
58 time.sleep(options.sleep_after_connect)
61 time.sleep(options.sleep_after_disconnect)
80 parser = optparse.OptionParser(usage='usage: %prog [options] service-name')
96 global options
97 (options, remaining) = parser.parse_args()
109 while options.limit == 0 or total < options.limit:
126 if options.keep_going:
H A Dcrypto_util_pb2.py39 options=None, variable
43 options=None, variable
47 options=None, variable
51 options=None, variable
55 options=None, variable
59 options=None, variable
86 options=None), variable
93 options=None), variable
100 options=None, variable
121 options variable
128 options=None), variable
135 options=None, variable
156 options=None), variable
163 options=None), variable
170 options=None), variable
177 options=None), variable
184 options=None, variable
205 options=None), variable
212 options=None, variable
[all...]
/system/tpm/tpm_manager/client/
H A Dtpm_ownership_dbus_proxy.cc41 dbus::Bus::Options options; local
42 options.bus_type = dbus::Bus::SYSTEM;
43 bus_ = new dbus::Bus(options);
H A Dtpm_nvram_dbus_proxy.cc41 dbus::Bus::Options options; local
42 options.bus_type = dbus::Bus::SYSTEM;
43 bus_ = new dbus::Bus(options);
/system/weaved/buffet/
H A Dmain.cc44 explicit Daemon(const Manager::Options& options) argument
45 : DBusServiceDaemon(kServiceName, kRootServicePath), options_{options} {}
121 buffet::Manager::Options options; local
122 options.xmpp_enabled = FLAGS_enable_xmpp;
123 options.disable_privet = FLAGS_disable_privet;
124 options.enable_ping = FLAGS_enable_ping;
125 options.device_whitelist = {device_whitelist.begin(), device_whitelist.end()};
127 options.config_options.defaults = base::FilePath{FLAGS_config_path};
128 options.config_options.settings = base::FilePath{FLAGS_state_path};
129 options
[all...]
/system/core/rootdir/
H A DAndroid.mk27 # asan.options
32 LOCAL_MODULE := asan.options
39 # Modules for asan.options.X files.
43 define create-asan-options-module
45 LOCAL_MODULE := asan.options.$(1)
46 ASAN_OPTIONS_FILES += asan.options.$(1)
48 # The asan.options.off.template tries to turn off as much of ASAN as is possible.
49 LOCAL_SRC_FILES := asan.options.off.template
101 $(foreach binary, $(SANITIZE_ASAN_OPTIONS_FOR), $(eval $(call create-asan-options-module,$(binary))))
116 EXPORT_GLOBAL_ASAN_OPTIONS := export ASAN_OPTIONS include=/system/asan.options
[all...]
/system/tools/aidl/tests/
H A Dend_to_end_tests.cpp25 #include "options.h"
76 JavaOptions options;
77 options.fail_on_parcelable_ = true;
78 options.import_paths_.push_back("");
79 options.input_file_name_ = CanonicalNameToPath(kCanonicalName, ".aidl");
80 options.output_file_name_ = kJavaOutputPath;
81 options.dep_file_name_ = "an/arbitrary/path/to/deps.P";
84 io_delegate_.SetFileContents(options.input_file_name_, kInterfaceDefinition);
90 EXPECT_EQ(android::aidl::compile_aidl_to_java(options, io_delegate_), 0);
92 CheckFileContents(options
105 auto options = CppOptions::Parse(argc, cmdline); local
[all...]
/system/tpm/attestation/client/
H A Ddbus_proxy.cc42 dbus::Bus::Options options; local
43 options.bus_type = dbus::Bus::SYSTEM;
44 bus_ = new dbus::Bus(options);
/system/tpm/attestation/server/
H A Ddbus_service_test.cc43 dbus::Bus::Options options; variable
44 mock_bus_ = new NiceMock<dbus::MockBus>(options);
/system/tpm/trunks/
H A Dtrunks_dbus_proxy.cc48 dbus::Bus::Options options; local
49 options.bus_type = dbus::Bus::SYSTEM;
50 bus_ = new dbus::Bus(options);
/system/connectivity/apmanager/dbus/
H A Ddbus_control.cc48 dbus::Bus::Options options; local
49 options.bus_type = dbus::Bus::SYSTEM;
50 bus_ = new dbus::Bus(options);
/system/tpm/tpm_manager/server/
H A Ddbus_service_test.cc46 dbus::Bus::Options options; variable
47 mock_bus_ = new NiceMock<dbus::MockBus>(options);
/system/vold/
H A DCryptCommandListener.cpp206 // This should be replaced with a command line parser if more options
211 int options = 4; // Optional parameters are at this offset local
224 options++;
229 if(argc < options) {
232 } else if (argc == options) {
234 } else if (argc == options + 1) {
236 if (!strcmp(argv[options], "noui")) {
242 // Too many options
H A Dsecdiscard.cpp44 bool read_command_line(int argc, const char * const argv[], Options &options);
57 Options options; local
58 if (!read_command_line(argc, argv, options)) {
62 for (auto const &target: options.targets) {
63 LOG(DEBUG) << "Securely discarding '" << target << "' unlink=" << options.unlink;
67 if (options.unlink) {
79 bool read_command_line(int argc, const char * const argv[], Options &options) { argument
82 options.unlink = false;
86 options.targets.emplace_back(argv[j]);
88 return options
[all...]
/system/bt/service/ipc/
H A Dlinux_ipc_host.cpp137 const std::string& options) {
139 options, ".", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
134 OnAddCharacteristic(const std::string& service_uuid, const std::string& characteristic_uuid, const std::string& control_uuid, const std::string& options) argument

Completed in 723 milliseconds

12