Commit Graph

29142 Commits

Author SHA1 Message Date
Sandeep Patil 8b70bed4c9 Merge "init: split property context into platform & non-platform components" am: b8e5553887 am: b29cafdd83
am: 8861d1fbec

Change-Id: If06855e76fa95b165e8aacc7e244ae347c4f599f
2017-01-18 06:27:13 +00:00
Sandeep Patil e60a203ec5 init: split property context into platform & non-platform components am: 871c306855 am: ca1bcdb286
am: 4bf0a38e72

Change-Id: I1490c82306caf867f792cf1fa6a26a8dc7845066
2017-01-18 06:26:57 +00:00
Sandeep Patil 8861d1fbec Merge "init: split property context into platform & non-platform components" am: b8e5553887
am: b29cafdd83

Change-Id: I521d8f322b1c43cb28b84001b3273cb410e33557
2017-01-18 06:22:12 +00:00
Sandeep Patil 4bf0a38e72 init: split property context into platform & non-platform components am: 871c306855
am: ca1bcdb286

Change-Id: I698a1f395d5acebac76ae6d63a567eeffe756381
2017-01-18 06:21:55 +00:00
Sandeep Patil b29cafdd83 Merge "init: split property context into platform & non-platform components"
am: b8e5553887

Change-Id: Id1b5514a10fadbc3ee61c5c36e2f054d9f5930a3
2017-01-18 06:17:55 +00:00
Sandeep Patil ca1bcdb286 init: split property context into platform & non-platform components
am: 871c306855

Change-Id: I2702dba233f674a19e7a44541e74124be3b0b0f0
2017-01-18 06:17:53 +00:00
Treehugger Robot b8e5553887 Merge "init: split property context into platform & non-platform components" 2017-01-18 06:09:02 +00:00
Colin Cross 1207ba3d5a Export android_filesystem_config.h as a filegroup
bionic/libc/Android.bp needs to reference android_filesystem_config.h,
export it using a filegroup module.

Bug: 34283327
Test: builds
Change-Id: Id7650f3b64d7eb52f945f538d05b691b8b3c3fcb
2017-01-17 18:20:28 -08:00
Winter Wang 9450e741d3 Merge "init: usb: fix audio_source function typo" am: 56098eed3b am: 6a5f085288 am: 8aefa0a8f3
am: 912ea6bb10

Change-Id: I48933d7b08d2bb2f2a108ddb20f25d85e5fb5c88
2017-01-18 01:53:22 +00:00
Winter Wang 912ea6bb10 Merge "init: usb: fix audio_source function typo" am: 56098eed3b am: 6a5f085288
am: 8aefa0a8f3

Change-Id: Ifeb15d31a74ae7e7700efbdb070e13006cb8a76e
2017-01-18 01:48:52 +00:00
Winter Wang 8aefa0a8f3 Merge "init: usb: fix audio_source function typo" am: 56098eed3b
am: 6a5f085288

Change-Id: I092bda8645dd4bdf3c82e27a84d4e77498ae2828
2017-01-18 01:46:21 +00:00
Winter Wang 6a5f085288 Merge "init: usb: fix audio_source function typo"
am: 56098eed3b

Change-Id: I3d27da1b19ec01de99ea7092b816f0a67789db19
2017-01-18 01:44:21 +00:00
Treehugger Robot 56098eed3b Merge "init: usb: fix audio_source function typo" 2017-01-18 01:39:39 +00:00
TreeHugger Robot c916aa6a13 Merge changes from topic 'storaged_logging'
* changes:
  storaged: fix crash when cmdline is longer than 64 characters
  storaged: remove redundant logging
  storaged: increase periodic polling interval
2017-01-18 01:14:31 +00:00
James Hawkins 55d78adcc2 Merge "bootstat: Fix false metrics due to soft reboots." am: bde89da5fc am: c5129582bb am: 18d75b1ab3
am: 7cab73aeba

Change-Id: Iba554a7e22ba4dc657b62d5f702d556b893a3698
2017-01-17 23:56:45 +00:00
James Hawkins 7cab73aeba Merge "bootstat: Fix false metrics due to soft reboots." am: bde89da5fc am: c5129582bb
am: 18d75b1ab3

Change-Id: I05d8cc087f648e6d8e22414e7d96a1385e1ac8e4
2017-01-17 23:54:14 +00:00
James Hawkins 18d75b1ab3 Merge "bootstat: Fix false metrics due to soft reboots." am: bde89da5fc
am: c5129582bb

Change-Id: I908178abf95cd8e2997c9eabe42a05547f25e820
2017-01-17 23:52:13 +00:00
James Hawkins c5129582bb Merge "bootstat: Fix false metrics due to soft reboots."
am: bde89da5fc

Change-Id: I4c49fff20f78e4bff744dfe94a7207cf7e151404
2017-01-17 23:50:15 +00:00
James Hawkins bde89da5fc Merge "bootstat: Fix false metrics due to soft reboots." 2017-01-17 23:46:58 +00:00
Jin Qian b00d5467d3 storaged: fix crash when cmdline is longer than 64 characters
Bug: 34331490
Change-Id: I40302f4d54b7d8fe4fc5ecbc76df42df68a35504
2017-01-17 15:45:05 -08:00
Jin Qian 27506fa41f storaged: remove redundant logging
Don't log disk_stats and emmc_info to system buffer since they
are already uploaded to events buffer.

Use DEBUG flag to control disk perf logging.

Bug: 34331490
Change-Id: I5f628a1a46e1f72588da064523da69737bd67dcb
2017-01-17 15:43:25 -08:00
Jin Qian 0c77270ffc storaged: increase periodic polling interval
set default polling internal to 1 minute
set default disk stats publish to 1 hour
set default emmc info publish to 1 day

Bug: 34331490
Change-Id: Ifd86ddf9d826fb252de9dc8d6881e80ccb193e3b
2017-01-17 15:37:37 -08:00
Gustavo Padovan 801492b8a6 libsync: tests: redefine PollOnDestroyedTimeline()
On mainline if the sw_sync timeline is destroyed the fences doesn't not
signal or error. So change the test to check if the fence is still there
by polling the fence with timeout zero and asserting if it is not
signalled.

Test: Sync unit tests still passes.
Change-Id: Icb8e629018eef35074ae91d0f29ed1f12e90492b
2017-01-17 14:29:41 -08:00
Gustavo Padovan e4682802cb libsync: tests: remove WaitOnDestroyedTimeline test
The mainline Sync File implementation doesn't have wait ioctl anymore.
Only poll is supported now, and we already have a test for that.

Test: Sync unit tests still passes.
Change-Id: Iadde7b2173024af9b8d20316e640297cf214c645
2017-01-17 14:29:18 -08:00
Gustavo Padovan 61ab0d74d2 libsync: add support to new Sync API
Change libsync functions in a way that it can run dynamically on both
APIs.

v2: fix whitespace changes and poll return handling

v3: handle error cases on sync_wait()

Test: Sync unit tests still passes.
Change-Id: I743ab92ce39cbfa75dca41dd0a435efa9f2aab66
hange-Id: Ib56f2c6441b41028bc9f66998676790b7713988a
2017-01-17 14:29:01 -08:00
Gustavo Padovan ffc687baad libsync: open new location of sw_sync file
sw_sync file for debug was moved to debugfs. Try to open it and if it
fails try to open /dev/sw_sync.

Test: Sync unit tests still passes.
Change-Id: Ie078fbc2eb5294f28b916a9e65b7fcd3a18a8580
hange-Id: I216874964368d939bed2779d98cd89e527a57d45
2017-01-17 14:28:45 -08:00
Gustavo Padovan 6786575d42 libsync: add new Sync kernel API
Add the new API to the internal sync.h file. As there is two different
APIs we will need to discovery dynamically which one to use.

v2: Fix Documentation

Test: Sync unit tests still passes.
Change-Id: I2ab3cd46e48ba5d9c73d54f9583b1a8141566581
2017-01-17 14:28:26 -08:00
Gustavo Padovan d6bbc5de66 libsync: move kernel headers for sync ioctls to sync.h
This patch moves the legacy API to the internal sync.h header
and add documentation to it.

Test: Sync unit tests still passes.
Change-Id: I9b17eb23af30043b3df5fb9e857affad68ba8521
2017-01-17 14:28:00 -08:00
Winter Wang 60c763ed52 init: usb: fix audio_source function typo
for audio_source function instance, there exist 2 function name here:
    "audio_source.gs2" and "audio_source.gs3"
I believe this usb accessory audio name "audio_source.gs2" is a typo,
as there is no need to create another audio_source instance.

Test: Manual

Change-Id: I70b513db474632eb990131c285c8d5105c17970f
Signed-off-by: Winter Wang <wente.wang@nxp.com>
2017-01-17 14:27:34 -08:00
Josh Gao cbe70cb0a8 debuggerd: advance our amazing bet.
Remove debuggerd in favor of a helper process that gets execed by
crashing processes.

Bug: http://b/30705528
Test: debuggerd_test
Change-Id: I9906c69473989cbf7fe5ea6cccf9a9c563d75906
2017-01-17 13:57:57 -08:00
James Hawkins 800ceb45b1 bootstat: Fix false metrics due to soft reboots.
Use a flag to enable/disable logging metrics, set to false during soft
reboots.

Bug: 32807863
Change-Id: Ib1359327af4e18d40400c29961c454f7be1b8d0c
Test: None
2017-01-17 13:28:17 -08:00
Jesse Hall 0c4764074f Merge "dlext_namespace.h: Declare android_get_LD_LIBRARY_PATH" into nyc-mr2-dev-plus-aosp
am: 3e775c3e05

Change-Id: I43824c626a8166abf4151cb511d1575a55606628
2017-01-17 20:59:32 +00:00
Jesse Hall 63436bf9a1 dlext_namespace.h: Declare android_get_LD_LIBRARY_PATH
am: acde20c027

Change-Id: I6fab98d173687843c86859e9a5b37e39c0b8d6e8
2017-01-17 20:59:31 +00:00
TreeHugger Robot 3e775c3e05 Merge "dlext_namespace.h: Declare android_get_LD_LIBRARY_PATH" into nyc-mr2-dev-plus-aosp 2017-01-17 20:56:17 +00:00
Jesse Hall 10729b0385 Merge changes from topic 'am-a4406a3abc304bda91eea9becf864ba6' into nyc-mr2-dev-plus-aosp
am: 8f8dc01b3a  -s ours

Change-Id: I0e6bf08d68a8634d3c65edf70d0a85795f31693c
2017-01-17 20:47:11 +00:00
Jesse Hall f34c68a0db dlext_namespace.h: Declare android_get_LD_LIBRARY_PATH am: 00d5dad56f
am: bfbfeb264b  -s ours

Change-Id: I174fef618730651c72ed7d37206737acdc9dcd04
2017-01-17 20:46:24 +00:00
Jesse Hall e732136b95 Make dlext_namespaces.h available to users of libnativeloader am: 243bbd29d6 -s ours
am: 02672ee459  -s ours

Change-Id: I62d7c8cda5978f502027f54e9bdc7c38f8373f5f
2017-01-17 20:46:16 +00:00
Tao Bao 4e94223525 Merge "Revert "init: add ro.boot.init_rc"" am: 4c5c9db17b am: bd8a24e292 am: 94c57f7f23
am: 6d28c37ef8

Change-Id: I2d15dc3eb0392212917f66b343b8a5b920de8c98
2017-01-17 20:34:35 +00:00
Android Build Merger (Role) 8f8dc01b3a Merge changes from topic 'am-a4406a3abc304bda91eea9becf864ba6' into nyc-mr2-dev-plus-aosp
* changes:
  dlext_namespace.h: Declare android_get_LD_LIBRARY_PATH am: 00d5dad56f
  Make dlext_namespaces.h available to users of libnativeloader am: 243bbd29d6  -s ours
2017-01-17 20:32:28 +00:00
Jesse Hall bfbfeb264b dlext_namespace.h: Declare android_get_LD_LIBRARY_PATH
am: 00d5dad56f

Change-Id: Id30495dcc6e5142bce24deca8b9527126b14de97
2017-01-17 20:31:58 +00:00
Jesse Hall 02672ee459 Make dlext_namespaces.h available to users of libnativeloader
am: 243bbd29d6  -s ours

Change-Id: Id47c7f0f7f1f911404f3f7cb49ed5c91b53695ec
2017-01-17 20:31:53 +00:00
Tao Bao 6d28c37ef8 Merge "Revert "init: add ro.boot.init_rc"" am: 4c5c9db17b am: bd8a24e292
am: 94c57f7f23

Change-Id: I2bb227c4165ddb438a3020f3e4874975dc1b1368
2017-01-17 20:31:29 +00:00
Tao Bao 94c57f7f23 Merge "Revert "init: add ro.boot.init_rc"" am: 4c5c9db17b
am: bd8a24e292

Change-Id: I0599a01f0d46f869227330b8cdcd5542dc75a448
2017-01-17 20:28:03 +00:00
Tao Bao bd8a24e292 Merge "Revert "init: add ro.boot.init_rc""
am: 4c5c9db17b

Change-Id: I837b786637e5862cbad3338d053ce9b8c730241b
2017-01-17 20:25:29 +00:00
Jesse Hall acde20c027 dlext_namespace.h: Declare android_get_LD_LIBRARY_PATH
This allows clients creating their own namespace do so by modifying
the default library path, rather than hardcoding it multiple places in
the system.

Bug: 33531483
Test: build
Change-Id: I321e219392b38c235b220986e1520b49a4669863
(cherry picked from commit 823c266a8a)
2017-01-17 20:23:16 +00:00
Tao Bao 4c5c9db17b Merge "Revert "init: add ro.boot.init_rc"" 2017-01-17 20:19:23 +00:00
Tao Bao 01519a207c Revert "init: add ro.boot.init_rc"
This reverts commit 7e6d30e5f2.

Bug: 26639863
Bug: 34318089
Change-Id: Ie71d773ee7c6c6a90e8298f8e0798eacba12d0be
2017-01-17 20:16:45 +00:00
Nick Desaulniers e5b69e1e70 remove fingerprintd from the build
in favor of HADL2.1 implementation.

Test: fingerprints are add-able
Bug: 33199080
Change-Id: Ie22723fd7dddbe8ea240c1d3e4dd7879aee06200
2017-01-17 11:45:41 -08:00
Jesse Hall 2f8b6aeaff Make dlext_namespaces.h available to users of libnativeloader
am: 19e105bc0a

Change-Id: I94aac15fb564c02f825f926d3b3adf2f1d9888af
2017-01-17 19:37:10 +00:00
Jesse Hall 19e105bc0a Make dlext_namespaces.h available to users of libnativeloader
Bug: 33531483
Test: build
Change-Id: I1da92e2b1437b6775a9d81fc6c1a2d4bacecbc04
(cherry picked from commit 0936d25371)
2017-01-17 19:28:20 +00:00