Home
last modified time | relevance | path

Searched refs:AString (Results 1 – 25 of 156) 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.cpp37 constexpr const char *AString::kEmptyString;
39 AString::AString() in AString() function in android::AString
45 AString::AString(const char *s) in AString() function in android::AString
57 AString::AString(const char *s, size_t size) in AString() function in android::AString
69 AString::AString(const String8 &from) in AString() function in android::AString
76 AString::AString(const AString &from) in AString() function in android::AString
83 AString::AString(const AString &from, size_t offset, size_t n) in AString() function in android::AString
90 AString::~AString() { in ~AString()
94 AString &AString::operator=(const AString &from) { in operator =()
102 size_t AString::size() const { in size()
[all …]
DFoundationUtils.cpp31 AString uriDebugString(const AString &uri, bool incognito) { in uriDebugString()
33 return AString("<URI suppressed>"); in uriDebugString()
41 AString scheme; in uriDebugString()
57 scheme = AString(uri, 0, i); in uriDebugString()
61 return AString("<no-scheme URI suppressed>"); in uriDebugString()
64 AString MakeUserAgent() { in MakeUserAgent()
65 AString ua; in MakeUserAgent()
80 AString nameForFd(int fd) { in nameForFd()
83 AString result; in nameForFd()
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()
/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;
107 void setString(const char *name, const AString &s);
124 bool findString(const char *name, AString *value) const;
173 AString debugString(int32_t indent = 0) const;
200 int32_t, int64_t, size_t, float, double, Rect, AString,
287 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.cpp61 bool getActiveURI(AString *uri, const char *baseURL) const;
76 AString mName;
77 AString mURI;
78 AString mLanguage;
80 AString makeURL(const char *baseURL) const;
233 bool M3UParser::MediaGroup::getActiveURI(AString *uri, const char *baseURL) const { in getActiveURI()
317 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { in itemAt()
419 bool M3UParser::getTypeURI(size_t index, const char *key, AString *uri) const { in getTypeURI()
434 AString groupID; in getTypeURI()
440 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/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;
85 AString mRealm;
109 bool receiveLine(AString *line);
114 void addAuthentication(AString *request);
[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.cpp46 const AString ARTSPConnection::sUserAgent =
135 const char *url, AString *host, unsigned *port, AString *path, in ParseURL()
136 AString *user, AString *pass) { in ParseURL()
162 AString userPass(*host, 0, atPos); in ParseURL()
230 AString url; in onConnect()
236 AString host, path; in onConnect()
421 AString request; in onSendRequest()
437 AString cseqHeader = "CSeq: "; in onSendRequest()
563 bool ARTSPConnection::receiveLine(AString *line) { in receiveLine()
608 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.h83 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute()
164 AString host, path, user, pass; in mNotify()
206 AString getControlURL() { in getControlURL()
207 AString sessionLevelControlURL; in getControlURL()
215 AString controlURL; in getControlURL()
294 AString cname = "stagefright@"; in addSDES()
303 AString tool = MakeUserAgent(); in addSDES()
336 bool pokeAHole(int rtpSocket, int rtcpSocket, const AString &transport) { in pokeAHole()
341 AString source; in pokeAHole()
342 AString server_port; in pokeAHole()
[all …]
DAMPEG4ElementaryAssembler.h37 const sp<AMessage> &notify, const AString &desc,
38 const AString &params);
50 AString mParams;
/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/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/libstagefright/include/media/stagefright/
DFoundationUtils.h25 AString MakeUserAgent();
27 AString uriDebugString(const AString &uri, bool incognito = false);
29 AString nameForFd(int fd);
DMediaCodec.h38 struct AString;
84 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL,
88 const sp<ALooper> &looper, const AString &name, status_t *err = NULL,
138 AString *errorDetailMsg = NULL);
151 AString *errorDetailMsg = NULL);
188 status_t getName(AString *componentName) const;
322 AString mComponentName;
323 AString mOwnerName;
352 AString mInitName;
388 static sp<CodecBase> GetCodecBase(const AString &name, const char *owner = nullptr);
[all …]
/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()

1234567