summaryrefslogtreecommitdiff
path: root/include/utils
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2016-05-16 15:06:22 +0100
committerMichael Wright <michaelwr@google.com>2016-05-16 15:06:22 +0100
commit2a9a993af99585af0bce6eca6d92c86370977a27 (patch)
treea91bec16022b9d29174f69418b206fe2a2af3e47 /include/utils
parenta0c90085ecd2477e8ccdcc7155e92ab38a8e928c (diff)
parent8b452b876b90dcfff1dab9012b65b5e67c4531a4 (diff)
downloadcore-2a9a993af99585af0bce6eca6d92c86370977a27.tar.gz
Merge commit '8b452b876b90dcfff1dab9012b65b5e67c4531a4' into manual_merge_8b452b8
Change-Id: Iacdc2d521f669661b4979c03b0476512abdb37c7
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/String16.h2
-rw-r--r--include/utils/Unicode.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/utils/String16.h b/include/utils/String16.h
index 4a5874a4c..07c4de746 100644
--- a/include/utils/String16.h
+++ b/include/utils/String16.h
@@ -94,6 +94,8 @@ public:
bool startsWith(const String16& prefix) const;
bool startsWith(const char16_t* prefix) const;
+ bool contains(const char16_t* chrs) const;
+
status_t makeLower();
status_t replaceAll(char16_t replaceThis,
diff --git a/include/utils/Unicode.h b/include/utils/Unicode.h
index b76a5e268..a006082b0 100644
--- a/include/utils/Unicode.h
+++ b/include/utils/Unicode.h
@@ -29,6 +29,7 @@ size_t strlen16(const char16_t *);
size_t strnlen16(const char16_t *, size_t);
char16_t *strcpy16(char16_t *, const char16_t *);
char16_t *strncpy16(char16_t *, const char16_t *, size_t);
+char16_t *strstr16(const char16_t*, const char16_t*);
// Version of comparison that supports embedded nulls.
// This is different than strncmp() because we don't stop