Home
last modified time | relevance | path

Searched refs:AString (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/media/libstagefright/foundation/
DAString.cpp29 const char *AString::kEmptyString = "";
31 AString::AString() in AString() function in android::AString
37 AString::AString(const char *s) in AString() function in android::AString
44 AString::AString(const char *s, size_t size) in AString() function in android::AString
51 AString::AString(const AString &from) in AString() function in android::AString
58 AString::AString(const AString &from, size_t offset, size_t n) in AString() function in android::AString
65 AString::~AString() { in ~AString()
69 AString &AString::operator=(const AString &from) { in operator =()
77 size_t AString::size() const { in size()
81 const char *AString::c_str() const { in c_str()
[all …]
DAAtomizer.cpp33 mAtoms.push(List<AString>()); in AAtomizer()
42 List<AString> &entry = mAtoms.editItemAt(index); in atomize()
43 List<AString>::iterator it = entry.begin(); in atomize()
51 entry.push_back(AString(name)); in atomize()
DAMessage.cpp157 item->u.stringValue = new AString(s, len < 0 ? strlen(s) : len); in BASIC_TYPE()
188 bool AMessage::findString(const char *name, AString *value) const { in findString()
271 new AString(*from->u.stringValue); in dup()
303 static void appendIndent(AString *s, int32_t indent) { in appendIndent()
320 AString AMessage::debugString(int32_t indent) const { in debugString()
321 AString s = "AMessage(what = "; in debugString()
323 AString tmp; in debugString()
459 item->u.stringValue = new AString(parcel.readCString()); in FromParcel()
/frameworks/base/include/media/stagefright/foundation/
DAString.h25 struct AString { struct
26 AString();
27 AString(const char *s);
28 AString(const char *s, size_t size);
29 AString(const AString &from);
30 AString(const AString &from, size_t offset, size_t n);
31 ~AString();
33 AString &operator=(const AString &from); argument
36 void setTo(const AString &from, size_t offset, size_t n);
50 void append(const AString &from); argument
[all …]
Dbase64.h26 struct AString;
28 sp<ABuffer> decodeBase64(const AString &s);
29 void encodeBase64(const void *data, size_t size, AString *out);
DADebug.h41 AString Compare_##suffix(const A &a, const B &b) { \
42 AString res; \
60 AString ___res = Compare_##suffix(x, y); \
62 AString ___full = \
DAMessage.h28 struct AString;
65 bool findString(const char *name, AString *value) const;
91 AString debugString(int32_t indent = 0) const;
126 AString *stringValue;
/frameworks/base/media/libstagefright/rtsp/
DARTSPConnection.h30 AString mStatusLine;
31 KeyedVector<AString,AString> mHeaders;
46 const char *url, AString *host, unsigned *port, AString *path,
47 AString *user, AString *pass);
80 AString mUser, mPass;
82 AString mNonce;
92 AString mUserAgent;
106 bool receiveLine(AString *line);
111 void addAuthentication(AString *request);
113 void addUserAgent(AString *request) const;
[all …]
DASessionDescription.h30 struct AString;
41 void getFormat(size_t index, AString *value) const;
45 AString *desc, AString *params) const;
56 bool findAttribute(size_t index, const char *key, AString *value) const;
70 typedef KeyedVector<AString,AString> Attribs;
74 Vector<AString> mFormats;
DASessionDescription.cpp53 mFormats.push(AString("[root]")); in parse()
55 AString desc((const char *)data, size); in parse()
65 AString line; in parse()
97 AString key, value; in parse()
132 AString(line, 2, line.size() - 2).c_str()); in parse()
135 mFormats.push(AString(line, 2, line.size() - 2)); in parse()
141 AString key, value; in parse()
145 key = AString(line, 0, equalPos + 1); in parse()
146 value = AString(line, equalPos + 1, line.size() - equalPos - 1); in parse()
172 void ASessionDescription::getFormat(size_t index, AString *value) const { in getFormat()
[all …]
DARTSPConnection.cpp130 const char *url, AString *host, unsigned *port, AString *path, in ParseURL()
131 AString *user, AString *pass) { in ParseURL()
157 AString userPass(*host, 0, atPos); in ParseURL()
219 AString url; in onConnect()
225 AString host, path; in onConnect()
400 AString request; in onSendRequest()
416 AString cseqHeader = "CSeq: "; in onSendRequest()
534 bool ARTSPConnection::receiveLine(AString *line) { in receiveLine()
576 static bool IsRTSPVersion(const AString &s) { in IsRTSPVersion()
581 AString statusLine; in receiveRTSPReponse()
[all …]
DMyHandler.h55 static void MakeUserAgentString(AString *s) { in MakeUserAgentString()
68 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute()
129 AString host, path, user, pass; in mUIDValid()
220 AString cname = "stagefright@"; in addSDES()
229 AString tool; in addSDES()
261 bool pokeAHole(int rtpSocket, int rtcpSocket, const AString &transport) { in pokeAHole()
266 AString source; in pokeAHole()
267 AString server_port; in pokeAHole()
365 AString request; in onMessageReceived()
412 AString request; in onMessageReceived()
[all …]
DMyTransmitter.h52 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute()
152 AString sdp; in issueAnnounce()
217 AString request; in issueAnnounce()
236 void H(const AString &s, AString *out) { in H()
269 AString value = response->mHeaders.valueAt(i); in authenticate()
290 AString *request, const char *method, const char *url) { in addAuthentication()
302 AString A1; in addAuthentication()
309 AString A2; in addAuthentication()
314 AString HA1, HA2; in addAuthentication()
318 AString tmp; in addAuthentication()
[all …]
DAMPEG4ElementaryAssembler.h35 const sp<AMessage> &notify, const AString &desc,
36 const AString &params);
48 AString mParams;
DARTPWriter.h83 AString mProfileLevel;
84 AString mSeqParamSet;
85 AString mPicParamSet;
DAAMRAssembler.h30 struct AString;
35 const AString &params);
DAPacketSource.cpp44 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute()
72 static sp<ABuffer> decodeHex(const AString &s) { in decodeHex()
112 AString val; in MakeAVCCodecSpecificData()
137 AString nalString(val, start, end - start); in MakeAVCCodecSpecificData()
219 AString val; in MakeAACCodecSpecificData()
257 AString val; in MakeAACCodecSpecificData2()
364 AString val; in MakeMPEG4VideoCodecSpecificData()
405 static bool GetClockRate(const AString &desc, uint32_t *clockRate) { in GetClockRate()
436 AString desc; in APacketSource()
437 AString params; in APacketSource()
[all …]
DARawAudioAssembler.h26 struct AString;
32 const char *desc, const AString &params);
DAMPEG4AudioAssembler.h30 struct AString;
34 const sp<AMessage> &notify, const AString &params);
DAMPEG4ElementaryAssembler.cpp37 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute()
70 AString val; in GetIntegerAttribute()
90 const sp<AMessage> &notify, const AString &desc, const AString &params) in AMPEG4ElementaryAssembler()
110 AString value; in AMPEG4ElementaryAssembler()
DAAMRAssembler.cpp33 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute()
62 const sp<AMessage> &notify, bool isWide, const AString &params) in AAMRAssembler()
67 AString value; in AAMRAssembler()
/frameworks/base/media/libstagefright/include/
DM3UParser.h40 bool itemAt(size_t index, AString *uri, sp<AMessage> *meta = NULL);
47 AString mURI;
53 AString mBaseURI;
64 const AString &line, sp<AMessage> *meta, const char *key);
67 const AString &line, sp<AMessage> *meta, const char *key);
70 const AString &line, sp<AMessage> *meta);
73 const AString &line, sp<AMessage> *meta, const AString &baseURI);
DLiveSession.h73 AString mURI;
85 AString mMasterURL;
90 KeyedVector<AString, sp<ABuffer> > mAESKeyForURI;
/frameworks/base/media/libstagefright/httplive/
DM3UParser.cpp66 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { in itemAt()
90 static bool MakeURL(const char *baseURL, const char *url, AString *out) { in MakeURL()
164 AString line; in parse()
256 const AString &line, sp<AMessage> *meta, const char *key) { in parseMetaData()
280 const AString &line, sp<AMessage> *meta, const char *key) { in parseMetaDataDuration()
304 const AString &line, sp<AMessage> *meta) { in parseStreamInf()
319 AString attr(line, offset, end - offset); in parseStreamInf()
329 AString key(attr, 0, equalPos); in parseStreamInf()
332 AString val(attr, equalPos + 1, attr.size() - equalPos - 1); in parseStreamInf()
361 const AString &line, char what, size_t offset) { in FindNextUnquoted()
[all …]
/frameworks/base/media/libstagefright/timedtext/
DTimedTextParser.h39 status_t getText(AString *text, int64_t *startTimeUs, int64_t *endTimeUs,
65 status_t readNextLine(off64_t *offset, AString *data);

123