Commit Graph

14982 Commits

Author SHA1 Message Date
Elliott Hughes bd8771077c am ce053677: am f26eb51c: Merge "Add "fastboot --version"."
* commit 'ce05367734fabef8409e9d6c6c57f5ba522a96c5':
  Add "fastboot --version".
2015-06-03 02:57:28 +00:00
Elliott Hughes ce05367734 am f26eb51c: Merge "Add "fastboot --version"."
* commit 'f26eb51c2a85181d7093785760d2c90d6e9d4eeb':
  Add "fastboot --version".
2015-06-03 02:44:49 +00:00
Elliott Hughes f26eb51c2a Merge "Add "fastboot --version"." 2015-06-03 02:36:50 +00:00
Mark Salyzyn 07d4cbc1fb am 49ed105f: init.rc: logd: Add logpersistd (nee logcatd)
* commit '49ed105fd91677f7c87417890bf7441146953fff':
  init.rc: logd: Add logpersistd (nee logcatd)
2015-06-03 02:20:58 +00:00
Mark Salyzyn 7a6b05851e am cdb468ab: logcat: -f run in background
* commit 'cdb468abb38bb75aaad5d4c6699a824559cf272a':
  logcat: -f run in background
2015-06-03 02:20:57 +00:00
Rom Lemarchand 74a38f1adb am b6e1632f: am 8773d62c: Merge "mkbootimg: parse hexadecimal ints"
* commit 'b6e1632ff4179b79d7bd39fec81f6d7a3cb3f82d':
  mkbootimg: parse hexadecimal ints
2015-06-03 02:19:14 +00:00
Rom Lemarchand b6e1632ff4 am 8773d62c: Merge "mkbootimg: parse hexadecimal ints"
* commit '8773d62c74c2b571506b22dd97742808ea441cd7':
  mkbootimg: parse hexadecimal ints
2015-06-03 02:12:56 +00:00
Rom Lemarchand 8773d62c74 Merge "mkbootimg: parse hexadecimal ints" 2015-06-03 02:04:16 +00:00
Rom Lemarchand 45f2ce1cb8 mkbootimg: parse hexadecimal ints
Allow passing int arguments as hexadecimal values

Change-Id: If5a199007e9868f994dd740ccd15c455eb536327
2015-06-02 19:01:25 -07:00
Elliott Hughes 9d4a8a7763 am 8a5796b1: am 98a4dd48: Merge "\'usb\' doesn\'t need to be global in fastboot."
* commit '8a5796b1c54e1c3e42581ee6628fb55895998d90':
  'usb' doesn't need to be global in fastboot.
2015-06-03 01:31:47 +00:00
Elliott Hughes 8a5796b1c5 am 98a4dd48: Merge "\'usb\' doesn\'t need to be global in fastboot."
* commit '98a4dd48bd1e274555394133f03f44eb0390913f':
  'usb' doesn't need to be global in fastboot.
2015-06-03 01:23:42 +00:00
Elliott Hughes 98a4dd48bd Merge "'usb' doesn't need to be global in fastboot." 2015-06-03 01:14:32 +00:00
Rom Lemarchand 858bdb46a5 resolved conflicts for merge of 7982495f to mnc-dev-plus-aosp 2015-06-02 17:22:42 -07:00
Rom Lemarchand d80259ec9b am a97eed8b: am fe18b45a: Merge "mkbootimg: turn into a python script"
* commit 'a97eed8b2b563135a0dbc97eccb91cfef965011e':
  mkbootimg: turn into a python script
2015-06-02 23:36:12 +00:00
Rom Lemarchand 7982495f79 am f34015bf: Merge "mkbootimg: delete obsolete C source"
* commit 'f34015bf367ab8fe4c49c36411ac0a3d55038a02':
  mkbootimg: delete obsolete C source
2015-06-02 23:21:27 +00:00
Rom Lemarchand a97eed8b2b am fe18b45a: Merge "mkbootimg: turn into a python script"
* commit 'fe18b45adee4d69b1228d21a15da44d99debf349':
  mkbootimg: turn into a python script
2015-06-02 23:21:25 +00:00
Mark Salyzyn e7b5c10291 resolved conflicts for merge of 117c3220 to mnc-dev-plus-aosp
Change-Id: I6bb3c1e065b51b147fdbc2c3f2e02d8566a06c8f
2015-06-02 16:17:54 -07:00
Rom Lemarchand f34015bf36 Merge "mkbootimg: delete obsolete C source" 2015-06-02 23:13:13 +00:00
Rom Lemarchand fe18b45ade Merge "mkbootimg: turn into a python script" 2015-06-02 23:12:49 +00:00
Rom Lemarchand 2aa78ce625 mkbootimg: delete obsolete C source
Change-Id: Ic36cbf370b7d54c3dd425a25d938c661e8d3405a
2015-06-02 16:10:52 -07:00
Rom Lemarchand ad6ec0c7fe mkbootimg: turn into a python script
Turn mkbootimg into a python script instead of a C utility

Change-Id: I36d35dfacfbbef2cc16bd6695ab15ee716bb0cdb
2015-06-02 16:10:52 -07:00
Mark Salyzyn 6e9805972e am cdb73b03: init: change exec parsing to make SECLABEL optional
* commit 'cdb73b034d1a546afc34302896a3cdc72dbdc8e6':
  init: change exec parsing to make SECLABEL optional
2015-06-02 22:56:19 +00:00
Mark Salyzyn 560515540d am e0e56563: am 0bda352f: Merge changes from topic \'logcatd\'
* commit 'e0e565635a7c6c36a05282622c01203afbec5ca5':
  init.rc: logd: Add logpersistd (nee logcatd)
  init: change exec parsing to make SECLABEL optional
  logcat: -f run in background
  logcat: -f flag to continue
2015-06-02 22:41:29 +00:00
Mark Salyzyn e0e565635a am 0bda352f: Merge changes from topic \'logcatd\'
* commit '0bda352f7f2b4453aa7b65feb935938205f1285e':
  init.rc: logd: Add logpersistd (nee logcatd)
  init: change exec parsing to make SECLABEL optional
  logcat: -f run in background
  logcat: -f flag to continue
2015-06-02 22:28:43 +00:00
Mark Salyzyn 49ed105fd9 init.rc: logd: Add logpersistd (nee logcatd)
(cherry pick from commit 100658c303)

- logpersistd is defined as a thread or process in the context of the
  logd domain. Here we define logpersistd as logcat -f in logd domain
  and call it logcatd to represent its service mechanics.
- Use logcatd to manage content in /data/misc/logd/ directory.
- Only turn on for persist.logd.logpersistd = logcatd.
- Add logpersist.start, logpersist.stop and logpersist.cat debug
  class executables, thus only in the eng and userdebug builds.

ToDo: Wish to add Developer Options menu to turn this feature on or
off, complicated by the fact that user builds have no tools with
access rights to /data/misc/logd.

Bug: 19608716
Change-Id: I57ad757f121c473d04f9fabe9d4820a0eca06f31
2015-06-02 15:28:36 -07:00
Mark Salyzyn cdb468abb3 logcat: -f run in background
(cherry pick from commit 3ef730c57f)

- if saving to file, set SP_BACKGROUND policy
- if saving to file, set BATCH priority
- sort include files

Bug: 19608716
Change-Id: I00acb8b8db0d2ff9ff36c97f9e74604d31938376
2015-06-02 15:27:41 -07:00
Mark Salyzyn 117c322040 logcat: -f flag to continue
(cherry pick from commit f3555d9427)

On startup, check the current logging content, then grab logs from
that time forward rather than restarting from the beginning. Add
support for reading tail time down to the nano-second.

Bonus, permits us to create a logcatd logpersist daemon

Bug: 19608716
Change-Id: Iaab58de4c02b7f97c69de12cf954fedc2163059e
2015-06-02 15:26:53 -07:00
Mark Salyzyn cdb73b034d init: change exec parsing to make SECLABEL optional
(cherry pick from commit 17fff893c0)

Allow SECLABEL to be - to denote default

Change-Id: I58cdc6c805dc6e50dc42b7e13e72d0eaf4864f11
2015-06-02 15:26:02 -07:00
Mark Salyzyn 0bda352f7f Merge changes from topic 'logcatd'
* changes:
  init.rc: logd: Add logpersistd (nee logcatd)
  init: change exec parsing to make SECLABEL optional
  logcat: -f run in background
  logcat: -f flag to continue
2015-06-02 22:20:24 +00:00
Mark Salyzyn 100658c303 init.rc: logd: Add logpersistd (nee logcatd)
- logpersistd is defined as a thread or process in the context of the
  logd domain. Here we define logpersistd as logcat -f in logd domain
  and call it logcatd to represent its service mechanics.
- Use logcatd to manage content in /data/misc/logd/ directory.
- Only turn on for persist.logd.logpersistd = logcatd.
- Add logpersist.start, logpersist.stop and logpersist.cat debug
  class executables, thus only in the eng and userdebug builds.

ToDo: Wish to add Developer Options menu to turn this feature on or
off, complicated by the fact that user builds have no tools with
access rights to /data/misc/logd.

Bug: 19608716
Change-Id: I57ad757f121c473d04f9fabe9d4820a0eca06f31
2015-06-02 15:17:59 -07:00
Mark Salyzyn 17fff893c0 init: change exec parsing to make SECLABEL optional
Allow SECLABEL to be - to denote default

Change-Id: I58cdc6c805dc6e50dc42b7e13e72d0eaf4864f11
2015-06-02 15:17:52 -07:00
Mark Salyzyn 698054a81c am 473a50f1: rootdir: init.trace.rc too early
* commit '473a50f1687e8511ff9efcf370adfa68568669ab':
  rootdir: init.trace.rc too early
2015-06-02 22:02:19 +00:00
Mark Salyzyn 3ef730c57f logcat: -f run in background
- if saving to file, set SP_BACKGROUND policy
- if saving to file, set BATCH priority
- sort include files

Bug: 19608716
Change-Id: I00acb8b8db0d2ff9ff36c97f9e74604d31938376
2015-06-02 14:56:44 -07:00
Mark Salyzyn f3555d9427 logcat: -f flag to continue
On startup, check the current logging content, then grab logs from
that time forward rather than restarting from the beginning. Add
support for reading tail time down to the nano-second.

Bonus, permits us to create a logcatd logpersist daemon

Bug: 19608716
Change-Id: Iaab58de4c02b7f97c69de12cf954fedc2163059e
2015-06-02 14:56:44 -07:00
Mark Salyzyn 473a50f168 rootdir: init.trace.rc too early
(cherry pick from commit 89357d23a1)

debugfs is mounted on boot

Bug: 21566233
Change-Id: I2ba106fbb1e8164ff3d8b2d5b16a16d7926c2732
2015-06-02 14:40:10 -07:00
Mark Salyzyn c79daf5225 am 1300b16e: am 66e39275: Merge "rootdir: init.trace.rc too early"
* commit '1300b16e51045b0d1235cfaaa031228ded60924b':
  rootdir: init.trace.rc too early
2015-06-02 21:22:37 +00:00
Mark Salyzyn 1300b16e51 am 66e39275: Merge "rootdir: init.trace.rc too early"
* commit '66e39275be57352e357d8c5cdff73bc911758daa':
  rootdir: init.trace.rc too early
2015-06-02 21:09:13 +00:00
Mark Salyzyn 66e39275be Merge "rootdir: init.trace.rc too early" 2015-06-02 21:01:03 +00:00
Elliott Hughes 379646b2ca Add "fastboot --version".
So bug reporters can actually tell us what they're running.

Bug: http://b/21583225
Change-Id: If2a4ae97b4792aa321566603ce2c354a72d32307
2015-06-02 13:50:00 -07:00
Elliott Hughes c0ce65f961 'usb' doesn't need to be global in fastboot.
Change-Id: Id014399640865d889918661bae0161b3165eee48
2015-06-02 13:34:07 -07:00
Mark Salyzyn 89357d23a1 rootdir: init.trace.rc too early
debugfs is mounted on boot

Bug: 21566233
Change-Id: I2ba106fbb1e8164ff3d8b2d5b16a16d7926c2732
2015-06-02 12:51:42 -07:00
Andres Morales c573c517a9 am c6d5cd18: Merge "[gatekeeperd] verify a password after enrolling successfully" into mnc-dev
* commit 'c6d5cd18f86aa78b769ba06e43963231f05bc809':
  [gatekeeperd] verify a password after enrolling successfully
2015-06-02 18:10:41 +00:00
Andres Morales c6d5cd18f8 Merge "[gatekeeperd] verify a password after enrolling successfully" into mnc-dev 2015-06-02 17:44:17 +00:00
Andres Morales 531e3e83c2 [gatekeeperd] verify a password after enrolling successfully
Bug: 20918106
Change-Id: Ia3cb6d1375d9ee2a6e543ee97d37b7c4f0459447
2015-06-02 10:43:21 -07:00
Svetoslav cb0322f536 am 23d84074: Improve adb install help.
* commit '23d84074652b77385431fc0d1505b7d43b7dba9e':
  Improve adb install help.
2015-06-02 14:22:54 +00:00
Mark Salyzyn ecb3ef1de8 am 42ac34f7: logd: test modernization
* commit '42ac34f7401f70c3f19ef176df7e1bc2f47396a0':
  logd: test modernization
2015-06-02 14:20:17 +00:00
Mark Salyzyn ad6099cf8d am 222f8c3a: logd: whitelist should not preserve expire messages
* commit '222f8c3ac7315684ce17d125f5732edad352ab1e':
  logd: whitelist should not preserve expire messages
2015-06-02 14:20:16 +00:00
Mark Salyzyn 9670b8c703 am fbf96b55: logd: KISS & fix preserve a day
* commit 'fbf96b55d98e9042fe6f240fbcf3103faca8650d':
  logd: KISS & fix preserve a day
2015-06-02 14:20:14 +00:00
Mark Salyzyn f2e8cb7d7d resolved conflicts for merge of d4bdb7df to mnc-dev-plus-aosp
Change-Id: I04b87261c2800648af8438b4b1cb3e99ae96ca25
2015-06-02 07:10:54 -07:00
Svetoslav 23d8407465 Improve adb install help.
Bug: 21365060
Change-Id: I0a4ea5cf3a2f37a82161b30f7eec5781d175aa8f
2015-06-01 23:59:20 +00:00