Commit Graph

37538 Commits

Author SHA1 Message Date
Jiyong Park 81088bf131 Remove *.dep files for ld.config.txt, [llndk|vndksp].libraries.txt
The dep files are not required because change in the command line
triggers the rule.

Test: m -j ld.config.txt llndk.libraries.txt vndksp.libraries.txt
Re-run the build after adding or removing libs to/from the vndk set.
The txt files are updated accordingly.

Change-Id: I9c9e22088cc2afeb66e8b159f611b25d698cf800
2017-10-13 16:36:49 +09:00
Christopher Ferris dd3b4f794f Merge "Add support for boolean literals." am: 63a0008df7 am: 008f11fb5e am: b626ce6686
am: b32d591ef2

Change-Id: I143699133a65731087fad595a26bfcc9bbd2c1f6
2017-10-12 02:42:26 +00:00
Dan Albert 4376bae8ca Merge "Add missing includes." am: 0c24d6ccea am: d166904f30 am: 2ad44ea5fd -s ours
am: 3326b71fc8  -s ours

Change-Id: Ic14d205c07189c7bd3b9db37b4b1da6a3d6ddfc7
2017-10-12 02:41:07 +00:00
Christopher Ferris b32d591ef2 Merge "Add support for boolean literals." am: 63a0008df7 am: 008f11fb5e
am: b626ce6686

Change-Id: Icb258871157d2acbdba4bba5777d4b2c7c5286a5
2017-10-12 02:26:25 +00:00
Dan Albert 3326b71fc8 Merge "Add missing includes." am: 0c24d6ccea am: d166904f30
am: 2ad44ea5fd  -s ours

Change-Id: If72a6d1460a3d520639ed0cea6f2dcb7875b966e
2017-10-12 02:24:36 +00:00
Dan Albert 033166ee25 Merge "Add missing includes." am: 81dd96c0da am: 5436974d21 am: 1055d1a453
am: 6d2f367e37

Change-Id: I11574eaee30464b8cd85f422b2398b9243cf38c7
2017-10-12 02:18:21 +00:00
Christopher Ferris b626ce6686 Merge "Add support for boolean literals." am: 63a0008df7
am: 008f11fb5e

Change-Id: I43f85bff0bc7973cea368f8fd873498cf0bb1e32
2017-10-12 01:38:44 +00:00
Christopher Ferris 008f11fb5e Merge "Add support for boolean literals."
am: 63a0008df7

Change-Id: I050cc47929c0152f05832bbe54a12aa45f93766a
2017-10-12 01:33:49 +00:00
Christopher Ferris 63a0008df7 Merge "Add support for boolean literals." 2017-10-12 01:20:07 +00:00
Dan Albert 2ad44ea5fd Merge "Add missing includes." am: 0c24d6ccea
am: d166904f30

Change-Id: I0b87b789f2f07e83dd3b39fee3f09dfeb03115ce
2017-10-12 00:18:31 +00:00
Dan Albert d166904f30 Merge "Add missing includes."
am: 0c24d6ccea

Change-Id: I4e59965bbc8d9a42b5e7feda56ab289a5c5294b0
2017-10-12 00:16:06 +00:00
Treehugger Robot 0c24d6ccea Merge "Add missing includes." 2017-10-12 00:06:30 +00:00
Dan Albert 6d2f367e37 Merge "Add missing includes." am: 81dd96c0da am: 5436974d21
am: 1055d1a453

Change-Id: I7beece22bd595475f333b9fce5675321ed7d29d1
2017-10-11 23:10:06 +00:00
Dan Albert 1055d1a453 Merge "Add missing includes." am: 81dd96c0da
am: 5436974d21

Change-Id: I65b5c9ca872c96e3475c7d22950a5664e8e273c1
2017-10-11 22:50:14 +00:00
Dan Albert 5436974d21 Merge "Add missing includes."
am: 81dd96c0da

Change-Id: I6b54545c3eb6322fb5da9f2ef85089fe632cb5f1
2017-10-11 22:30:54 +00:00
Christopher Ferris 0523275893 Add support for boolean literals.
Bug: 67678053

Test: Passes new unit tests.
Change-Id: I9d0ede56aa5d7071e682f366870148320545406e
2017-10-11 15:23:45 -07:00
Treehugger Robot 81dd96c0da Merge "Add missing includes." 2017-10-11 22:17:38 +00:00
Mark Salyzyn c34bf165dc Merge "bootstat: test: inject ro.boot.bootreason values" am: 3bc8d4529e am: 4f9ba3f0ba am: 7d47f2f99c
am: aebe5240ed

Change-Id: Ib4711c68ac8f92eb7005c126a1573efc2c2c42a4
2017-10-11 22:03:36 +00:00
Mark Salyzyn 7213bf691d Merge "bootstat: test: refine reported test durations" am: bb52cbf35d am: 9d00f0079d am: 7c4e845951
am: 12b3bf973a

Change-Id: I59677c5c71256d405ef6a350e10d470f152e4ea5
2017-10-11 22:01:01 +00:00
Mark Salyzyn 5854b1369d Merge "bootstat: Add some reserved sys.boot.reason values to enumeration" am: 444e3a9f74 am: bd7bbf853a am: 16a15f5666
am: ed77112217

Change-Id: I5e9752f0ac65677a9117950c2e23575be8ded357
2017-10-11 21:59:41 +00:00
Dmitry Shmidt 31da436566 Merge "console: Add setenv HOSTNAME console" am: d2c66b31a0 am: 5884f608d9 am: 825915bfde
am: 455faa53ed

Change-Id: I4454a732810ef6f6d70b1f7d91455c8fb45b145f
2017-10-11 21:57:23 +00:00
Mark Salyzyn aebe5240ed Merge "bootstat: test: inject ro.boot.bootreason values" am: 3bc8d4529e am: 4f9ba3f0ba
am: 7d47f2f99c

Change-Id: I833235397803eaf523360fa64054412447feb0d0
2017-10-11 21:38:33 +00:00
TreeHugger Robot 4a8fee8641 Merge "Update for expanding @2.0::HealthInfo." 2017-10-11 21:37:47 +00:00
Mark Salyzyn 7d47f2f99c Merge "bootstat: test: inject ro.boot.bootreason values" am: 3bc8d4529e
am: 4f9ba3f0ba

Change-Id: I27aa3e4ebe9cd49f48834bdcc7a53ef656f22c57
2017-10-11 21:14:40 +00:00
Mark Salyzyn 4f9ba3f0ba Merge "bootstat: test: inject ro.boot.bootreason values"
am: 3bc8d4529e

Change-Id: I6295d929d3042f9d89f17abdb80f4564710ebe0a
2017-10-11 21:06:39 +00:00
Mark Salyzyn 12b3bf973a Merge "bootstat: test: refine reported test durations" am: bb52cbf35d am: 9d00f0079d
am: 7c4e845951

Change-Id: I085de07c4a74d1c70647dcc3715760440ecee6c2
2017-10-11 20:59:54 +00:00
Mark Salyzyn ed77112217 Merge "bootstat: Add some reserved sys.boot.reason values to enumeration" am: 444e3a9f74 am: bd7bbf853a
am: 16a15f5666

Change-Id: Ia1d48b593019c1c221899f7ff69083a6e0d39eae
2017-10-11 20:53:56 +00:00
Mark Salyzyn 3bc8d4529e Merge "bootstat: test: inject ro.boot.bootreason values" 2017-10-11 20:52:46 +00:00
Mark Salyzyn 7c4e845951 Merge "bootstat: test: refine reported test durations" am: bb52cbf35d
am: 9d00f0079d

Change-Id: If393cf4164f5cc5d24ac290c1258157f50da698e
2017-10-11 20:51:16 +00:00
Dmitry Shmidt 455faa53ed Merge "console: Add setenv HOSTNAME console" am: d2c66b31a0 am: 5884f608d9
am: 825915bfde

Change-Id: Ia845dfb8cba654766dfff15f2eab7dbee621a45d
2017-10-11 20:50:54 +00:00
Mark Salyzyn 16a15f5666 Merge "bootstat: Add some reserved sys.boot.reason values to enumeration" am: 444e3a9f74
am: bd7bbf853a

Change-Id: Idedc1989abbd601c16699bd7418dc863f4a9d90d
2017-10-11 20:49:30 +00:00
Mark Salyzyn 9a3870490a bootstat: test: inject ro.boot.bootreason values
Adding a set of automated engineering unit tests with a strict list of
prerequisites.  Not meant for "user" builds.  Must have a crafted
bootloader that does not set the boot reason.  Only works on platforms
where the bootloader either by accident or specifically does not set
the ro.boot.bootreason via kernel command line configuration
androidboot.bootreason=.  If the tests do not have the prerequisites,
the test will report success, but with protest.

These new tests should work on current Hikey and Hikey960 bootloaders
but could very well become obsolete if those platform bootloaders
start setting the boot reason.

We do not want a platform solution as it could allow a third party to
override the bootloader boot reason.

Test: system/core/bootstat/boot_reason_test.sh
Bug: 63736262
Change-Id: I1793184a8484b83e1d9077475bc65af9816dadf7
2017-10-11 13:48:33 -07:00
Mark Salyzyn 9d00f0079d Merge "bootstat: test: refine reported test durations"
am: bb52cbf35d

Change-Id: I91c3a4fd36126033e70688f5fbbd3fa20015ad3e
2017-10-11 20:46:25 +00:00
Mark Salyzyn bd7bbf853a Merge "bootstat: Add some reserved sys.boot.reason values to enumeration"
am: 444e3a9f74

Change-Id: I0e0bfcd1e351e58f272a51c6c97bcd7cc52e32a1
2017-10-11 20:45:04 +00:00
James Hawkins ef35504c8f Merge "bootstat: Special case logging for empty boot reason." am: b93357bdb2 am: 79afacdd61 am: 1d617f8325
am: dba08cb1b1

Change-Id: Id1b09a558a50d5d9c183dd95807783bb3055b950
2017-10-11 20:41:25 +00:00
Mark Salyzyn bb52cbf35d Merge "bootstat: test: refine reported test durations" 2017-10-11 20:33:05 +00:00
Dmitry Shmidt 825915bfde Merge "console: Add setenv HOSTNAME console" am: d2c66b31a0
am: 5884f608d9

Change-Id: I0ce00d53c7ef176e920d0a2dc3c9136c20383f3d
2017-10-11 20:32:34 +00:00
Mark Salyzyn 444e3a9f74 Merge "bootstat: Add some reserved sys.boot.reason values to enumeration" 2017-10-11 20:32:00 +00:00
Dan Albert f0d3f6716a Add missing includes.
Test: mma
Bug: None
Merged-In: I8a3390d186aec73f55ae2be2c7b4b2deffed810f
Change-Id: I8a3390d186aec73f55ae2be2c7b4b2deffed810f
2017-10-11 13:31:43 -07:00
Dmitry Shmidt 5884f608d9 Merge "console: Add setenv HOSTNAME console"
am: d2c66b31a0

Change-Id: I85addec989872b9e66f0e68c4fea20b969a1eb25
2017-10-11 20:28:49 +00:00
Treehugger Robot d2c66b31a0 Merge "console: Add setenv HOSTNAME console" 2017-10-11 20:22:48 +00:00
Dan Albert 8b0f56c7ed Add missing includes.
Test: mma
Bug: None
Change-Id: I8a3390d186aec73f55ae2be2c7b4b2deffed810f
2017-10-11 13:21:54 -07:00
Dan Albert c38057a603 Add missing includes.
Test: mma
Bug: None
Change-Id: I5ee2d09eeac2b4e2056719498916cbdfb79725d2
2017-10-11 13:19:09 -07:00
James Hawkins dba08cb1b1 Merge "bootstat: Special case logging for empty boot reason." am: b93357bdb2 am: 79afacdd61
am: 1d617f8325

Change-Id: I8dd1552628e4ca1933f5b02915fbf03f058f2bb2
2017-10-11 20:15:05 +00:00
James Hawkins 1d617f8325 Merge "bootstat: Special case logging for empty boot reason." am: b93357bdb2
am: 79afacdd61

Change-Id: I9200df2994145b581616353990a98e4924b2a79b
2017-10-11 20:11:37 +00:00
James Hawkins 79afacdd61 Merge "bootstat: Special case logging for empty boot reason."
am: b93357bdb2

Change-Id: I07374a59888eba48d1f9b8d112729e8d793adca6
2017-10-11 20:07:55 +00:00
James Hawkins b93357bdb2 Merge "bootstat: Special case logging for empty boot reason." 2017-10-11 19:48:49 +00:00
Dmitry Shmidt d0fb2510e2 console: Add setenv HOSTNAME console
Bug: 67678999
Test: Run serial console on Hikey

Change-Id: Ia5fa9c2af4771508d96545f6a8814a81d5ccee3c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2017-10-11 11:20:02 -07:00
Mark Salyzyn 2450cb1a30 bootstat: test: refine reported test durations
Use actual test durations to refine future duration estimates.
Better estimates are cosmetic, but lend confidence to the test
results.

SideEffects: none
Test: system/core/bootstat/boot_reason_test.sh
Bug: 63736262
Change-Id: I49143b78a6dc6fb21838a3d6c70b7eb5a8b4cba5
2017-10-11 10:56:54 -07:00
Mark Salyzyn 243fa29804 bootstat: Add some reserved sys.boot.reason values to enumeration
Add cold,powerkey, warm,s3_wakeup and hard,hw_reset so that
sys.boot.reason values can also be enumerated.  Also add
some reserved speculative entries associated with forced
suspend to RAM and DISK; shutdown,suspend and shutdown,hibernate
respectively.

Test: system/core/bootstat/boot_reason_test.sh
Bug: 67636061
Change-Id: Ic43523748e6006aaca882f8eec7c1f0c08431bd8
2017-10-11 10:56:42 -07:00