Commit graph

369 commits

Author SHA1 Message Date
Mike Chan
008abac082 init now returns proper error codes in dmesg for write command (init.rc)
Signed-off-by: Mike Chan <mike@android.com>
2009-06-29 20:30:55 -07:00
Android (Google) Code Review
a65044fad8 am a1140ad4: Merge change 5455 into donut
Merge commit 'a1140ad45dc90e6f51944a12d0a690e757c9bd0b'

* commit 'a1140ad45dc90e6f51944a12d0a690e757c9bd0b':
  Add new PPP IPCP script for VPN.
2009-06-25 20:50:44 -07:00
Android (Google) Code Review
a1140ad45d Merge change 5455 into donut
* changes:
  Add new PPP IPCP script for VPN.
2009-06-25 20:49:36 -07:00
Android (Google) Code Review
0e6146c072 Merge change 5449
* changes:
  init: set permissions for akm8973 and bma150 drivers
2009-06-25 17:17:58 -07:00
Hung-ying Tyan
34ccf656e2 Add new PPP IPCP script for VPN. 2009-06-26 08:11:59 +08:00
Iliyan Malchev
9a52eda8c5 init: set permissions for akm8973 and bma150 drivers
akm8973 is the compass
bma150 is the accelerometer

Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-06-25 16:47:31 -07:00
San Mehat
112ad56038 am c3115b9e: vold: Logging to catch when the disk checker crashes (could happen due to a really messed up card)
Merge commit 'c3115b9ec2f9bc07e6ffd7d7bb7338415822c338'

* commit 'c3115b9ec2f9bc07e6ffd7d7bb7338415822c338':
  vold: Logging to catch when the disk checker crashes
2009-06-25 14:34:01 -07:00
San Mehat
156f9c5e6b am 1537d480: vold: Fix bug where logwrapper would pass data to LOG() in the format field, which caused vsprintf to process format characters in the string.
Merge commit '1537d4805ef98a385c61c659f0e778b7074bbbfe'

* commit '1537d4805ef98a385c61c659f0e778b7074bbbfe':
  vold: Fix bug where logwrapper would pass data to LOG() in the format field,
2009-06-25 14:34:00 -07:00
Android (Google) Code Review
7602299001 Merge change 5408
* changes:
  Rewrite compiler test using python.
2009-06-25 13:57:52 -07:00
Jack Palevich
609c994f7b Rewrite compiler test using python.
Nice because we're now checking the output for success/failure
automatically rather than by eye.
2009-06-25 13:55:12 -07:00
San Mehat
c3115b9ec2 vold: Logging to catch when the disk checker crashes
(could happen due to a really messed up card)

Signed-off-by: San Mehat <san@google.com>
2009-06-25 13:34:16 -07:00
San Mehat
1537d4805e vold: Fix bug where logwrapper would pass data to LOG() in the format field,
which caused vsprintf to process format characters in the string.

Signed-off-by: San Mehat <san@google.com>
2009-06-25 13:33:23 -07:00
San Mehat
64e1c16cc5 am e7f444f3: vold: Switch vfat fsck tools
Merge commit 'e7f444f32986f975b788ecf3962cb2cce27828e8'

* commit 'e7f444f32986f975b788ecf3962cb2cce27828e8':
  vold: Switch vfat fsck tools
2009-06-25 09:54:38 -07:00
San Mehat
e7f444f329 vold: Switch vfat fsck tools
Signed-off-by: San Mehat <san@google.com>
2009-06-24 19:27:48 -07:00
San Mehat
715c03a10b am d6c67966: nexus: Rename onInterfaceStarted -> onInterfaceConnected and add Dhcp start/stop control
Merge commit 'd6c6796670a5e566977b13d542020fb8cc88e6cf'

* commit 'd6c6796670a5e566977b13d542020fb8cc88e6cf':
  nexus: Rename onInterfaceStarted -> onInterfaceConnected and add Dhcp start/stop control
2009-06-22 10:45:25 -07:00
San Mehat
e61e50f42b am 54962e0f: nexus: Add skeleton for DhcpClient
Merge commit '54962e0fd647f5f390269994c573f80c92f537d4'

* commit '54962e0fd647f5f390269994c573f80c92f537d4':
  nexus: Add skeleton for DhcpClient
2009-06-22 10:45:24 -07:00
San Mehat
d6c6796670 nexus: Rename onInterfaceStarted -> onInterfaceConnected and add Dhcp start/stop control
Signed-off-by: San Mehat <san@google.com>
2009-06-22 10:40:53 -07:00
San Mehat
54962e0fd6 nexus: Add skeleton for DhcpClient
Signed-off-by: San Mehat <san@google.com>
2009-06-22 10:40:48 -07:00
Masaki Sato
1ccef18e69 Change permissions on sound devices. 2009-06-19 16:47:54 -07:00
Wei Huang
9d0d888179 add kernel event logging tags for more gtalk/mcs logging (heartbeat resets and connection closed events) 2009-06-19 11:28:03 -07:00
Android (Google) Code Review
0af3e7fbc8 Merge change 4564
* changes:
  Align ARM stack pointer to an 8-byte boundary when calling functions.
2009-06-17 19:22:15 -07:00
-b master
422972cb12 Align ARM stack pointer to an 8-byte boundary when calling functions.
This is required by the ARM EABI standard.
2009-06-17 19:13:52 -07:00
San Mehat
f1d63f3751 am bfa2f8e9: init: Bump up the max cpu bandwidth shares ratio for background.
Merge commit 'bfa2f8e9b506a4b710ebcefa7c1e324609b8ca34'

* commit 'bfa2f8e9b506a4b710ebcefa7c1e324609b8ca34':
  init: Bump up the max cpu bandwidth shares ratio for background.
2009-06-17 15:37:55 -07:00
San Mehat
bfa2f8e9b5 init: Bump up the max cpu bandwidth shares ratio for background.
New ratio is 1024/16 (1.5625% for background when cpu is under load)

Signed-off-by: San Mehat <san@google.com>
2009-06-16 18:33:37 -07:00
Android (Google) Code Review
d7166ede3b Merge change 4424
* changes:
  fix decompression bug in fastboot
2009-06-16 17:48:45 -07:00
Doug Zongker
287c71ca84 fix decompression bug in fastboot
fastboot passes the *uncompressed* length of the file as the length of
the input to the inflate() call, which happens to work unless the
compressed data is actually larger than the uncompressed data (which
it can be for very small files).  Fix this to pass the correct
compressed length down to the inflate call.
2009-06-16 17:36:04 -07:00
San Mehat
1f80880124 am d0290ead: nexus: Fix SupplicantStatus decoding
Merge commit 'd0290eadc563f5a34fc1969f91621860d8756eff'

* commit 'd0290eadc563f5a34fc1969f91621860d8756eff':
  nexus: Fix SupplicantStatus decoding
  nexus: Less verbosity in TiwlanEventListener for now
2009-06-16 16:42:56 -07:00
San Mehat
f9764da0d9 am 891cb2c1: nexus: Add TiwlanEventListener to makefile
Merge commit '891cb2c13505985532acb81d759841d86df15004'

* commit '891cb2c13505985532acb81d759841d86df15004':
  nexus: Add TiwlanEventListener to makefile
  nexus: Initialize frequency in SupplicantAssociatingEvent constructor
  nexus: Add some logging output to WifiController
  nexus: Add TiwlanEventListener for reading driver events directly
2009-06-16 16:42:51 -07:00
San Mehat
d0290eadc5 nexus: Fix SupplicantStatus decoding
Signed-off-by: San Mehat <san@google.com>
2009-06-16 12:01:50 -07:00
San Mehat
052403ebbe nexus: Less verbosity in TiwlanEventListener for now
Signed-off-by: San Mehat <san@google.com>
2009-06-16 12:01:24 -07:00
San Mehat
891cb2c135 nexus: Add TiwlanEventListener to makefile
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:51:39 -07:00
San Mehat
bbe92c370a nexus: Initialize frequency in SupplicantAssociatingEvent constructor
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:51:14 -07:00
San Mehat
0f48658d20 nexus: Add some logging output to WifiController
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:50:47 -07:00
San Mehat
5fc4129fcb nexus: Add TiwlanEventListener for reading driver events directly
Signed-off-by: San Mehat <san@google.com>
2009-06-16 10:50:06 -07:00
Android (Google) Code Review
f8b8288c16 am 43c16197: Merge change 4228 into donut
Merge commit '43c16197b2a6da3a3125b4a4a9fa6b70f447043e'

* commit '43c16197b2a6da3a3125b4a4a9fa6b70f447043e':
  Nexus: Clean up supplicant events, protocol, and continue plumbing
2009-06-15 14:42:51 -07:00
Android (Google) Code Review
338df9da54 am 2d0a6ca2: Merge change 4227 into donut
Merge commit '2d0a6ca27c6f75eb0ec881fe4ad0b4f478d941c0'

* commit '2d0a6ca27c6f75eb0ec881fe4ad0b4f478d941c0':
  nexctl: Refactor so Nexus can be tested from scripts easily.
  libsysutils: Move to a null terminated string protocol using space as a field separator.
2009-06-15 14:41:33 -07:00
Android (Google) Code Review
43c16197b2 Merge change 4228 into donut
* changes:
  Nexus: Clean up supplicant events, protocol, and continue plumbing
2009-06-15 14:40:51 -07:00
Android (Google) Code Review
2d0a6ca27c Merge change 4227 into donut
* changes:
  nexctl: Refactor so Nexus can be tested from scripts easily.
2009-06-15 14:40:32 -07:00
Android (Google) Code Review
12a26e310b Merge change 4226 into donut
* changes:
  libsysutils: Move to a null terminated string protocol using space as a field separator.
2009-06-15 14:40:15 -07:00
San Mehat
3aff2d1de5 Nexus: Clean up supplicant events, protocol, and continue plumbing
- Create SupplicantEvent classes for events
    - New SupplicantEventFactory for creating events
    - Extract Controller -> NetworkManager callbacks into IControllerHandler
    - Move ScanResult handling from Supplicant -> WifiController
    - Plumb more 'onConnected()' code
    - Instead of re-creating NetworkList every-time, merge in
      new entries
    - Extract SupplicantListener -> Supplicant callbacks into
      ISupplicantEventHandler
    - Move SupplicantListener callback handling to WifiController
    - Add unlocked version of lookupNetwork()
    - Save supplicant config after setting a WifiNetwork variable
    - Move property registration from WifiNetwork -> Supplicant
    - Change wifi enable broadcast messages
    - Add 3 new events: 'onAssociating', 'onAssociated', 'onConnectionTimeout'
    - Add support for handling KeyManagement

Signed-off-by: San Mehat <san@google.com>
2009-06-15 14:20:02 -07:00
San Mehat
669a7011e7 nexctl: Refactor so Nexus can be tested from scripts easily.
Also adds 'monitor' mode for monitoring broadcasts

Signed-off-by: San Mehat <san@google.com>
2009-06-15 14:07:28 -07:00
San Mehat
c73a3a5771 libsysutils: Move to a null terminated string protocol using space as a field separator.
Also removes some debugging

Signed-off-by: San Mehat <san@google.com>
2009-06-15 14:06:03 -07:00
Mike Chan
6df2e9fc2e am d709b582: remove 3G timeout values from init.rc, this should be device specific
Merge commit 'd709b582604e7f9d53b97f9ae13c5e12b2466c56'

* commit 'd709b582604e7f9d53b97f9ae13c5e12b2466c56':
  remove 3G timeout values from init.rc, this should be device specific
2009-06-14 21:12:35 -07:00
Android (Google) Code Review
ba4dea8120 Merge changes 4101,4102
* changes:
  Allow local variables to be declared anywhere in a block.
  Support variable initialization.
2009-06-12 14:43:42 -07:00
Jack Palevich
a1804ddeba Allow local variables to be declared anywhere in a block. 2009-06-12 14:40:04 -07:00
Jack Palevich
d7461a7342 Support variable initialization.
Global variables can only be initialized to integer constants.

Local variables can be initialized to arbitrary expressions.
2009-06-12 14:26:58 -07:00
Android (Google) Code Review
b96ebd7ef9 Merge change 4092
* changes:
  Reserve all C99 keywords.
2009-06-12 13:56:12 -07:00
Mike Chan
d709b58260 remove 3G timeout values from init.rc, this should be device specific
Signed-off-by: Mike Chan <mike@android.com>
2009-06-12 13:55:15 -07:00
Jack Palevich
f1728bec74 Reserve all C99 keywords.
And improve checks/error messages around using non-symbols where a
symbol is expected.
2009-06-12 13:53:51 -07:00
Android (Google) Code Review
5a5b16cf7f Merge change 4084
* changes:
  Handle end-of-file inside of comments, local declarations.
2009-06-12 13:17:04 -07:00