Home
last modified time | relevance | path

Searched refs:Option (Results 1 – 25 of 40) sorted by relevance

12

/tools/netsim/rust/backend-proto/src/
Dpacket_streamer.rs30 pub request_type: ::std::option::Option<StreamPacketsRequest_oneof_request_type>,
62 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_info(ref v)) => v, in get_initial_info()
67 self.request_type = ::std::option::Option::None; in clear_initial_info()
72 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_info(..)) => true, in has_initial_info()
79 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_i… in set_initial_info()
84 …if let ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_info(_)) = sel… in mut_initial_info()
86 …self.request_type = ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_i… in mut_initial_info()
89 …::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_info(ref mut v)) => v, in mut_initial_info()
98 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::initial_info(v)) => v, in take_initial_info()
111 … ::std::option::Option::Some(StreamPacketsRequest_oneof_request_type::hci_packet(ref v)) => v, in get_hci_packet()
[all …]
Dhci_packet.rs235 fn from_i32(value: i32) -> ::std::option::Option<HCIPacket_PacketType> { in from_i32()
237 0 => ::std::option::Option::Some(HCIPacket_PacketType::PACKET_TYPE_UNSPECIFIED), in from_i32()
238 1 => ::std::option::Option::Some(HCIPacket_PacketType::PACKET_TYPE_HCI_COMMAND), in from_i32()
239 2 => ::std::option::Option::Some(HCIPacket_PacketType::PACKET_TYPE_ACL), in from_i32()
240 3 => ::std::option::Option::Some(HCIPacket_PacketType::PACKET_TYPE_SCO), in from_i32()
241 4 => ::std::option::Option::Some(HCIPacket_PacketType::PACKET_TYPE_EVENT), in from_i32()
242 5 => ::std::option::Option::Some(HCIPacket_PacketType::PACKET_TYPE_ISO), in from_i32()
243 _ => ::std::option::Option::None in from_i32()
Dstartup.rs1021 fn from_i32(value: i32) -> ::std::option::Option<Chip_ChipKind> { in from_i32()
1023 0 => ::std::option::Option::Some(Chip_ChipKind::UNSPECIFIED), in from_i32()
1024 1 => ::std::option::Option::Some(Chip_ChipKind::BLUETOOTH), in from_i32()
1025 2 => ::std::option::Option::Some(Chip_ChipKind::WIFI), in from_i32()
1026 3 => ::std::option::Option::Some(Chip_ChipKind::UWB), in from_i32()
1027 _ => ::std::option::Option::None in from_i32()
/tools/loganalysis/javatests/com/android/loganalysis/util/config/
DOptionSetterTest.java36 @Option(name = "my_option", shortName = 'o')
43 @Option(name = "my_option", shortName = 'o')
52 @Option(name = "my_option", shortName = 'o')
58 @Option(name = "string", shortName = 's')
61 @Option(name = "string", shortName = 's')
68 @Option(name = "string", shortName = 's')
71 @Option(name = "enum")
74 @Option(name = "string_collection")
77 @Option(name = "enumMap")
81 @Option(name = "enumCollection")
[all …]
DArgsOptionParserTest.java18 import com.android.loganalysis.util.config.Option.Importance;
43 @Option(name=OPTION_NAME, shortName='o', description=OPTION_DESC)
55 @Option(name=OPTION_NAME, shortName='o', description=OPTION_DESC)
67 @Option(name="my_boolean", shortName='b')
70 @Option(name="my_option", shortName='o')
81 @Option(name="my_boolean", shortName='b')
93 @Option(name=OPTION_NAME, description=OPTION_DESC)
106 @Option(name = IMPORTANT_OPTION_NAME, description = IMPORTANT_OPTION_NAME,
110 @Option(name = IMPORTANT_UNSET_OPTION_NAME, description = IMPORTANT_UNSET_OPTION_NAME,
114 @Option(name = UNIMPORTANT_OPTION_NAME, description = UNIMPORTANT_OPTION_NAME,
[all …]
/tools/security/remote_provisioning/hwtrust/src/dice/
Dentry.rs27 code_desc: Option<Vec<u8>>,
30 config_hash: Option<Vec<u8>>,
31 authority_desc: Option<Vec<u8>>,
57 pub fn code_desc(&self) -> Option<&[u8]> { in code_desc()
72 pub fn config_hash(&self) -> Option<&[u8]> { in config_hash()
77 pub fn authority_desc(&self) -> Option<&[u8]> { in authority_desc()
188 pub fn code_desc(mut self, code_desc: Option<Vec<u8>>) -> Self { in code_desc()
209 pub fn config_hash(mut self, config_hash: Option<Vec<u8>>) -> Self { in config_hash()
216 pub fn authority_desc(mut self, authority_desc: Option<Vec<u8>>) -> Self { in authority_desc()
251 component_name: Option<String>,
[all …]
/tools/netsim/rust/frontend-proto/src/
Dmodel.rs361 pub chip: ::std::option::Option<chip::Chip>,
382 ::std::option::Option::Some(chip::Chip::Bt(ref v)) => v, in bt()
388 self.chip = ::std::option::Option::None; in clear_bt()
393 ::std::option::Option::Some(chip::Chip::Bt(..)) => true, in has_bt()
400 self.chip = ::std::option::Option::Some(chip::Chip::Bt(v)) in set_bt()
405 if let ::std::option::Option::Some(chip::Chip::Bt(_)) = self.chip { in mut_bt()
407 self.chip = ::std::option::Option::Some(chip::Chip::Bt(chip::Bluetooth::new())); in mut_bt()
410 ::std::option::Option::Some(chip::Chip::Bt(ref mut v)) => v, in mut_bt()
419 ::std::option::Option::Some(chip::Chip::Bt(v)) => v, in take_bt()
431 ::std::option::Option::Some(chip::Chip::Uwb(ref v)) => v, in uwb()
[all …]
Dcommon.rs48 fn from_i32(value: i32) -> ::std::option::Option<ChipKind> { in from_i32()
50 0 => ::std::option::Option::Some(ChipKind::UNSPECIFIED), in from_i32()
51 1 => ::std::option::Option::Some(ChipKind::BLUETOOTH), in from_i32()
52 2 => ::std::option::Option::Some(ChipKind::WIFI), in from_i32()
53 3 => ::std::option::Option::Some(ChipKind::UWB), in from_i32()
54 _ => ::std::option::Option::None in from_i32()
/tools/loganalysis/src/com/android/loganalysis/
DLogAnalyzer.java35 import com.android.loganalysis.util.config.Option;
65 @Option(name="bugreport", description="The path to the bugreport")
68 @Option(name="logcat", description="The path to the logcat")
71 @Option(name="kernel-log", description="The path to the kernel log")
74 @Option(name="monkey-log", description="The path to the monkey log")
77 @Option(name="memory-health", description="The path to the memory health log")
80 @Option(name="output", description="The output format, currently only JSON")
83 @Option(name="rule-type", description="The type of rules to be applied")
86 @Option(name="print", description="Print the result type")
89 @Option(name="events-log", description="The path to the events log")
/tools/security/remote_provisioning/hwtrust/src/cbor/dice/
Dfield_value.rs8 value: Option<Value>,
29 pub fn into_optional_bytes(self) -> Result<Option<Vec<u8>>> { in into_optional_bytes()
45 pub fn into_optional_string(self) -> Result<Option<String>> { in into_optional_string()
80 pub fn into_optional_i64(self) -> Result<Option<i64>> { in into_optional_i64()
91 fn require_present<T>(name: &'static str, value: Result<Option<T>>) -> Result<T> { in require_present()
Dentry.rs80 mode: Option<DiceMode>,
81 code_desc: Option<Vec<u8>>,
82 code_hash: Option<Vec<u8>>,
83 config_desc: Option<ConfigDesc>,
84 config_hash: Option<Vec<u8>>,
85 authority_desc: Option<Vec<u8>>,
86 authority_hash: Option<Vec<u8>>,
179 fn validate_mode(session: &Session, mode: FieldValue) -> Result<Option<DiceMode>> { in validate_mode()
204 ) -> Result<Option<ConfigDesc>> { in validate_config_desc()
272 fn validate_version(session: &Session, field: FieldValue) -> Result<Option<ComponentVersion>> { in validate_version()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DArgsOptionParser.java337 final Option option = field.getAnnotation(Option.class); in getOptionHelp()
374 private static boolean shouldOutputHelpForOption(boolean importantOnly, Option option, in shouldOutputHelpForOption()
397 private static String buildOptionNameHelp(Field field, final Option option) { in buildOptionNameHelp()
400 if (option.shortName() != Option.NO_SHORT_NAME) { in buildOptionNameHelp()
DOptionSetter.java307 final Option option = field.getAnnotation(Option.class); in setFieldValue()
442 final Option option = field.getAnnotation(Option.class); in addOptionsForObject()
486 if (option.shortName() != Option.NO_SHORT_NAME) { in addOptionsForObject()
526 final Option option = field.getAnnotation(Option.class); in getUnsetMandatoryOptions()
584 if (field.isAnnotationPresent(Option.class)) { in buildOptionFieldsForClass()
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt463 | Option Type | Opt Data Len | Option Data
466 Option Type 8-bit identifier of the type of option.
468 Opt Data Len 8-bit unsigned integer. Length of the Option
471 Option Data Variable-length field. Option-Type-specific
480 The Option Type identifiers are internally encoded such that their
482 processing IPv6 node does not recognize the Option Type:
491 Source Address, pointing to the unrecognized Option Type.
496 pointing to the unrecognized Option Type.
498 The third-highest-order bit of the Option Type specifies whether or
499 not the Option Data of that option can change en-route to the
[all …]
/tools/security/fuzzing/orphans/android_logger/
Dandroid_logger_fuzzer.rs81 filters: Vec<(Option<String>, LevelFilterInput)>,
109 module_path: Option<String>,
110 file: Option<String>,
111 line: Option<u32>,
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/
DBazelTest.java19 import com.android.tradefed.config.Option;
113 @Option(
118 @Option(
125 @Option(
130 @Option(
135 @Option(
140 @Option(name = "exclude-filter", description = "Test modules to exclude when running tests.")
143 @Option(name = "include-filter", description = "Test modules to include when running tests.")
146 @Option(
/tools/netsim/rust/netsim-cxx/src/transport/
Dfd.rs60 id: Option<String>,
61 manufacturer: Option<String>,
62 product_name: Option<String>,
67 loopback: Option<bool>,
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/testtype/
DGameQualificationHostsideController.java28 import com.android.tradefed.config.Option;
97 @Option(name = "apk-info",
99 importance = Option.Importance.ALWAYS)
102 @Option(name = "apk-dir",
107 importance = Option.Importance.ALWAYS)
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationScheduledMetricCollector.java18 import com.android.tradefed.config.Option;
33 @Option(
39 @Option(
/tools/netsim/rust/netsim-cxx/src/http_server/
Dthread_pool.rs22 sender: Option<mpsc::Sender<Job>>,
77 thread: Option<thread::JoinHandle<()>>,
Dhttp_request.rs47 pub fn get(&self, key: &str) -> Option<String> { in get()
148 fn get_content_length(headers: &HttpHeaders) -> Option<usize> { in get_content_length()
/tools/asuite/atest/bazel/reporter/src/com/android/tradefed/result/
DBazelExitCodeResultReporter.java20 import com.android.tradefed.config.Option;
47 @Option(name = "file", mandatory = true, description = "Bazel exit code file")
/tools/netsim/rust/netsim-cxx/src/captures/
Dcapture.rs43 pub file: Option<File>,
152 pub fn get(&mut self, key: ChipId) -> Option<&mut Arc<Mutex<CaptureInfo>>> { in get()
/tools/netsim/rust/netsim-cxx/src/devices/
Ddevices_handler.rs52 pub idle_since: Option<Instant>,
210 fn get_secs_until_idle_shutdown() -> Option<u32> { in get_secs_until_idle_shutdown()
/tools/asuite/atest/bazel/runner/src/main/protobuf/
Dcommand_line.proto62 repeated Option option = 1;
74 message Option { message

12