summaryrefslogtreecommitdiff
path: root/include/utils
diff options
context:
space:
mode:
authorSergio Giro <sgiro@google.com>2015-09-30 15:28:30 +0100
committerSergio Giro <sgiro@google.com>2015-09-30 15:42:02 +0100
commit282efae9c3d14ca2641e5fea223cb1be204feff1 (patch)
tree4c2dfa576e743d3cf7780c017ca9757a95a2e1a2 /include/utils
parentfca4821e05f1d4684185b559d177ffde6937bf61 (diff)
system/core: remove methods returning SharedBuffer in String8, String16
Towards deprecation of SharedBuffer Change-Id: I3069837db32837bcc0f5d8f1118ccd502c9070dc
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/String16.h2
-rw-r--r--include/utils/String8.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/include/utils/String16.h b/include/utils/String16.h
index b2ab5dc11..9a67c7a5f 100644
--- a/include/utils/String16.h
+++ b/include/utils/String16.h
@@ -65,8 +65,6 @@ public:
inline const char16_t* string() const;
- const SharedBuffer* sharedBuffer() const;
-
size_t size() const;
void setTo(const String16& other);
status_t setTo(const char16_t* other);
diff --git a/include/utils/String8.h b/include/utils/String8.h
index a8a37db21..2a75b9886 100644
--- a/include/utils/String8.h
+++ b/include/utils/String8.h
@@ -28,7 +28,6 @@
namespace android {
-class SharedBuffer;
class String16;
class TextOutput;
@@ -69,7 +68,6 @@ public:
inline bool isEmpty() const;
size_t length() const;
- const SharedBuffer* sharedBuffer() const;
void clear();