• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


RSS
修訂. 時間 作者
e1a5d10 2016-08-03 17:34:23 Andrew Boie

libdiskconfig: HACK Don't do space checks on zero-size images

If an image file is of zero size, assume we just want to expand it
to fit the available images.

Change-Id: If8f22eb12d3a5179960d4359307bb177e3323e8a
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>

60d9d2d 2016-08-03 16:19:26 Chih-Wei Huang

Android 6.0.1 Release 61 (MOB30Z)
-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlefxDQACgkQ6K0/gZqxDnip2ACfVQ2tY6lcGUlT0bwGUagtYIEy
ii4AniKmljbAlyO0M5eTydKej87c21Ea
=S5OJ
-----END PGP SIGNATURE-----

Merge tag 'android-6.0.1_r61' into marshmallow-x86

Android 6.0.1 Release 61 (MOB30Z)

4a978c6 2016-08-03 03:37:51 Jessica Wagantall

Android 6.0.1 Release 61 (MOB30Z)
-----BEGIN PGP SIGNATURE-----

iEYEABECAAYFAlefxDQACgkQ6K0/gZqxDnip2ACfVQ2tY6lcGUlT0bwGUagtYIEy
ii4AniKmljbAlyO0M5eTydKej87c21Ea
=S5OJ
-----END PGP SIGNATURE-----

Merge tag 'android-6.0.1_r61' into HEAD

Android 6.0.1 Release 61 (MOB30Z)

Change-Id: I84413f1198957a53433955e617a7226639262f40

ecf5fd5 2016-08-02 11:13:40 Sergio Giro

libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8

Inconsistent behaviour between utf16_to_utf8 and utf16_to_utf8_length
is causing a heap overflow.

Correcting the length computation and adding bound checks to the
conversion functions.

Test: ran libutils_tests
Bug: 29250543
Change-Id: I6115e3357141ed245c63c6eb25fc0fd0a9a7a2bb
(cherry picked from commit c4966a363e46d2e1074d1a365e232af0dcedd6a1)

d760358 2016-08-02 11:13:39 Josh Gao

debuggerd: verify that traced threads belong to the right process.

Fix two races in debuggerd's PTRACE_ATTACH logic:
1. The target thread in a crash dump request could exit between the
/proc/<pid>/task/<tid> check and the PTRACE_ATTACH.
2. Sibling threads could exit between listing /proc/<pid>/task and the
PTRACE_ATTACH.

Bug: http://b/29555636
Change-Id: I4dfe1ea30e2c211d2389321bd66e3684dd757591

307951e 2016-08-02 07:28:12 Felipe Leme

Deprecated 'adb bugreport' with flat files.

Starting on Android N, zipped bugreports contain more information than
flat-file, text bugreports. On N, calls to 'adb bugreport' would still
generate a flat-file bugreport, but with a warning.

With this change, 'adb bugreport' will generate a zipped bugreport in
the current directory, using the bugreport name provided by the
device. Similarly, calling 'adb bugreport dir' will generate a bugreport
with a device-provided name, but in such directory.

BUG: 30451114
BUG: 29448020

Change-Id: Ibc8920dd44a5f62feb15bf3fefdcb0bdbf389a90

05e04a1 2016-08-02 06:56:23 Badhri Jagan Sridharan

Remove redundant action triggers on persist.sys.usb.config

persist.sys.usb.config stores the usb functions which need to be enabled
when the phone boots up. When the phone is actually booted, setting this
would also activate the following action trigger on sys.usb.config

From init.usb.rc:
Used to set USB configuration at boot and to switch the configuration
when changing the default configuration
on property:persist.sys.usb.config=*
setprop sys.usb.config ${persist.sys.usb.config}

sys.usb.config is anyways set to the actual functions by UsbDeviceManager
once it is set to none. Therefore add "on boot" condition to the above
action trigger so that persist.sys.usb.config does not race with
sys.usb.config.

BUG: 30440213
Change-Id: I3333d0b8334fb627469c7faad250bf3151bb1ebf

80a65d0 2016-08-02 05:31:57 Felipe Leme

Minor improvements on bugreport generation.

- Skipped artificial 100/100 message, since pulling will take care of
the final 100% progress.
- Consolidated unsupported lines in just one message.
- Let user know the bugreport can still be recovered when it could not
be copied to the destination directory.

BUG: 30451114

Change-Id: Icfce9c1e8e7ed407719728b9874679ac40b21eab

82e976e 2016-07-31 17:08:56 gitbuildkicker

merge in nyc-mr1-release history after reset to nyc-mr1-dev

f85554e 2016-07-30 00:24:28 James Hawkins

bootstat: Fix a potential unhandled exception for malformed input.

In rare cases the hardware storage on the device may be hosed and return
garbage. Use ParseInt which handles bad input instead of stoi.

BUG: 29334139
Change-Id: I91aedc169df110bea8097775f73dda11def22311
(cherry picked from commit 4dded613b3aaee016adffd895edf3866426fc22a)

50a516d 2016-07-29 21:54:42 Chih-Wei Huang

ueventd: refactory module and firmware loading mechanism

Currently each module and firmware loading event is forked to
a child process to handle. It may cause some race conditions.

Now we fork ueventd into two processes. The parent process handles
normal uevents including modules loading, while the child process
only handles firmware loading events. All events are handled
sequentially.

5d3a835 2016-07-29 20:49:58 Chih-Wei Huang

init.rc: symlink /lib to /system/lib

Currently more linux drivers use request_firmware_nowait() to load
firmwares. It requires the firmwares exist in the standard path.

Create the symlink before ueventd started to ensure firmwares
could be loaded correctly.

b34cff3 2016-07-29 19:25:47 Biao Lu

init: Fix load_firmware error

In function 'load_firmware', parameter 'buf' passed to 'write'
is wrong. To fix it, use android::base::WriteFully to replace.

Change-Id: I13f79bdc9be9e5eb669f6bd975535b1dce965ef0
Signed-off-by: Biao Lu <biao.lu@intel.com>

a6cb306 2016-07-29 10:07:09 TreeHugger Robot

Merge "Improved keychord logging." into nyc-mr1-dev

c64c982 2016-07-29 06:11:32 Felipe Leme

Improved keychord logging.

Often a bugreport is accidentally triggered by the combo keys, but there
is nothing in the bugreport to confirm that action because init's
klog level is KLOG_NOTICE_LEVEL.

This change change keychord's INFO messages to NOTICE, and also logs the
case where a service was not launched because ADB was disabled.

BUG: 30440213
BUG: 30345559

Change-Id: I6ccadef1621cb41dcd15e7c1660366f0e147dc7a

4123d86 2016-07-29 04:17:40 Steve Kondik

healthd: Add DASH charger type

Change-Id: Ie1ca5018c465f6b2c15cbc00bdf3bb866d98ddef

f7c38b4 2016-07-29 04:13:57 Felipe Leme

Removed extra 'pulling file' message.

Taking a zip bugreport has 2 phases: generating the bugreport and
pulling the file.

Initially adb was printing 2 messages, but since the latter is almost
instantaneously, it could be confusing to have 2 lines...

Fixes: 30451250
Change-Id: I1c6cc6163492c1fb6064667dfdb7aaf6ed4c4c6f

6f1ff7a 2016-07-27 17:11:04 gitbuildkicker

merge in nyc-dr1-release history after reset to nyc-mr1-dev

e4078cf 2016-07-27 17:06:53 gitbuildkicker

merge in nyc-mr1-release history after reset to nyc-mr1-dev

cd42d65 2016-07-27 08:15:16 Felipe Leme

Show bugreport progress.

adb calls bugreportz to generate a bugreport; initially, bugreportz
would only report the final status of the operation (OK or FAIL), but
now it sends intermediate PROGRESS lines reporting its progress (in the
form of current/max).

Similarly, the initial implementation of 'adb bugreport <zip_file>'
would print an initial 'please wait' message and wait for the full
stdout before parsing the result, but now it uses a new callback class
to handle the stdout as it is generated by bugreportz.

BUG: 28609499

Change-Id: I6644fc39a686279e1635f946a47f3847b547d1c1

07ac855 2016-07-27 08:14:46 Felipe Leme

Refactored functions that copy sdout and stderr to strings to use a callback.

BUG: 28609499

Change-Id: I04aea346e18678ea00797f7f659480edba4436c2

78e0963 2016-07-27 08:14:20 Felipe Leme

Split bugreport() into its own file and added unit tests.

bugreport() will be soon refactored to track progress, which will
require more comprehensive unit tests.

As such, it's better to move it to its own files, which in turn also
requires moving send_shell_command() and usage() to commandline.h.

Fixes: 30100363
Bug: 30268737

Change-Id: I3cdf114a0b5547293320042ff0749a60886440b0

4940d4c 2016-07-27 04:05:14 Jaap Jan Meijer

Merge remote-tracking branch 'x86/marshmallow-x86' into cm-13.0-x86

Conflicts:
init/builtins.cpp
init/devices.cpp
init/init.cpp
libcutils/fs_config.c
libdiskconfig/Android.mk
libpixelflinger/tests/codegen/Android.mk
toolbox/lsof.c

efead4c 2016-07-27 03:54:55 Chih-Wei Huang

init: expand variables on mount_all command

This allows mount_all to handle fstab.${ro.hardware} instead
of hardcoding the file name.

1329409 2016-07-27 03:54:55 Chih-Wei Huang

android_filesystem: enable houdini executables

965fc2d 2016-07-27 03:54:20 Mark Salyzyn

logd: update region lock after entry has passed to reader socket

- The reader region level indicates the location to protect, but once
it has been passed to the calling reader, then allow us to go
one beyond so that a clear or prune thread can remove the entry.

Bug: 23711431
Change-Id: I0f2389858dd8c83366c034360f67d7c363625b56

636157c 2016-07-27 03:54:20 Chih-Wei Huang

libcutils: refine probe_module

Make the code be more elegant and fix the realloc bug.

1b0311b 2016-07-27 03:54:20 Mark Salyzyn

logd: increase dgram_max_qlen to 600

Seeing liblog messages on system_server runtime restart
(too much system_server spam, 566 messages in 72ms)

Bug: 23788621
Change-Id: I5171f2c19a3538da190fc6c2b40e978d89bf0e20

16d46d0 2016-07-27 03:54:20 Mark Salyzyn

liblog: logprint: printable nul

Change-Id: I57d1f86ce040ad196c558bb72ac0464af793c214

7d406cb 2016-07-27 03:54:20 Chih-Wei Huang

init: add modprobe to load kernel requested modules