/frameworks/native/include/utils/ |
D | String8.h | 37 class String8 40 String8(); 41 String8(const String8& o); 42 explicit String8(const char* o); 43 explicit String8(const char* o, size_t numChars); 45 explicit String8(const String16& o); 46 explicit String8(const char16_t* o); 47 explicit String8(const char16_t* o, size_t numChars); 48 explicit String8(const char32_t* o); 49 explicit String8(const char32_t* o, size_t numChars); [all …]
|
D | PropertyMap.h | 60 void addProperty(const String8& key, const String8& value); 63 bool hasProperty(const String8& key) const; 69 bool tryGetProperty(const String8& key, String8& outValue) const; 70 bool tryGetProperty(const String8& key, bool& outValue) const; 71 bool tryGetProperty(const String8& key, int32_t& outValue) const; 72 bool tryGetProperty(const String8& key, float& outValue) const; 78 inline const KeyedVector<String8, String8>& getProperties() const { return mProperties; } in getProperties() 81 static status_t load(const String8& filename, PropertyMap** outMap); 97 status_t parseModifier(const String8& token, int32_t* outMetaState); 101 KeyedVector<String8, String8> mProperties;
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.h | 29 bool valid_symbol_name(const String8& str); 69 AaptGroupEntry(const String8& _locale, const String8& _vendor) in AaptGroupEntry() 72 bool initFromDirName(const char* dir, String8* resType); 74 static status_t parseNamePart(const String8& part, int* axis, uint32_t* value); 113 String8 toString() const; 114 String8 toDirName(const String8& resType) const; 116 const String8& getVersionString() const { return version; } in getVersionString() 119 String8 mcc; 120 String8 mnc; 121 String8 locale; [all …]
|
D | CacheUpdater.h | 31 virtual void ensureDirectoriesExist(String8 path) = 0; 34 virtual void deleteFile(String8 path) = 0; 37 virtual void processImage(String8 source, String8 dest) = 0; 53 virtual void ensureDirectoriesExist(String8 path) in ensureDirectoriesExist() 56 String8 existsPath; in ensureDirectoriesExist() 57 String8 toCreate; in ensureDirectoriesExist() 58 String8 remains; in ensureDirectoriesExist() 89 virtual void deleteFile(String8 path) in deleteFile() 96 virtual void processImage(String8 source, String8 dest) in processImage()
|
/frameworks/native/libs/utils/ |
D | String8.cpp | 141 String8::String8() in String8() function in android::String8 146 String8::String8(const String8& o) in String8() function in android::String8 152 String8::String8(const char* o) in String8() function in android::String8 160 String8::String8(const char* o, size_t len) in String8() function in android::String8 168 String8::String8(const String16& o) in String8() function in android::String8 173 String8::String8(const char16_t* o) in String8() function in android::String8 178 String8::String8(const char16_t* o, size_t len) in String8() function in android::String8 183 String8::String8(const char32_t* o) in String8() function in android::String8 188 String8::String8(const char32_t* o, size_t len) in String8() function in android::String8 193 String8::~String8() in ~String8() [all …]
|
/frameworks/av/include/drm/ |
D | DrmRights.h | 44 const String8& rightsFilePath, const String8& mimeType, 45 const String8& accountId = String8("_NO_USER"), 46 const String8& subscriptionId = String8("")); 57 const DrmBuffer& rightsData, const String8& mimeType, 58 const String8& accountId = String8("_NO_USER"), 59 const String8& subscriptionId = String8("")); 79 String8 getMimeType(void) const; 86 String8 getAccountId(void) const; 93 String8 getSubscriptionId(void) const; 97 String8 mMimeType; [all …]
|
D | DrmConstraints.h | 40 static const String8 MAX_REPEAT_COUNT; 44 static const String8 REMAINING_REPEAT_COUNT; 49 static const String8 LICENSE_START_TIME; 54 static const String8 LICENSE_EXPIRY_TIME; 59 static const String8 LICENSE_AVAILABLE_TIME; 64 static const String8 EXTENDED_METADATA; 83 const String8& next(); 106 String8 next(); 119 String8 key = keyIt.next(); in ~DrmConstraints() 143 status_t put(const String8* key, const char* value); [all …]
|
D | DrmInfoRequest.h | 44 static const String8 ACCOUNT_ID; 48 static const String8 SUBSCRIPTION_ID; 57 DrmInfoRequest(int infoType, const String8& mimeType); 82 const String8& next(); 106 String8& next(); 126 String8 getMimeType(void) const; 142 status_t put(const String8& key, const String8& value); 150 String8 get(const String8& key) const; 168 String8 mMimeType; 170 typedef KeyedVector<String8, String8> DrmRequestInfoMap;
|
D | DrmInfo.h | 43 DrmInfo(int infoType, const DrmBuffer& drmBuffer, const String8& mimeType); 68 const String8& next(); 92 String8& next(); 112 String8 getMimeType(void) const; 135 status_t put(const String8& key, const String8& value); 143 String8 get(const String8& key) const; 164 int indexOfKey(const String8& key) const; 169 String8 mMimeType; 170 KeyedVector<String8, String8> mAttributes;
|
D | DrmManagerClient.h | 93 sp<DecryptHandle> openDecryptSession(const DrmBuffer& buf, const String8& mimeType); 195 bool validateAction(const String8& path, int action, const ActionDescription& description); 223 DrmConstraints* getConstraints(const String8* path, const int action); 234 DrmMetadata* getMetadata(const String8* path); 244 bool canHandle(const String8& path, const String8& mimeType); 276 const DrmRights& drmRights, const String8& rightsPath, const String8& contentPath); 286 String8 getOriginalMimeType(const String8& path, int fd); 298 int getDrmObjectType(const String8& path, const String8& mimeType); 308 int checkRightsStatus(const String8& path, int action); 317 status_t removeRights(const String8& path); [all …]
|
/frameworks/base/include/androidfw/ |
D | AssetManager.h | 95 bool addAssetPath(const String8& path, void** cookie); 116 String8 getAssetPath(void* cookie) const; 219 void getLocales(Vector<String8>* locales) const; 224 String8 path; 226 String8 idmap; 235 String8 createPathNameLocked(const asset_path& path, const char* locale, 237 String8 createPathNameLocked(const asset_path& path, const char* rootDir); 238 String8 createZipSourceNameLocked(const String8& zipFileName, 239 const String8& dirName, const String8& fileName); 242 Asset* openAssetFromFileLocked(const String8& fileName, AccessMode mode); [all …]
|
/frameworks/av/include/media/ |
D | AudioParameter.h | 30 AudioParameter(const String8& keyValuePairs); 52 String8 toString(); 54 status_t add(const String8& key, const String8& value); 55 status_t addInt(const String8& key, const int value); 56 status_t addFloat(const String8& key, const float value); 58 status_t remove(const String8& key); 60 status_t get(const String8& key, String8& value); 61 status_t getInt(const String8& key, int& value); 62 status_t getFloat(const String8& key, float& value); 63 status_t getAt(size_t index, String8& key, String8& value); [all …]
|
/frameworks/av/drm/libdrmframework/include/ |
D | DrmManager.h | 66 status_t loadPlugIns(const String8& plugInDirPath); 73 status_t installDrmEngine(int uniqueId, const String8& drmEngineFile); 75 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 77 DrmMetadata* getMetadata(int uniqueId, const String8* path); 79 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 86 const String8& rightsPath, const String8& contentPath); 88 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 90 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 92 int checkRightsStatus(int uniqueId, const String8& path, int action); 100 int uniqueId, const String8& path, int action, const ActionDescription& description); [all …]
|
D | IDrmManagerService.h | 36 class String8; variable 96 virtual status_t installDrmEngine(int uniqueId, const String8& drmEngineFile) = 0; 99 int uniqueId, const String8* path, const int action) = 0; 101 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0; 103 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType) = 0; 110 const String8& rightsPath, const String8& contentPath) = 0; 112 virtual String8 getOriginalMimeType(int uniqueId, const String8& path, int fd) = 0; 115 int uniqueId, const String8& path, const String8& mimeType) = 0; 117 virtual int checkRightsStatus(int uniqueId, const String8& path, int action) = 0; 126 int uniqueId, const String8& path, [all …]
|
D | DrmManagerService.h | 30 class String8; variable 60 status_t installDrmEngine(int uniqueId, const String8& drmEngineFile); 62 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 64 DrmMetadata* getMetadata(int uniqueId, const String8* path); 66 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 73 const String8& rightsPath, const String8& contentPath); 75 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 77 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 79 int checkRightsStatus(int uniqueId, const String8& path,int action); 86 bool validateAction(int uniqueId, const String8& path, [all …]
|
D | PlugInManager.h | 50 String8 sPath; 65 typedef KeyedVector<String8, PlugInContainer*> PlugInMap; 68 typedef Vector<String8> PlugInIdList; 79 void loadPlugIns(const String8& rsPlugInDirPath) { in loadPlugIns() 80 Vector<String8> plugInFileList = getPlugInPathList(rsPlugInDirPath); in loadPlugIns() 106 Vector<String8> getPlugInIdList() const { in getPlugInIdList() 118 Type& getPlugIn(const String8& rsPlugInId) { in getPlugIn() 133 void loadPlugIn(const String8& rsPlugInPath) { in loadPlugIn() 172 void unloadPlugIn(const String8& rsPlugInPath) { in unloadPlugIn() 190 bool contains(const String8& rsPlugInId) { in contains() [all …]
|
D | DrmManagerClientImpl.h | 86 DrmConstraints* getConstraints(int uniqueId, const String8* path, const int action); 98 DrmMetadata* getMetadata(int uniqueId, const String8* path); 109 bool canHandle(int uniqueId, const String8& path, const String8& mimeType); 144 const String8& rightsPath, const String8& contentPath); 155 String8 getOriginalMimeType(int uniqueId, const String8& path, int fd); 168 int getDrmObjectType(int uniqueId, const String8& path, const String8& mimeType); 179 int checkRightsStatus(int uniqueId, const String8& path, int action); 219 int uniqueId, const String8& path, int action, const ActionDescription& description); 229 status_t removeRights(int uniqueId, const String8& path); 251 int openConvertSession(int uniqueId, const String8& mimeType); [all …]
|
/frameworks/av/media/libmedia/ |
D | AudioParameter.cpp | 36 AudioParameter::AudioParameter(const String8& keyValuePairs) in AudioParameter() 46 String8 key = String8(pair, eqIdx); in AudioParameter() 47 String8 value; in AudioParameter() 49 value = String8(""); in AudioParameter() 51 value = String8(pair + eqIdx + 1); in AudioParameter() 72 String8 AudioParameter::toString() in toString() 74 String8 str = String8(""); in toString() 86 status_t AudioParameter::add(const String8& key, const String8& value) in add() 97 status_t AudioParameter::addInt(const String8& key, const int value) in addInt() 101 String8 str8 = String8(str); in addInt() [all …]
|
/frameworks/base/tools/aapt/tests/ |
D | FileFinder_test.cpp | 27 String8 path("ApiDemos"); in main() 30 KeyedVector<String8,time_t> testStorage; in main() 33 Vector< pair<String8,time_t> > data; in main() 34 data.push( pair<String8,time_t>(String8("hello.png"),3) ); in main() 35 data.push( pair<String8,time_t>(String8("world.PNG"),3) ); in main() 36 data.push( pair<String8,time_t>(String8("foo.pNg"),3) ); in main() 38 data.push( pair<String8,time_t>(String8("hello.jpg"),3) ); in main() 39 data.push( pair<String8,time_t>(String8(".hidden.png"),3)); in main() 44 Vector<String8> exts; in main() 45 exts.push(String8(".png")); in main() [all …]
|
D | CrunchCache_test.cpp | 29 String8 source("res"); in main() 30 String8 dest("res2"); in main() 33 KeyedVector<String8, time_t> sourceData; in main() 35 sourceData.add(String8("res/drawable/hello.png"),3); in main() 37 sourceData.add(String8("res/drawable/world.png"),5); in main() 39 sourceData.add(String8("res/drawable-cool/hello.png"),3); in main() 41 KeyedVector<String8, time_t> destData; in main() 42 destData.add(String8("res2/drawable/hello.png"),3); in main() 43 destData.add(String8("res2/drawable/world.png"),3); in main() 45 destData.add(String8("res2/drawable/dead.png"),3); in main() [all …]
|
/frameworks/av/drm/common/ |
D | DrmConstraints.cpp | 21 const String8 DrmConstraints::MAX_REPEAT_COUNT("max_repeat_count"); 22 const String8 DrmConstraints::REMAINING_REPEAT_COUNT("remaining_repeat_count"); 23 const String8 DrmConstraints::LICENSE_START_TIME("license_start_time"); 24 const String8 DrmConstraints::LICENSE_EXPIRY_TIME("license_expiry_time"); 25 const String8 DrmConstraints::LICENSE_AVAILABLE_TIME("license_available_time"); 26 const String8 DrmConstraints::EXTENDED_METADATA("extended_metadata"); 32 status_t DrmConstraints::put(const String8* key, const char* value) { in put() 43 String8 DrmConstraints::get(const String8& key) const { in get() 45 return String8(getValue(&key)); in get() 47 return String8(""); in get() [all …]
|
D | DrmRights.cpp | 22 DrmRights::DrmRights(const String8& rightsFilePath, const String8& mimeType, in DrmRights() 23 const String8& accountId, const String8& subscriptionId) : in DrmRights() 29 if (String8("") != rightsFilePath) { in DrmRights() 35 DrmRights::DrmRights(const DrmBuffer& rightsData, const String8& mimeType, in DrmRights() 36 const String8& accountId, const String8& subscriptionId) : in DrmRights() 52 String8 DrmRights::getMimeType(void) const { in getMimeType() 56 String8 DrmRights::getAccountId(void) const { in getAccountId() 60 String8 DrmRights::getSubscriptionId(void) const { in getSubscriptionId()
|
D | DrmInfoRequest.cpp | 21 const String8 DrmInfoRequest::ACCOUNT_ID("account_id"); 22 const String8 DrmInfoRequest::SUBSCRIPTION_ID("subscription_id"); 24 DrmInfoRequest::DrmInfoRequest(int infoType, const String8& mimeType) : in DrmInfoRequest() 29 String8 DrmInfoRequest::getMimeType(void) const { in getMimeType() 41 status_t DrmInfoRequest::put(const String8& key, const String8& value) { in put() 46 String8 DrmInfoRequest::get(const String8& key) const { in get() 50 return String8(""); in get() 72 const String8& DrmInfoRequest::KeyIterator::next() { in next() 73 const String8& key = mDrmInfoRequest->mRequestInformationMap.keyAt(mIndex); in next() 101 String8& DrmInfoRequest::Iterator::next() { in next() [all …]
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
D | 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); 68 int uniqueId, const String8& path, int action, const ActionDescription& description); 70 status_t removeRights(int uniqueId, const String8& path); 91 const DrmBuffer& buf, const String8& mimeType); [all …]
|
/frameworks/av/drm/drmserver/ |
D | DrmManager.cpp | 40 const String8 DrmManager::EMPTY_STRING(""); 102 String8 vendorPluginDirPath("/vendor/lib/drm"); in loadPlugIns() 105 String8 pluginDirPath("/system/lib/drm"); in loadPlugIns() 111 status_t DrmManager::loadPlugIns(const String8& plugInDirPath) { in loadPlugIns() 113 Vector<String8> plugInPathList = mPlugInManager.getPlugInIdList(); in loadPlugIns() 115 String8 plugInPath = plugInPathList[i]; in loadPlugIns() 150 Vector<String8> plugInIdList = mPlugInManager.getPlugInIdList(); in addClient() 161 Vector<String8> plugInIdList = mPlugInManager.getPlugInIdList(); in removeClient() 168 DrmConstraints* DrmManager::getConstraints(int uniqueId, const String8* path, const int action) { in getConstraints() 170 const String8 plugInId = getSupportedPlugInIdFromPath(uniqueId, *path); in getConstraints() [all …]
|