• R/O
  • HTTP
  • SSH
  • HTTPS

Liste der Commits

Tags
Keine Tags

Frequently used words (click to add to your profile)

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

system/corennnnn


RSS
Rev. Zeit Autor
58340ed lollipop-x86 2015-12-22 12:24:42 Chih-Wei Huang

libsuspend: enable earlysuspend for android-x86

fe89a4c 2015-12-22 12:24:42 Chih-Wei Huang

android_filesystem: enable houdini executables

06e2325 2015-12-22 12:24:42 Chih-Wei Huang

libcutils: refine probe_module

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

6491593 2015-12-22 12:24:42 Chih-Wei Huang

init: add modprobe to load kernel requested modules

ac4b476 2015-12-22 12:24:42 Chih-Wei Huang

Software-accelerated Pixel Flinger

The typical graphic workloads on VirtualBox are improved 3X.

Supports both x86 and x86_64.

Similar change by HazouPH <jgrharbers@gmail.com>:
http://review.cyanogenmod.org/#/c/70896/

And by Quanganh pham <quanganh2627@gmail.com>:
http://review.cyanogenmod.org/#/c/97125/

6894a08 2015-12-22 12:24:42 Chih-Wei Huang

init.rc: fix for "add_tid_to_cgroup failed to write" warnings

I still don't understand why only 0660 works.

f4cda04 2015-12-22 12:24:42 Chih-Wei Huang

ueventd: load modules in a forked process

Loading some modules (e.g., ath3k) will be blocked to wait for
firmware. The forking is necessary, otherwise ueventd has no
chance to load the firmware.

d2de4e3 2015-12-22 12:24:42 Chih-Wei Huang

allow to load modules from standard module path

d5c1d52 2015-12-22 12:23:51 Chih-Wei Huang

Merge branch 'android-ia2' into lollipop-x86

Conflicts:
init/init.c

408b139 2015-12-22 12:23:00 Chih-Wei Huang

Allow all to execute su

The Superuser app can control how su is used.

0b1cd51 2015-12-22 12:23:00 Chih-Wei Huang

init.rc: let some services run as root

The surfaceflinger needs root permission to control vt.

Run the console shell as root to make debugging easier.

facd201 2015-12-22 12:23:00 Chih-Wei Huang

libutils: fix incorrect calculation in utf8_length() method

The first character of utf-8 could be larger than 128. If use signed char
variable to hold it, it would be treated as negative. That may result in
some unexpected errors.

For example, without this patch, suppose the code is 0xE88888, then
first_char is 0xE8 and converted to int32_t type (0xFFFFFFE8) and
masked with (~to_ignore_mask). The result utf32 is FFF08208
which is incorrect.

Change-Id: I72b355f380865bc375251eb287fc225fd585a115

a12f055 2015-12-22 12:23:00 Chih-Wei Huang

init: handle DEBUG and HWACCEL variables

On DEBUG=1, set debug.logcat=1 to trigger actions in class debug.

On HWACCEL=0, set debug.egl.hw=0 to disable hardware acceleration.

ad439cd 2015-12-22 12:23:00 Chih-Wei Huang

Set correct permission for pppd

The pppd needs setuid root to setup ppp interface.

cbe8542 2015-12-22 12:23:00 Chih-Wei Huang

init: avoid virtual console be set blanked

755e36d 2015-12-22 12:23:00 Chih-Wei Huang

init: builtins: Add 'setkeycode' command to init.rc parser

The command is used to set an entry into the kernel's scancode-to-keycode map.

Change-Id: If772b3590c08d3696ff9d015f1faf0e75405e262

46bf846 2015-12-22 12:23:00 Chih-Wei Huang

init: make sure the last parameter to execve is NULL

Extend the buffer to hold one more pointer, and set it is NULL.

Change-Id: I3018d62a1b0d61c0a3f5f2f7ffa12c7ce9ee32c5

13c31dc 2015-12-22 12:22:45 Chih-Wei Huang

init: change FIRMWARE_DIR1 for Android-x86

6f82eda 2015-12-22 12:22:45 Chih-Wei Huang

ueventd.rc: remove redundant definitions

Change-Id: Icb4f051abf941052aca9752ca2949386738d94e5

12a2f14 2015-12-22 12:22:45 Chih-Wei Huang

init.rc: use relative path for symlink

Usually it's better to use relative path for symlink. For example,
to use Android in a chroot environment, the absolute symlink will
fail outside the chroot environment. Using relative path guarantees
the link will work both inside and outside chroot.

Change-Id: I2f654a05189b9a666aed1fc7bdfb5a50357aff78

aaa0305 2015-12-22 12:21:35 Magnus Malmborn

Adding an 'exec' implementation to init

This is useful for running programs synchronously
during startup.

Change-Id: I0212fad22613124dd13b4f20b86d0dcc6cb59b6e

3f039a1 2015-12-22 12:00:01 Weichuan Yan

Fix a crash when there is no command action in some trigger

Change-Id: I5c002c9f86afceca83c39715576392cf88dd8614
Signed-off-by: Weichuan Yan <wchyan@marvell.com>

6ce505d 2015-12-22 11:59:30 Andreas Gampe

LibNativeBridge: Version 2

Add a callback function to retrieve "signal handler" from the bridge,
if the bridge wants it to be managed by the runtime. The signal handler
will be invoked after the runtime's own one, and before any other
chained handler.

Add a callback function to check compatibility of the bridge with the
library.

Add a function to expose the native bridge version. Add a test for this
function.

Bug: 20217701
Change-Id: Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23

56f7e97 2015-12-22 11:59:30 TraianX Schiau

logd: Fix pruning

In a scenario in which an on-line (blocking) client is running and
a clean is attempted (logcat -c), the following can be observed:

1) the on-line logger seems to freeze
2) any other clear attempt will have no effect

What is actually happening:

In this case prune function will "instruct" the oldest timeEntry
to skip a huge number (very close to ULONG_MAX) of messages, this
being the cause of 1.

Since the consumer thread will skip all the log entries, mStart
updating will also be skipped. So a new cleaning attempt will have
the same oldest entry, nothing will be done.

Fix description:
a. keep a separated skipAhead count for individual log buffers (log_id_t)
LogTimeEntry::LogTimeEntry
LogTimeEntry::FilterSecondPass
LogTimeEntry::skipAhead
LogTimeEntry::riggerSkip_Locked

b. update LogTimeEntry::mStart even if the current message is skipped
LogTimeEntry::FilterSecondPass

c. while pruning, only take into account the LogTimeEntrys that are monitoring
the log_id in question, and provide a public method of checking this.
LogTimeEntry::isWatching
LogTimeEntry::FilterFirstPass
LogTimeEntry::FilterSecondPass

d. Reset the skip cont befor the client thtread starts to sleep, at this point
we should be up to date.
LogTimeEntry::cleanSkip_Locked
LogTimeEntry::threadStart

Change-Id: I1b369dc5b02476e633e52578266a644e37e188a5
Signed-off-by: TraianX Schiau <traianx.schiau@intel.com>

96c9bdf 2015-12-22 11:59:30 Andreas Gampe

System/core: Use memmove

Should use memmove when you expect overlap.

Change-Id: I268a173db40a4be54232958e37aa8a03c2a885ee

36baa4c 2015-12-22 11:59:30 Bo Huang

When new error happend, then errno should be updated accordingly. Otherwise, need to keep previous errno.

Reproduced steps:
pre-condition:
DUT support external SDcard or Usb mass storage;

1. Insert blank(no partition) SDcard or UMS to DUT;

Expected result:
Should prompt user with storage error.

Test result:
There is no notification for error.

Error log:
01-01 01:06:49.239 I/fsck_msdos( 200): fsck_msdos terminated by exit(8)
01-01 01:06:49.239 E/Vold ( 200): /dev/block/vold/179:16 failed FS checks (I/O error)
01-01 01:06:49.239 D/Vold ( 200): Volume sdcard1 state changing 3 (Checking) -> 1 (Idle-Unmounted)
01-01 01:06:49.239 W/Vold ( 200): Returning OperationFailed - no handler for errno 0)

Root cause analysis:
1.Volume::setState will call senBroadcase to send out state notification;
2.Finally, SocketClient::sendDataLockedv was called to sent message.
In sendDataLockedv funtion, when current == iovcnt, e is 0 by default.
So Vold get incorrect errno.

Change-Id: Ibd5ec8c44428b01b5ee7ee5211064128ffb66830
Tracked-On: https://jira01.devtools.intel.com/browse/IMINAN-953
Category: aosp improvement
Domain: Storage-Removable_Storage
Origin: internal
Upstream-Candidate: yes
Signed-off-by: Bo Huang <bo.b.huang@intel.com>
Reviewed-on: https://android.intel.com:443/288658

33ad88e 2015-12-22 11:59:30 Irina Patru

UPSTREAM_PENDING newfs_msdos: Handle alignment failure

When trying to create a new FAT32 file system using alignment, the resulted
MBR structure is corrupted, because the total sectors reported does not
correspond to the actual available sectors. This is due to the reserved
sectors field which is updated during the alignment.

When fsck_msdos will try to check this file system, it will fail because it
cannot match the reported sectors with the actual available sectors.
Due to the failed check, the file system cannot be mounted by vold.

I/fsck_msdos( 2180): FAT size too small, 242822 entries won't fit into 1897 sectors
I/fsck_msdos( 2180): fsck_msdos terminated by exit(8)
E/Vold ( 2180): Filesystem check failed (unknown exit code 8)
E/Vold ( 2180): /dev/block/vold/179:49 failed FS checks (I/O error)
D/Vold ( 2180): Volume sdcard1 state changing 3 (Checking) -> 1 (Idle-Unmounted)

In order to fix this issue, we will save the initial bpb structure and restore
it if the alignment fails.

Change-Id: I58d5078551c689b28c9070585bb330c45bab9c62
Signed-off-by: Irina Patru <irina.patru@intel.com>
Reviewed-on: https://android.intel.com/256992
Reviewed-by: Dolca, Robert <robert.dolca@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Popa, Valentin <valentin.popa@intel.com>

9983a6a 2015-12-22 11:59:30 Samuel Ortiz

devices: Increase the uevent socket buffer size

Depending on the timing, hald may start while ueventd is not done yet
with its initial coldboot. As hald also independently starts its own
coldboot, ueventd netlink socket buffer could get filled quickly and
thus ueventd could lose some uevents.
This is fixed by increasing the ueventd netlink socket buffer size.

Change-Id: Ie92f77c14099421740b3984f1cc23f813287b78f
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Reviewed-on: https://android.intel.com/219843
Reviewed-by: Escande, Thierry <thierry.escande@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Ortiz, Samuel <samuel.ortiz@intel.com>
Tested-by: Ortiz, Samuel <samuel.ortiz@intel.com>
Tested-by: cactus <cactus@intel.com>
Reviewed-by: Porlan, Patrick <patrick.porlan@intel.com>
Reviewed-by: Bianti, Sebastien <sebastien.bianti@intel.com>
Reviewed-by: Mahalingam, Ganesh <ganesh.mahalingam@intel.com>
Tested-by: Mahalingam, Ganesh <ganesh.mahalingam@intel.com>

5731ca7 2015-12-22 11:59:30 Ukri Niemimuukko

RefBase: make Renamer destructor virtual

This patch makes the Renamer class destructor virtual and fixes
the incorrect constructor initialization list ordering.

These issues and related compiler warnings have been suppressed
by the build system which uses the gcc –isystem command
line option, unless a project explicitly adds the include the path
system/core/include to Android.mk and uses the templates.

Change-Id: Iff76a655eb8bd547adfe994c7315a005e98aed41
Signed-off-by: Ukri Niemimuukko <ukri.niemimuukko@intel.com>
Signed-off-by: Mingwei Shi <mingwei.shi@intel.com>
Signed-off-by: Yong Yao <yong.yao@intel.com>

a0095b3 2015-12-22 11:59:30 Sean V Kelley

system: Add hw specific pixel format

Relocate hw pixel format to graphics header for convenience
from drm_gralloc codebase.

Change-Id: I405398b172fab19949fef33c89a60132b1bd0ea9
Signed-off-by: Sean V Kelley <sean.v.kelley@intel.com>