• 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
修訂. 時間 作者
11c6ac2 jb-x86 2013-07-25 17:05:39 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.

baf0ce8 2013-07-25 17:05:37 Chih-Wei Huang

allow to load modules from standard module path

b0f603d 2013-07-25 17:01:59 Chih-Wei Huang

Merge branch 'android-ia3' into jb-x86

Conflicts:
adb/file_sync_service.c
fs_mgr/fs_mgr_priv.h
include/system/graphics.h
init/devices.c
init/init.c
init/init.h
init/readme.txt
libsuspend/autosuspend.c
toolbox/Android.mk

42c82ce 2013-07-25 16:22:03 Ken Lierman

Bound the ADB connect time with a non-blocking connect

After a disconnect, the initial blocking connect takes
a long time to return, while subsequent calls return
quicks. Switch to a non-blocking connect to make the
re-connect time more consistent and faster overall.

Issue: AXIA-2990
Change-Id: Ide95f75c7d763e1c2071408659e7a2aa7a13d9a0

b237b95 2013-07-25 16:22:02 Robert Chiras

Fix adb connect when trying to reconnect

If adb tries to connect to a disconnected device while a reconnect
thread is already trying to connect, adb just printed an error but
didn't abort the current connect sequence.
So, if we have a reconnect thread handling a connection also exit after
printing the error.

Change-Id: If09ea2486f181c620033e1a755360c7913e8eb48
For: AXIA-3129
Signed-off-by: Robert Chiras <robert.chiras@intel.com>

b7e1d21 2013-07-25 16:20:08 Chih-Wei Huang

init: handle DEBUG and HWACCEL variables

On DEBUG=1, trigger actions in class debug.

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

40c61c4 2013-07-25 16:20:08 Chih-Wei Huang

Set correct permission for pppd

The pppd needs setuid root to setup ppp interface.

2435730 2013-07-25 16:20:08 Chih-Wei Huang

init: avoid virtual console be set blanked

8d3c73a 2013-07-25 16:20:08 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

6a93ce9 2013-07-25 16:20:08 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

4deae46 2013-07-25 16:20:08 Chih-Wei Huang

init: change FIRMWARE_DIR1 for Android-x86

Change-Id: I0f54d1dcfcd7b1fe4b5f1dbe4ee3aa7289a5ecea

5ec3f67 2013-07-25 16:20:08 Chih-Wei Huang

ueventd.rc: remove redundant definitions

Change-Id: Icb4f051abf941052aca9752ca2949386738d94e5

77058be 2013-07-25 16:20:07 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

f5cf2fd 2013-07-25 16:20:07 Magnus Malmborn

Adding an 'exec' implementation to init

This is useful for running programs synchronously
during startup.

Change-Id: I0212fad22613124dd13b4f20b86d0dcc6cb59b6e

11fa3e3 2013-07-25 16:20:07 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>

e38bec7 2013-07-25 16:18:19 Jim Huang

Let console applications have a controlling tty.

Since the logic in open_console() is changed, terminating console
application within a shell is now possible via Ctrl-C.

6647bf7 2013-07-22 02:22:33 Ajay Dudani

init: Increase maximum number of Android properties to 372

Bug: 9941046 -- encryption failed
Change-Id: Ib9c2921a2b574542cce98d2eadbd9204a1ad0bf0
Signed-off-by: Iliyan Malchev <malchev@google.com>

d6f4c27 2013-07-19 03:25:02 Robert Greenwalt

Add writable data space for radio.

Storing carrier provisioning urls updates in /data/misc/radio.
bug:9623159

Change-Id: I8d62d4638229733dea0f11f1729c4d22ae2295d1
I36697ed341353b7a3dbec5afe20241102e76f6f1

1ccbcc9 2013-06-16 21:55:49 The Android Automerger

merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev

39a76e9 2013-06-16 17:06:07 Andy Ross

Allow for overriding environment variables in export

Don't silently append duplicates, delete the older version. Also
increase the size limit, as the set of shell variables on my test
system is already at 28.

Change-Id: Id2373cc197662ae14fabad4de5e4516fe30d44cc
For: AXIA-2870
Signed-off-by: Andy Ross <andy.ross@windriver.com>

ce59c10 2013-06-16 17:06:07 Ken Lierman

Have TCP connections attempt to auto-reconnect

2 major chunks of changes.
First, TCP connections are setup with keep-alive turned on, so when the device
end goes away, the server finds out in a reasonable time.

Second, when a link goes down, spin off a reconnect thread to periodically
attempt to reconnect. React appropriately to adb devices, connect, and
disconnect commands.

Issue: AXIA-2515
Change-Id: I17d8031ae3238260a3c5d584e5002388ac96b182

43dd52f 2013-06-16 17:06:07 Ken Lierman

cleanup ADB's debug output

The server was using stderr to talk back to the client to ACK it
starting correctly, which made the debug output from the server get
lost (before it later gets redirected to a file). Change it to stdout
and add a fflush() to force the output.

Add the pid to the output so you can tell which process the output is
coming from.

Add basename to the __FILE__ part of the output to remove the unnecessary
and redundant system/core/adb path info from every output line.

Remove the duplicated fdevents debug output macro so it gets redirected
into the server log file like it should.

Change-Id: I8eaf3c8ccbca62f907b0ee7b52a0e179db5ff82d

198b614 2013-06-16 17:06:07 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>

a3d25d1 2013-06-16 17:06:07 Billy

Init: Setting system time back to utc

Fix:
When rtc_local_time is enabled (ro.rtc_local_time = 1),
system time loaded from rtc should be local time too during boot.
Setting system time back to utc as soon as fast, which avoid programs
get confused about it.

For convert local time to utc, we need to get timezone information.
Android store timezone in property variable "persist.sys.timezone", and
its raw file stored on /data partition. So, the reasonalbe time when we
trigger sysclk should be after /data partition loaded and persist_props
loaded. We must add a new property variable for triggering sysclk if we
want to trigger it after load_persist_props commmand, which will make code
more complicated. Thinking about above, I add sysclk command on post-fs-data
section in init.bigcore.rc. At this point, partitions loaded, persist_props
not loaded yet. I get the timezone infromation through reading raw file
directly instead of call propert_get function

Issue: AXIA-2051
Change-Id: I0ff1d5932c5b1aaa8695129de44c06dba31cb443
Signed-off-by: Xiaobing Feng <xiaobing.feng@windriver.com>

b2c88b6 2013-06-16 17:06:07 ravindranath

MUST_REVERT ueventd: Add USB VID/PID rule type

Add a new type of rule in ueventd.rc files to intercept 'Add' uevents
for specific USB devices, as identified by vendor ID and product ID,
and set permissions on the device nodes as requested by the user.

This is a MUST_REVERT patch at Andrew's request because the implementation
is not as general as we'd eventually like. See AXIA-2364 for tracking
the reversion of this patch.

Issue: AXIA-2229
Change-Id: Ie8e4feaee87175f3c97899dd94f7cc1432dd2de3
Signed-off-by: Ravindranath Doddi <ravindranathx.doddi@wipro.com>
Signed-off-by: Krishnan V <krishnanx.vaidyanathan.venkitakrishnan@intel.com>
Signed-off-by: Matt Gumbel <matthew.k.gumbel@intel.com>

a2abab9 2013-06-16 17:06:07 Thomas Daniel

adbd: set sent file ownership per android fs config table

do_send() uses fs_config() to retrieve mode, user and group for a sent file but
handle_send_file() only gets passed the mode. User and group are discarded.
This causes problems as it means any files updated with adb sync will have their
owner set to root.

For example, the file "/system/etc/dbus.conf" should be owned by "bluetooth" as
specified in android_filesystem_config.h, and its permissions should be read for
user and group but nothing for other. Using adb sync to send this file means
that the owner is set to root, and no access permissions for others. This means
that when a process running as "bluetooth" tries to access the file it fails,
resulting in a boot failure.

This change adds a new wrapper function adb_chown() which calls chown() to match
the existing pattern for wrapping file I/O functions. This adb_chown() is now
called in do_send() to correctly set the owner and group as specified in the
fs_config table.

Change-Id: I37661273780346a6a868e58d9069171052e81e34

bdfc90a 2013-06-16 17:06:07 Andrew Boie

always try to create by-name links based on install id

Previously, if a block device was detected as a platform device,
the by-name logic which uses install id was skipped in favor of
the older logic which includes the bus in the path name. This
resulted in the installation of Android failing on these devices
since the expected devices nodes don't show up after the disk is
partitioned.

Now always try to use the install id logic, and fall back to the
older mechanism only if it doesn't produce any symlinks.

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

09eec4a 2013-06-16 17:06:06 Matt Gumbel

Support adb client connect to remote server

ADB client: allow user to specify hostname and port number of remote
adb server.
ADB server: bind server to all network interfaces instead of just
localhost when user gives -a flag.

Primary use-case for this change is to support remote testing of USB
devices. HostA is running some test automation software which invokes adb
client. HostB has USB-only device attached and is running adb server. adb
client on HostA makes connection to adb server on HostB to talk to the
USB device.

Change-Id: I845cc8c00350b400317f8c18f813e6fd79bd5470
Signed-off-by: Dean Kwon <daex.i.kwon@intel.com>
Signed-off-by: Jim Bride <jim.bride@intel.com>
Signed-off-by: Matt Gumbel <matthew.k.gumbel@intel.com>

ed74fc3 2013-06-16 17:06:06 Matt Gumbel

Fix dhcpd startup when net.hostname is not set

Commit 62d6f74 swapped p2p_interface and DHCP_CONFIG_PATH
erroneously. This reverts them to their correct ordering and makes dhcpcd
startup work again.

Change-Id: Iea033a7e0dad98bb2a63fb39755330675cfbb0ab
Signed-off-by: Matt Gumbel <matthew.k.gumbel@linux.intel.com>

f1c4edf 2013-06-16 17:06:06 Andrew Boie

charger: fix build

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