/frameworks/av/drm/mediadrm/plugins/mock/ |
MockDrmCryptoPlugin.h | 35 bool isContentTypeSupported(const String8 &mimeType); 63 String8 const &mimeType, KeyType keyType, 64 KeyedVector<String8, String8> const &optionalParameters, 65 Vector<uint8_t> &request, String8 &defaultUrl, 78 KeyedVector<String8, String8> &infoMap) const; 80 status_t getProvisionRequest(String8 const &certType, 81 String8 const &certAuthority, 83 String8 &defaultUrl) [all...] |
/frameworks/av/drm/libdrmframework/include/ |
PlugInManager.h | 24 #include <utils/String8.h> 50 String8 sPath; 65 typedef KeyedVector<String8, PlugInContainer*> PlugInMap; 68 typedef Vector<String8> PlugInIdList; 79 void loadPlugIns(const String8& rsPlugInDirPath) { 80 Vector<String8> plugInFileList = getPlugInPathList(rsPlugInDirPath); 106 Vector<String8> getPlugInIdList() const { 118 Type& getPlugIn(const String8& rsPlugInId) { 133 void loadPlugIn(const String8& rsPlugInPath) { 172 void unloadPlugIn(const String8& rsPlugInPath) [all...] |
/frameworks/av/media/libstagefright/http/ |
MediaHTTP.cpp | 46 const KeyedVector<String8, String8> *headers, 52 KeyedVector<String8, String8> extHeaders; 57 if (extHeaders.indexOfKey(String8("User-Agent")) < 0) { 58 extHeaders.add(String8("User-Agent"), String8(MakeUserAgent().c_str())); 70 mName = String8::format("MediaHTTP(%s)", sanitized.c_str()); 77 mName = String8("MediaHTTP(<disconnected>)"); 164 String8(mLastURI.c_str()), mime) [all...] |
/cts/suite/audio_quality/test/ |
TaskSequentialTest.cpp | 42 const android::String8 REPEAT("repeat"); 43 const android::String8 N_10("10"); 44 const android::String8 INDEX("index"); 45 const android::String8 I("i"); 46 const android::String8 NO_SUCH_THING("no_such_thing"); 47 const android::String8 SHOULD_FAIL("should_fail"); 52 const android::String8 RE(".*");
|
TaskCaseTest.cpp | 45 const android::String8 BUFFER1("buffer1"); 46 const android::String8 BUFFER2("buffer2"); 47 const android::String8 BUFFER3("buffer3"); 48 const android::String8 BUFFER4("buffer4"); 57 const android::String8 NO_SUCH_BUFFER("no_such_buffer"); 60 const android::String8 RE("buffer[1-2]"); 81 const android::String8 V1("v1"); 82 const android::String8 V2("v2"); 83 const android::String8 V3("v3"); 84 const android::String8 V4("v4") [all...] |
TaskProcessTest.cpp | 35 const android::String8 REPEAT("repeat"); 36 const android::String8 N_10("10"); 37 const android::String8 INDEX("index"); 38 const android::String8 I("i");
|
/frameworks/base/tools/aapt/ |
CrunchCache.cpp | 10 #include <utils/String8.h> 19 CrunchCache::CrunchCache(String8 sourcePath, String8 destPath, FileFinder* ff) 26 mExtensions.push(String8(".png")); 40 String8 relativePath; 45 // Also, String8 doesn't have a substring method so this is what we've 52 relativePath = String8(rPathPtr + offset); 97 bool CrunchCache::needsUpdating(String8 relativePath) const
|
ApkBuilder.h | 22 #include <utils/String8.h> 52 android::status_t addEntry(const String8& path, const android::sp<AaptFile>& file); 72 android::status_t addEntry(const String8& path, const android::sp<AaptFile>& file); 90 const android::String8& getPrintableName() const { 94 const android::String8& getDirectorySafeName() const { 98 const android::String8& getPackageSafeName() const { 116 String8 mName; 117 String8 mDirName; 118 String8 mPackageSafeName;
|
AaptXml.cpp | 18 #include <utils/String8.h> 26 static String8 getStringAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, 27 String8* outError) { 33 return String8(); 40 return String8(); 45 return str ? String8(str, len) : String8(); 49 int32_t defValue, String8* outError) { 79 String8 getAttribute(const ResXMLTree& tree, const char* ns, 80 const char* attr, String8* outError) [all...] |
/frameworks/base/tools/aapt/tests/ |
MockDirectoryWalker.h | 8 #include <utils/String8.h> 15 // String8 Directory Walker 24 StringDirectoryWalker(String8& path, Vector< pair<String8,time_t> >& data) 31 virtual bool openDir(String8 path) { 37 String8 p(path); 80 String8 mBasePath; 82 Vector< pair<String8,time_t> > mData;
|
/frameworks/native/include/binder/ |
Status.h | 23 #include <utils/String8.h> 85 const String8& message); 88 const String8& message); 105 void setException(int32_t ex, const String8& message); 107 void setServiceSpecificError(int32_t errorCode, const String8& message); 115 const String8& exceptionMessage() const { return mMessage; } 126 String8 toString8() const; 130 Status(int32_t exceptionCode, int32_t errorCode, const String8& message); 141 String8 mMessage;
|
/cts/suite/audio_quality/lib/include/task/ |
TaskAsync.h | 33 virtual bool parseAttribute(const android::String8& name, const android::String8& value); 48 android::String8 mId;
|
ModelBuilder.h | 21 #include <utils/String8.h> 42 virtual TaskGeneric* parseTestDescriptionXml(const android::String8& xmlFileName, 54 virtual TaskBatch* parseBatch(const TiXmlElement& root, const android::String8& xmlFileName); 55 virtual TaskCase* parseInclude(const TiXmlElement& elem, const android::String8& path);
|
TaskDownload.h | 20 #include <utils/String8.h>
|
/cts/suite/audio_quality/lib/src/task/ |
TaskCase.cpp | 30 static const android::String8 STR_NAME("name"); 31 static const android::String8 STR_VERSION("version"); 32 static const android::String8 STR_DESCRIPTION("description"); 38 const android::String8* list[] = {&STR_NAME, &STR_VERSION, &STR_DESCRIPTION, NULL}; 47 bool TaskCase::getCaseName(android::String8& name) const 68 typename std::map<android::String8, T>& map, 69 const android::String8& name, T& data) 71 typename std::map<android::String8, T>::iterator it; 82 template <typename T> bool findGeneric(typename std::map<android::String8, T>& map, 83 const android::String8& name, T& data [all...] |
/cts/tests/tests/drm/lib/ |
TestPlugin.h | 31 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 33 DrmMetadata* onGetMetadata(int uniqueId, const String8* path); 41 bool onCanHandle(int uniqueId, const String8& path); 46 const String8& rightsPath, const String8& contentPath); 50 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd); 52 int onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 54 int onCheckRightsStatus(int uniqueId, const String8& path, int action) [all...] |
/frameworks/av/drm/common/ |
DrmMetadata.cpp | 25 status_t DrmMetadata::put(const String8* key, 38 String8 DrmMetadata::get(const String8& key) const { 40 return String8(getValue(&key)); 43 return String8(""); 47 const char* DrmMetadata::getValue(const String8* key) const { 60 const char* DrmMetadata::getAsByteArray(const String8* key) const { 68 const String8& DrmMetadata::KeyIterator::next() { 69 const String8& key = mDrmMetadata->mMetadataMap.keyAt(mIndex); 113 String8 DrmMetadata::Iterator::next() [all...] |
/frameworks/av/drm/libdrmframework/plugins/passthru/include/ |
DrmPassthruPlugIn.h | 31 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 33 DrmMetadata* onGetMetadata(int uniqueId, const String8* path); 41 bool onCanHandle(int uniqueId, const String8& path); 46 const String8& rightsPath, const String8& contentPath); 50 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd); 52 int onGetDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 54 int onCheckRightsStatus(int uniqueId, const String8& path, int action) [all...] |
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
InitDataParser.h | 22 #include <utils/String8.h> 32 const android::String8& initDataType, 41 android::String8 generateRequest(
|
/frameworks/av/media/img_utils/include/img_utils/ |
FileInput.h | 24 #include <utils/String8.h> 39 FileInput(String8 path); 68 String8 mPath;
|
FileOutput.h | 23 #include <utils/String8.h> 32 FileOutput(String8 path); 39 String8 mPath;
|
/frameworks/native/services/inputflinger/host/ |
InputHost.h | 24 #include <utils/String8.h> 42 virtual void dump(String8& result) = 0; 51 virtual void dump(String8& result) override;
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioHardwareBase.h | 45 virtual status_t setParameters(const String8& keyValuePairs); 46 virtual String8 getParameters(const String8& keys);
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/include/ |
FwdLockEngine.h | 57 DrmConstraints* onGetConstraints(int uniqueId, const String8* path, int action); 69 DrmMetadata* onGetMetadata(int uniqueId, const String8* path); 108 bool onCanHandle(int uniqueId, const String8& path); 134 const String8& rightsPath, 135 const String8& contentPath); 155 * @return String8 158 String8 onGetOriginalMimeType(int uniqueId, const String8& path, int fd); 172 const String8& path, 173 const String8& mimeType) [all...] |
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
DrmEngineBase.h | 37 DrmConstraints* getConstraints(int uniqueId, const String8* path, int action); 39 DrmMetadata* getMetadata(int uniqueId, const String8* path); 47 bool canHandle(int uniqueId, const String8& path); 52 const String8& rightsPath, const String8& contentPath); 56 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 58 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 60 int checkRightsStatus(int uniqueId, const String8& path, int action) [all...] |