Commit Graph

26768 Commits

Author SHA1 Message Date
Mark Salyzyn c528ac0fe8 liblog: Replace log/log.h with android/log.h am: 6584d0a35a
am: 499a33d6dc

Change-Id: If28b70b199b4bbf99f853d6c6d14b73a72fafacb
2016-09-30 22:12:41 +00:00
Mark Salyzyn 2b42b87d8c liblog: logcat: Replace log/logd.h with log/log.h am: a166708d15
am: 772ed1c63c

Change-Id: Ibd14ac6a57994019e188e6ec138682b50d1f7e69
2016-09-30 22:12:36 +00:00
Mark Salyzyn 13c68b09d9 liblog: logd: logcat: deprecate log/log_read.h am: 004cd3c55d
am: 78a459a8c8

Change-Id: If1a76043e7941191b3c6ba07ca0277b7f9b7f2e6
2016-09-30 22:12:32 +00:00
Mark Salyzyn 848da90978 liblog: Add C++ wrapper for C event log handler am: 8eaaac0103
am: 8b4cab3f69

Change-Id: I2760c8480818f30dd126e7cfbb900a0f5796c8b1
2016-09-30 22:12:28 +00:00
Mark Salyzyn e2af341f50 Merge changes I0c25e038,I33a8fb4e,I2c9cbbbd,If4c9711e,I4b00c0df, ...
am: 07607c04ff

Change-Id: I12580455d83141f471c91439f18c79c17b088ef2
2016-09-30 22:09:34 +00:00
Mark Salyzyn 4fd110d878 liblog: Move liblog tag from 1005 to 1006
am: 9633b919d7

Change-Id: I907f5c896add0089c78fa6650e61bae76a6cc1c3
2016-09-30 22:09:33 +00:00
Mark Salyzyn cac331afd9 system/core Replace log/log.h with android/log.h
am: ff2dcd9af9

Change-Id: I3c47cb42639d56740ecf7e4fe61ea49982d69fed
2016-09-30 22:09:28 +00:00
Mark Salyzyn eb189f147b system/core Replace cutils/log.h with android/log.h
am: 66ce3e08c5

Change-Id: I20b6def8ee10f2017776024bb647deea0e073683
2016-09-30 22:09:24 +00:00
Mark Salyzyn 0f76f04072 logd: logcat: Replace log/log.h with android/log.h
am: 0dd4431072

Change-Id: Icf472fa10213cd51f9ae05b22d982439a109d172
2016-09-30 22:09:20 +00:00
Mark Salyzyn f56fce0240 libcutils: Replace cutils/log.h with android/log.h
am: 23ed4c242a

Change-Id: I03d1255d16302a6220c97bac703df820cdf4cc44
2016-09-30 22:09:15 +00:00
Mark Salyzyn 499a33d6dc liblog: Replace log/log.h with android/log.h
am: 6584d0a35a

Change-Id: I01e33a07cec32e47653f142f4d4cbb88371d9494
2016-09-30 22:09:11 +00:00
Mark Salyzyn 772ed1c63c liblog: logcat: Replace log/logd.h with log/log.h
am: a166708d15

Change-Id: Id807e2f86ec16ef5b5326f1c27e49feaca5135e1
2016-09-30 22:09:06 +00:00
Mark Salyzyn 78a459a8c8 liblog: logd: logcat: deprecate log/log_read.h
am: 004cd3c55d

Change-Id: I5912a538e7ed2d423dee3c7fd287ba81d493e4e0
2016-09-30 22:09:02 +00:00
Mark Salyzyn 8b4cab3f69 liblog: Add C++ wrapper for C event log handler
am: 8eaaac0103

Change-Id: I2ddb79f9b166b7d7825cb139f95a14f08608c02d
2016-09-30 22:08:58 +00:00
Mark Salyzyn 07607c04ff Merge changes I0c25e038,I33a8fb4e,I2c9cbbbd,If4c9711e,I4b00c0df, ...
* changes:
  liblog: Move liblog tag from 1005 to 1006
  system/core Replace log/log.h with android/log.h
  system/core Replace cutils/log.h with android/log.h
  logd: logcat: Replace log/log.h with android/log.h
  libcutils: Replace cutils/log.h with android/log.h
  liblog: Replace log/log.h with android/log.h
  liblog: logcat: Replace log/logd.h with log/log.h
  liblog: logd: logcat: deprecate log/log_read.h
  liblog: Add C++ wrapper for C event log handler
2016-09-30 22:05:17 +00:00
Mark Salyzyn 9633b919d7 liblog: Move liblog tag from 1005 to 1006
Allow logd to add another "consecutive" log tag

Test: gTest liblog-unit-tests, check for liblog in logcat afterwards
Bug: 31456426
Change-Id: I0c25e038878ec9a0cf368a33a63f8345c68749c3
2016-09-30 12:47:05 -07:00
Mark Salyzyn ff2dcd9af9 system/core Replace log/log.h with android/log.h
Should use android/log.h instead of log/log.h as a good example
to all others.  Adjust header order to comply with Android Coding
standards.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I33a8fb4e754d2dc4754d335660c450e0a67190fc
2016-09-30 12:47:05 -07:00
Mark Salyzyn 66ce3e08c5 system/core Replace cutils/log.h with android/log.h
Should use android/log.h instead of cutils/log.h as a good example
to all others.  Adjust header order to comply with Android Coding
standards.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I2c9cbbbd64d8dccf2d44356361d9742e4a9b9031
2016-09-30 12:47:05 -07:00
Mark Salyzyn 0dd4431072 logd: logcat: Replace log/log.h with android/log.h
Should use android/log.h instead of log/log.h as a good example
to all others.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: If4c9711eb57267d4707b03d54a932af9de241b13
2016-09-30 12:47:05 -07:00
Mark Salyzyn 23ed4c242a libcutils: Replace cutils/log.h with android/log.h
Replace references to cutils/log.h and log/log.h with android/log.h.
Point cutils/log.h to android/log.h. Adjust header order to comply
with Android Coding standards.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I4b00c0dff3a0a50cbb54301fdc5a6c29c21dab65
2016-09-30 12:47:05 -07:00
Mark Salyzyn 6584d0a35a liblog: Replace log/log.h with android/log.h
Move all liblog related content into android/log.h, and make
log/log.h points to android/log.h.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I858e0ebe047b86f2a8530a99bc9c380d3d58edbb
2016-09-30 12:47:05 -07:00
Mark Salyzyn a166708d15 liblog: logcat: Replace log/logd.h with log/log.h
Should use log/log.h and in some cases android/log.h instead. Can
not remove file because still in use by partners, so log/logd.h
points to log/log.h.

Test: Compile
Bug: 26552300
Bug: 31289077
Change-Id: I3580d46154617abb7231027a44f4ab9ee023febf
2016-09-30 12:47:05 -07:00
Mark Salyzyn 004cd3c55d liblog: logd: logcat: deprecate log/log_read.h
Always used in combination with log/logger.h except in log_time.cpp,
and not used externally.  As a result liblog has to support stl, a
small price to pay since goal is to convert liblog to C++ internally.

Test: compile
Bug: 31456426
Bug: 26552300
Bug: 31289077
Change-Id: I72828ec807d0a2c8e40bbdebd7a69f147a7ca5a9
2016-09-30 12:47:05 -07:00
Mark Salyzyn 8eaaac0103 liblog: Add C++ wrapper for C event log handler
Add android_log_event_context class.

Test: in context of 'logd: add getEventTag command and service'
Bug: 31456426
Bug: 26552300
Bug: 31289077
Bug: 19235719
Change-Id: Icf918b443f01e04040c8d3efe0cdb7a8e70be10c
2016-09-30 12:47:05 -07:00
Miodrag Dinic 019adde2ba Merge "[qemu]: Fix payload size format in qemu_pipe_frame_send()" am: e5976bea7a am: 8c274361fb am: f610eaac14
am: 53be7eb3d0

Change-Id: I08eb0b5d904678fde74ed3a6dbdf78d9e09a741f
2016-09-30 18:19:58 +00:00
Miodrag Dinic 53be7eb3d0 Merge "[qemu]: Fix payload size format in qemu_pipe_frame_send()" am: e5976bea7a am: 8c274361fb
am: f610eaac14

Change-Id: I890fbb885044e82d4ec66a5a400240124003ac25
2016-09-30 18:00:16 +00:00
Miodrag Dinic f610eaac14 Merge "[qemu]: Fix payload size format in qemu_pipe_frame_send()" am: e5976bea7a
am: 8c274361fb

Change-Id: I7c80343b0002ec68ef9cde40dad2202aa9b70c00
2016-09-30 17:49:11 +00:00
Miodrag Dinic 8c274361fb Merge "[qemu]: Fix payload size format in qemu_pipe_frame_send()"
am: e5976bea7a

Change-Id: Id13b05f017957749a5854e02e99ae8545f9846ee
2016-09-30 17:46:07 +00:00
Treehugger Robot e5976bea7a Merge "[qemu]: Fix payload size format in qemu_pipe_frame_send()" 2016-09-30 17:39:48 +00:00
Elliott Hughes 170e24e48d resolve merge conflicts of b40756a to nyc-dev-plus-aosp am: fe807214ef
am: a6d5587f78

Change-Id: I53cf5400aee84b0ea514f7313b914429031b8218
2016-09-30 17:18:04 +00:00
Elliott Hughes a6d5587f78 resolve merge conflicts of b40756a to nyc-dev-plus-aosp
am: fe807214ef

Change-Id: Ibcfd7f5c9c67084c754b2b60ff1e9eed976e3249
2016-09-30 17:07:03 +00:00
Elliott Hughes fe807214ef resolve merge conflicts of b40756a to nyc-dev-plus-aosp
Change-Id: Ic1aa6fd6ab66ca8fb7cf434a3d0679a41288e4a7
2016-09-30 10:00:02 -07:00
Elliott Hughes b40756ac28 resolve merge conflicts of 50cb973 to stage-aosp-master
Change-Id: Idf0d02687cc47f64acfdd3da623c7a7a62043651
2016-09-30 09:08:23 -07:00
Elliott Hughes 50cb973b49 Merge "Improve "adb help" output." 2016-09-30 15:43:43 +00:00
Miodrag Dinic 192be1dcae [qemu]: Fix payload size format in qemu_pipe_frame_send()
The following change introduced regression for booting AOSP
on emulator for all architectures:

7c7990e Fix warnings in system/ headers

qemu_pipe expects payload size in the message header to be in hex format,
as stated in the comment for qemu_pipe_frame_send().

Change-Id: I32cfa9c9b2af56f93bbda0ea5597451c389ae45e
Signed-off-by: Miodrag Dinic <miodrag.dinic@imgtec.com>
2016-09-30 13:58:11 +02:00
Colin Cross 18fd9dc451 Merge "Update escaping in Android.bp files" am: 06460bf466 am: 0ea7c975af am: 7d82c1291c
am: c910d0ac81

Change-Id: Iab087b54a032c08eb6083dc84e16053ac97d80cf
2016-09-30 04:32:24 +00:00
Colin Cross c910d0ac81 Merge "Update escaping in Android.bp files" am: 06460bf466 am: 0ea7c975af
am: 7d82c1291c

Change-Id: Ifba84db1d83c3214dd50ac4575c071d0cdbcc252
2016-09-30 04:26:46 +00:00
Colin Cross 7d82c1291c Merge "Update escaping in Android.bp files" am: 06460bf466
am: 0ea7c975af

Change-Id: Ifc79c77cc83d80fa135128f0283900c6b824fb20
2016-09-30 04:24:17 +00:00
Colin Cross 0ea7c975af Merge "Update escaping in Android.bp files"
am: 06460bf466

Change-Id: I0f828add8a11160b49866b5784d8615278d4e4a8
2016-09-30 04:21:31 +00:00
Treehugger Robot 06460bf466 Merge "Update escaping in Android.bp files" 2016-09-30 04:17:59 +00:00
Connor O'Brien 8363c55ef5 Merge "Add basic tests for ashmem" am: a2d4a6b598 am: 46d2e20ba6 am: 90ad05af85
am: 6d72798094

Change-Id: I0da946dd67a88cc39ff44ab011b0406b8ec0b45c
2016-09-29 22:24:37 +00:00
Connor O'Brien 6d72798094 Merge "Add basic tests for ashmem" am: a2d4a6b598 am: 46d2e20ba6
am: 90ad05af85

Change-Id: Ia297292d33b626b8e0aaf87e32e206cd77558ebe
2016-09-29 22:17:41 +00:00
Connor O'Brien 90ad05af85 Merge "Add basic tests for ashmem" am: a2d4a6b598
am: 46d2e20ba6

Change-Id: Ib47512bc7f3a11481913768641d17ab88baf70c5
2016-09-29 21:55:04 +00:00
Connor O'Brien 46d2e20ba6 Merge "Add basic tests for ashmem"
am: a2d4a6b598

Change-Id: I73763ba19b7e05e5ea60d3bd6fd0bcdc140b8a39
2016-09-29 21:45:35 +00:00
Connor O'Brien a2d4a6b598 Merge "Add basic tests for ashmem" 2016-09-29 21:32:02 +00:00
Colin Cross af933290f6 Update escaping in Android.bp files
Strings like cflags in Android.bp files are parsed by blueprint,
written to build.ninja files, parsed by ninja, and then passed to
/bin/sh -c.  This had resulted in a combination of blueprint
(\"), ninja ($$), and shell (\$) escaping being necessary.

Soong has been updated to automatically handle ninja and shell
escaping, remove extra escaping from Android.bp files.

Bug: 31221587
Test: m -j
Change-Id: I78003c7a18028d27dff444af7d84901345d323a1
2016-09-29 14:07:08 -07:00
Colin Cross 910ab5ec75 Merge "Fix more system/core/include warnings" am: 18fbd80504 am: 5fe194a9fd am: b5ca47989c
am: 0763c30289

Change-Id: I4dcce9ecde9c7f1bf02952a1aafb6407a260d73b
2016-09-29 18:04:35 +00:00
Colin Cross 0763c30289 Merge "Fix more system/core/include warnings" am: 18fbd80504 am: 5fe194a9fd
am: b5ca47989c

Change-Id: I8d5a602f94bc57866aa3827cc508c94afb4ac4ba
2016-09-29 17:58:08 +00:00
Colin Cross b5ca47989c Merge "Fix more system/core/include warnings" am: 18fbd80504
am: 5fe194a9fd

Change-Id: I8e561ab27f93ed10efa8a0e864cd7d1283bb6163
2016-09-29 17:42:19 +00:00
Colin Cross 5fe194a9fd Merge "Fix more system/core/include warnings"
am: 18fbd80504

Change-Id: I9450a77271cdc42cc7db30461769ddb18f2e5af4
2016-09-29 17:32:30 +00:00