Home
last modified time | relevance | path

Searched refs:sdp (Results 1 – 25 of 70) sorted by relevance

123

/external/u-boot/drivers/usb/gadget/
Df_sdp.c239 struct f_sdp *sdp = req->context; in sdp_rx_command_complete() local
262 sdp->always_send_status = false; in sdp_rx_command_complete()
263 sdp->error_status = 0x0; in sdp_rx_command_complete()
265 sdp->state = SDP_STATE_TX_SEC_CONF; in sdp_rx_command_complete()
266 sdp->dnl_address = be32_to_cpu(cmd->addr); in sdp_rx_command_complete()
267 sdp->dnl_bytes_remaining = be32_to_cpu(cmd->cnt); in sdp_rx_command_complete()
268 sdp->next_state = SDP_STATE_TX_REGISTER; in sdp_rx_command_complete()
270 sdp->dnl_bytes_remaining, sdp->dnl_address); in sdp_rx_command_complete()
273 sdp->always_send_status = true; in sdp_rx_command_complete()
274 sdp->error_status = SDP_WRITE_FILE_COMPLETE; in sdp_rx_command_complete()
[all …]
/external/u-boot/board/freescale/m5275evb/
Dm5275evb.c29 sdramctrl_t *sdp = (sdramctrl_t *)(MMAP_SDRAM); in dram_init() local
36 out_be32(&sdp->sdbar0, CONFIG_SYS_SDRAM_BASE); in dram_init()
37 out_be32(&sdp->sdbmr0, MCF_SDRAMC_SDMRn_BAM_32M | MCF_SDRAMC_SDMRn_V); in dram_init()
40 out_be32(&sdp->sdcfg1, 0x83711630); in dram_init()
41 out_be32(&sdp->sdcfg2, 0x46770000); in dram_init()
44 out_be32(&sdp->sdcr, MCF_SDRAMC_SDCR_MODE_EN | MCF_SDRAMC_SDCR_CKE); in dram_init()
47 setbits_be32(&sdp->sdcr, MCF_SDRAMC_SDCR_IPALL); in dram_init()
53 setbits_be32(&sdp->sdmr, in dram_init()
59 out_be32(&sdp->sdmr, 0x058d0000); in dram_init()
63 clrbits_be32(&sdp->sdmr, MCF_SDRAMC_SDMR_CMD); in dram_init()
[all …]
/external/u-boot/fs/reiserfs/
Dreiserfs_private.h305 #define sd_v1_mode(sdp) ((sdp)->sd_mode) argument
306 #define sd_v1_nlink(sdp) (__le16_to_cpu((sdp)->sd_nlink)) argument
307 #define sd_v1_uid(sdp) (__le16_to_cpu((sdp)->sd_uid)) argument
308 #define sd_v1_gid(sdp) (__le16_to_cpu((sdp)->sd_gid)) argument
309 #define sd_v1_size(sdp) (__le32_to_cpu((sdp)->sd_size)) argument
310 #define sd_v1_mtime(sdp) (__le32_to_cpu((sdp)->sd_mtime)) argument
341 #define sd_v2_mode(sdp) (__le16_to_cpu((sdp)->sd_mode)) argument
342 #define sd_v2_nlink(sdp) (__le32_to_cpu((sdp)->sd_nlink)) argument
343 #define sd_v2_size(sdp) (__le64_to_cpu((sdp)->sd_size)) argument
344 #define sd_v2_uid(sdp) (__le32_to_cpu((sdp)->sd_uid)) argument
[all …]
/external/webrtc/talk/app/webrtc/test/
Dpeerconnectiontestwrapper.cc123 std::string sdp; in OnIceCandidate() local
124 EXPECT_TRUE(candidate->ToString(&sdp)); in OnIceCandidate()
126 SignalOnIceCandidateCreated(&sdp); in OnIceCandidate()
128 sdp); in OnIceCandidate()
139 std::string sdp; in OnSuccess() local
140 EXPECT_TRUE(desc->ToString(&sdp)); in OnSuccess()
143 << ": " << desc->type() << " sdp created: " << sdp; in OnSuccess()
146 SignalOnSdpCreated(&sdp); in OnSuccess()
148 SetLocalDescription(desc->type(), sdp); in OnSuccess()
150 SignalOnSdpReady(sdp); in OnSuccess()
[all …]
/external/u-boot/board/astro/mcf5373l/
Dmcf5373l.c32 sdram_t *sdp = (sdram_t *)(MMAP_SDRAM); in dram_init() local
42 &sdp->cs0); in dram_init()
44 &sdp->cs1); in dram_init()
50 __raw_writel(0x33211530, &sdp->cfg1); in dram_init()
51 __raw_writel(0x56570000, &sdp->cfg2); in dram_init()
53 __raw_writel(0xE1462C02, &sdp->ctrl); in dram_init()
56 __raw_writel(0xE1462C04, &sdp->ctrl); in dram_init()
58 __raw_writel(0xE1462C04, &sdp->ctrl); in dram_init()
60 __raw_writel(0x008D0000, &sdp->mode); in dram_init()
62 __raw_writel(0x80010000, &sdp->mode); in dram_init()
[all …]
/external/autotest/client/site_tests/video_WebRtcPeerConnectionWithCamera/
Dmunge_sdp.js13 function setSdpDefaultVideoCodec(sdp, codec) { argument
14 return setSdpDefaultCodec(sdp, 'video', codec);
23 function setSdpDefaultCodec(sdp, type, codec) { argument
24 var sdpLines = splitSdpLines(sdp);
30 'Missing a=rtpmap entry for |codec| = ' + codec + ' in ' + sdp);
48 function getSdpDefaultVideoCodec(sdp) { argument
49 return getSdpDefaultCodec(sdp, 'video');
58 function getSdpDefaultCodec(sdp, type) { argument
59 var sdpLines = splitSdpLines(sdp);
183 function splitSdpLines(sdp) { argument
[all …]
/external/webrtc/webrtc/tools/loopback_test/
Dloopback_test.js61 desc.sdp = desc.sdp.replace(/(m=video 1 [^\r]+)(116 117)(\r\n)/g,
63 desc.sdp = desc.sdp.replace(/a=rtpmap:116 red\/90000\r\n/g, '');
64 desc.sdp = desc.sdp.replace(/a=rtpmap:117 ulpfec\/90000\r\n/g, '');
78 desc.sdp = desc.sdp.replace(
178 trace("Offer: " + desc.sdp);
188 trace("Answer: " + desc.sdp);
/external/webrtc/webrtc/api/objc/
DRTCSessionDescription.mm22 @synthesize sdp = _sdp;
24 - (instancetype)initWithType:(RTCSdpType)type sdp:(NSString *)sdp {
25 NSParameterAssert(sdp.length);
28 _sdp = [sdp copy];
61 std::string sdp;
62 nativeDescription->ToString(&sdp);
66 sdp:[NSString stringForStdString:sdp]];
DRTCIceCandidate.mm21 @synthesize sdp = _sdp;
23 - (instancetype)initWithSdp:(NSString *)sdp
26 NSParameterAssert(sdp.length);
30 _sdp = [sdp copy];
47 std::string sdp;
48 candidate->ToString(&sdp);
50 return [self initWithSdp:[NSString stringForStdString:sdp]
DRTCSessionDescription.h31 @property(nonatomic, readonly) NSString *sdp;
36 - (instancetype)initWithType:(RTCSdpType)type sdp:(NSString *)sdp
/external/webrtc/talk/app/webrtc/objc/
DRTCICECandidate.mm38 @synthesize sdp = _sdp;
42 sdp:(NSString*)sdp {
43 if (!sdpMid || !sdp) {
50 _sdp = [sdp copy];
59 self.sdp];
68 std::string sdp;
69 if (candidate->ToString(&sdp)) {
72 _sdp = @(sdp.c_str());
83 [self.sdpMid UTF8String], self.sdpMLineIndex, [self.sdp UTF8String],
DRTCSessionDescription.mm39 - (id)initWithType:(NSString*)type sdp:(NSString*)sdp {
40 if (!type || !sdp) {
45 _description = sdp;
64 std::string sdp;
65 if (!sessionDescription->ToString(&sdp)) {
69 _description = @(sdp.c_str());
/external/webrtc/talk/app/webrtc/java/src/org/webrtc/
DIceCandidate.java37 public final String sdp; field in IceCandidate
39 public IceCandidate(String sdpMid, int sdpMLineIndex, String sdp) { in IceCandidate() argument
42 this.sdp = sdp; in IceCandidate()
46 return sdpMid + ":" + sdpMLineIndex + ":" + sdp; in toString()
/external/webrtc/talk/app/webrtc/
Djsepsessiondescription_unittest.cc114 std::string sdp; in Serialize() local
115 EXPECT_TRUE(desc->ToString(&sdp)); in Serialize()
116 EXPECT_FALSE(sdp.empty()); in Serialize()
117 return sdp; in Serialize()
120 SessionDescriptionInterface* DeSerialize(const std::string& sdp) { in DeSerialize() argument
122 EXPECT_TRUE(desc->Initialize(sdp, NULL)); in DeSerialize()
220 std::string sdp = Serialize(jsep_desc_.get()); in TEST_F() local
222 scoped_ptr<SessionDescriptionInterface> parsed_jsep_desc(DeSerialize(sdp)); in TEST_F()
226 EXPECT_EQ(sdp, parsed_sdp); in TEST_F()
232 std::string sdp = Serialize(jsep_desc_.get()); in TEST_F() local
[all …]
Dpeerconnectioninterface_unittest.cc305 void SetSsrcToZero(std::string* sdp) { in SetSsrcToZero() argument
309 while ((ssrc_pos = sdp->find(kSdpSsrcAtribute, ssrc_pos)) != in SetSsrcToZero()
311 size_t end_ssrc = sdp->find(" ", ssrc_pos); in SetSsrcToZero()
312 sdp->replace(ssrc_pos, end_ssrc - ssrc_pos, kSdpSsrcAtributeZero); in SetSsrcToZero()
473 std::string sdp; in OnIceCandidate() local
474 EXPECT_TRUE(candidate->ToString(&sdp)); in OnIceCandidate()
475 EXPECT_LT(0u, sdp.size()); in OnIceCandidate()
477 candidate->sdp_mline_index(), sdp, NULL)); in OnIceCandidate()
751 std::string sdp; in CreateOfferAsRemoteDescription() local
752 EXPECT_TRUE(offer->ToString(&sdp)); in CreateOfferAsRemoteDescription()
[all …]
Djsepicecandidate.cc39 const std::string& sdp, in CreateIceCandidate()
42 if (!jsep_ice->Initialize(sdp, error)) { in CreateIceCandidate()
66 bool JsepIceCandidate::Initialize(const std::string& sdp, SdpParseError* err) { in Initialize() argument
67 return SdpDeserializeCandidate(sdp, this, err); in Initialize()
Dwebrtcsession_unittest.cc653 void VerifyCryptoParams(const cricket::SessionDescription* sdp) { in VerifyCryptoParams() argument
655 const cricket::ContentInfo* content = cricket::GetFirstAudioContent(sdp); in VerifyCryptoParams()
668 content = cricket::GetFirstVideoContent(sdp); in VerifyCryptoParams()
682 void VerifyNoCryptoParams(const cricket::SessionDescription* sdp, bool dtls) { in VerifyNoCryptoParams() argument
683 const cricket::ContentInfo* content = cricket::GetFirstAudioContent(sdp); in VerifyNoCryptoParams()
691 content = cricket::GetFirstVideoContent(sdp); in VerifyNoCryptoParams()
724 void VerifyFingerprintStatus(const cricket::SessionDescription* sdp, in VerifyFingerprintStatus() argument
726 const TransportInfo* audio = sdp->GetTransportInfoByName("audio"); in VerifyFingerprintStatus()
729 const TransportInfo* video = sdp->GetTransportInfoByName("video"); in VerifyFingerprintStatus()
814 std::string *sdp) { in RemoveIceUfragPwdLines() argument
[all …]
/external/webrtc/webrtc/api/objctests/
DRTCIceCandidateTest.mm27 NSString *sdp = @"candidate:4025901590 1 udp 2122265343 "
31 RTCIceCandidate *candidate = [[RTCIceCandidate alloc] initWithSdp:sdp
42 EXPECT_EQ(sdp.stdString, sdpString);
46 std::string sdp("candidate:4025901590 1 udp 2122265343 "
50 webrtc::CreateIceCandidate("audio", 0, sdp, nullptr);
57 EXPECT_EQ(sdp, iceCandidate.sdp.stdString);
DRTCSessionDescriptionTest.mm33 sdp:[self sdp]];
41 std::string sdp;
42 nativeDescription->ToString(&sdp);
43 EXPECT_EQ([self sdp].stdString, sdp);
51 [self sdp].stdString,
59 EXPECT_TRUE([[self sdp] isEqualToString:description.sdp]);
62 - (NSString *)sdp { method
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/
DWebSocketRTCClient.java185 public void sendOfferSdp(final SessionDescription sdp) { in sendOfferSdp() argument
194 jsonPut(json, "sdp", sdp.description); in sendOfferSdp()
201 sdp.description); in sendOfferSdp()
210 public void sendAnswerSdp(final SessionDescription sdp) { in sendAnswerSdp() argument
219 jsonPut(json, "sdp", sdp.description); in sendAnswerSdp()
236 jsonPut(json, "candidate", candidate.sdp); in sendLocalIceCandidate()
280 SessionDescription sdp = new SessionDescription( in onWebSocketMessage() local
283 events.onRemoteDescription(sdp); in onWebSocketMessage()
289 SessionDescription sdp = new SessionDescription( in onWebSocketMessage() local
292 events.onRemoteDescription(sdp); in onWebSocketMessage()
/external/webrtc/webrtc/examples/peerconnection/client/
Dconductor.cc188 std::string sdp; in OnIceCandidate() local
189 if (!candidate->ToString(&sdp)) { in OnIceCandidate()
193 jmessage[kCandidateSdpName] = sdp; in OnIceCandidate()
276 std::string sdp; in OnMessageFromPeer() local
278 &sdp)) { in OnMessageFromPeer()
284 webrtc::CreateSessionDescription(type, sdp, &error)); in OnMessageFromPeer()
301 std::string sdp; in OnMessageFromPeer() local
306 !rtc::GetStringFromJsonObject(jmessage, kCandidateSdpName, &sdp)) { in OnMessageFromPeer()
312 webrtc::CreateIceCandidate(sdp_mid, sdp_mlineindex, sdp, &error)); in OnMessageFromPeer()
513 std::string sdp; in OnSuccess() local
[all …]
/external/u-boot/board/cobra5272/
Dcobra5272.c21 volatile sdramctrl_t *sdp = (sdramctrl_t *) (MMAP_SDRAM); in dram_init() local
23 sdp->sdram_sdtr = 0xf539; in dram_init()
24 sdp->sdram_sdcr = 0x4211; in dram_init()
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
DRTCSessionDescription+JSON.m14 static NSString const *kRTCSessionDescriptionSdpKey = @"sdp";
21 NSString *sdp = dictionary[kRTCSessionDescriptionSdpKey];
22 return [[RTCSessionDescription alloc] initWithType:type sdp:sdp];
/external/u-boot/board/freescale/m5272c3/
Dm5272c3.c23 sdramctrl_t * sdp = (sdramctrl_t *)(MMAP_SDRAM); in dram_init() local
25 out_be16(&sdp->sdram_sdtr, 0xf539); in dram_init()
26 out_be16(&sdp->sdram_sdcr, 0x4211); in dram_init()
/external/webrtc/talk/app/webrtc/objc/public/
DRTCICECandidate.h43 @property(nonatomic, copy, readonly) NSString* sdp;
48 sdp:(NSString*)sdp;

123