/frameworks/av/media/libstagefright/foundation/ |
D | AString.cpp | 31 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 …]
|
D | ParsedMessage.cpp | 47 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 …]
|
D | AAtomizer.cpp | 33 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/ |
D | AString.h | 29 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 …]
|
D | ParsedMessage.h | 30 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;
|
D | base64.h | 26 struct AString; 28 sp<ABuffer> decodeBase64(const AString &s); 29 void encodeBase64(const void *data, size_t size, AString *out);
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecListOverrides.cpp | 38 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 …]
|
D | MediaCodecListOverrides.h | 34 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);
|
D | MediaCodecList.cpp | 69 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/ |
D | M3UParser.h | 46 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 …]
|
D | M3UParser.cpp | 59 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 …]
|
D | LiveSession.h | 161 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/ |
D | MediaCodecListOverrides_test.cpp | 66 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/ |
D | ARTSPConnection.h | 30 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;
|
D | ASessionDescription.cpp | 53 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 …]
|
D | ASessionDescription.h | 30 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;
|
D | ARTSPConnection.cpp | 44 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 …]
|
D | MyTransmitter.h | 53 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 …]
|
D | MyHandler.h | 73 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/ |
D | MediaCodecInfo.h | 37 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/ |
D | MediaCodecInfo.cpp | 132 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/ |
D | MediaCodec.h | 34 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/ |
D | WifiDisplaySource.cpp | 50 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/ |
D | Parameters.cpp | 51 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()
|
D | Parameters.h | 27 bool findParameter(const char *name, AString *value) const; 33 KeyedVector<AString, AString> mDict;
|