Commit graph

30013 commits

Author SHA1 Message Date
Jayant Chowdhary
f3704c443f Merge "Mark libsysutils vendor_available."
am: 52d43ce5ab

Change-Id: Ib1490362c5c800e2bdc96ef06e607c93da1006b2
2017-05-25 17:17:17 +00:00
Jayant Chowdhary
ff98e25491 Merge "Mark libmetricslogger vendor_available."
am: db2e0d4981

Change-Id: Id50e1bb8a7a4fecfde35a63439ac28b1be883e21
2017-05-25 17:17:11 +00:00
Jayant Chowdhary
55a59f9906 Merge "Mark libziparchive vendor_available."
am: e0ee6d31fd

Change-Id: Ic414d368d7043083ce9cf9c09d124fb700ac8866
2017-05-25 17:16:47 +00:00
Jayant Chowdhary
52d43ce5ab Merge "Mark libsysutils vendor_available." 2017-05-25 17:08:41 +00:00
Jayant Chowdhary
db2e0d4981 Merge "Mark libmetricslogger vendor_available." 2017-05-25 17:08:41 +00:00
Jayant Chowdhary
e0ee6d31fd Merge "Mark libziparchive vendor_available." 2017-05-25 17:08:41 +00:00
GuangHui Liu
0daaf93424 Merge "Create build target to pull adb test scripts."
am: 9c0a541f08

Change-Id: I16d0bd1bc943725f8404230fb7a53c1834fa25b3
2017-05-25 16:54:18 +00:00
GuangHui Liu
9c0a541f08 Merge "Create build target to pull adb test scripts." 2017-05-25 16:48:19 +00:00
Hung-ying Tyan
26c4bcfadd Merge "Load {default,build}.prop from /{system,vendor,odm}/etc/"
am: a9aa77d259

Change-Id: Ia7ea9b864c978332676110fec7d7d4c3a7b4f88f
2017-05-25 02:40:08 +00:00
Treehugger Robot
a9aa77d259 Merge "Load {default,build}.prop from /{system,vendor,odm}/etc/" 2017-05-25 02:32:37 +00:00
Hung-ying Tyan
723f1a2b31 Load {default,build}.prop from /{system,vendor,odm}/etc/
/default.prop may be moved to /system/etc/ and renamed as prop.default.
/{system,vendor,odm}/build.prop may be moved to /{system,vendor,odm}/etc/
and renamed as prop.build.
This patch makes property_service load prop.* from the new locations
first. Also replaces NULL with nullptr for C++ cleanup.

Bug: 37815285
Test: Booted pixel phones, checked the locations of prop.*, verified
      symlinks, checked a few properties (via adb shell getprop)
      and manually tested a few apps (Camera, Maps etc).
      ODM is not tested as it does not exist on the tested device.
Change-Id: Id8eeb3c1a5728dd04005dfad4733b8e6336f9093
2017-05-25 08:41:08 +08:00
Mark Salyzyn
4f75c5383b Merge "liblog: test: android_logger_get_ "kernel" log buffer can be empty"
am: f71d718906

Change-Id: Ia13870fbefd181fda177739b09c735cab585e61a
2017-05-24 22:10:50 +00:00
Mark Salyzyn
f71d718906 Merge "liblog: test: android_logger_get_ "kernel" log buffer can be empty" 2017-05-24 22:02:48 +00:00
Jayant Chowdhary
7f96d49370 Mark libmetricslogger vendor_available.
libmetricslogger is a library which belongs to vndk-cap. Mark it
vendor_available to enable vndk abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: If4bb63d3769317bc7cfc0f2f326e8bdd7b565ebe
2017-05-24 14:13:51 -07:00
Jayant Chowdhary
a1bdd2412e Mark libsysutils vendor_available.
libsysutils belongs to vndk-cap. Mark it vendor_available to enable vndk
abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: I3ef1d09c7e836549eb13ce68ac7cdcd5923bde0f
2017-05-24 13:01:24 -07:00
Mark Salyzyn
37eaefa9a0 liblog: test: android_logger_get_ "kernel" log buffer can be empty
If user build and for the "kernel" log buffer, allow an empty report.

Test: CTS: User: liblog#android_logger_get_
Test: remove ro.debuggable line from /default.prop,
      run liblog-unit-tests --gtest_filter=*.android_logger_get_
Bug: 62030309
Change-Id: I5f91af07608988f322b3c46574becc308e1d8b13
2017-05-24 12:45:41 -07:00
Jayant Chowdhary
2c87bccf46 Mark libziparchive vendor_available.
libziparchive is a library which belongs to vndk-cap. Mark it
vendor_available to enable header-abi-dumper's invocation to identify it
as a part of the vndk.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: Ibe490cc6c2cfca0f8d58df45317bb3a491d530f0
2017-05-24 12:33:12 -07:00
James Hawkins
58730e3ec0 Merge "bootstat: Set up clang-format-2 for bootstat."
am: efb30b0ccd

Change-Id: Ib1c7f1d31fd88d73258ea1da62ec052c9da15687
2017-05-24 19:10:07 +00:00
Treehugger Robot
efb30b0ccd Merge "bootstat: Set up clang-format-2 for bootstat." 2017-05-24 19:02:35 +00:00
James Hawkins
259dc730da bootstat: Set up clang-format-2 for bootstat.
Bug: None
Test: None
Change-Id: I534801dae4baec52687c8bbc563f8d92fca1a106
2017-05-24 10:19:25 -07:00
Mark Salyzyn
6c919e72f7 Merge "liblog: test: enoent requires userdebug or eng to run"
am: c408e77095

Change-Id: I8cab5126249740241cdb10ed168440fefadcb4ba
2017-05-24 16:45:56 +00:00
Treehugger Robot
c408e77095 Merge "liblog: test: enoent requires userdebug or eng to run" 2017-05-24 16:38:46 +00:00
Bowgo Tsai
9af4b13b8f Merge "fs_mgr: fix SIGSEGV when ostream << nullptr"
am: 225f0d98c8

Change-Id: I4982b949121cb7038b86cc107769048f7cd7fe5e
2017-05-24 16:26:55 +00:00
Treehugger Robot
225f0d98c8 Merge "fs_mgr: fix SIGSEGV when ostream << nullptr" 2017-05-24 16:22:33 +00:00
Mark Salyzyn
38dad6c9e4 liblog: test: enoent requires userdebug or eng to run
Bypass test if we do not have all the prerequisites to run this check
of liblog failure propagation.  We need to be root, or be able to
call su, in order to temporarily stop logd to measure the error
response from liblog.  Basically a "user" build can not have the
levers to deny or fail the logger, preventing our ability to run the
liblog.enoent test.

Test: CTS: User: liblog#enoent
Test: remove ro.debuggable line from /default.prop,
      run liblog-unit-tests --gtest_filter=*.enoent
Bug: 62030441
Change-Id: I52177b8dd3c66d433bddf630e840ee088e13cddc
2017-05-24 07:50:29 -07:00
Bowgo Tsai
59af33c9ed fs_mgr: fix SIGSEGV when ostream << nullptr
fstab_rec.fs_options might be nullptr when printing error message.
Use android::base::StringPrintf() to '(null)' when needed.

Bug: 37759782
Test: Boot device and manaully trigger the output
Change-Id: I1bdf4ba57331aaea9dd5e790f6bf9d9b8bdc8b53
2017-05-24 18:57:16 +08:00
Felipe Leme
8b54eb7681 Merge "Always print the initial bugreport progress message."
am: 5b17d7131b

Change-Id: Ib67d9471f1e64dfe45761603a85652157a1531f6
2017-05-24 02:10:56 +00:00
Treehugger Robot
5b17d7131b Merge "Always print the initial bugreport progress message." 2017-05-24 02:05:13 +00:00
Scott Randolph
39e0f550b9 Merge "Add AID_EVS for use by the Automotive EVS system"
am: 58620a8d4a

Change-Id: Ie15b1c633e889791c91a8836a28ead426a8cec58
2017-05-24 00:00:46 +00:00
Felipe Leme
e5d665b46f Always print the initial bugreport progress message.
Otherwise, it might take seconds to display the initial percentage,
and the user might thing something is wrong and CTRL-C the process.

Fixes: 62003852
Test: added BugreportTest.OkProgressZeroPercentIsNotIgnored
Test: m -j32 adb_test && ./out/host/linux-x86/nativetest64/adb_test/adb_test --gtest_filter=BugreportTest.*

Change-Id: I8e7dbb28666c825c1408d5d204f813064fc3048f
2017-05-23 16:58:16 -07:00
Scott Randolph
58620a8d4a Merge "Add AID_EVS for use by the Automotive EVS system" 2017-05-23 23:56:36 +00:00
James Hawkins
de6d858b51 Merge "bootstat: Calculate and log the absolute device boot time."
am: 0e3a3c409a

Change-Id: I2c8b6a7549b2ca6e68ee06858637971e06191bee
2017-05-23 23:38:31 +00:00
Dan Albert
e2d7a50b69 Merge "Add host feature for push --sync support."
am: 886e6cac05

Change-Id: I189aa84d3a62ac087253d01fe83f5416e31d1c1f
2017-05-23 23:38:14 +00:00
Treehugger Robot
0e3a3c409a Merge "bootstat: Calculate and log the absolute device boot time." 2017-05-23 23:33:48 +00:00
Treehugger Robot
886e6cac05 Merge "Add host feature for push --sync support." 2017-05-23 23:30:23 +00:00
James Hawkins
1bfcaec1ab bootstat: Calculate and log the absolute device boot time.
Bug: 38345538
Test: None
Change-Id: I76a4b831cc3809d37b7edfcf1b5657cdf363832a
2017-05-23 14:43:49 -07:00
Dan Albert
5176df8d4a Add host feature for push --sync support.
Test: adb host-features | grep push_sync
Bug: None
Change-Id: Ia7a7e9c3c2e6632a9c954fbad8f64602a21d9757
2017-05-23 14:30:00 -07:00
Scott Randolph
d5d3276482 Add AID_EVS for use by the Automotive EVS system
The EVS HAL and related software stack will use this id when running
daemons that monitor car state, capture and display video, and interact
with users.
Test:  visual inspection

Change-Id: I53404c624933b7f55f1292c041c6c712522ab13b
2017-05-23 12:44:24 -07:00
GuangHui Liu
41bda344a9 Create build target to pull adb test scripts.
Test: m adb_integration_test_adb adb_integration_test_device

Change-Id: I8c97af44ecf65eeae8a8dd678c43ad1d9f6c8a51
2017-05-23 10:42:59 -07:00
Narayan Kamath
ad9cb6678d Merge "tombstoned: Add a shared library version of libtombstoned_client..."
am: 0f185bb148

Change-Id: I484e4f8ffc384ba56e49fac968fbbe9440abb876
2017-05-23 13:27:29 +00:00
Narayan Kamath
0f185bb148 Merge "tombstoned: Add a shared library version of libtombstoned_client..." 2017-05-23 13:20:32 +00:00
Josh Gao
c7d9eb8636 Merge changes I8d0c60e5,Ib8ad0ad6
am: a6bb369cb0

Change-Id: I1f6da82e3d8cc4646eca6403bf1f1b7266665fbf
2017-05-23 02:53:17 +00:00
Treehugger Robot
a6bb369cb0 Merge changes I8d0c60e5,Ib8ad0ad6
* changes:
  adb: boolify check_header and check_data.
  adb: redirect stdout/stderr before initializing usb.
2017-05-23 02:51:32 +00:00
Yifan Hong
c33edda9c4 Merge "libtoolbox_dd / grep: Android.mk -> bp"
am: 2306272142

Change-Id: I5e84058df04af2d29ae85aaa8347543527642968
2017-05-23 02:47:45 +00:00
Treehugger Robot
2306272142 Merge "libtoolbox_dd / grep: Android.mk -> bp" 2017-05-23 02:43:27 +00:00
Tom Cherry
062657cf2b Merge "init: start move to Android.bp"
am: 276f765984

Change-Id: I73b17d7e6e39f92aab35950274d4bed7b5bc5b41
2017-05-23 02:23:43 +00:00
Tom Cherry
276f765984 Merge "init: start move to Android.bp" 2017-05-23 02:17:01 +00:00
Yifan Hong
49641ba865 libtoolbox_dd / grep: Android.mk -> bp
Bug: 37512442
Test: links
Change-Id: I98b2b463a69b065eff2bea562ce6be50f8a12341
2017-05-22 18:08:02 -07:00
Sandeep Patil
175fb8ce3f Merge "shell_and_utils: add vendor shell and toybox targets"
am: 7d213d08e7

Change-Id: I6f7d4ff2ec374d1719521ffe39db9c5892fe9535
2017-05-22 21:07:23 +00:00
Treehugger Robot
7d213d08e7 Merge "shell_and_utils: add vendor shell and toybox targets" 2017-05-22 21:00:19 +00:00