Commit Graph

49586 Commits

Author SHA1 Message Date
Ken Tsou 7024e75744 Merge "charger: fix show 0% symptom when start to draw UI" am: a93a89f4bd am: 5052f7db39
am: 9267928836

Change-Id: I34070e1d27ac4cce63730597350bd3fdb0cde21e
2019-03-31 19:47:31 -07:00
Ken Tsou 9267928836 Merge "charger: fix show 0% symptom when start to draw UI" am: a93a89f4bd
am: 5052f7db39

Change-Id: Icf6c36e86d5b7ab10d86f7c38cbd1173f4f6d964
2019-03-31 19:43:26 -07:00
Ken Tsou 5052f7db39 Merge "charger: fix show 0% symptom when start to draw UI"
am: a93a89f4bd

Change-Id: Ic895a53a18776d21f15e21ccd5eba67a7a7c985c
2019-03-31 19:39:16 -07:00
Treehugger Robot a93a89f4bd Merge "charger: fix show 0% symptom when start to draw UI" 2019-04-01 02:27:47 +00:00
Christopher Ferris da70b93fe9 Merge "Remove sequential search from DwarfEhFrameWithHdr." am: cab97bc6eb am: 3b6c4210f5
am: 9f6f6f071d

Change-Id: I271afb252169dc6ad06e2b2e8e84363b9106a7dd
2019-03-29 20:15:51 -07:00
Christopher Ferris 9f6f6f071d Merge "Remove sequential search from DwarfEhFrameWithHdr." am: cab97bc6eb
am: 3b6c4210f5

Change-Id: Iff2f6320f9dcc91bc262290bebdc203e0683c778
2019-03-29 20:10:47 -07:00
Christopher Ferris 3b6c4210f5 Merge "Remove sequential search from DwarfEhFrameWithHdr."
am: cab97bc6eb

Change-Id: I7663f76ca8ccbd7c36bd7b586a91dd78377cab9a
2019-03-29 20:06:32 -07:00
Christopher Ferris cab97bc6eb Merge "Remove sequential search from DwarfEhFrameWithHdr." 2019-03-30 02:55:59 +00:00
Steven Moreland 6e10e67eaa Merge "libutils/libcutils: make host more like device" am: 43f29072a9 am: 02bb6c1b24
am: 775ed88ddd

Change-Id: I6d9a2c90499622ad61046b3c222f8cb9d688bd16
2019-03-29 17:49:56 -07:00
Steven Moreland 775ed88ddd Merge "libutils/libcutils: make host more like device" am: 43f29072a9
am: 02bb6c1b24

Change-Id: Ia7a1579ba589a8d68379ba9adfb5b69ebc1ed868
2019-03-29 17:06:57 -07:00
Mikhail Naganov 10bb961bf4 Merge "libutils: Fix thread safety annotations in Mutex" am: f8fe94e546 am: 8105c31189
am: cce9c65f53

Change-Id: I91f48e9ae520b1c1408c813d059a9403af88df48
2019-03-29 16:48:37 -07:00
Steven Moreland 02bb6c1b24 Merge "libutils/libcutils: make host more like device"
am: 43f29072a9

Change-Id: Ibe6cd59c77e6a65b7d6b0d864057d0c90c6d9063
2019-03-29 16:37:42 -07:00
Mikhail Naganov cce9c65f53 Merge "libutils: Fix thread safety annotations in Mutex" am: f8fe94e546
am: 8105c31189

Change-Id: Idb3b730d5ec3a7c0101f7b5e782c587a252908d0
2019-03-29 16:26:23 -07:00
Steven Moreland 43f29072a9 Merge "libutils/libcutils: make host more like device" 2019-03-29 23:05:20 +00:00
Mikhail Naganov 8105c31189 Merge "libutils: Fix thread safety annotations in Mutex"
am: f8fe94e546

Change-Id: Ied4eab63acfdcd460de8b54b603180e9dd219478
2019-03-29 15:51:21 -07:00
Mikhail Naganov f8fe94e546 Merge "libutils: Fix thread safety annotations in Mutex" 2019-03-29 22:28:01 +00:00
Christopher Ferris 22d8e8e12f Remove sequential search from DwarfEhFrameWithHdr.
Since there has never been a time that a sequential search has been
necessary, simply remove the sequential code and allow the DwarfEhFrame
object to be used in that case. If this does come up regularly, I'm not
sure that it wouldn't be more performant to use the DwarfEhFrame object
regardless.

Bug: 129550015

Test: libunwindstack unit tests, libbacktrace unit tests.
Change-Id: I738e81accb9bc1e182168cddc9c0c22823e3369b
2019-03-29 14:08:37 -07:00
Elliott Hughes d4952191e4 Merge "BSD grep: sync with upstream." am: a42823b264 am: 1a420368d8
am: 0b2474d84f

Change-Id: I02cc77ba673fd298623f44164da7b2b0957d9000
2019-03-29 13:39:41 -07:00
Suren Baghdasaryan f33436d720 Merge "Set /proc/pressure/memory file permissions" am: 3cf9850cef am: e337910a35
am: d8a1ee860c

Change-Id: I46d066d35a97a0d0fc01240c58a8060a40d6cea7
2019-03-29 13:36:57 -07:00
Elliott Hughes 0b2474d84f Merge "BSD grep: sync with upstream." am: a42823b264
am: 1a420368d8

Change-Id: I05ae825023ccee75d4250fae92452a2bed681274
2019-03-29 13:25:00 -07:00
Elliott Hughes 1a420368d8 Merge "BSD grep: sync with upstream."
am: a42823b264

Change-Id: I5cbc85a29fe9092861dc6853e13c4030de17e748
2019-03-29 13:16:33 -07:00
Suren Baghdasaryan d8a1ee860c Merge "Set /proc/pressure/memory file permissions" am: 3cf9850cef
am: e337910a35

Change-Id: I9a771fd117fd04c214bee0e0ca38e20c1ac1f2c5
2019-03-29 13:12:13 -07:00
Suren Baghdasaryan e337910a35 Merge "Set /proc/pressure/memory file permissions"
am: 3cf9850cef

Change-Id: Ic8fb7068d51559996fc8c31df05ddd67297974b3
2019-03-29 12:56:19 -07:00
Treehugger Robot a42823b264 Merge "BSD grep: sync with upstream." 2019-03-29 19:46:17 +00:00
Suren Baghdasaryan 3cf9850cef Merge "Set /proc/pressure/memory file permissions" 2019-03-29 19:38:31 +00:00
Mikhail Naganov e1a285ddc1 libutils: Fix thread safety annotations in Mutex
The annotations for Mutex::tryLock and timedLock were
incorrectly specifying the return value for the successful
acquisition.

Test: make libutils_test
Change-Id: I9729b6555ede5cb1d6db046e33c35bf5926c7755
2019-03-29 12:21:57 -07:00
Ken Tsou 6c7ece743c charger: fix show 0% symptom when start to draw UI
Bug: 123060995
Test: m -j succeeded and confirm offmode charge UI behavior
Change-Id: I7412157cfe829a86e72b3f43d9c43032f3567ed3
2019-03-29 18:33:00 +08:00
Bernie Innocenti cc347b9d4e Merge "Disallow operator!() on unique_fd" am: 0a887aa14c am: c730327691
am: ba394579cb

Change-Id: Ie9bfc735da5d1f74da3a409e910e012aaf0c4431
2019-03-28 21:31:39 -07:00
Bernie Innocenti ba394579cb Merge "Disallow operator!() on unique_fd" am: 0a887aa14c
am: c730327691

Change-Id: I6c3a19d5b9bd559d84e90aeaa7264a6c5c472e9d
2019-03-28 21:15:11 -07:00
Bernie Innocenti c730327691 Merge "Disallow operator!() on unique_fd"
am: 0a887aa14c

Change-Id: I76c4bf585d1082e08cd01ba59b6b25b26c16ddad
2019-03-28 21:09:00 -07:00
Treehugger Robot 0a887aa14c Merge "Disallow operator!() on unique_fd" 2019-03-29 03:52:46 +00:00
Steven Moreland e6132be529 libutils/libcutils: make host more like device
Having shared host libraries allows libraries depending on these to use
'shared_libs' for these. This simplifies configurations since these
libraries don't have to specify 'shared_libs' on all non-host targets.

Bug: 124524556
Test: build only

Change-Id: I09fb4a4fb66ea0a87cb76b1e6f400c537a11f082
2019-03-28 18:44:32 -07:00
Tim Murray 1504cb5b6e Set /proc/pressure/memory file permissions
Change access mode and ownership for /proc/pressure/memory file
to allow system components access memory pressure information.

Bug: 129476847
Change-Id: I25b6bc9d47aee857936f050b66e7bee6363b53be
Signed-off-by: Tim Murray <timmurray@google.com>
2019-03-28 22:12:06 +00:00
Elliott Hughes 720c1ecc90 BSD grep: sync with upstream.
No significant changes, but this does get rid of our local modifications.

Bug: http://b/129089665
Test: builds
Change-Id: Ie6e3cc2198c302fc998fe6fcf027661e5dca88f0
2019-03-28 14:29:00 -07:00
Nick Kralevich 8f1e95e03e Merge "zip_writer.cc: update powerof2 and use it unconditionally" am: b86e248e8b am: 0fd9adf747
am: 707d0b6da5

Change-Id: Iac67cf33d1bd51920cd06741f9e39ab3ccabf3b8
2019-03-28 14:04:15 -07:00
Josh Gao 2a1fb09335 Merge "adbd: wait for FUNCTIONFS_BIND for up to a second, then retry." am: bfcb981b32 am: 80268fd592
am: 51ca488977

Change-Id: Ia4a29eedde07ea29b0a7650179330386ecf19af1
2019-03-28 14:02:31 -07:00
Nick Kralevich 707d0b6da5 Merge "zip_writer.cc: update powerof2 and use it unconditionally" am: b86e248e8b
am: 0fd9adf747

Change-Id: Id31eb3c2b8ae67dbe6c8d255879a6cc0543a5abe
2019-03-28 13:52:24 -07:00
Josh Gao 51ca488977 Merge "adbd: wait for FUNCTIONFS_BIND for up to a second, then retry." am: bfcb981b32
am: 80268fd592

Change-Id: I07a15442445e76d59cd1b6dff23ff5019eac0d45
2019-03-28 13:50:57 -07:00
Nick Kralevich 0fd9adf747 Merge "zip_writer.cc: update powerof2 and use it unconditionally"
am: b86e248e8b

Change-Id: I182bab95eb26b06d8d7a8f173519edae270660b2
2019-03-28 13:38:44 -07:00
Josh Gao 80268fd592 Merge "adbd: wait for FUNCTIONFS_BIND for up to a second, then retry."
am: bfcb981b32

Change-Id: I159c162a34246eca5196d5b41b7d7c46aa71c1ef
2019-03-28 13:37:41 -07:00
Nick Kralevich b86e248e8b Merge "zip_writer.cc: update powerof2 and use it unconditionally" 2019-03-28 20:23:00 +00:00
Josh Gao bfcb981b32 Merge "adbd: wait for FUNCTIONFS_BIND for up to a second, then retry." 2019-03-28 19:53:29 +00:00
Mark Salyzyn 0fef28fbd1 Merge "init: mount_handler: system-as-root (legacy)" am: a896e2aee5 am: 7bf190aa32
am: 6ecebbf94f

Change-Id: Ibe9647f702883eba8cfdb6135baf664b67c6968e
2019-03-28 12:03:14 -07:00
Mark Salyzyn 6ecebbf94f Merge "init: mount_handler: system-as-root (legacy)" am: a896e2aee5
am: 7bf190aa32

Change-Id: Idbd93068f8ab339a56bc790336e6130161e7eaa5
2019-03-28 11:45:38 -07:00
Mark Salyzyn 7bf190aa32 Merge "init: mount_handler: system-as-root (legacy)"
am: a896e2aee5

Change-Id: I884b45fbdf1d821db563174bbb9abb894b98f912
2019-03-28 11:37:20 -07:00
Treehugger Robot a896e2aee5 Merge "init: mount_handler: system-as-root (legacy)" 2019-03-28 18:25:27 +00:00
Suren Baghdasaryan 9294e989b4 Merge "libprocessgroup: restrict SetupCgroups to one-time usage and only by init" am: 81cfeb54fc am: f5b778131b
am: bb07f38278

Change-Id: Id82e8ba93ba63e1fc0eb281531e062f32743f63e
2019-03-28 10:36:52 -07:00
Suren Baghdasaryan bb07f38278 Merge "libprocessgroup: restrict SetupCgroups to one-time usage and only by init" am: 81cfeb54fc
am: f5b778131b

Change-Id: I9261786a87b46525c3642d33157e0a0863580d5d
2019-03-28 10:30:11 -07:00
Suren Baghdasaryan f5b778131b Merge "libprocessgroup: restrict SetupCgroups to one-time usage and only by init"
am: 81cfeb54fc

Change-Id: I3b6f30348624462212d17655df6dde9aff71de15
2019-03-28 10:25:25 -07:00
Suren Baghdasaryan 81cfeb54fc Merge "libprocessgroup: restrict SetupCgroups to one-time usage and only by init" 2019-03-28 17:13:09 +00:00