Home
last modified time | relevance | path

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

1234567

/frameworks/av/media/libstagefright/foundation/tests/
DBase64_test.cpp37 void verifyDecode(const AString* expected, const AString* in) { in verifyDecode()
52 sp<ABuffer> result = decodeBase64(AString(paddedText.string())); in verifyDecode()
60 void verifyEncode(const AString* expected, const AString* in) { in verifyEncode()
65 AString out = AString(""); in verifyEncode()
75 const AString base64[] = { in TEST_F()
76 AString("SGVsbG8gRnJpZW5kIQ"), in TEST_F()
77 AString("R29vZCBkYXkh"), in TEST_F()
78 AString("") // string to signal end of array in TEST_F()
81 const AString clearText[] = { in TEST_F()
82 AString("Hello Friend!"), in TEST_F()
[all …]
/frameworks/av/media/libstagefright/foundation/
DAString.cpp34 constexpr const char *AString::kEmptyString;
36 AString::AString() in AString() function in android::AString
42 AString::AString(const char *s) in AString() function in android::AString
54 AString::AString(const char *s, size_t size) in AString() function in android::AString
66 AString::AString(const String8 &from) in AString() function in android::AString
73 AString::AString(const AString &from) in AString() function in android::AString
80 AString::AString(const AString &from, size_t offset, size_t n) in AString() function in android::AString
87 AString::~AString() { in ~AString()
91 AString &AString::operator=(const AString &from) { in operator =()
99 size_t AString::size() const { in size()
[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()
Dhexdump.cpp32 static void appendIndent(AString *s, int32_t indent) { in appendIndent()
42 void hexdump(const void *_data, size_t size, size_t indent, AString *appendTo) { in hexdump()
47 AString line; in hexdump()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAString.h29 struct AString { struct
30 AString();
31 AString(const char *s); // NOLINT, implicit conversion
32 AString(const char *s, size_t size);
33 AString(const String8 &from); // NOLINT, implicit conversion
34 AString(const AString &from);
35 AString(const AString &from, size_t offset, size_t n);
36 ~AString();
38 AString &operator=(const AString &from); argument
41 void setTo(const AString &from, size_t offset, size_t n);
[all …]
Dbase64.h26 struct AString;
28 sp<ABuffer> decodeBase64(const AString &s);
32 void encodeBase64(const void *data, size_t size, AString *out);
34 void encodeBase64Url(const void *data, size_t size, AString *out);
DAMessage.h31 struct AString;
105 void setString(const char *name, const AString &s);
122 bool findString(const char *name, AString *value) const;
171 AString debugString(int32_t indent = 0) const;
198 int32_t, int64_t, size_t, float, double, Rect, AString,
285 AString *stringValue;
/frameworks/av/media/libstagefright/
DMediaCodecListOverrides.cpp36 AString getProfilingVersionString() { in getProfilingVersionString()
51 AString sizeRange; in getMeasureSize()
55 AString minSize; in getMeasureSize()
56 AString maxSize; in getMeasureSize()
60 AString sWidth; in getMeasureSize()
61 AString sHeight; in getMeasureSize()
77 AString bitrateRange; in getMeasureBitrate()
81 AString minBitrate; in getMeasureBitrate()
82 AString maxBitrate; in getMeasureBitrate()
91 bool isEncoder, const AString &mime, const sp<MediaCodecInfo::Capabilities> &caps) { in getMeasureFormat()
[all …]
DMediaCodecListOverrides.h32 AString getProfilingVersionString();
34 bool splitString(const AString &s, const AString &delimiter, AString *s1, AString *s2);
44 KeyedVector<AString, CodecSettings> *encoder_results,
45 KeyedVector<AString, CodecSettings> *decoder_results,
51 const KeyedVector<AString, CodecSettings>& encoder_results,
52 const KeyedVector<AString, CodecSettings>& decoder_results);
DMediaCodecList.cpp66 AString currentVersion = getProfilingVersionString(); in isProfilingNeeded()
291 Vector<AString> aliases; in findCodecByName()
297 for (const AString &alias : aliases) { in findCodecByName()
316 bool MediaCodecList::isSoftwareCodec(const AString &componentName) { in isSoftwareCodec()
323 static int compareSoftwareCodecsFirst(const AString *name1, const AString *name2) { in compareSoftwareCodecsFirst()
347 Vector<AString> *matches) { in findMatchingCodecs()
368 AString componentName = info->getCodecName(); in findMatchingCodecs()
/frameworks/av/media/libstagefright/httplive/
DM3UParser.h46 bool itemAt(size_t index, AString *uri, sp<AMessage> *meta = NULL);
55 bool getTypeURI(size_t index, const char *key, AString *uri) const;
65 AString mURI;
67 AString makeURL(const char *baseURL) const;
72 AString mBaseURI;
88 KeyedVector<AString, sp<MediaGroup> > mMediaGroups;
93 const AString &line, sp<AMessage> *meta, const char *key);
96 const AString &line, sp<AMessage> *meta, const char *key);
99 const AString &line, sp<AMessage> *meta) const;
102 const AString &line, sp<AMessage> *meta, const AString &baseURI);
[all …]
DM3UParser.cpp60 bool getActiveURI(AString *uri, const char *baseURL) const;
75 AString mName;
76 AString mURI;
77 AString mLanguage;
79 AString makeURL(const char *baseURL) const;
232 bool M3UParser::MediaGroup::getActiveURI(AString *uri, const char *baseURL) const { in getActiveURI()
316 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { in itemAt()
418 bool M3UParser::getTypeURI(size_t index, const char *key, AString *uri) const { in getTypeURI()
433 AString groupID; in getTypeURI()
439 AString codecs; in getTypeURI()
[all …]
DLiveSession.h163 AString mUri, mNewUri;
180 AString uriKey() { in uriKey()
181 AString key(mType); in uriKey()
199 AString mMasterURL;
213 KeyedVector<AString, FetcherInfo> mFetcherInfos;
262 bool UriIsSameAsIndex( const AString &uri, int32_t index, bool newUri);
268 const AString &uri, uint32_t streamMask,
290 void tryToFinishBandwidthSwitch(const AString &oldUri);
/frameworks/av/media/libstagefright/tests/
DMediaCodecListOverrides_test.cpp68 const AString &key, in addMaxInstancesSetting()
69 const AString &value, in addMaxInstancesSetting()
70 KeyedVector<AString, CodecSettings> *results) { in addMaxInstancesSetting() argument
76 void verifyProfileResults(const KeyedVector<AString, CodecSettings> &results) { in verifyProfileResults() argument
79 const AString &key = results.keyAt(i); in verifyProfileResults()
83 const AString &valueS = settings.valueAt(0); in verifyProfileResults()
94 KeyedVector<AString, CodecSettings> eR; in exportTestResultsToXML()
97 KeyedVector<AString, CodecSettings> dR; in exportTestResultsToXML()
108 AString s = "abc123"; in TEST_F()
109 AString delimiter = " "; in TEST_F()
[all …]
/frameworks/av/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);
77 static const AString sUserAgent;
82 AString mUser, mPass;
84 AString mNonce;
108 bool receiveLine(AString *line);
113 void addAuthentication(AString *request);
115 void addUserAgent(AString *request) const;
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.cpp45 const AString ARTSPConnection::sUserAgent =
134 const char *url, AString *host, unsigned *port, AString *path, in ParseURL()
135 AString *user, AString *pass) { in ParseURL()
161 AString userPass(*host, 0, atPos); in ParseURL()
229 AString url; in onConnect()
235 AString host, path; in onConnect()
419 AString request; in onSendRequest()
435 AString cseqHeader = "CSeq: "; in onSendRequest()
561 bool ARTSPConnection::receiveLine(AString *line) { in receiveLine()
606 static bool IsRTSPVersion(const AString &s) { in IsRTSPVersion()
[all …]
DMyTransmitter.h53 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute()
155 AString sdp; in issueAnnounce()
220 AString request; in issueAnnounce()
239 void H(const AString &s, AString *out) { in H()
272 AString value = response->mHeaders.valueAt(i); in authenticate()
293 AString *request, const char *method, const char *url) { in addAuthentication()
305 AString A1; in addAuthentication()
312 AString A2; in addAuthentication()
317 AString HA1, HA2; in addAuthentication()
321 AString tmp; in addAuthentication()
[all …]
DMyHandler.h82 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute()
163 AString host, path, user, pass; in mNotify()
205 AString getControlURL() { in getControlURL()
206 AString sessionLevelControlURL; in getControlURL()
214 AString controlURL; in getControlURL()
293 AString cname = "stagefright@"; in addSDES()
302 AString tool = MakeUserAgent(); in addSDES()
335 bool pokeAHole(int rtpSocket, int rtcpSocket, const AString &transport) { in pokeAHole()
340 AString source; in pokeAHole()
341 AString server_port; in pokeAHole()
[all …]
DAMPEG4ElementaryAssembler.h37 const sp<AMessage> &notify, const AString &desc,
38 const AString &params);
50 AString mParams;
/frameworks/av/include/media/
DMediaCodecInfo.h40 typedef KeyedVector<AString, AString> CodecSettings;
193 void getSupportedMediaTypes(Vector<AString> *mediaTypes) const;
207 void getAliases(Vector<AString> *aliases) const;
232 AString mName;
233 AString mOwner;
235 KeyedVector<AString, sp<Capabilities> > mCaps;
236 Vector<AString> mAliases;
/frameworks/av/media/libmedia/include/media/
DMediaCodecInfo.h40 typedef KeyedVector<AString, AString> CodecSettings;
193 void getSupportedMediaTypes(Vector<AString> *mediaTypes) const;
207 void getAliases(Vector<AString> *aliases) const;
232 AString mName;
233 AString mOwner;
235 KeyedVector<AString, sp<Capabilities> > mCaps;
236 Vector<AString> mAliases;
/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp153 void MediaCodecInfo::getAliases(Vector<AString> *aliases) const { in getAliases()
157 void MediaCodecInfo::getSupportedMediaTypes(Vector<AString> *mediaTypes) const { in getSupportedMediaTypes()
183 AString name = AString::FromParcel(parcel); in FromParcel()
184 AString owner = AString::FromParcel(parcel); in FromParcel()
194 AString alias = AString::FromParcel(parcel); in FromParcel()
199 AString mediaType = AString::FromParcel(parcel); in FromParcel()
216 for (const AString &alias : mAliases) { in writeToParcel()
273 mInfo->mCaps.add(AString(mediaType), caps); in addMediaType()
/frameworks/av/media/libstagefright/include/media/stagefright/
DUtils.h44 AString MakeUserAgent();
63 AString uriDebugString(const AString &uri, bool incognito = false);
88 AString nameForFd(int fd);

1234567