Lines Matching refs:String8
43 const KeyedVector<String8, String8> *headers, in connect() argument
49 KeyedVector<String8, String8> extHeaders; in connect()
54 if (extHeaders.indexOfKey(String8("User-Agent")) < 0) { in connect()
55 extHeaders.add(String8("User-Agent"), String8(MakeUserAgent().c_str())); in connect()
71 mName = String8::format("MediaHTTP(%s)", sanitized.c_str()); in connect()
82 mName = String8("MediaHTTP(<disconnected>)"); in disconnect()
157 String8 MediaHTTP::getUri() { in getUri()
159 return String8::empty(); in getUri()
162 String8 uri; in getUri()
166 return String8(mLastURI.c_str()); in getUri()
169 String8 MediaHTTP::getMIMEType() const { in getMIMEType()
171 return String8("application/octet-stream"); in getMIMEType()
174 String8 mimeType; in getMIMEType()
178 return String8("application/octet-stream"); in getMIMEType()