Loading tools/aapt/ApkBuilder.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -32,7 +32,7 @@ class AaptFile; class ApkBuilder : public android::RefBase { class ApkBuilder : public android::RefBase { public: public: ApkBuilder(const sp<WeakResourceFilter>& configFilter); explicit ApkBuilder(const sp<WeakResourceFilter>& configFilter); /** /** * Tells the builder to generate a separate APK for resources that * Tells the builder to generate a separate APK for resources that Loading tools/aapt/CacheUpdater.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -51,7 +51,7 @@ private: class SystemCacheUpdater : public CacheUpdater { class SystemCacheUpdater : public CacheUpdater { public: public: // Constructor to set bundle to pass to preProcessImage // Constructor to set bundle to pass to preProcessImage SystemCacheUpdater (Bundle* b) explicit SystemCacheUpdater (Bundle* b) : bundle(b) { }; : bundle(b) { }; // Make sure all the directories along this path exist // Make sure all the directories along this path exist Loading tools/aapt/Command.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -248,7 +248,7 @@ bail: } } static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, String8 attrLabel, String8* outError) uint32_t attrRes, const String8& attrLabel, String8* outError) { { Res_value value; Res_value value; AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); Loading Loading @@ -399,7 +399,7 @@ static void printUsesImpliedPermission(const String8& name, const String8& reaso ResTable::normalizeForOutput(reason.string()).string()); ResTable::normalizeForOutput(reason.string()).string()); } } Vector<String8> getNfcAidCategories(AssetManager& assets, String8 xmlPath, bool offHost, Vector<String8> getNfcAidCategories(AssetManager& assets, const String8& xmlPath, bool offHost, String8 *outError = NULL) String8 *outError = NULL) { { Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER); Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER); Loading tools/aapt/ConfigDescription.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -29,7 +29,7 @@ struct ConfigDescription : public android::ResTable_config { size = sizeof(android::ResTable_config); size = sizeof(android::ResTable_config); } } ConfigDescription(const android::ResTable_config&o) { ConfigDescription(const android::ResTable_config&o) { // NOLINT(implicit) *static_cast<android::ResTable_config*>(this) = o; *static_cast<android::ResTable_config*>(this) = o; size = sizeof(android::ResTable_config); size = sizeof(android::ResTable_config); } } Loading tools/aapt/CrunchCache.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -94,7 +94,7 @@ void CrunchCache::loadFiles() delete dw; delete dw; } } bool CrunchCache::needsUpdating(String8 relativePath) const bool CrunchCache::needsUpdating(const String8& relativePath) const { { // Retrieve modification dates for this file entry under the source and // Retrieve modification dates for this file entry under the source and // cache directory trees. The vectors will return a modification date of 0 // cache directory trees. The vectors will return a modification date of 0 Loading Loading
tools/aapt/ApkBuilder.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -32,7 +32,7 @@ class AaptFile; class ApkBuilder : public android::RefBase { class ApkBuilder : public android::RefBase { public: public: ApkBuilder(const sp<WeakResourceFilter>& configFilter); explicit ApkBuilder(const sp<WeakResourceFilter>& configFilter); /** /** * Tells the builder to generate a separate APK for resources that * Tells the builder to generate a separate APK for resources that Loading
tools/aapt/CacheUpdater.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -51,7 +51,7 @@ private: class SystemCacheUpdater : public CacheUpdater { class SystemCacheUpdater : public CacheUpdater { public: public: // Constructor to set bundle to pass to preProcessImage // Constructor to set bundle to pass to preProcessImage SystemCacheUpdater (Bundle* b) explicit SystemCacheUpdater (Bundle* b) : bundle(b) { }; : bundle(b) { }; // Make sure all the directories along this path exist // Make sure all the directories along this path exist Loading
tools/aapt/Command.cpp +2 −2 Original line number Original line Diff line number Diff line Loading @@ -248,7 +248,7 @@ bail: } } static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, String8 attrLabel, String8* outError) uint32_t attrRes, const String8& attrLabel, String8* outError) { { Res_value value; Res_value value; AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError); Loading Loading @@ -399,7 +399,7 @@ static void printUsesImpliedPermission(const String8& name, const String8& reaso ResTable::normalizeForOutput(reason.string()).string()); ResTable::normalizeForOutput(reason.string()).string()); } } Vector<String8> getNfcAidCategories(AssetManager& assets, String8 xmlPath, bool offHost, Vector<String8> getNfcAidCategories(AssetManager& assets, const String8& xmlPath, bool offHost, String8 *outError = NULL) String8 *outError = NULL) { { Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER); Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER); Loading
tools/aapt/ConfigDescription.h +1 −1 Original line number Original line Diff line number Diff line Loading @@ -29,7 +29,7 @@ struct ConfigDescription : public android::ResTable_config { size = sizeof(android::ResTable_config); size = sizeof(android::ResTable_config); } } ConfigDescription(const android::ResTable_config&o) { ConfigDescription(const android::ResTable_config&o) { // NOLINT(implicit) *static_cast<android::ResTable_config*>(this) = o; *static_cast<android::ResTable_config*>(this) = o; size = sizeof(android::ResTable_config); size = sizeof(android::ResTable_config); } } Loading
tools/aapt/CrunchCache.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -94,7 +94,7 @@ void CrunchCache::loadFiles() delete dw; delete dw; } } bool CrunchCache::needsUpdating(String8 relativePath) const bool CrunchCache::needsUpdating(const String8& relativePath) const { { // Retrieve modification dates for this file entry under the source and // Retrieve modification dates for this file entry under the source and // cache directory trees. The vectors will return a modification date of 0 // cache directory trees. The vectors will return a modification date of 0 Loading