summaryrefslogtreecommitdiff
path: root/libutils/PropertyMap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move PropertyMap from libutils to libinputSiarhei Vishniakou2020-09-021-214/+0
| | | | | | | | | | | | | | | | | | The input code is the only customer of PropertyMap. For easier maintenance and eventual removal of it, move it to libinput. Currently, the caller is responsible for managing the lifecycle of the returned outMap when calling PropertyMap::load. However, the fact that the function call allocates new memory is not obvious from the function signature. In a separate commit, I will refactor the function to return Result<unique_ptr<>> to make it less errorprone. In this commit, only move the files around to make code reviews easier. Bug: 163171599 Test: atest inputflinger_tests Change-Id: I316084886c3f09a1776fdb449d2f03d0563b66c1
* Move system/core/ off NO_ERROR.Elliott Hughes2018-10-081-1/+1
| | | | | | | | It causes trouble for Windows, and OK already exists. Bug: N/A Test: builds Change-Id: Ida22fd658b0ebb259c710ba39049b07c9e495d9c
* [libutils] Modernize codebase by replacing NULL with nullptrYi Kong2018-07-161-1/+1
| | | | | | | | Fixes -Wzero-as-null-pointer-constant warning. Test: m Bug: 68236239 Change-Id: I5e89ec8c42151875439d2656475a8739ab9cb7dc
* clean-up libutils includesMathias Agopian2017-03-031-4/+0
| | | | | | | | | | | | moved Foo.h as first include of Foo.cpp, and removed redundant includes. Made NativeHandle non virtual. Test: run & compile Bug: n/a Change-Id: I37fa746cd42c9ba23aba181f84cb6c619386406a
* move libs/utils to libutilsAlex Ray2013-08-021-0/+218
Change-Id: I6cf4268599460791414882f91eeb88a992fbd29d