Home
last modified time | relevance | path

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

/tools/loganalysis/src/com/android/loganalysis/util/
DRegexTrie.java195 V recursiveRetrieve(List<List<String>> captures, List<String> strings) { in recursiveRetrieve() argument
217 if (captures != null) { in recursiveRetrieve()
223 captures.add(curCaptures); in recursiveRetrieve()
226 return child.getValue().recursiveRetrieve(captures, nextKeys); in recursiveRetrieve()
232 if (captures != null) { in recursiveRetrieve()
234 captures.add(Arrays.asList(str)); in recursiveRetrieve()
273 public V retrieve(List<List<String>> captures, String... strings) { in retrieve() argument
278 if (captures != null) { in retrieve()
279 captures.clear(); in retrieve()
281 return recursiveRetrieve(captures, sList); in retrieve()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRegexTrie.java195 V recursiveRetrieve(List<List<String>> captures, List<String> strings) { in recursiveRetrieve() argument
217 if (captures != null) { in recursiveRetrieve()
223 captures.add(curCaptures); in recursiveRetrieve()
226 return child.getValue().recursiveRetrieve(captures, nextKeys); in recursiveRetrieve()
232 if (captures != null) { in recursiveRetrieve()
234 captures.add(Arrays.asList(str)); in recursiveRetrieve()
273 public V retrieve(List<List<String>> captures, String... strings) { in retrieve() argument
278 if (captures != null) { in retrieve()
279 captures.clear(); in retrieve()
281 return recursiveRetrieve(captures, sList); in retrieve()
/tools/netsim/rust/daemon/src/
Dresource.rs18 use crate::captures::capture::Captures;
30 captures: Arc<RwLock<Captures>>, field
35 Self { version: get_version(), captures: Arc::new(RwLock::new(Captures::new())) } in new()
45 Arc::clone(&RESOURCES.captures) in clone_captures()
Dlib.rs19 pub mod captures; module
Dservice.rs16 use crate::captures::captures_handler::clear_pcap_files;
Drust_main.rs24 use crate::captures::capture::spawn_capture_event_subscriber;
Dffi.rs26 use crate::captures::captures_handler::handle_capture_cxx;
/tools/netsim/rust/cli/src/
Dresponse.rs202 if response.captures.is_empty() { in print_list_capture_response()
212 Self::filter_captures(&mut response.captures, &patterns); in print_list_capture_response()
213 if response.captures.is_empty() { in print_list_capture_response()
234 (response.captures.iter().max_by_key(|x| x.device_name.len())) in print_list_capture_response()
241 (response.captures.iter().max_by_key(|x| x.records)) in print_list_capture_response()
249 (response.captures.iter().max_by_key(|x| x.size)) in print_list_capture_response()
277 for capture in &response.captures { in print_list_capture_response()
316 pub fn filter_captures(captures: &mut Vec<model::Capture>, keys: &[String]) { in filter_captures()
318 captures.retain(|capture| { in filter_captures()
333 let mut captures = all_test_captures(); in test_filter_captures_helper() localVariable
[all …]
Dargs.rs296 Self::filter_captures(&mut response.captures, patterns) in get_filtered_captures()
298 response.captures in get_filtered_captures()
/tools/netsim/rust/daemon/src/captures/
Dcaptures_handler.rs81 let mut captures = captures_arc.write().unwrap(); in handle_capture_get() localVariable
82 let capture = captures in handle_capture_get()
125 let captures = captures_arc.write().unwrap(); in handle_capture_list() localVariable
128 for capture in captures.values() { in handle_capture_list()
129 response.captures.push( in handle_capture_list()
149 let mut captures = captures_arc.write().unwrap(); in handle_capture_patch() localVariable
150 if let Some(mut capture) = captures in handle_capture_patch()
246 let captures = captures_arc.write().unwrap(); in handle_packet() localVariable
247 if let Some(mut capture) = captures in handle_packet()
Dcapture.rs43 use crate::captures::captures_handler::handle_packet;
44 use crate::captures::pcap_util::PacketDirection;
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DConsoleTest.java219 CaptureList captures = new CaptureList(); in testRunCommand() local
225 Runnable runnable = trie.retrieve(captures, command); in testRunCommand()
228 mConsole.executeCmdRunnable(runnable, captures); in testRunCommand()
237 CaptureList captures = new CaptureList(); in testRunCommand_shortcut() local
243 Runnable runnable = trie.retrieve(captures, command); in testRunCommand_shortcut()
246 mConsole.executeCmdRunnable(runnable, captures); in testRunCommand_shortcut()
259 CaptureList captures = new CaptureList(); in testRunCommand_startsWithCommand() local
265 Runnable runnable = trie.retrieve(captures, command); in testRunCommand_startsWithCommand()
268 mConsole.executeCmdRunnable(runnable, captures); in testRunCommand_startsWithCommand()
/tools/netsim/rust/daemon/src/wireless/
Dpacket.rs20 use crate::captures;
110 captures::controller_to_host(chip_id, &packet, packet_type.into()); in handle_response_cxx()
128 captures::controller_to_host(chip_id, packet, packet_type.into()); in handle_response()
145 captures::host_to_controller(chip_id, packet, packet_type.into()); in handle_request()
/tools/netsim/ui/ts/
Ddevice-observer.ts123 captures: Capture[]; property
139 captures: [],
172 this.simulationInfo.captures = data.captures;
Dpacket-info.ts159 this.captureData = data.captures;
/tools/netsim/ui/dist/js/
Ddevice-observer.js1captures:[],selectedId:"",dimension:{x:10,y:10,z:0},lastModified:""},this.invokeGetDevice(),this.i… property
Dpacket-info.js1 …erver(this),super.disconnectedCallback()}onNotify(t){this.captureData=t.captures,this.deviceData=t…
/tools/netsim/rust/cli/
Dnetsim-cli.md101 * `list`: List currently available Captures (packet captures)
104 … * [PATTERNS]...: Optional strings of pattern for captures to list. Possible filter fields
112 … * [PATTERNS]...: Optional strings of pattern for captures to patch. Possible filter fields
117 … * [PATTERNS]...: Optional strings of pattern for captures to get. Possible filter fields
/tools/netsim/rust/proto/src/
Dfrontend.rs1456 pub captures: ::std::vec::Vec<super::model::Capture>, field
1478 |m: &ListCaptureResponse| { &m.captures }, in generated_message_descriptor_data()
1479 |m: &mut ListCaptureResponse| { &mut m.captures }, in generated_message_descriptor_data()
1500 self.captures.push(is.read_message()?); in merge_from()
1514 for value in &self.captures { in compute_size()
1524 for v in &self.captures { in write_to_with_cached_sizes()
1544 self.captures.clear(); in clear()
1550 captures: ::std::vec::Vec::new(), in default_instance()
/tools/netsim/rust/daemon/src/http_server/
Dhttp_handlers.rs30 captures::captures_handler::handle_capture,
/tools/asuite/adevice/src/
Dtracking.rs307 NINJA_OUT_PATH_MATCHER.captures(path).map(|x| x[1].to_string()) in strip_product_prefix()
Ddevice.rs168 .filter_map(|line| PM_LIST_PACKAGE_MATCHER.captures(line).map(|x| x[1].to_string())) in apks_from_pm_list_output()
Dadevice.rs528 .filter_map(|line| AAPT_PACKAGE_MATCHER.captures(line).map(|x| x[1].to_string())) in package_from_aapt_dump_output()
/tools/netsim/proto/netsim/
Dfrontend.proto164 repeated netsim.model.Capture captures = 1; field
/tools/metalava/
DREADME.md305 annotation files needed by Studio and lint in Gradle, which captures the
360 The "Codebase" class captures a complete API snapshot (including classes that