Loading fastboot/device/flashing.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #include <android-base/file.h> #include <android-base/logging.h> #include <android-base/properties.h> #include <android-base/strings.h> #include <ext4_utils/ext4_utils.h> #include <fs_mgr_overlayfs.h> Loading Loading @@ -162,7 +163,9 @@ int Flash(FastbootDevice* device, const std::string& partition_name) { partition_name == "boot_b")) { CopyAVBFooter(&data, block_device_size); } if (android::base::GetProperty("ro.system.build.type", "") != "user") { WipeOverlayfsForPartition(device, partition_name); } int result = FlashBlockDevice(handle.fd(), data); sync(); return result; Loading libutils/String8.cpp +0 −13 Original line number Diff line number Diff line Loading @@ -426,19 +426,6 @@ void String8::toLower() unlockBuffer(length); } void String8::toUpper() { const size_t length = size(); if (length == 0) return; char* buf = lockBuffer(length); for (size_t i = length; i > 0; --i) { *buf = static_cast<char>(toupper(*buf)); buf++; } unlockBuffer(length); } // --------------------------------------------------------------------------- // Path functions Loading libutils/String8_fuzz.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -41,9 +41,6 @@ std::vector<std::function<void(FuzzedDataProvider*, android::String8*, android:: }, // Casing [](FuzzedDataProvider*, android::String8* str1, android::String8*) -> void { str1->toUpper(); }, [](FuzzedDataProvider*, android::String8* str1, android::String8*) -> void { str1->toLower(); }, Loading libutils/include/utils/String8.h +0 −1 Original line number Diff line number Diff line Loading @@ -130,7 +130,6 @@ public: bool removeAll(const char* other); void toLower(); void toUpper(); /* Loading Loading
fastboot/device/flashing.cpp +4 −1 Original line number Diff line number Diff line Loading @@ -27,6 +27,7 @@ #include <android-base/file.h> #include <android-base/logging.h> #include <android-base/properties.h> #include <android-base/strings.h> #include <ext4_utils/ext4_utils.h> #include <fs_mgr_overlayfs.h> Loading Loading @@ -162,7 +163,9 @@ int Flash(FastbootDevice* device, const std::string& partition_name) { partition_name == "boot_b")) { CopyAVBFooter(&data, block_device_size); } if (android::base::GetProperty("ro.system.build.type", "") != "user") { WipeOverlayfsForPartition(device, partition_name); } int result = FlashBlockDevice(handle.fd(), data); sync(); return result; Loading
libutils/String8.cpp +0 −13 Original line number Diff line number Diff line Loading @@ -426,19 +426,6 @@ void String8::toLower() unlockBuffer(length); } void String8::toUpper() { const size_t length = size(); if (length == 0) return; char* buf = lockBuffer(length); for (size_t i = length; i > 0; --i) { *buf = static_cast<char>(toupper(*buf)); buf++; } unlockBuffer(length); } // --------------------------------------------------------------------------- // Path functions Loading
libutils/String8_fuzz.cpp +0 −3 Original line number Diff line number Diff line Loading @@ -41,9 +41,6 @@ std::vector<std::function<void(FuzzedDataProvider*, android::String8*, android:: }, // Casing [](FuzzedDataProvider*, android::String8* str1, android::String8*) -> void { str1->toUpper(); }, [](FuzzedDataProvider*, android::String8* str1, android::String8*) -> void { str1->toLower(); }, Loading
libutils/include/utils/String8.h +0 −1 Original line number Diff line number Diff line Loading @@ -130,7 +130,6 @@ public: bool removeAll(const char* other); void toLower(); void toUpper(); /* Loading