History log of /system/tools/hidl/utils/StringHelper.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
db364989ebda11138911ef1c2a6e69e6299f05f8 18-Nov-2016 Yifan Hong <elsk@google.com> Fix SplitString does not regard the trailing separator.

For example, SplitString("1/2/", '/').size() should be 3 instead of 2.

Test: mma
Change-Id: I3c7ff72bf8ede55bc5396fd3984db18af1b35817
/system/tools/hidl/utils/StringHelper.cpp
5f6ac4d55693e2f4cf9f464910079b712ec6478d 18-Oct-2016 Yifan Hong <elsk@google.com> Fix single letter IDs.

Test: cd hardware/interfaces && mma

Bug: 32068694
Change-Id: I4da0ac8a930587ae88e7d3c6df5330abaea25438
/system/tools/hidl/utils/StringHelper.cpp
4200903983e12253942381e2f9331479848c0b94 29-Sep-2016 Yifan Hong <elsk@google.com> c2hal: Use better To(Camel|Pascal|Snake)Case functions.

* enforce SNAKE_CASE on enums.
* rename upcase to uppercase everywhere.

Test: `make c2hal` and examine the result for c2hal/test/test.h

Change-Id: I959a7ed527f75e1a3b451ba484dbfea288c2db0d
/system/tools/hidl/utils/StringHelper.cpp
f9a6ef3343d757b878a780dc3839ab8d21861ae5 27-Sep-2016 Steven Moreland <smoreland@google.com> utils: add EndsWith and LTrim to StringHelper

Will be used in hidl-lint.

Test: make libhidl-gen, c2hal, verification of c2hal output.
Change-Id: Ie8b198679ca1e220bf89e4b7eb811b5ada9d592e
/system/tools/hidl/utils/StringHelper.cpp
95b46238e9f0420e2e79ce2bda2cabc24aff4769 20-Sep-2016 Steven Moreland <smoreland@google.com> c2hal: Emit camelCase and PascalCase things.

Test: built, verified test headers output. Made sure it still worked on
opengl/telephony/libhardware headers.

Change-Id: Iabeb0e912dc7df6b2eae76b962531a30c83593bf
/system/tools/hidl/utils/StringHelper.cpp
868aff8458f94a81cf932537c4b7354074df181e 12-Sep-2016 Steven Moreland <smoreland@google.com> Revert "Revert "Moved string helping functions from c2hal into StringHelper.""

This reverts commit 17cef74c1a98baef279933d0b48f1a26460759e4.

Change-Id: I098f1db6e231fb854de397d3bd7a7e0c91669e25
/system/tools/hidl/utils/StringHelper.cpp
a72e0d2be173cebf62f728b9d215808bd862f219 09-Sep-2016 Iliyan Malchev <malchev@google.com> Revert "Revert "Split out libhidl-gen and libhidl-gen-utils.""

Shared code between hidl-gen, c2hal, and VTS.

Also build for device, as we might use libhidl-gen reflectively in
future (for profiling and instrumentation).

Change-Id: Ia56901f4afbc12b7c2abee693e0ebea97ba76a8b
/system/tools/hidl/utils/StringHelper.cpp
194c2ffccef2dd1c515397e597f26b184bc1269b 10-Sep-2016 Steven Moreland <smoreland@google.com> Revert "split out libhidl-gen and libhidl-gen-utils"

This reverts commit 1316091aaf89abc73ab11539b61b20f13ee261c4.

Change-Id: I97acad6cadd847cb5540ffe0258b081d7901c1e9
/system/tools/hidl/utils/StringHelper.cpp
17cef74c1a98baef279933d0b48f1a26460759e4 10-Sep-2016 Steven Moreland <smoreland@google.com> Revert "Moved string helping functions from c2hal into StringHelper."

This reverts commit 256d107b33c6a213db796671244ba5a2465b73bb.

Change-Id: I8ba050e4bd4d71bec6ffdc6d79c51053cb15cb7c
/system/tools/hidl/utils/StringHelper.cpp
256d107b33c6a213db796671244ba5a2465b73bb 09-Sep-2016 Steven Moreland <smoreland@google.com> Moved string helping functions from c2hal into StringHelper.

Change-Id: I78194a664460aa73e128bf847eff6f559b0b9297
/system/tools/hidl/utils/StringHelper.cpp
1316091aaf89abc73ab11539b61b20f13ee261c4 09-Sep-2016 Iliyan Malchev <malchev@google.com> split out libhidl-gen and libhidl-gen-utils

Shared code between hidl-gen, c2hal, and VTS.

Also build for device, as we might use libhidl-gen reflectively in
future (for profiling and instrumentation).

Change-Id: Iffdcbf99308e1f69a504e89fcbb4c9447a6bbe7e
Signed-off-by: Iliyan Malchev <malchev@google.com>
/system/tools/hidl/utils/StringHelper.cpp