Home
last modified time | relevance | path

Searched +full:ls +full:- +full:remote (Results 1 – 25 of 965) sorted by relevance

12345678910>>...39

/aosp_15_r20/packages/modules/adb/docs/dev/
Dasocket.md5 paired is non-trivial. This document hopefully explains how bytes flow through them.
11 - Carry multiple streams over a single pipe (originally that meant USB only).
12 - Manage congestion (propagate back-pressure).
20 - A asocket is uni-directional. It only allows data to be `enqueue`d.
21 - A asocket is paired with a peer asocket which handles traffic in the opposite direction.
28 - JdwpSocket
29 - JdwpTracker
30 - SinkSocket
31 - SourceSocket
36 - Local Socket (LS)
[all …]
/aosp_15_r20/packages/modules/adb/
Dsockets.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
35 #include <android-base/strings.h>
38 #include <android-base/properties.h>
69 if (s->id != local_id) { in find_local_socket()
72 if (peer_id == 0 || (s->peer && s->peer->id == peer_id)) { in find_local_socket()
84 s->id = local_socket_next_id++; in install_local_socket()
97 list->erase(std::remove_if(list->begin(), list->end(), [s](asocket* x) { return x == s; }), in remove_socket()
98 list->end()); in remove_socket()
103 /* this is a little gross, but since s->close() *will* modify in close_all_sockets()
109 if (s->transport == t || (s->peer && s->peer->transport == t)) { in close_all_sockets()
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/ntb/
H A Dntb_test.sh2 # SPDX-License-Identifier: GPL-2.0-or-later
10 DEBUGFS=${DEBUGFS-/sys/kernel/debug}
26 echo "use the -r option to specify the hostname for the remote"
27 echo "device. SSH will then be used to test the remote side."
32 echo " -C don't cleanup ntb modules on exit"
33 echo " -h show this help message"
34 echo " -l list available local and remote PCI ids"
35 echo " -r REMOTE_HOST specify the remote's hostname to connect"
37 echo " -m MW_SIZE memory window size for ntb_tool"
39 echo " -d run dma tests for ntb_perf"
[all …]
/aosp_15_r20/external/vogar/src/vogar/android/
H A DAdbTarget.java8 * http://www.apache.org/licenses/LICENSE-2.0
67 .args("adb", "wait-for-device") in waitForDevice()
83 .args("adb", "shell", "ls", pathArgument) in ensureDirectory()
88 // the Command class understand a non-zero exit code from an adb shell command. in ensureDirectory()
108 (int) ((deadline - System.currentTimeMillis()) / millisPerSecond); in waitForNonEmptyDirectory()
110 .args("adb", "shell", "ls", pathArgument) in waitForNonEmptyDirectory()
135 @Override public List<File> ls(File directory) throws FileNotFoundException { in ls() method in AdbTarget
136 return deviceFilesystem.ls(directory); in ls()
141 // DeviceRuntime uses this to set "user.name" manually with -D. in getDeviceUserName()
143 // TODO: use 'id -un' when we don't need to support anything older than M in getDeviceUserName()
[all …]
H A DAdbChrootTarget.java8 * http://www.apache.org/licenses/LICENSE-2.0
33 * All "remote" pathnames (as java.io.File objects) passed as
46 private static String TARGET_PROCESS_WRAPPER = "sh -c";
61 public List<File> ls(File directory) throws FileNotFoundException { in ls() method in AdbChrootTarget
63 List<File> files = super.ls(chrootToRoot(directory)); in ls()
71 // This should never happen, as `file` is derived from a chroot-based pathname. in ls()
89 public void push(File local, File remote) { in push() argument
90 super.push(local, chrootToRoot(remote)); in push()
94 public void pull(File remote, File local) { in pull() argument
95 super.pull(chrootToRoot(remote), local); in pull()
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/testdata/script/
Dmod_insecure_issue63845.txt2 # If 'git ls-remote' fails for all secure protocols,
6 # (vcs-test.golang.org), because the hook for redirecting to that
18 ! go get -x golang.org/nonexist.git@latest
19 stderr '^git ls-remote https://golang.org/nonexist$'
20 stderr '^git ls-remote git\+ssh://golang.org/nonexist'
21 stderr '^git ls-remote ssh://golang.org/nonexist$'
25 -- go.mod --
Dmod_download_private_vcs.txt3 # Testing stderr for git ls-remote; turn off proxy.
8 # Redirect git to a test-specific .gitconfig.
13 exec git config --global --show-origin user.name
36 # "unknown revision" error. To do this we want to force git ls-remote to return
38 exec git config --global [email protected] https://github.com/
41 stderr 'fatal: Could not read from remote repository.'
45 -- $WORK/home/gopher/.gitconfig --
/aosp_15_r20/external/grpc-grpc/tools/internal_ci/linux/
H A Dgrpc_e2e_performance_gke_experiment.sh8 # http://www.apache.org/licenses/LICENSE-2.0
15 set -ex
27 GRPC_DOTNET_REPO=grpc/grpc-dotnet
29 GRPC_GO_REPO=grpc/grpc-go
31 GRPC_JAVA_REPO=grpc/grpc-java
33 GRPC_NODE_REPO=grpc/grpc-node
35 TEST_INFRA_REPO=grpc/test-infra
40 # pre-built images in the optimization.
41 gcloud auth configure-docker
43 # Connect to benchmarks-prod2 cluster.
[all …]
H A Dgrpc_e2e_performance_gke.sh8 # http://www.apache.org/licenses/LICENSE-2.0
15 set -ex
27 GRPC_DOTNET_REPO=grpc/grpc-dotnet
29 GRPC_GO_REPO=grpc/grpc-go
31 GRPC_JAVA_REPO=grpc/grpc-java
33 GRPC_NODE_REPO=grpc/grpc-node
35 TEST_INFRA_REPO=grpc/test-infra
40 # pre-built images in the optimization.
41 gcloud auth configure-docker
43 # Connect to benchmarks-prod2 cluster.
[all …]
/aosp_15_r20/tools/external_updater/
H A Dgit_utils.py7 # http://www.apache.org/licenses/LICENSE-2.0
27 def fetch(proj_path: Path, remote_name: str, branch: str | None = None) -> None:
32 remote_name: A string to specify remote names.
34 cmd = ['git', 'fetch', '--tags', remote_name] + ([branch] if branch is not None else [])
38 def add_remote(proj_path: Path, name: str, url: str) -> None:
39 """Adds a git remote.
43 name: Name of the new remote.
44 url: Url of the new remote.
46 cmd = ['git', 'remote', 'add', name, url]
50 def remove_remote(proj_path: Path, name: str) -> None:
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/internal_ci/linux/
Dgrpc_e2e_performance_gke.sh8 # http://www.apache.org/licenses/LICENSE-2.0
15 set -ex
24 # pre-built images in the optimization.
25 gcloud auth configure-docker
27 # Connect to benchmarks-prod2 cluster.
28 gcloud config set project grpc-testing
29 gcloud container clusters get-credentials benchmarks-prod2 \
30 --zone us-central1-b --project grpc-testing
35 if [[ "${KOKORO_BUILD_INITIATOR%%-*}" == kokoro ]]; then
44 PREBUILT_IMAGE_PREFIX="gcr.io/grpc-testing/e2etest/prebuilt/${LOAD_TEST_PREFIX}"
[all …]
Dgrpc_e2e_performance_gke_experiment.sh8 # http://www.apache.org/licenses/LICENSE-2.0
15 set -ex
27 GRPC_DOTNET_REPO=grpc/grpc-dotnet
29 GRPC_GO_REPO=grpc/grpc-go
31 GRPC_JAVA_REPO=grpc/grpc-java
33 TEST_INFRA_REPO=grpc/test-infra
38 # pre-built images in the optimization.
39 gcloud auth configure-docker
41 # Connect to benchmarks-prod2 cluster.
42 gcloud config set project grpc-testing
[all …]
/aosp_15_r20/external/grpc-grpc/doc/
H A Dcommand_line_tool.md11 > to grpc-tools repository as a stand alone application once it is mature
13 > user-friendliness. Other tools in the ecosystem, for example,
20 - Send unary rpc.
21 - Attach metadata and display received metadata.
22 - Handle common authentication to server.
23 - Infer request/response types from server reflection result.
24 - Find the request/response types from a given proto file.
25 - Read proto request in text form.
26 - Read request in wire form (for protobuf messages, this means serialized
28 - Display proto response in text form.
[all …]
/aosp_15_r20/external/tcpdump/tests/
H A Dospf-gmpls.out2 40.35.1.2 > 224.0.0.5: OSPFv2, LS-Update, length 152
3 Router-ID 10.255.245.35, Backbone Area, Authentication Type: none (0), 1 LSA
6 Area Local Opaque LSA (10), Opaque-Type Traffic Engineering LSA (1), Opaque-ID 8
9 Link Type subTLV (1), length: 1, Point-to-point (1)
12 Remote Interface IP address subTLV (4), length: 4, 10.9.142.2
17 TE-Class 0: 622.080 Mbps
18 TE-Class 1: 622.080 Mbps
19 TE-Class 2: 622.080 Mbps
20 TE-Class 3: 622.080 Mbps
21 TE-Class 4: 622.080 Mbps
[all …]
/aosp_15_r20/external/angle/build/android/
H A Dconnect_lldb.sh4 # Use of this source code is governed by a BSD-style license that can be
12 # Use --help to print full usage instructions.
21 # Location of Chromium-top-level sources.
35 log "Killing lldb-server process on-device: $LLDB_SERVER_PID"
39 log "Killing background lldb-server process: $LLDB_SERVER_JOB_PID"
40 kill -9 $LLDB_SERVER_JOB_PID >/dev/null 2>&1
41 rm -f "$LLDB_SERVER_JOB_PIDFILE"
44 log "Removing target lldb-server binary: $TARGET_LLDB_SERVER."
49 rm -rf "$TMPDIR"
55 # Ensure clean exit on Ctrl-C or normal exit.
[all …]
H A Dadb_gdb4 # Use of this source code is governed by a BSD-style license that can be
12 # Use --help to print full usage instructions.
21 # Location of Chromium-top-level sources.
35 kill -9 $GDBSERVER_PID >/dev/null 2>&1
36 rm -f "$GDBSERVER_PIDFILE"
44 rm -rf "$TMPDIR"
50 # Ensure clean exit on Ctrl-C or normal exit.
64 if [ "$VERBOSE" -gt 0 ]; then
69 DEFAULT_PULL_LIBS_DIR="/tmp/adb-gdb-support-$USER"
77 PROGNAME=${ADB_GDB_PROGNAME:-$(basename "$0")}
[all …]
/aosp_15_r20/external/cronet/build/android/
H A Dconnect_lldb.sh4 # Use of this source code is governed by a BSD-style license that can be
12 # Use --help to print full usage instructions.
21 # Location of Chromium-top-level sources.
35 log "Killing lldb-server process on-device: $LLDB_SERVER_PID"
39 log "Killing background lldb-server process: $LLDB_SERVER_JOB_PID"
40 kill -9 $LLDB_SERVER_JOB_PID >/dev/null 2>&1
41 rm -f "$LLDB_SERVER_JOB_PIDFILE"
44 log "Removing target lldb-server binary: $TARGET_LLDB_SERVER."
49 rm -rf "$TMPDIR"
55 # Ensure clean exit on Ctrl-C or normal exit.
[all …]
H A Dadb_gdb4 # Use of this source code is governed by a BSD-style license that can be
12 # Use --help to print full usage instructions.
21 # Location of Chromium-top-level sources.
35 kill -9 $GDBSERVER_PID >/dev/null 2>&1
36 rm -f "$GDBSERVER_PIDFILE"
44 rm -rf "$TMPDIR"
50 # Ensure clean exit on Ctrl-C or normal exit.
64 if [ "$VERBOSE" -gt 0 ]; then
69 DEFAULT_PULL_LIBS_DIR="/tmp/adb-gdb-support-$USER"
77 PROGNAME=${ADB_GDB_PROGNAME:-$(basename "$0")}
[all …]
/aosp_15_r20/system/extras/simpleperf/doc/
H A Dcollect_etm_data_for_autofdo.md13 then be used for Profile-Guided Optimization (PGO) during compilation.
18 to enhance self-hosted ETM data collection. This new hardware is not bound to the external debug
24 [Enable ETM data collection](#enable-etm-data-collection).
41 # If only want ETM data for kernel, use `-e cs-etm:k`.
42 # If only want ETM data for userspace, use `-e cs-etm:u`.
43 redfin:/data/local/tmp \# simpleperf record -e cs-etm --duration 3 -a
46 # into an intermediate branch-list format.
47 redfin:/data/local/tmp \# simpleperf inject --output branch-list -o branch_list.data
59 redfin:/data/local/tmp \# simpleperf inject -i branch_list.data
68 # host simpleperf is in <aosp-top>/system/extras/simpleperf/scripts/bin/linux/x86_64/simpleperf,
[all …]
/aosp_15_r20/external/vogar/src/vogar/
H A DSshTarget.java8 * http://www.apache.org/licenses/LICENSE-2.0
31 * Runs actions on a remote host using SSH.
44 if (colon != -1) { in SshTarget()
51 sshCommandPrefixList = ImmutableList.of("ssh", "-p", Integer.toString(port), host, "-C"); in SshTarget()
69 .args("rm", "-r", file.getPath()) in rm()
77 // DeviceDalvikVm uses this to set "user.name" manually with -D. in getDeviceUserName()
82 // TODO: use 'id -un' when we don't need to support anything older than M in getDeviceUserName()
93 new Command(log, "ssh", "-p", Integer.toString(port), host, in forwardTcp()
94 "-L", port + ":" + host + ":" + port, "-N").start(); in forwardTcp()
100 @Override public void push(File local, File remote) { in push() argument
[all …]
/aosp_15_r20/tools/treble/build/treble_build/local/
H A Dgit.go7 // http://www.apache.org/licenses/LICENSE-2.0
37 RemoteUrl(ctx context.Context, gitDir, workDir, remote string) (*bytes.Buffer, error)
48 func (cli gitCli) Project(ctx context.Context, path, gitDir, remote, revision string) (*app.GitProj…
51 if remote == "" {
52 remote = "origin"
73 Remote: remote,
77 // Remote URL
78 if raw, err := cli.git.RemoteUrl(ctx, gitDir, workDir, remote); err == nil {
127 // parse rev-parse
138 // parse remote get-url
[all …]
/aosp_15_r20/external/autotest/client/common_lib/cros/
H A Dpath_utils.py3 # Use of this source code is governed by a BSD-style license that can be
14 Checks if a file exists on a remote machine in one of several paths.
17 @param host Host object representing the remote machine.
35 result = host.run('ls %s 2> /dev/null' % ' '.join(glob_list),
43 Asserts that cmd is installed on a remote machine at some path and raises
47 @param host Host object representing the remote machine.
54 if run('ls %s >/dev/null 2>&1' % cmd,
/aosp_15_r20/external/chromium-trace/catapult/devil/devil/android/sdk/
H A Dadb_wrapper.py2 # Use of this source code is governed by a BSD-style license that can be
11 # pylint: disable=import-error
12 # pylint: disable=no-name-in-module
32 import dependency_manager # pylint: disable=import-error
45 _EMULATOR_RE = re.compile(r'^emulator-[0-9]+$')
52 _WAITING_FOR_DEVICE_RE = re.compile(r'- waiting for device -')
82 devil_env.config.LocalPath('android_sdk'), 'platform-tools', 'adb')
93 # pylint: disable=protected-access
183 pshell.RunCommand('which ls')
193 self._cmd = [AdbWrapper.GetAdbPath(), '-s', serial, 'shell']
[all …]
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/drivers/net/netdevsim/
H A Dudp_tunnel_nic.sh2 # SPDX-License-Identifier: GPL-2.0-only
30 [ -e /sys/class/net/$dev ] && ip link del dev $dev
36 if [ -e $NSIM_DEV_SYS ]; then
58 [ "$ipver" != '6' ] || ipfl="-6"
83 [ "$ipver" != '6' ] && remote=1.1.1.2 || group=::2
84 [ "$ipver" != '6' ] || ipfl="-6"
89 remote $remote \
118 echo -e "port: $((val >> 16))\ttype: $((val & 0xffff))"
134 type_name="vxlan-gpe"
146 local -n expected=$2
[all …]
/aosp_15_r20/external/chromium-trace/catapult/common/py_utils/py_utils/
H A Dcloud_storage.py2 # Use of this source code is governed by a BSD-style license that can be
21 from py_utils import cloud_storage_global_lock # pylint: disable=unused-import
24 # Do a no-op import here so that cloud_storage_global_lock dep is picked up
28 logger = logging.getLogger(__name__) # pylint: disable=invalid-name
31 PUBLIC_BUCKET = 'chromium-telemetry'
32 PARTNER_BUCKET = 'chrome-partner-telemetry'
33 INTERNAL_BUCKET = 'chrome-telemetry'
34 TELEMETRY_OUTPUT = 'chrome-telemetry-output'
36 # Uses ordered dict to make sure that bucket's key-value items are ordered from
53 _CROS_GSUTIL_HOME_WAR = '/home/chromeos-test/'
[all …]

12345678910>>...39