/aosp_15_r20/external/cronet/third_party/boringssl/src/ssl/test/runner/ |
H A D | runner.go | 58 …useRR = flag.Bool("rr-record", false, "If true, run BoringSSL code under `rr record`.… 59 …waitForDebugger = flag.Bool("wait-for-debugger", false, "If true, jobs will run one at a time a… 61 …mallocTest = flag.Int64("malloc-test", -1, "If non-negative, run each test with each mallo… 62 …ol("malloc-test-debug", false, "If true, ask bssl_shim to abort rather than fail a malloc. This ca… 63 jsonOutput = flag.String("json-output", "", "The file to output JSON results to.") 65 … = flag.String("test", "", "Semicolon-separated patterns of tests to run, or empty to run … 66 skipTest = flag.String("skip", "", "Semicolon-separated patterns of tests to skip") 67 …allowHintMismatch = flag.String("allow-hint-mismatch", "", "Semicolon-separated patterns of tests… 68 …numWorkersFlag = flag.Int("num-workers", runtime.NumCPU(), "The number of workers to run in pa… 69 …shimPath = flag.String("shim-path", "../../../build/ssl/test/bssl_shim", "The location o… [all …]
|
/aosp_15_r20/external/boringssl/src/ssl/test/runner/ |
H A D | runner.go | 58 …useRR = flag.Bool("rr-record", false, "If true, run BoringSSL code under `rr record`.… 59 …waitForDebugger = flag.Bool("wait-for-debugger", false, "If true, jobs will run one at a time a… 61 …mallocTest = flag.Int64("malloc-test", -1, "If non-negative, run each test with each mallo… 62 …ol("malloc-test-debug", false, "If true, ask bssl_shim to abort rather than fail a malloc. This ca… 63 jsonOutput = flag.String("json-output", "", "The file to output JSON results to.") 65 … = flag.String("test", "", "Semicolon-separated patterns of tests to run, or empty to run … 66 skipTest = flag.String("skip", "", "Semicolon-separated patterns of tests to skip") 67 …allowHintMismatch = flag.String("allow-hint-mismatch", "", "Semicolon-separated patterns of tests… 68 …numWorkersFlag = flag.Int("num-workers", runtime.NumCPU(), "The number of workers to run in pa… 69 …shimPath = flag.String("shim-path", "../../../build/ssl/test/bssl_shim", "The location o… [all …]
|
/aosp_15_r20/packages/modules/adb/daemon/ |
D | shell_service_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 #include <android-base/strings.h> 51 SubprocessProtocol protocol); 54 void StartTestCommandInProcess(std::string name, Command command, SubprocessProtocol protocol); 66 const char* command, SubprocessType type, SubprocessProtocol protocol) { in StartTestSubprocess() argument 67 command_fd_ = StartSubprocess(command, nullptr, type, protocol); in StartTestSubprocess() 75 SubprocessProtocol protocol) { in StartTestCommandInProcess() argument 76 command_fd_ = StartCommandInProcess(std::move(name), std::move(command), protocol); in StartTestCommandInProcess() 80 // Tests a raw subprocess with no protocol. 82 // [ -t 0 ] checks if stdin is connected to a terminal. in TEST_F() [all …]
|
/aosp_15_r20/system/core/fastboot/ |
H A D | socket_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 17 // Tests socket functionality using loopback connections. The UDP tests assume that no packets are 20 // Also tests our SocketMock class to make sure it works as expected and reports errors properly 28 #include <gtest/gtest-spi.h> 35 bool MakeConnectedSockets(Socket::Protocol protocol, std::unique_ptr<Socket>* server, in MakeConnectedSockets() argument 38 *server = Socket::NewServer(protocol, 0); in MakeConnectedSockets() 44 *client = Socket::NewClient(protocol, hostname, (*server)->GetLocalPort(), nullptr); in MakeConnectedSockets() 51 if (protocol == Socket::Protocol::kTcp) { in MakeConnectedSockets() 52 *server = (*server)->Accept(); in MakeConnectedSockets() 65 return sock->Send(message.c_str(), message.length()); in SendString() [all …]
|
/aosp_15_r20/external/protobuf/conformance/ |
H A D | README.md | 1 Protocol Buffers - Google's data interchange format 6 This directory contains conformance tests for testing completeness and 7 correctness of Protocol Buffers implementations. These tests are designed 8 to be easy to run against any Protocol Buffers implementation. 10 This directory contains the tester process `conformance-test`, which 11 contains all of the tests themselves. Then separate programs written 15 Before running any of these tests, make sure you run `make` in the base 16 directory to build `protoc`, since all the tests depend on it. 20 Running the tests for C++ 21 ------------------------- [all …]
|
/aosp_15_r20/external/cronet/third_party/protobuf/conformance/ |
H A D | README.md | 1 Protocol Buffers - Google's data interchange format 6 This directory contains conformance tests for testing completeness and 7 correctness of Protocol Buffers implementations. These tests are designed 8 to be easy to run against any Protocol Buffers implementation. 10 This directory contains the tester process `conformance-test`, which 11 contains all of the tests themselves. Then separate programs written 15 Before running any of these tests, make sure you run `make` in the base 16 directory to build `protoc`, since all the tests depend on it. 20 Running the tests for C++ 21 ------------------------- [all …]
|
/aosp_15_r20/tools/test/connectivity/acts/framework/tests/controllers/rohdeschwarz_lib/ |
D | contest_test.py | 3 # Copyright 2019 - The Android Open Source Project 9 # http://www.apache.org/licenses/LICENSE-2.0 43 """ Unit tests for the contest controller.""" 91 """ Tests the AutomationProtocol's ability to turn the DUT off 95 protocol = contest.AutomationServer.AutomationProtocol( 97 protocol.send_ok = mock.Mock() 98 protocol.data_received(b'DUT_SWITCH_ON') 100 asserts.assert_true(protocol.send_ok.called, 'OK response not sent.') 103 """ Tests the Automation server's ability to turn the DUT on 107 protocol = contest.AutomationServer.AutomationProtocol( [all …]
|
/aosp_15_r20/packages/modules/DnsResolver/tests/ |
D | resolv_gold_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 21 #include <android-base/chrono_utils.h> 22 #include <android-base/file.h> 23 #include <android-base/logging.h> 24 #include <android-base/result.h> 25 #include <gmock/gmock-matchers.h> 35 #include "tests/dns_responder/dns_responder.h" 36 #include "tests/dns_responder/dns_responder_client_ndk.h" 37 #include "tests/dns_responder/dns_tls_certificate.h" 38 #include "tests/dns_responder/dns_tls_frontend.h" [all …]
|
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector.c | 1 // SPDX-License-Identifier: GPL-2.0 111 struct test tests[] = { variable 117 .iph.protocol = IPPROTO_TCP, 156 .name = "802.1q-ipv4", 161 .iph.protocol = IPPROTO_TCP, 179 .name = "802.1ad-ipv6", 203 .name = "ipv4-frag", 207 .iph.protocol = IPPROTO_TCP, 230 .name = "ipv4-no-frag", 234 .iph.protocol = IPPROTO_TCP, [all …]
|
/aosp_15_r20/external/pigweed/pw_transfer/ |
H A D | docs.rst | 1 .. _module-pw_transfer: 6 ``pw_transfer`` is a reliable data transfer protocol which runs on top of 13 ----- 15 ----- 21 --------------- 23 required. The transfer thread is used to process all transfer-related events 29 All user-defined transfer callbacks (i.e. the virtual interface of a 35 - The first is a *chunk buffer*. This is used to stage transfer packets received 39 - The second is an *encode buffer*. This is used by the transfer thread to 46 when creating a system thread. Refer to :ref:`module-pw_thread-thread-creation` [all …]
|
/aosp_15_r20/art/tools/ |
H A D | libcore_gcstress_debug_failures.txt | 3 * The script that uses this file is art/tools/run-libcore-tests.sh. 22 "org.apache.harmony.tests.java.lang.ref.ReferenceQueueTest#test_removeJ", 23 "org.apache.harmony.tests.java.text.MessageFormatTest#test_parseLjava_lang_String", 24 "org.apache.harmony.tests.java.util.ControlTest#test_toBundleName_LStringLLocale", 25 "org.apache.harmony.tests.java.util.TimerTest#testThrowingTaskKillsTimerThread" 47 …"org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest#testUsingProxy… 48 …"org.apache.harmony.luni.tests.internal.net.www.protocol.http.HttpURLConnectionTest#testUsingProxy… 49 …"org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest#testConseque… 50 …"org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest#testHttpsCon… 51 …"org.apache.harmony.luni.tests.internal.net.www.protocol.https.HttpsURLConnectionTest#testProxyAut… [all …]
|
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/ |
H A D | ssl-opt.sh | 3 # ssl-opt.sh 6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 10 # Executes tests to prove various TLS/SSL options and extensions. 16 # The tests assume a build with default options, with exceptions expressed 17 # with a dependency. The tests focus on functionality and do not consider 21 set -u 25 ulimit -f 20971520 38 : ${GNUTLS_CLI:=gnutls-cli} 39 : ${GNUTLS_SERV:=gnutls-serv} 54 if git diff --quiet ../include/mbedtls/mbedtls_config.h 2>/dev/null; then [all …]
|
/aosp_15_r20/external/wayland/tests/ |
H A D | meson.build | 2 error('-Dtests=true requires -Dlibraries=true') 6 'test-runner', 8 'test-runner.c', 9 'test-helpers.c', 10 'test-compositor.c' 34 tests_protocol_xml = files('../protocol/tests.xml') 37 'test server protocol header', 38 command: [ wayland_scanner_for_build, '-s', 'server-header', '@INPUT@', '@OUTPUT@' ], 40 output: 'tests-server-protocol.h' 44 'test client protocol header', [all …]
|
/aosp_15_r20/external/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-testsfail/ |
H A D | minimal-secure-streams-testsfail.c | 2 * lws-minimal-secure-streams 4 * Written in 2010-2020 by Andy Green <[email protected]> 14 * --amount xxx, the default without that is 12345 bytes. 21 static int interrupted, tests, tests_pass, tests_fail; variable 31 * If the -proxy app is fulfilling our connection, then we don't need to have 36 * ./lws-minimal-secure-streams-proxy test app on the same machine. 44 "\"schema-version\":" "1," 46 "\"via-socks5\":" "\"127.0.0.1:1080\"," 180 "\"protocol\": \"h1\"," 203 "\"protocol\": \"h1\"," [all …]
|
/aosp_15_r20/packages/modules/adb/ |
D | shell_service_protocol_test.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 56 // test, set it to -1 to prevent TearDown() trying to close it again. 63 for (ShellProtocol* protocol : {read_protocol_, write_protocol_}) { in TearDown() 64 if (protocol) { in TearDown() 65 delete protocol; in TearDown() 72 read_protocol_->buffer_end_ = read_protocol_->data() + size; in SetReadDataCapacity() 79 int read_fd_ = -1, write_fd_ = -1; 90 bool PacketEquals(const ShellProtocol* protocol, ShellProtocol::Id id, in PacketEquals() argument 93 return (protocol->id() == id && in PacketEquals() 94 protocol->data_length() == data_length && in PacketEquals() [all …]
|
/aosp_15_r20/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internal/ |
H A D | Platform.java | 10 * http://www.apache.org/licenses/LICENSE-2.0 21 import com.android.okhttp.Protocol; 47 // only tests should extend this class 52 // only for private use and in tests 63 * invocations of {@link #get()}, for use in tests. 89 // apps or third-party TLS providers that might have taken advantage of being able to 90 // duck-type their way into compatibility. For more background, see b/128280837. 119 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { in configureTlsExtensions() 187 return "X-Android"; in getPrefix() 193 * on Android, so this method should never be called outside of OkHttp's tests. [all …]
|
/aosp_15_r20/external/okhttp/android/src/main/java/com/squareup/okhttp/internal/ |
H A D | Platform.java | 9 * http://www.apache.org/licenses/LICENSE-2.0 20 import com.squareup.okhttp.Protocol; 45 // only tests should extend this class 50 // only for private use and in tests 60 * invocations of {@link #get()}, for use in tests. 86 // apps or third-party TLS providers that might have taken advantage of being able to 87 // duck-type their way into compatibility. For more background, see b/128280837. 115 SSLSocket sslSocket, String hostname, List<Protocol> protocols) { in configureTlsExtensions() 183 return "X-Android"; in getPrefix() 189 * on Android, so this method should never be called outside of OkHttp's tests. [all …]
|
/aosp_15_r20/external/python/mobly/tests/mobly/controllers/android_device_lib/ |
D | snippet_client_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 21 from tests.lib import jsonrpc_client_test_base 22 from tests.lib import mock_android_device 33 """Unit tests for mobly.controllers.android_device_lib.snippet_client.""" 95 self.assertEqual('1-0', callback._id) 175 b'SNIPPET START, PROTOCOL 1 0\n', 190 adb_proxy.shell.return_value = b'OK (0 tests)' 197 adb_proxy.shell.return_value = b'OK (0 tests)' 207 adb_proxy.forward.assert_called_once_with(['--remove', 'tcp:1']) 215 adb_proxy.shell.return_value = b'OK (0 tests)' [all …]
|
/aosp_15_r20/external/autotest/tko/ |
H A D | job_serializer.py | 3 """A script that provides convertion between models.job and a protocol 7 convert it into a protocol buffer object. The class will also be 8 responsible for serializing the job instance via protocol buffers. 33 it with a protocol buffer. 36 protocol buffer to include all the content of the job object. This 37 protocol buffer object will be serialized into a binary file. 42 self.job_type_dict = {'dir':str, 'tests':list, 'user':str, 73 The method first deserialize the binary into a protocol buffer 97 protocol buffer. 99 The method takes a tko job object and constructs a protocol [all …]
|
/aosp_15_r20/external/curl/tests/ |
H A D | runtests.pl | 22 # SPDX-License-Identifier: curl 28 # Experimental hooks are available to run tests remotely on machines that 32 # $HOSTIP, $HOST6IP - Set to the address of the host running the test suite 33 # $CLIENTIP, $CLIENT6IP - Set to the address of the host running curl 34 # runclient, runclientoutput - Modify to copy all the files in the log/ 44 # the contents of the tests/server/ directory must be from the host 47 # Note that even with these changes a number of tests will still fail (mainly 53 # Finally, to properly support -g and -n, checktestcmd needs to change 56 # fixed. As long as the -g option is never given, and the -n is always 68 # Define srcdir to the location of the tests source directory. This is [all …]
|
/aosp_15_r20/external/mbedtls/tests/ |
H A D | ssl-opt.sh | 3 # ssl-opt.sh 6 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later 10 # Executes tests to prove various TLS/SSL options and extensions. 16 # The tests assume a build with default options, with exceptions expressed 17 # with a dependency. The tests focus on functionality and do not consider 21 set -u 25 ulimit -f 20971520 38 : ${GNUTLS_CLI:=gnutls-cli} 39 : ${GNUTLS_SERV:=gnutls-serv} 54 if git diff --quiet ../include/mbedtls/mbedtls_config.h 2>/dev/null; then [all …]
|
/aosp_15_r20/external/googleapis/google/cloud/networkmanagement/v1beta1/ |
H A D | trace.proto | 7 // http://www.apache.org/licenses/LICENSE-2.0 34 // * State is categorized as final or non-final states. 38 // |---------------------Trace----------------------| 39 // Step1(State) Step2(State) --- StepN(State(final)) 63 // Each step has a well-defined state and an associated configuration. 83 // Initial state: packet originating from a VPC or on-premises network 142 // used in new tests. 147 // used in new tests. 187 // Each step is in one of the pre-defined states. 198 // has no permission to view the configuration in this step, for non-final [all …]
|
/aosp_15_r20/external/tcpdump/ |
H A D | CONTRIBUTING.md | 7 code execution etc) please send an e-mail to [email protected], do not use 10 To report a non-security problem (failure to compile, incorrect output in the 11 protocol printout, missing support for a particular protocol etc) please check 15 libpcap. If it does (and it is not a security-related problem, otherwise see 17 [bug tracker](https://github.com/the-tcpdump-group/tcpdump/issues) 21 * tcpdump and libpcap version (`tcpdump --version`) 23 (`uname -a`, compiler name and version, CPU type etc.) 33 [subscribe to the mailing list](https://www.tcpdump.org/#mailing-lists) 42 1) [Fork](https://help.github.com/articles/fork-a-repo/) the Tcpdump 43 [repository](https://github.com/the-tcpdump-group/tcpdump). [all …]
|
/aosp_15_r20/external/aws-sdk-java-v2/ |
H A D | .brazil.json | 5 "annotations": { "packageName": "AwsJavaSdk-Core-Annotations" }, 6 "apache-client": { "packageName": "AwsJavaSdk-HttpClient-ApacheClient" }, 7 "arns": { "packageName": "AwsJavaSdk-Core-Arns" }, 8 "auth": { "packageName": "AwsJavaSdk-Core-Auth" }, 9 "auth-crt": { "packageName": "AwsJavaSdk-Core-AuthCrt" }, 10 "aws-cbor-protocol": { "packageName": "AwsJavaSdk-Core-AwsCborProtocol" }, 11 "aws-core": { "packageName": "AwsJavaSdk-Core-AwsCore" }, 12 "aws-crt-client": { "packageName": "AwsJavaSdk-HttpClient-CrtClient" }, 13 "aws-ion-protocol": { "packageName": "AwsJavaSdk-Core-AwsIonProtocol" }, 14 "aws-json-protocol": { "packageName": "AwsJavaSdk-Core-AwsJsonProtocol" }, [all …]
|
/aosp_15_r20/external/protobuf/cmake/ |
H A D | README.md | 6 and optionally [Git](http://git-scm.com) installed on your computer before proceeding. 39 Optionally, you will want to download [ninja](https://ninja-build.org/) and add it to your *PATH* v… 52 For example: if you only need C++, download `protobuf-cpp-[VERSION].tar.gz`; if 53 you need C++ and Java, download `protobuf-java-[VERSION].tar.gz` (every package 55 download `protobuf-all-[VERSION].tar.gz`. 60 C:\Path\to\src> git clone -b [release_tag] https://github.com/protocolbuffers/protobuf.git 62 Where *[release_tag]* is a git tag like *v3.0.0-beta-1* or a branch name like *main* 74 C:\Path\to\src\protobuf> git submodule update --init --recursive 83 [generators](http://www.cmake.org/cmake/help/latest/manual/cmake-generators.7.html) 88 * [Makefile](http://www.cmake.org/cmake/help/latest/manual/cmake-generators.7.html#makefile-generat… [all …]
|