Age | Commit message (Collapse) | Author |
|
Method readFromParcel and writeToParcel needs to be in sync with
BaseBundle. a new field mHasIntent is added to BaseBundle.
Bug: 377190225
Test: manual
Flag: EXEMPT bug fix
Change-Id: I83040c9339469b5d8a08446b7fdc7f791eb52978
|
|
Bug: 341997808
Test: mma
Change-Id: Ibd44eda768a714e85399a15f3c8e534d715f87ce
|
|
Summary: std::map::erase(Key&) returns 0 on failure (key did not exist), 1 on success (key existed and was deleted). Prior to this change, PersistableBundle would log an error anytime a key was successfully deleted.
Test: added PersistableBundle test
Change-Id: I9c2f6cabd30f784d5dbde5dee1f3d0eb2461bd06
Signed-off-by: Abhishek Gadewar <abhishekgadewar@meta.com>
|
|
They are already under the same package.
Test: presubmit
Bug: 219872355
Change-Id: I598c7721d8080fddc334b9b6689d1f05a0a9913f
|
|
Test: mm
Change-Id: Ia1387dcfbc789914c4fba80193f4e36d60fec88e
|
|
Bug: 162909698
Test: m libbinder
Change-Id: I821c42c32b38e38dbbca347f6a99bcc24898df7d
|
|
Bug: N/A
Test: N/A
Change-Id: I0f17b3ba7bafb02f969c29d06b70e0aae1d13c16
|
|
PersistableBundle.java expects items to be sorted by the hash codes
of the keys, but PersistableBundle.cpp isn't compatible to it.
PersistableBundle.java now knowns what was parceled by C++
because it now uses a different magic, and change the unpercel
strategy.
Change-Id: Ia516f80b6d48dcb9f981767e0e64303434f39fb4
Fixes: 65744965
Test: adb shell sm fstrim and check logcat
|
|
Change-Id: I4cd06c7c65f69e6b787111573b29c4ff22f57981
|
|
- cutils/log.h treat as deprecated and lead by example
- android/log.h to be used instead of log/log.h if possible
- add system includes that are assumed as side effects
- define LOG_TAG first
Test: compile
Bug: 31289077
Bug: 30465923
Change-Id: I8d99b24c333578c9b5aa9f2a01324bd0bba268dd
|
|
- cutils/log.h treat as deprecated and lead by example
- android/log.h to be used instead of log/log.h if required
- add system includes that are assumed as side effects of log.h
- modules that use SLOG should use SLOG for all logging (installd)
- define LOG_TAG first
- remove logging infrastructure if not used
Test: build
Bug: 31289077
Change-Id: Iea147a0104c7ab7f12451304131d6500f42141e7
|
|
Use all of -Wall -Wextra -Werror and fix the minor errors that result.
Change-Id: Id56e9c454dd3570f713d161577eed6aa8e8074aa
|
|
Bug: 28705665
Change-Id: I98a1dc5cc93e31609d3feedb6dd6a33685be69a6
|
|
Add getters for the keys in each map stored in
PersistableBundle. This will allow users of
PersistableBundle to iterate over entries of
a specific type in PersistableBundle.
Also, add "using" statements to PersistableBundle
for std containers to reduce verbosity.
BUG: 27171235
Change-Id: Idd4b3bf713071ca8d8d023f1f83bdaf3ccbdd46f
TEST: libbinder compiles successfully.
|
|
Use %zu instead of %u for logging size_t types, which
are of the unsigned long type, not the unsigned int type.
BUG: None
Change-Id: I5af6c2ea544a5f11b283bc9aebe8b5f0cfc605ec
|
|
Add support for PersistableBundle, a mapping from
String values to various types, in C++.
BUG: 25815410
Change-Id: If609b294a1709314bb4220afc4f2269b556babb8
|