Home
last modified time | relevance | path

Searched +full:ipv4 +full:- +full:second +full:- +full:language +full:- +full:is +full:- +full:cpp (Results 1 – 25 of 140) sorted by relevance

123456

/aosp_15_r20/external/grpc-grpc/test/cpp/naming/
H A Dresolver_test_record_groups.yaml1 resolver_tests_common_zone_name: resolver-tests-version-4.grpctestingexp.
4 - expected_addrs:
5 - {address: '5.5.5.5:443', is_balancer: false}
13 record_to_resolve: no-srv-ipv4-single-target
15 no-srv-ipv4-single-target:
16 - {TTL: '2100', data: 5.5.5.5, type: A}
17 - expected_addrs:
18 - {address: '1.2.3.4:1234', is_balancer: true}
26 record_to_resolve: srv-ipv4-single-target
28 _grpclb._tcp.srv-ipv4-single-target:
[all …]
H A Dresolver_component_tests_runner.py8 # http://www.apache.org/licenses/LICENSE-2.0
11 # distributed under the License is distributed on an "AS IS" BASIS,
13 # See the License for the specific language governing permissions and
16 # This file is auto-generated
27 argp = argparse.ArgumentParser(description='Run c-ares resolver tests')
28 argp.add_argument('--test_bin_path', default=None, type=str,
30 argp.add_argument('--dns_server_bin_path', default=None, type=str,
32 argp.add_argument('--records_config_path', default=None, type=str,
35 argp.add_argument('--dns_server_port', default=None, type=int,
36 help=('Port that local DNS server is listening on.'))
[all …]
H A Daddress_sorting_test.cc9 // http://www.apache.org/licenses/LICENSE-2.0
12 // distributed under the License is distributed on an "AS IS" BASIS,
14 // See the License for the specific language governing permissions and
51 #include "test/cpp/util/subprocess.h"
52 #include "test/cpp/util/test_config.h"
113 memcpy(&dest_addr_as_resolved_addr.addr, dest_addr, dest_addr->len); in GetSourceAddr()
114 dest_addr_as_resolved_addr.len = dest_addr->len; in GetSourceAddr()
126 TestAddressToGrpcResolvedAddress(it->second); in GetSourceAddr()
127 memcpy(source_addr->addr, &source_addr_as_resolved_addr.addr, in GetSourceAddr()
129 source_addr->len = source_addr_as_resolved_addr.len; in GetSourceAddr()
[all …]
/aosp_15_r20/system/netd/server/
H A DTetherControllerTest.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
16 * TetherControllerTest.cpp - unit tests for TetherController.cpp
30 #include <android-base/stringprintf.h>
31 #include <android-base/strings.h>
64 ":tetherctrl_FORWARD -\n"
65 "-A tetherctrl_FORWARD -j DROP\n"
68 ":tetherctrl_nat_POSTROUTING -\n"
72 ":tetherctrl_FORWARD -\n"
[all …]
H A DControllersTest.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
16 * ControllersTest.cpp - unit tests for Controllers.cpp
26 #include <android-base/strings.h>
52 { V6, "*raw\n-S PREROUTING\nCOMMIT\n" }, in TEST_F()
55 "-P PREROUTING ACCEPT\n" in TEST_F()
56 "-A PREROUTING -j bw_raw_PREROUTING\n" in TEST_F()
57 "-A PREROUTING -j idletimer_raw_PREROUTING\n" in TEST_F()
58 "-A PREROUTING -j tetherctrl_raw_PREROUTING\n" in TEST_F()
[all …]
H A DRouteController.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
24 #include <android-base/thread_annotations.h>
33 // clang-format off
59 // that contain directly-connected local routes taken from the default network.
60 // The first set is used for apps that have a per-UID default network. The rule
61 // UID ranges match those of the per-UID default network rule for that network.
62 // The second set has no UID ranges and is used for apps whose default network
63 // is the system default network network.
[all …]
/aosp_15_r20/packages/modules/DnsResolver/tests/
Dresolv_gold_test.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
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>
70 // permission so that Trade Federation test harness has no chance mis-executing on *.pb. in SetUpTestSuite()
71 const std::string unzipCmd = "unzip -o " + kTestDataPath + "pb.zip -d " + kTestDataPath + in SetUpTestSuite()
[all …]
Dresolv_integration_test.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
20 #include <android-base/logging.h>
21 #include <android-base/parseint.h>
22 #include <android-base/result.h>
23 #include <android-base/unique_fd.h>
29 #include <gmock/gmock-matchers.h>
79 // This mainline module test still needs to be able to run on pre-S devices,
80 // and thus may run across pre-4.9 non-eBPF capable devices like the Pixel 2.
[all …]
/aosp_15_r20/frameworks/av/media/audioaidlconversion/
H A DAidlConversionCppNdk.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
34 // AIDL CPP/NDK backend to legacy audio data structure conversion utilities.
37 /* AIDL String generated in NDK is different than CPP */
115 if (aidl.size() > maxSize - 1) { in aidl2legacy_string()
128 // No null-terminator. in legacy2aidl_string()
206 // TODO b/182392769: create an optional -> optional util
252 // AUDIO_CHANNEL_IN_FRONT is at the end in getInAudioChannelBits()
264 // When going from aidl to legacy, IN_CENTER is used in getInAudioChannelBits()
[all …]
/aosp_15_r20/external/grpc-grpc/test/cpp/ext/otel/
H A Dotel_test_library.cc9 // http://www.apache.org/licenses/LICENSE-2.0
12 // distributed under the License is distributed on an "AS IS" BASIS,
14 // See the License for the specific language governing permissions and
19 #include "test/cpp/ext/otel/otel_test_library.h"
39 #include "test/cpp/end2end/test_service_impl.h"
40 #include "test/cpp/util/byte_buffer_proto_helper.h"
70 call_tracer->SetOptionalLabel(pair.first, pair.second); in MakeCallPromise()
116 while (i++ < iterations_ || (iterations_ == -1 && !finished_)) { in Run()
117 auto data_points = test_->ReadCurrentMetricsData(predicate_); in Run()
121 data_points_[data.first] = std::move(data.second); in Run()
[all …]
/aosp_15_r20/external/grpc-grpc/test/cpp/ext/filters/census/
H A Dlibrary.h9 // http://www.apache.org/licenses/LICENSE-2.0
12 // distributed under the License is distributed on an "AS IS" BASIS,
14 // See the License for the specific language governing permissions and
35 #include "src/cpp/client/client_stats_interceptor.h"
36 #include "src/cpp/ext/filters/census/client_filter.h"
37 #include "src/cpp/ext/filters/census/context.h"
40 #include "test/cpp/end2end/test_service_impl.h"
65 context->set_compression_algorithm(GRPC_COMPRESS_GZIP); in Echo()
78 for (const auto& metadata : context->client_metadata()) { in CheckMetadata()
80 EXPECT_EQ(metadata.second, reinterpret_cast<const CensusContext*>( in CheckMetadata()
[all …]
/aosp_15_r20/packages/modules/DnsResolver/
DDnsTlsDispatcher.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
30 #include <android-base/logging.h>
53 // Our preferred DnsTlsServer order is: in getOrderedAndUsableServerList()
55 // 2) reuse existing IPv4 connections in getOrderedAndUsableServerList()
57 // 4) establish new IPv4 connections in getOrderedAndUsableServerList()
71 if (!xport->usable()) { in getOrderedAndUsableServerList()
112 getOrderedAndUsableServerList(tlsServers, statp->netid, statp->mark)); in query()
126 statp->event->mutable_dns_query_events()->add_dns_query_event(); in query()
[all …]
/aosp_15_r20/external/grpc-grpc/test/cpp/end2end/
H A Dclient_lb_end2end_test.cc7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
12 // See the License for the specific language governing permissions and
73 #include "src/cpp/server/secure_server_credentials.h"
81 #include "test/cpp/end2end/connection_attempt_injector.h"
82 #include "test/cpp/end2end/test_service_impl.h"
83 #include "test/cpp/util/credentials.h"
93 // status in its methods. This is used to test the retry mechanism in
128 AddClient(context->peer()); in Echo()
129 if (request->has_param() && request->param().has_backend_metrics()) { in Echo()
[all …]
/aosp_15_r20/prebuilts/vndk/v32/arm64/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
63 WIFI_CHAN_WIDTH_INVALID = -1
68 WIFI_POWER_SCENARIO_INVALID = -2,
69 WIFI_POWER_SCENARIO_DEFAULT = -1,
130 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
162 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
164 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
166 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]
/aosp_15_r20/prebuilts/vndk/v32/x86/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
63 WIFI_CHAN_WIDTH_INVALID = -1
68 WIFI_POWER_SCENARIO_INVALID = -2,
69 WIFI_POWER_SCENARIO_DEFAULT = -1,
130 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
162 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
164 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
166 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]
/aosp_15_r20/prebuilts/vndk/v31/x86/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
63 WIFI_CHAN_WIDTH_INVALID = -1
68 WIFI_POWER_SCENARIO_INVALID = -2,
69 WIFI_POWER_SCENARIO_DEFAULT = -1,
118 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
150 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
152 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
154 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]
/aosp_15_r20/prebuilts/vndk/v32/arm/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
63 WIFI_CHAN_WIDTH_INVALID = -1
68 WIFI_POWER_SCENARIO_INVALID = -2,
69 WIFI_POWER_SCENARIO_DEFAULT = -1,
130 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
162 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
164 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
166 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]
/aosp_15_r20/prebuilts/vndk/v31/arm/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
63 WIFI_CHAN_WIDTH_INVALID = -1
68 WIFI_POWER_SCENARIO_INVALID = -2,
69 WIFI_POWER_SCENARIO_DEFAULT = -1,
118 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
150 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
152 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
154 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]
/aosp_15_r20/prebuilts/vndk/v31/x86_64/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
63 WIFI_CHAN_WIDTH_INVALID = -1
68 WIFI_POWER_SCENARIO_INVALID = -2,
69 WIFI_POWER_SCENARIO_DEFAULT = -1,
118 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
150 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
152 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
154 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]
/aosp_15_r20/prebuilts/vndk/v31/arm64/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
63 WIFI_CHAN_WIDTH_INVALID = -1
68 WIFI_POWER_SCENARIO_INVALID = -2,
69 WIFI_POWER_SCENARIO_DEFAULT = -1,
118 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
150 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
152 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
154 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]
/aosp_15_r20/prebuilts/vndk/v32/x86_64/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
63 WIFI_CHAN_WIDTH_INVALID = -1
68 WIFI_POWER_SCENARIO_INVALID = -2,
69 WIFI_POWER_SCENARIO_DEFAULT = -1,
130 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
162 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
164 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
166 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]
/aosp_15_r20/external/grpc-grpc/test/cpp/end2end/xds/
H A Dxds_end2end_test_lib.cc7 // http://www.apache.org/licenses/LICENSE-2.0
10 // distributed under the License is distributed on an "AS IS" BASIS,
12 // See the License for the specific language governing permissions and
16 #include "test/cpp/end2end/xds/xds_end2end_test_lib.h"
47 #include "test/cpp/util/credentials.h"
48 #include "test/cpp/util/tls_test_utils.h"
79 it->second.error_code() != expected_status) { in WaitOnServingStatusChange()
117 args->SetString(GRPC_ARG_TEST_ONLY_DO_NOT_USE_IN_PROD_XDS_BOOTSTRAP_CONFIG, in UpdateArguments()
118 test_obj_->bootstrap_); in UpdateArguments()
119 args->SetPointerWithVtable( in UpdateArguments()
[all …]
/aosp_15_r20/prebuilts/vndk/v33/arm/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
64 WIFI_CHAN_WIDTH_INVALID = -1
69 WIFI_POWER_SCENARIO_INVALID = -2,
70 WIFI_POWER_SCENARIO_DEFAULT = -1,
131 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
170 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
172 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
174 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]
/aosp_15_r20/prebuilts/vndk/v33/x86_64/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
64 WIFI_CHAN_WIDTH_INVALID = -1
69 WIFI_POWER_SCENARIO_INVALID = -2,
70 WIFI_POWER_SCENARIO_DEFAULT = -1,
131 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
170 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
172 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
174 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]
/aosp_15_r20/prebuilts/vndk/v33/x86/include/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h8 * http://www.apache.org/licenses/LICENSE-2.0
11 * distributed under the License is distributed on an "AS IS" BASIS,
13 * See the License for the specific language governing permissions and
64 WIFI_CHAN_WIDTH_INVALID = -1
69 WIFI_POWER_SCENARIO_INVALID = -2,
70 WIFI_POWER_SCENARIO_DEFAULT = -1,
131 * enum wlan_mac_band - Band information corresponding to the WLAN MAC.
170 * - If a channel is usable only for STA, then only the WIFI_INTERFACE_STA
172 * - If 5GHz SAP is not allowed, then none of the 5GHz channels will have
174 * Note: TDLS bit is set only if there is a STA connection. TDLS bit is set
[all …]

123456