Home
last modified time | relevance | path

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

123456

/frameworks/av/media/libstagefright/foundation/
DAString.cpp31 const char *AString::kEmptyString = "";
33 AString::AString() in AString() function in android::AString
39 AString::AString(const char *s) in AString() function in android::AString
46 AString::AString(const char *s, size_t size) in AString() function in android::AString
53 AString::AString(const String8 &from) in AString() function in android::AString
60 AString::AString(const AString &from) in AString() function in android::AString
67 AString::AString(const AString &from, size_t offset, size_t n) in AString() function in android::AString
74 AString::~AString() { in ~AString()
78 AString &AString::operator=(const AString &from) { in operator =()
86 size_t AString::size() const { in size()
[all …]
DParsedMessage.cpp47 bool ParsedMessage::findString(const char *name, AString *value) const { in findString()
48 AString key = name; in findString()
64 AString stringValue; in findInt32()
106 AString line(&data[offset], lineEndOffset - offset); in parse()
111 mDict.add(AString("_"), line); in parse()
131 AString &value = mDict.editValueAt(lastDictIndex); in parse()
141 AString key(line, 0, colonPos); in parse()
180 bool ParsedMessage::getRequestField(size_t index, AString *field) const { in getRequestField()
181 AString line; in getRequestField()
207 AString statusCodeString; in getStatusCode()
[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()
/frameworks/av/include/media/stagefright/foundation/
DAString.h29 struct AString { struct
30 AString();
31 AString(const char *s);
32 AString(const char *s, size_t size);
33 AString(const String8 &from);
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 …]
DParsedMessage.h30 bool findString(const char *name, AString *value) const;
35 bool getRequestField(size_t index, AString *field) const;
38 AString debugString() const;
40 static bool GetAttribute(const char *s, const char *key, AString *value);
50 KeyedVector<AString, AString> mDict;
51 AString mContent;
Dbase64.h26 struct AString;
28 sp<ABuffer> decodeBase64(const AString &s);
29 void encodeBase64(const void *data, size_t size, AString *out);
/frameworks/av/media/libstagefright/
DMediaCodecListOverrides.cpp38 AString getProfilingVersionString() { in getProfilingVersionString()
53 AString sizeRange; in getMeasureSize()
57 AString minSize; in getMeasureSize()
58 AString maxSize; in getMeasureSize()
62 AString sWidth; in getMeasureSize()
63 AString sHeight; in getMeasureSize()
79 AString bitrateRange; in getMeasureBitrate()
83 AString minBitrate; in getMeasureBitrate()
84 AString maxBitrate; in getMeasureBitrate()
93 bool isEncoder, AString mime, sp<MediaCodecInfo::Capabilities> caps) { in getMeasureFormat()
[all …]
DMediaCodecListOverrides.h34 AString getProfilingVersionString();
36 bool splitString(const AString &s, const AString &delimiter, AString *s1, AString *s2);
45 KeyedVector<AString, CodecSettings> *encoder_results,
46 KeyedVector<AString, CodecSettings> *decoder_results,
52 const KeyedVector<AString, CodecSettings>& encoder_results,
53 const KeyedVector<AString, CodecSettings>& decoder_results);
DMediaCodecList.cpp69 AString currentVersion = getProfilingVersionString(); in isProfilingNeeded()
187 mHrefBase = AString(codecs_xml, href_base_end - codecs_xml + 1); in parseTopLevelXMLFile()
213 AString value; in parseTopLevelXMLFile()
249 AString mime = info.mCaps.keyAt(type_ix); in parseTopLevelXMLFile()
258 AString nice; in parseTopLevelXMLFile()
270 AString nice; in parseTopLevelXMLFile()
284 AString quirks; in parseTopLevelXMLFile()
302 AString line = info.mName; in parseTopLevelXMLFile()
415 AString filename = href; in includeXMLFile()
651 if (AString(name) == mCodecInfos[i]->getCodecName()) { in setCurrentCodecInfo()
[all …]
/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;
71 AString mBaseURI;
87 KeyedVector<AString, sp<MediaGroup> > mMediaGroups;
92 const AString &line, sp<AMessage> *meta, const char *key);
95 const AString &line, sp<AMessage> *meta, const char *key);
98 const AString &line, sp<AMessage> *meta) const;
101 const AString &line, sp<AMessage> *meta, const AString &baseURI);
104 const AString &line, uint64_t curOffset,
[all …]
DM3UParser.cpp59 bool getActiveURI(AString *uri) const;
74 AString mName;
75 AString mURI;
76 AString mLanguage;
230 bool M3UParser::MediaGroup::getActiveURI(AString *uri) const { in getActiveURI()
310 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { in itemAt()
412 bool M3UParser::getTypeURI(size_t index, const char *key, AString *uri) const { in getTypeURI()
427 AString groupID; in getTypeURI()
433 AString codecs; in getTypeURI()
444 AString codec(codecs, offset, commaPos - offset); in getTypeURI()
[all …]
DLiveSession.h161 AString mUri, mNewUri;
178 AString uriKey() { in uriKey()
179 AString key(mType); in uriKey()
197 AString mMasterURL;
211 KeyedVector<AString, FetcherInfo> mFetcherInfos;
260 bool UriIsSameAsIndex( const AString &uri, int32_t index, bool newUri);
266 const AString &uri, uint32_t streamMask,
288 void tryToFinishBandwidthSwitch(const AString &oldUri);
/frameworks/av/media/libstagefright/tests/
DMediaCodecListOverrides_test.cpp66 const AString &key, in addMaxInstancesSetting()
67 const AString &value, in addMaxInstancesSetting()
68 KeyedVector<AString, CodecSettings> *results) { in addMaxInstancesSetting() argument
74 void verifyProfileResults(const KeyedVector<AString, CodecSettings> &results) { in verifyProfileResults() argument
77 AString key = results.keyAt(i); in verifyProfileResults()
81 AString valueS = settings.valueAt(0); in verifyProfileResults()
92 KeyedVector<AString, CodecSettings> eR; in exportTestResultsToXML()
95 KeyedVector<AString, CodecSettings> dR; in exportTestResultsToXML()
106 AString s = "abc123"; in TEST_F()
107 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.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 …]
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;
DARTSPConnection.cpp44 const AString ARTSPConnection::sUserAgent =
133 const char *url, AString *host, unsigned *port, AString *path, in ParseURL()
134 AString *user, AString *pass) { in ParseURL()
160 AString userPass(*host, 0, atPos); in ParseURL()
228 AString url; in onConnect()
234 AString host, path; in onConnect()
418 AString request; in onSendRequest()
434 AString cseqHeader = "CSeq: "; in onSendRequest()
560 bool ARTSPConnection::receiveLine(AString *line) { in receiveLine()
605 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.h73 static bool GetAttribute(const char *s, const char *key, AString *value) { in GetAttribute()
154 AString host, path, user, pass; in mNotify()
196 AString getControlURL() { in getControlURL()
197 AString sessionLevelControlURL; in getControlURL()
205 AString controlURL; in getControlURL()
284 AString cname = "stagefright@"; in addSDES()
293 AString tool = MakeUserAgent(); in addSDES()
324 bool pokeAHole(int rtpSocket, int rtcpSocket, const AString &transport) { in pokeAHole()
329 AString source; in pokeAHole()
330 AString server_port; in pokeAHole()
[all …]
/frameworks/av/include/media/
DMediaCodecInfo.h37 typedef KeyedVector<AString, AString> CodecSettings;
90 void getSupportedMimes(Vector<AString> *mimes) const;
103 AString mName;
107 Vector<AString> mQuirks;
108 KeyedVector<AString, sp<Capabilities> > mCaps;
125 MediaCodecInfo(AString name, bool encoder, const char *mime);
131 void addDetail(const AString &key, const AString &value);
132 void addFeature(const AString &key, int32_t value);
133 void addFeature(const AString &key, const char *value);
/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp132 void MediaCodecInfo::getSupportedMimes(Vector<AString> *mimes) const { in getSupportedMimes()
154 AString name = AString::FromParcel(parcel); in FromParcel()
159 AString quirk = AString::FromParcel(parcel); in FromParcel()
166 AString mime = AString::FromParcel(parcel); in FromParcel()
201 MediaCodecInfo::MediaCodecInfo(AString name, bool encoder, const char *mime) in MediaCodecInfo()
221 mCaps.add(AString(mime), mCurrentCaps); in addMime()
267 void MediaCodecInfo::addDetail(const AString &key, const AString &value) { in addDetail()
271 void MediaCodecInfo::addFeature(const AString &key, int32_t value) { in addFeature()
272 AString tag = "feature-"; in addFeature()
277 void MediaCodecInfo::addFeature(const AString &key, const char *value) { in addFeature()
[all …]
/frameworks/av/include/media/stagefright/
DMediaCodec.h34 struct AString;
68 const sp<ALooper> &looper, const AString &mime, bool encoder, status_t *err = NULL,
72 const sp<ALooper> &looper, const AString &name, status_t *err = NULL,
79 const AString &name, const AString &mime, bool isEncoder,
118 AString *errorDetailMsg = NULL);
131 AString *errorDetailMsg = NULL);
170 status_t getName(AString *componentName) const;
295 AString mComponentName;
318 AString mInitName;
351 static sp<CodecBase> GetCodecBase(const AString &name, bool nameIsType = false);
[all …]
/frameworks/av/media/libstagefright/wifi-display/source/
DWifiDisplaySource.cpp50 const AString WifiDisplaySource::sUserAgent = MakeUserAgent();
146 AString iface; in onMessageReceived()
203 AString detail; in onMessageReceived()
570 AString request = "OPTIONS * RTSP/1.0\r\n"; in sendM1()
593 AString body = in sendM3()
599 AString request = "GET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0\r\n"; in sendM3()
625 AString body; in sendM4()
659 AString request = "SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0\r\n"; in sendM4()
684 AString body = "wfd_trigger_method: "; in sendTrigger()
705 AString request = "SET_PARAMETER rtsp://localhost/wfd1.0 RTSP/1.0\r\n"; in sendTrigger()
[all …]
/frameworks/av/media/libstagefright/wifi-display/
DParameters.cpp51 AString name(&data[nameStart], i - nameStart); in parse()
63 AString value(&data[valueStart], i - valueStart); in parse()
76 bool Parameters::findParameter(const char *name, AString *value) const { in findParameter()
77 AString key = name; in findParameter()
DParameters.h27 bool findParameter(const char *name, AString *value) const;
33 KeyedVector<AString, AString> mDict;

123456