Home
last modified time | relevance | path

Searched refs:route (Results 1 – 10 of 10) sorted by relevance

/tools/netsim/rust/daemon/src/http_server/
Dhttp_router.rs42 pub fn add_route(&mut self, route: Uri, handler: RequestHandler) { in add_route()
43 self.routes.push((route, handler)); in add_route()
47 for (route, handler) in &self.routes { in handle_request()
49 route.path().to_string().as_str(), in handle_request()
69 fn match_route<'a>(route: &str, uri: &'a str) -> Option<&'a str> { in match_route()
70 let open = route.find('{'); in match_route()
71 let close = route.find('}'); in match_route()
75 return if route == uri { Some("") } else { None }; in match_route()
86 let prefix = &route[0..open]; in match_route()
87 let suffix = &route[close + 1..]; in match_route()
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/
Droute.py149 for route, _ in self.get_routes(net_interface):
150 if route == address:
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dpackage_server.py110 route = routes[0]
111 if not route.preferred_source:
113 return route.preferred_source
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dradvd_config.py29 route=None, argument
204 self._route = route
/tools/test/connectivity/acts/framework/tests/controllers/ap_lib/
Dradvd_test.py176 route=radvd_constants.DEFAULT_PREFIX,
/tools/netsim/proto/netsim/
Dpacket_streamer.proto29 * chip. These controllers route chip requests to host emulators (qemu and
/tools/test/connectivity/acts/framework/acts/controllers/
Daccess_point.py41 from acts.controllers.utils_lib.commands import route
235 self._route_cmd = route.LinuxRouteCommand(self.ssh)
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt499 not the Option Data of that option can change en-route to the
511 in the packet, for any option whose data may change en-route, its
515 0 - Option Data does not change en-route
517 1 - Option Data may change en-route
654 Segments Left 8-bit unsigned integer. Number of route
791 Segments Left 8-bit unsigned integer. Number of route
1040 extension headers that must be processed by nodes en route to the
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/tel/
Dtel_voice_utils.py1674 def set_audio_route(log, ad, route): argument
1686 ad.droid.telecomCallSetAudioRoute(route)
/tools/test/connectivity/acts_tests/tests/google/net/
DDhcpServerTest.py65 conf.route.add(host=self.server_addr, dev=self.iface, gw="0.0.0.0")