/tools/netsim/rust/netsim-cxx/src/captures/ |
D | handlers.rs | 42 use crate::captures::capture::{Captures, ChipId}; 48 use super::capture::CaptureInfo; 89 let capture = CaptureInfo::new( in update_captures() localVariable 94 captures.insert(capture); in update_captures() 109 for (chip_id, capture) in captures.iter() { in update_captures() 110 let lock = capture.lock().unwrap(); in update_captures() 126 for capture in captures.get(key).iter() { in update_captures() 127 capture.lock().unwrap().valid = false; in update_captures() 150 if let Some(capture) = captures.get(id).map(|arc_capture| arc_capture.lock().unwrap()) { in handle_capture_get() 151 if capture.size == 0 { in handle_capture_get() [all …]
|
D | capture.rs | 156 pub fn insert(&mut self, capture: CaptureInfo) { in insert() 157 let chip_id = capture.id; in insert() 158 let facade_key = capture.get_facade_key(); in insert() 159 let arc_capture = Arc::new(Mutex::new(capture)); in insert() 175 if let Ok(mut capture) = arc_capture.lock() { in remove() 176 self.facade_key_to_capture.remove(&capture.get_facade_key()); in remove() 177 capture.stop_capture(); in remove()
|
D | mod.rs | 15 pub mod capture; module
|
/tools/netsim/ui/ts/ |
D | packet-info.ts | 164 toggleCapture(capture: Capture) { 165 let id = capture.id.toString(); 166 let state = capture.state === State.OFF ? '1' : '2'; 226 private handleListCaptures(capture: Capture) { 229 <td>${capture.deviceName}</td> 230 <td>${capture.chipKind}</td> 231 <td>${capture.size}</td> 232 <td>${capture.records}</td> 237 .checked=${capture.state === State.ON} 239 this.toggleCapture(capture); [all …]
|
D | device-observer.ts | 135 if ('capture' in chip && chip.capture) { 136 chip.capture = chip.capture === State.ON ? State.OFF : State.ON;
|
D | model.ts | 50 capture: State; property
|
/tools/netsim/rust/netsim-cli/src/ |
D | response.rs | 120 … Self::capture_state_to_string(chip.capture.enum_value_or_default()) in print_device_response() 132 … Self::capture_state_to_string(chip.capture.enum_value_or_default()) in print_device_response() 144 Self::capture_state_to_string(chip.capture.enum_value_or_default()) in print_device_response() 155 Self::capture_state_to_string(chip.capture.enum_value_or_default()) in print_device_response() 228 if chip.capture.enum_value_or_default() == State::ON { in print_device_response() 334 for capture in &response.captures { in print_list_capture_response() 339 capture.id.to_string(), in print_list_capture_response() 340 capture.device_name, in print_list_capture_response() 341 Self::chip_kind_to_string(capture.chip_kind.enum_value_or_default()), in print_list_capture_response() 342 Self::capture_state_to_string(capture.state.enum_value_or_default()), in print_list_capture_response() [all …]
|
D | args.rs | 142 for capture in &filtered_captures { in get_requests() 144 result.id = capture.id; in get_requests() 160 for capture in &filtered_captures { in get_requests() 162 result.id = capture.id; in get_requests() 165 capture.timestamp.get_or_default().seconds, in get_requests() 166 capture.timestamp.get_or_default().nanos as u32, in get_requests() 170 capture.id, in get_requests() 171 capture.device_name.to_owned().replace(' ', "_"), in get_requests() 172 Self::chip_kind_to_string(capture.chip_kind.enum_value_or_default()), in get_requests()
|
/tools/platform-compat/javatest/com/android/class2nonsdklist/ |
D | UnsupportedAppUsageAnnotationHandlerTest.java | 102 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistMethod() 123 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistConstructor() 144 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistField() 165 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistImplicit() 185 verify(mStatus, times(1)).error(format.capture(), any()); in testGreylistImplicit_Invalid_MissingOnClass() 207 verify(mStatus, times(1)).error(format.capture(), any()); in testGreylistImplicit_Invalid_PresentOnMember() 229 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistMethodExpectedSignature() 270 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testGreylistInnerClassMethod() 308 verify(mConsumer, times(1)).consume(greylist.capture(), any(), any()); in testMethodArgGenerics() 338 verify(mConsumer, times(2)).consume(greylist.capture(), any(), any()); in testOverrideMethodWithBridge() [all …]
|
/tools/netsim/src/controller/ |
D | chip.cc | 36 model.set_capture(capture); in Get() 55 if (request.capture() != model::State::UNKNOWN && in Patch() 56 this->capture != request.capture()) { in Patch() 57 this->capture = request.capture(); in Patch() 59 request.capture() == model::State::ON, in Patch()
|
D | chip.h | 44 capture(model::State::OFF){}; in id() 74 model::State capture; variable
|
/tools/netsim/rust/netsim-cxx/src/devices/ |
D | chip.rs | 51 capture: ProtoState, field 72 capture: ProtoState::OFF, in new() 84 chip.capture = EnumOrUnknown::new(self.capture); in get() 102 if let Ok(patch_capture) = patch.capture.enum_value() { in patch() 103 if patch_capture != ProtoState::UNKNOWN && patch_capture != self.capture { in patch() 104 self.capture = patch_capture; in patch()
|
/tools/netsim/src/proto/ |
D | model.proto | 59 State capture = 6; // packet capture field 101 // capture state 103 // size of current capture 105 // number of records in current capture
|
D | frontend.proto | 63 // Patch a Capture source to turn capture on/off. 64 // When turned on the old capture contents are replaced. 70 // Retrieve the contents of the packet capture as streaming bytes 114 bool capture = 1; field
|
/tools/netsim/rust/netsim-cli/ |
D | netsim-cli.md | 32 * ### `pcap`: Control the packet capture functionalities with commands: list, patch, get 40 * `patch`: Patch a Pcap source to turn packet capture on/off 43 * \<STATE\>: Packet capture state [possible values: on, off] 46 * `get`: Download the packet capture content
|
/tools/netsim/ui/dist/js/ |
D | device-observer.js | 1 ….state===e.ON?e.OFF:e.ON)}toggleCapture(i,t){"capture"in t&&t.capture&&(t.capture=t.capture===e.ON…
|
/tools/netsim/rust/frontend-proto/src/ |
D | model.rs | 359 pub capture: ::protobuf::EnumOrUnknown<State>, field 555 |m: &Chip| { &m.capture }, in generated_message_descriptor_data() 556 |m: &mut Chip| { &mut m.capture }, in generated_message_descriptor_data() 614 self.capture = is.read_enum_or_unknown()?; in merge_from() 652 if self.capture != ::protobuf::EnumOrUnknown::new(State::UNKNOWN) { in compute_size() 653 my_size += ::protobuf::rt::int32_size(6, self.capture.value()); in compute_size() 692 if self.capture != ::protobuf::EnumOrUnknown::new(State::UNKNOWN) { in write_to_with_cached_sizes() 693 os.write_enum(6, ::protobuf::EnumOrUnknown::value(&self.capture))?; in write_to_with_cached_sizes() 730 self.capture = ::protobuf::EnumOrUnknown::new(State::UNKNOWN); in clear() 744 capture: ::protobuf::EnumOrUnknown::from_i32(0), in default_instance()
|
D | frontend.rs | 822 pub capture: bool, field 846 |m: &SetPacketCaptureRequest| { &m.capture }, in generated_message_descriptor_data() 847 |m: &mut SetPacketCaptureRequest| { &mut m.capture }, in generated_message_descriptor_data() 873 self.capture = is.read_bool()?; in merge_from() 890 if self.capture != false { in compute_size() 902 if self.capture != false { in write_to_with_cached_sizes() 903 os.write_bool(1, self.capture)?; in write_to_with_cached_sizes() 925 self.capture = false; in clear() 932 capture: false, in default_instance()
|
/tools/aadevtools/validation/ |
D | README.md | 25 a device via adb. Launch their launchable activities if any & capture
|
/tools/test/connectivity/acts_tests/tests/google/tel/config/ |
D | README.md | 5 …- **no_bug_report_on_fail** - The default behavior of telephony tests is to capture a bug report a…
|
/tools/netsim/src/frontend/ |
D | frontend_server.cc | 114 chip.set_capture(request->capture() ? model::State::ON : model::State::OFF); in SetPacketCapture()
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/ |
D | README.md | 19 in a particular mode and expect the tester to capture an over-the-air
|
/tools/trebuchet/trebuchet/startup-analyzer/ |
D | README.md | 8 If you do not already have a trace file to analyze you can capture 10 seconds
|
/tools/metalava/ |
D | FORMAT.md | 268 syntax. Therefore, we need to also capture properties in the signature files. If
|
/tools/repohooks/tools/ |
D | spelling.txt | 281 caputure||capture
|