Home
last modified time | relevance | path

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

1234567

/external/autotest/client/deps/lansim/src/py/
Dtuntap_unittest.py15 tap = tuntap.TunTap(tuntap.IFF_TAP, name="faketap%d")
17 self.assertEqual(tap.mode, tuntap.IFF_TAP)
20 self.assertTrue(hasattr(tap, 'name'))
21 self.assertTrue(tap.name.startswith('faketap'))
24 self.assertTrue(hasattr(tap, 'mtu'))
25 self.assertTrue(tap.mtu)
36 tap = tuntap.TunTap(tuntap.IFF_TAP, name="faketap%d")
37 family, addr = tap.get_hwaddr()
43 new_family, new_addr = tap.set_hwaddr(addr)
47 new_family, new_addr = tap.get_hwaddr()
[all …]
/external/ImageMagick/tests/
DMakefile.am41 tests/cli-colorspace.tap \
42 tests/cli-pipe.tap \
43 tests/validate-colorspace.tap \
44 tests/validate-compare.tap \
45 tests/validate-composite.tap \
46 tests/validate-convert.tap \
47 tests/validate-formats-disk.tap \
48 tests/validate-formats-map.tap \
49 tests/validate-formats-memory.tap \
50 tests/validate-identify.tap \
[all …]
/external/libaom/libaom/av1/common/
Dcdef_block_simd.h231 v256 sum, row, tap, res; in SIMD_FUNC() local
257 tap = v256_from_v64(v64_load_unaligned(&in[0 * CDEF_BSTRIDE + po1]), in SIMD_FUNC()
261 max = v256_max_s16(max, v256_andn(tap, v256_cmpeq_16(tap, large))); in SIMD_FUNC()
262 min = v256_min_s16(min, tap); in SIMD_FUNC()
263 p0 = constrain(tap, row, pri_strength, pri_damping); in SIMD_FUNC()
264 tap = v256_from_v64(v64_load_unaligned(&in[0 * CDEF_BSTRIDE - po1]), in SIMD_FUNC()
268 max = v256_max_s16(max, v256_andn(tap, v256_cmpeq_16(tap, large))); in SIMD_FUNC()
269 min = v256_min_s16(min, tap); in SIMD_FUNC()
270 p1 = constrain(tap, row, pri_strength, pri_damping); in SIMD_FUNC()
278 tap = v256_from_v64(v64_load_unaligned(&in[0 * CDEF_BSTRIDE + po2]), in SIMD_FUNC()
[all …]
/external/autotest/client/cros/
Dp2p_utils.py72 self.tap = None
97 self.tap = tuntap.TunTap(tuntap.IFF_TAP, name=self._tap_name)
98 self.tap.set_addr(self._tap_ip, self._tap_mask)
99 self.tap.up()
103 dumpfile = os.path.join(dumpdir, 'dump-%s.pcap' % self.tap.name)
104 self._tcpdump = tcpdump.Tcpdump(self.tap.name, dumpfile)
107 avahi_utils.avahi_start_on_iface(self.tap.name)
126 if self.tap:
127 self.tap.down()
/external/crosvm/devices/src/virtio/vhost/
Dnet.rs31 tap: Option<T>, field
57 let tap: T = T::new(true, false).map_err(Error::TapOpen)?; in new() localVariable
58 tap.set_ip_addr(ip_addr).map_err(Error::TapSetIp)?; in new()
59 tap.set_netmask(netmask).map_err(Error::TapSetNetmask)?; in new()
60 tap.set_mac_address(mac_addr) in new()
64 tap.set_offload( in new()
71 tap.set_vnet_hdr_size(vnet_hdr_size) in new()
74 tap.enable().map_err(Error::TapEnable)?; in new()
100 tap: Some(tap), in new()
137 if let Some(tap) = &self.tap { in keep_rds()
[all …]
/external/autotest/client/site_tests/touch_TapSettings/
Dcontrol7 PURPOSE = "Test that tap-to-click and tap dragging can be enabled/disabled."
9 This test will fail if, after playback of touch events, tap-to-click or tap
20 Uses javascript page to listen for mouse clicks and drags. If tap-to-click is
21 working, the click count will increase. If tap dragging is working, movement
22 will be detected during a click. Enables and disables tap-to-click and tap
DREADME1 touch_TapSettings test uses two gesture files that do tap and drag functions.
4 middle of the test (tap and no drag) or multiple drag recording etc would break
8 …EVICE NAME>_touchpad_Touch ID_tap-drag-right - Tap_drag means: Tap (one full tap) and then half tap
9 … (do not release tap) to start the drag. Without lifting it,
/external/crosvm/devices/src/virtio/
Dnet.rs154 tap: T, field
181 match writer.write_from(&mut self.tap, writer.available_bytes()) { in process_rx()
230 match reader.read_to(&mut self.tap, expected_count) { in process_tx()
283 self.tap in process_ctrl()
343 (&self.tap, Token::RxTap), in run()
371 .modify(&self.tap, EventType::None, Token::RxTap) in run()
384 .modify(&self.tap, EventType::Read, Token::RxTap) in run()
448 let tap: T = T::new(true, multi_queue).map_err(NetError::TapOpen)?; in new() localVariable
449 tap.set_ip_addr(ip_addr).map_err(NetError::TapSetIp)?; in new()
450 tap.set_netmask(netmask).map_err(NetError::TapSetNetmask)?; in new()
[all …]
/external/oboe/src/flowgraph/resampler/
DMultiChannelResampler.cpp147 for (int tap = 0; tap < getNumTaps(); tap++) { in generateCoefficients() local
167 for (int tap = 0; tap < getNumTaps(); tap++) { in generateCoefficients() local
168 mCoefficients.at(gainCursor + tap) *= gainCorrection; in generateCoefficients()
/external/walt/pywalt/
DREADME.md5 * Currently supprots tap and drag (scroll) latency measurements
26 drag|tap|screen|sanity|curve|bridge|tapaudio|tapblink
37 See the [tap latency section](../docs/usage/WALT_usage.md#tap-latency) in Android app usage doc.
39 Below is output from an example run of a tap latency test that reads touch events from `/dev/input/…
46 $ ./walt.py -t tap -n 40 -i /dev/input/event4
48 Starting tap latency test
52 shock t 1990338, tap t 1487105212.048997, tap val 1. dt=63738.9
55 shock t 2219992, tap t 1487105212.262449, tap val 0. dt=47537.0
/external/libpcap/
Dpcap-enet.c35 struct tap_header tap; member
76 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap in readloop()
79 ph->tap.th_wirelen, caplen)) { in readloop()
83 (struct timeval *)ph->tap.th_timestamp, in readloop()
84 ph->tap.th_wirelen, caplen); in readloop()
/external/oboe/samples/RhythmGame/
DREADME.md11 The UI is deliberately very simple - just tap anywhere in the grey area after hearing the claps. Th…
28 …When the user taps on the screen, a clap sound is played and the game checks whether the tap occur…
66tap event arrives on the UI thread it only contains the time (milliseconds since boot) that the ev…
72 ### Calculating whether a tap was successful
73 …n calculate whether that tap was successful i.e whether it fell within an acceptable time range. T…
75 ![Tap window calculation](images/7-tap-window.png "Tap window calculation")
77 Once we know the result of the tap the UI is updated with a color to give the user visual feedback.…
79 Note that once a tap has been received the tap window is removed from the queue - the user only get…
/external/linux-kselftest/tools/testing/selftests/net/
Dtest_vxlan_under_vrf.sh50 ip link del veth-tap 2>/dev/null || true
98 ip link add veth-tap type veth peer name veth-hv
100 ip link set veth-tap netns hv-$id
101 ip -netns hv-$id link set veth-tap master br0
102 ip -netns hv-$id link set veth-tap up
/external/crosvm/net_util/src/
Dlib.rs313 let tap = Tap::create_tap_with_ifreq(&mut ifreq)?; in into_mq_taps() localVariable
315 tap.enable()?; in into_mq_taps()
317 taps.push(tap); in into_mq_taps()
660 let tap = Tap::new(true, false).unwrap(); in tap_configure() localVariable
665 let ret = tap.set_ip_addr(ip_addr); in tap_configure()
667 let ret = tap.set_netmask(netmask); in tap_configure()
669 let ret = tap.set_mac_address(mac_addr); in tap_configure()
680 let tap = Tap::new(true, false).unwrap(); in root_only_tests() localVariable
681 tap.set_vnet_hdr_size(16).unwrap(); in root_only_tests()
682 tap.set_offload(0).unwrap(); in root_only_tests()
[all …]
/external/autotest/client/deps/lansim/
Dcontrol35 For example, to create a tap interface you can do the following:
37 tap = tuntap.TunTap(tuntap.IFF_TAP, name="faketap")
38 print "Interface running on", tap.name
46 tap.set_addr("192.168.0.123")
47 tap.up()
55 simu = simulator.SimulatorThread(tap)
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-tap.hpp61 struct tap struct
69 tap(args_type a) in tap() function
121 auto tap(AN&&... an) in tap() function
135 class Tap = rxo::detail::tap<SourceValue, std::tuple<rxu::decay_t<MakeObserverArgN>...>>>
/external/walt/docs/
DTapLatency.md3 …* [Video demonstration of tap latency measurement](https://www.youtube.com/watch?v=1xAReF75Cts&lis…
4 …* [Detailed instructions on how to perform the measurement in usage doc](usage/WALT_usage.md#tap-l…
19 and include the kernel timestamp. For tap, the relevant MotionEvent types are
36 ![Tap measurement](usage/images/tap.png)
/external/oboe/samples/MegaDrone/src/main/java/com/google/oboe/samples/megadrone/
DMainActivity.java35 private native void tap(long engineHandle, boolean isDown); in tap() method in MainActivity
67 tap(mEngineHandle, true); in onTouchEvent()
69 tap(mEngineHandle, false); in onTouchEvent()
/external/scapy/test/
Dsendsniff.uts7 + Test bridge_and_sniff() using tap sockets
9 ~ tap linux
11 = Create two tap interfaces
16 tap0, tap1 = [TunTapInterface("tap%d" % i) for i in range(2)]
20 assert subprocess.check_call(["ip", "link", "set", "tap%d" % i, "up"]) == 0
23 assert subprocess.check_call(["ifconfig", "tap%d" % i, "up"]) == 0
83 = Delete the tap interfaces
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/doxygen/
Dtap.cpp10 tap(
24 tap(
Ddelay.cpp21 tap(next("interval")).
46 tap(next("interval")).
/external/oboe/samples/MegaDrone/src/main/cpp/
DMegaDroneEngine.cpp45 void MegaDroneEngine::tap(bool isDown) { in tap() function in MegaDroneEngine
46 mAudioSource->tap(isDown); in tap()
/external/ImageMagick/config/
Dtap-driver.sh32 me=tap-driver.sh
51 tap-driver.sh --test-name=NAME --log-file=PATH --trs-file=PATH
/external/libgav1/libgav1/src/dsp/
Dconvolve.inc39 // tap options.
44 // tap filter.
/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/
Dtap.cpp28 | rxo::tap([&invoked](int) { in __anon30f461f60102()
89 .tap([&invoked](rxu::error_ptr) { in __anon30f461f60302()

1234567