Home
last modified time | relevance | path

Searched refs:Position (Results 1 – 11 of 11) sorted by relevance

/tools/netsim/rust/model/src/
Dposition.rs21 pub struct Position { struct
27 impl Position { impl
37 pub fn new(x: Centimeter, y: Centimeter, z: Centimeter) -> Position { in new() argument
38 Position { x, y, z } in new()
42 impl Default for Position { implementation
48 impl PartialEq<Position> for Position { implementation
62 let a = Position::new(0, 0, 0); in distance_test()
63 let b = Position::new(0, 3, 4); in distance_test()
64 assert!(Position::distance(&a, &b) == 5); in distance_test()
65 let b = Position::new(0, 5, 12); in distance_test()
[all …]
/tools/netsim/rust/frontend-proto/src/
Dmodel.rs30 pub struct Position { struct
43 impl<'a> ::std::default::Default for &'a Position { argument
44 fn default() -> &'a Position { in default()
45 <Position as ::protobuf::Message>::default_instance() in default()
49 impl Position { impl
50 pub fn new() -> Position { in new()
59 |m: &Position| { &m.x }, in generated_message_descriptor_data()
60 |m: &mut Position| { &mut m.x }, in generated_message_descriptor_data()
64 |m: &Position| { &m.y }, in generated_message_descriptor_data()
65 |m: &mut Position| { &mut m.y }, in generated_message_descriptor_data()
[all …]
/tools/netsim/src/proto/
Dmodel.proto22 // A 3D position. A valid Position must have both x and y coordinates.
24 message Position { message
86 Position position = 4;
/tools/netsim/ui/ts/
Dmodel.ts28 export interface Position { interface
75 position: Position|undefined;
/tools/netsim/rust/netsim-cli/src/
Drequests.rs50 Device, Position, State,
190 let position = Position { x, y, z: z.unwrap_or_default(), ..Default::default() }; in get_expected_move()
Dargs.rs23 use frontend_proto::model::{Device, Position};
104 let position = Position { in get_request_bytes()
/tools/netsim/src/controller/
Ddevice.h37 model::Position position;
/tools/netsim/rust/netsim-cxx/src/devices/
Ddevice.rs26 use frontend_proto::model::Position as ProtoPosition;
Ddevices_handler.rs32 use frontend_proto::model::Position as ProtoPosition;
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_rotate.txt198 --provider-pos Position / priority at which to install this provider in
Dhelp_sign.txt264 --provider-pos Position / priority at which to install this provider in