| /external/webrtc/pc/ |
| D | peer_connection_field_trial_tests.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 11 // This file contains tests that verify that field trials do what they're 50 if (!peer->pc()->AddIceCandidate(candidate)) { in AddIceCandidates() 67 main_thread_(socket_server_.get()) { in PeerConnectionFieldTrialTest() 86 media_deps.task_queue_factory = pcf_deps.task_queue_factory.get(); in CreatePCFactory() 88 media_deps.trials = pcf_deps.trials.get(); in CreatePCFactory() 98 pc_factory_->SetOptions(options); in CreatePCFactory() [all …]
|
| D | peer_connection_signaling_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 11 // This file contains tests that check the PeerConnection's signaling state 12 // machine, as well as tests that check basic, media-agnostic aspects of SDP. 86 return GetInternalPeerConnection()->initial_offerer(); in initial_offerer() 93 return static_cast<PeerConnection*>(pci->internal()); in GetInternalPeerConnection() 128 main_(vss_.get()), in PeerConnectionSignalingBaseTest() 149 auto result = pc_factory_->CreatePeerConnectionOrError( in CreatePeerConnection() [all …]
|
| D | peer_connection_data_channel_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 89 return GetInternalPeerConnection()->sctp_mid(); in sctp_mid() 93 return GetInternalPeerConnection()->sctp_transport_name(); in sctp_transport_name() 100 return static_cast<PeerConnection*>(pci->internal()); in GetInternalPeerConnection() 113 main_(vss_.get()), in PeerConnectionDataChannelBaseTest() 134 static_cast<FakeSctpTransportFactory*>(factory_deps.sctp_factory.get()); in CreatePeerConnection() 137 pc_factory->SetOptions(factory_options); in CreatePeerConnection() [all …]
|
| D | slow_peer_connection_integration_test.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 11 // This file is intended for PeerConnection integration tests that are 57 : PeerConnectionIntegrationBaseTest(std::get<0>(GetParam()), in PeerConnectionIntegrationTest() 58 std::get<1>(GetParam())) {} in PeerConnectionIntegrationTest() 65 // This also ensures peerconnection is closed before switching back to non-fake 106 caller()->AddAudioVideoTracks(); in TEST_P() 107 callee()->AddAudioVideoTracks(); in TEST_P() [all …]
|
| D | peer_connection_adaptation_integrationtest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 48 void Negotiate(rtc::scoped_refptr<PeerConnectionTestWrapper> caller, in Negotiate() argument 52 PeerConnectionTestWrapper::Connect(caller.get(), callee.get()); in Negotiate() 53 caller->CreateOffer(PeerConnectionInterface::RTCOfferAnswerOptions()); in Negotiate() 54 caller->WaitForNegotiation(); in Negotiate() 67 factory->CreateVideoTrack("PeriodicTrack", periodic_track_source.get()); in CreateTrackWithPeriodicSource() 79 fake_resource->SetUsageState(ResourceUsageState::kOveruse); in TriggerOveruseAndGetSinkWants() [all …]
|
| D | peer_connection_histogram_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 124 RawWrapperPtr candidate_target_; // Note: Not thread-safe against deletions. 136 return static_cast<PeerConnection*>(pci->internal()); in GetInternalPeerConnection() 147 observer()->PrepareToExchangeCandidates(other); in PrepareToExchangeCandidates() 148 other->observer()->PrepareToExchangeCandidates(this); in PrepareToExchangeCandidates() 152 return pc()->ice_connection_state() == in IsConnected() 154 pc()->ice_connection_state() == in IsConnected() [all …]
|
| D | peer_connection_ice_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 96 RTC_DCHECK(pc()->remote_description()); in CreateJsepCandidateForFirstTransport() 97 const auto* desc = pc()->remote_description()->description(); in CreateJsepCandidateForFirstTransport() 98 RTC_DCHECK(desc->contents().size() > 0); in CreateJsepCandidateForFirstTransport() 99 const auto& first_content = desc->contents()[0]; in CreateJsepCandidateForFirstTransport() 100 candidate->set_transport_name(first_content.name); in CreateJsepCandidateForFirstTransport() 101 return CreateIceCandidate(first_content.name, -1, *candidate); in CreateJsepCandidateForFirstTransport() [all …]
|
| D | peer_connection_bundle_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 90 // will use: https://www.w3.org/TR/webrtc/#dom-rtcrtpsender-transport 99 // In order to prevent use-after-free issues, don't allow this in GetAnyAddressNetworks() 112 auto* desc = pc()->remote_description()->description(); in AddIceCandidateToMedia() 113 for (size_t i = 0; i < desc->contents().size(); i++) { in AddIceCandidateToMedia() 114 const auto& content = desc->contents()[i]; in AddIceCandidateToMedia() 115 if (content.media_description()->type() == media_type) { in AddIceCandidateToMedia() [all …]
|
| D | peer_connection_rtp_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 57 // This file contains tests for RTP Media API-related behavior of 58 // `webrtc::PeerConnection`, see https://w3c.github.io/webrtc-pc/#rtp-media-api. 137 auto result = pc_factory_->CreatePeerConnectionOrError( in CreatePeerConnectionInternal() 138 config, PeerConnectionDependencies(observer.get())); in CreatePeerConnectionInternal() 140 observer->SetPeerConnectionInterface(result.value().get()); in CreatePeerConnectionInternal() 169 PeerConnectionWrapper* caller, in ExchangeOfferAnswerWhereRemoteStopsTransceiver() argument [all …]
|
| D | peer_connection_crypto_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 74 main_(vss_.get()), in PeerConnectionCryptoBaseTest() 100 std::make_unique<rtc::BasicPacketSocketFactory>(vss_.get())); in CreatePeerConnection() 104 PeerConnectionDependencies pc_dependencies(observer.get()); in CreatePeerConnection() 107 auto result = pc_factory_->CreatePeerConnectionOrError( in CreatePeerConnection() 113 observer->SetPeerConnectionInterface(result.value().get()); in CreatePeerConnection() 126 wrapper->AddAudioTrack("a"); in CreatePeerConnectionWithAudioVideo() [all …]
|
| D | peer_connection_media_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 11 // This file contains tests that check the interaction between the 13 // the media-related aspects of SDP. 98 main_(vss_.get()), in PeerConnectionMediaBaseTest() 122 auto* media_engine_ptr = media_engine.get(); in CreatePeerConnection() 134 factory_dependencies.task_queue_factory.get()); in CreatePeerConnection() 141 std::make_unique<rtc::BasicPacketSocketFactory>(vss_.get())); in CreatePeerConnection() [all …]
|
| D | peer_connection_jsep_unittest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 65 // This file contains tests that ensure the PeerConnection's implementation of 88 media_deps.task_queue_factory = dependencies.task_queue_factory.get(); in CreatePeerConnectionFactoryDependencies() 90 media_deps.trials = dependencies.trials.get(); in CreatePeerConnectionFactoryDependencies() 103 : vss_(new rtc::VirtualSocketServer()), main_(vss_.get()) { in PeerConnectionJsepTest() 120 auto result = pc_factory->CreatePeerConnectionOrError( in CreatePeerConnection() 121 config, PeerConnectionDependencies(observer.get())); in CreatePeerConnection() [all …]
|
| D | peer_connection_integrationtest.cc | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 15 // do NOT add it here, but instead add it to the file 110 : PeerConnectionIntegrationBaseTest(std::get<0>(GetParam()), in PeerConnectionIntegrationTest() 111 std::get<1>(GetParam())) {} in PeerConnectionIntegrationTest() 118 // This also ensures peerconnection is closed before switching back to non-fake 159 caller()->AddAudioVideoTracks(); in TEST_P() 160 callee()->AddAudioVideoTracks(); in TEST_P() [all …]
|
| /external/autotest/client/common_lib/ |
| D | lsbrelease_utils.py | 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 5 # This module provides helper method to parse /etc/lsb-release file to extract 18 """Searches /etc/lsb-release for a regex match. 23 @param lsb_release_content: A string represents the content of lsb-release. 24 If the caller is from drone, it can pass in the file content here. 29 @raises IOError if /etc/lsb-release can not be accessed. 36 lsb_release_content = lsb_release_content.decode("utf-8") 47 @param lsb_release_content: A string represents the content of lsb-release. 48 If the caller is from drone, it can pass in the file content here. [all …]
|
| /external/selinux/libselinux/include/selinux/ |
| D | selinux.h | 23 /* Free the memory allocated for a context by any of the below get* calls. */ 31 /* Get current context, and set *con to refer to it. 32 Caller must free via freecon. */ 39 security contexts, unlike exec-based transitions performed via setexeccon. 47 /* Get context of process identified by pid, and 48 set *con to refer to it. Caller must free via freecon. */ 52 /* Get previous context (prior to last exec), and set *con to refer to it. 53 Caller must free via freecon. */ 57 /* Get previous context (prior to last exec) of process identified by pid, and 58 set *con to refer to it. Caller must free via freecon. */ [all …]
|
| /external/cronet/third_party/jni_zero/samples/java/src/org/jni_zero/samples/ |
| D | SampleForTests.java | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 24 // The C++ counter-part is sample_for_tests.cc. 26 // * Generate a header file for the JNI bindings based on this file. 27 // * Generate a header file containing registration methods required to use C++ methods from this 28 // file. 29 // * Compile sample_for_tests.cc using the generated header file. 30 // * link a native executable to prove the generated header + cc file are self-contained. 39 // calling out a SampleForTestsJni.get().init() function. Replace "CPPClass" with your 49 mNativeCPPObject = SampleForTestsJni.get().init(this, "myParam"); in startExample() [all …]
|
| /external/cronet/third_party/jni_zero/java/src/org/chromium/example/jni_generator/ |
| D | SampleForTests.java | 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 24 // The C++ counter-part is sample_for_tests.cc. 26 // * Generate a header file for the JNI bindings based on this file. 27 // * Generate a header file containing registration methods required to use C++ methods from this 28 // file. 29 // * Compile sample_for_tests.cc using the generated header file. 30 // * link a native executable to prove the generated header + cc file are self-contained. 39 // calling out a SampleForTestsJni.get().init() function. Replace "CPPClass" with your 49 mNativeCPPObject = SampleForTestsJni.get().init(this, "myParam"); in startExample() [all …]
|
| /external/private-join-and-compute/private_join_and_compute/util/ |
| D | recordio.h | 4 * you may not use this file except in compliance with the License. 7 * https://www.apache.org/licenses/LICENSE-2.0 16 // Defines file operations. 26 // LineWriter writes single lines to the output file. LineReader reads single 27 // lines from the input file. 29 // Note that all classes except ShardingWriter are not thread-safe: concurrent 42 #include "private_join_and_compute/util/file.h" 47 // Interface for reading a single file. 56 // Opens the given file for reading. 59 // Closes any file object created via calling SingleFileReader::Open [all …]
|
| /external/bazelbuild-rules_python/python/runfiles/ |
| D | runfiles.py | 4 # you may not use this file except in compliance with the License. 7 # http://www.apache.org/licenses/LICENSE-2.0 15 """Runfiles lookup library for Bazel-built Python binaries and tests. 31 # type: (str) -> _Runfiles 36 # type: (str) -> _Runfiles 41 # type: (Optional[Dict[str, str]]) -> Optional[_Runfiles] 45 - manifest-based, meaning it looks up runfile paths from a manifest file, or 46 - directory-based, meaning it looks up runfile paths under a given directory 49 If `env` contains "RUNFILES_MANIFEST_FILE" with non-empty value, this method 50 returns a manifest-based implementation. The object eagerly reads and caches [all …]
|
| /external/webrtc/modules/desktop_capture/ |
| D | screen_capture_frame_queue.h | 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 19 // frame - the frame that the caller is working with at the moment, and to the 20 // 'previous' frame - the predecessor of the current frame swapped by 23 // The caller is expected to (re)allocate frames if current_frame() returns 24 // NULL. The caller can mark all frames in the queue for reallocation (when, 26 // which the caller can query. 44 // Replaces the current frame with a new one allocated by the caller. The [all …]
|
| /external/selinux/libsemanage/include/semanage/ |
| D | modules.h | 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 47 * @modinfo contains additional information which can be used by the caller such 50 * On success, the caller is responsible for unmapping @mapped_data with munmap(), 53 * Returns 0 on success and -1 on error. 72 * Returns 0 on success and -1 on failure. 75 * The caller should call free() on the struct. 82 * Returns 0 on success and -1 on failure. 84 * The caller should call free() on the struct. 91 /* Get @priority from @modinfo. 93 * Returns 0 on success and -1 on error. [all …]
|
| /external/python/cpython3/Lib/ |
| D | modulefinder.py | 50 # test_modulefinder.py changes file tree contents in a cache-breaking way: 84 file = io.open_code(file_path) 85 suffix = os.path.splitext(file_path)[-1] 87 return file, file_path, (suffix, "rb", kind) 92 def __init__(self, name, file=None, path=None): argument 94 self.__file__ = file 102 # resolved, ie. a starimport from a non-Python module. 146 self.indent = self.indent - 1 162 def import_hook(self, name, caller=None, fromlist=None, level=-1): argument 163 self.msg(3, "import_hook", name, caller, fromlist, level) [all …]
|
| /external/google-cloud-java/java-gkehub/proto-google-cloud-gkehub-v1alpha2/src/main/java/com/google/cloud/gkehub/v1alpha2/ |
| D | KubernetesResourceOrBuilder.java | 5 * you may not use this file except in compliance with the License. 8 * https://www.apache.org/licenses/LICENSE-2.0 68 * long-running operation from CreateMembership or UpdateMembership. It is not 69 * populated during normal GetMembership or ListMemberships requests. To get 70 * the resource manifest after the initial registration, the caller should 86 * long-running operation from CreateMembership or UpdateMembership. It is not 87 * populated during normal GetMembership or ListMemberships requests. To get 88 * the resource manifest after the initial registration, the caller should 104 * long-running operation from CreateMembership or UpdateMembership. It is not 105 * populated during normal GetMembership or ListMemberships requests. To get [all …]
|
| /external/google-cloud-java/java-gkehub/proto-google-cloud-gkehub-v1beta1/src/main/java/com/google/cloud/gkehub/v1beta1/ |
| D | KubernetesResourceOrBuilder.java | 5 * you may not use this file except in compliance with the License. 8 * https://www.apache.org/licenses/LICENSE-2.0 68 * long-running operation from CreateMembership or UpdateMembership. It is not 69 * populated during normal GetMembership or ListMemberships requests. To get 70 * the resource manifest after the initial registration, the caller should 86 * long-running operation from CreateMembership or UpdateMembership. It is not 87 * populated during normal GetMembership or ListMemberships requests. To get 88 * the resource manifest after the initial registration, the caller should 104 * long-running operation from CreateMembership or UpdateMembership. It is not 105 * populated during normal GetMembership or ListMemberships requests. To get [all …]
|
| /external/google-cloud-java/java-gkehub/proto-google-cloud-gkehub-v1/src/main/java/com/google/cloud/gkehub/v1/ |
| D | KubernetesResourceOrBuilder.java | 5 * you may not use this file except in compliance with the License. 8 * https://www.apache.org/licenses/LICENSE-2.0 68 * long-running operation from CreateMembership or UpdateMembership. It is not 69 * populated during normal GetMembership or ListMemberships requests. To get 70 * the resource manifest after the initial registration, the caller should 86 * long-running operation from CreateMembership or UpdateMembership. It is not 87 * populated during normal GetMembership or ListMemberships requests. To get 88 * the resource manifest after the initial registration, the caller should 104 * long-running operation from CreateMembership or UpdateMembership. It is not 105 * populated during normal GetMembership or ListMemberships requests. To get [all …]
|