Commit Graph

140 Commits

Author SHA1 Message Date
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 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 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
Android (Google) Code Review 47c1d7344a Merge change 4051 into donut
* changes:
  vold: Give logwrapper the ability to put jobs into the background sched group.
2009-06-12 08:36:57 -07:00
San Mehat 825c27d239 vold: Give logwrapper the ability to put jobs into the background sched group.
Also set disk check/format execution to background.

Signed-off-by: San Mehat <san@google.com>
2009-06-12 07:39:52 -07:00
Chung-yih Wang 0bd9a9f5bc Add the ipcp scripts for pppd and racoon configuration for ipsec-tools.
1. add ip-up/ip-down script
2. add /etc/ppp/peers/common
3. add /etc/racoon/racoon.conf
2009-06-12 22:35:42 +08:00
Dan Egnor 2cf6cff71f Add a note to event-log-tags listing the log tag range
reserved for partner use, etc..
2009-06-11 15:28:59 -07:00
Android (Google) Code Review 34c342677e Merge change 3951 into donut
* changes:
  Revert "adb: Workaround for adb disconnect problem."
2009-06-11 14:45:58 -07:00
Mike Lockwood 02d40b51c6 Revert "adb: Workaround for adb disconnect problem."
This reverts commit e38a31e305.

This change had the unfortunate side effect of breaking ctrl-C
when executing "adb shell <command>"

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-11 17:40:48 -04:00
San Mehat 3d6f16e5ed init.rc: Set default cpu shares for background scheduler group to < 1%
Signed-off-by: San Mehat <san@google.com>
2009-06-10 10:49:57 -07:00
Chung-yih Wang 1f75d709c1 Add VPN and Keystore services and data directories.
-- changed the default mode to 0770 for keystore with the new user 'keystore'.
-- add the keystore service providing the basic key lookup/install/remove, but
  only keystore user can access the key content.
2009-06-09 10:49:39 +08:00
Christopher Tate 17df71e0b2 Add an OOM adjustment category for apps undergoing backup
In this initial commit, apps undergoing backup are treated equivalently
to apps hosting services:  more important than anything other than the
foreground app.
2009-06-05 18:20:08 -07:00
Android (Google) Code Review 876577823d Merge change 3008 into donut
* changes:
  adb: Workaround for adb disconnect problem.
2009-06-02 22:10:40 -07:00
Mike Lockwood e38a31e305 adb: Workaround for adb disconnect problem.
For non-interactive adb shell commands, batch USB writes into 4K chunks
instead of sending small packets of data as they come in.
Add a timeout so we do not block for more than 200ms when our 4K buffer is partially full.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-02 22:09:03 -07:00
The Android Open Source Project 47e234fa73 Merge commit '66e4691ad097cfc37bdb7d3b1705ee9132f3234e' into donut 2009-06-02 16:39:12 -07:00
Xavier Ducrohet 66e4691ad0 AI 149490: Add support for 3rd party USB Vendor.
BUG=1890147

Automated import of CL 149490
2009-06-02 12:03:55 -07:00
San Mehat f754f740a3 Revert "Mount SD card synchronous. This is an experimental change intended to"
This reverts commit 23eaecf02d.
2009-06-02 10:27:52 -07:00
San Mehat 21e90f0e10 nexus: Validate that priority and KeyManagement are set before enabling a network
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
San Mehat 78828ff4f5 nexus: Use interface for handling Supplicant events
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
San Mehat 37629255e9 nexus: Remove dependancy on libutil
Signed-off-by: San Mehat <san@google.com>
2009-06-02 10:26:58 -07:00
Android (Google) Code Review 3f62720562 Merge change 2875 into donut
* changes:
  Added ashmem_get_size_region() function.
2009-06-02 05:28:47 -07:00
Android (Google) Code Review 8b48cf6170 Merge change 2897 into donut
* changes:
  fix 1650170 pixelflinger depends on KeyedVector.h, etc
2009-06-01 19:00:49 -07:00
Bjorn Bringert 7be52b1a0e Added ashmem_get_size_region() function.
This is needed by the MemoryFile changes in
https://android-git.corp.google.com/g/2714
where it is used to find out whether a file descriptor
refers to an ashmem region.
2009-06-02 00:55:30 +01:00
Mathias Agopian 006ba85e98 fix 1650170 pixelflinger depends on KeyedVector.h, etc 2009-06-01 15:27:46 -07:00
San Mehat 3c5a6f0bc8 nexus: Refactor some of the create/remove network path and add code for
retrieving network lists from supplicant
nexus: Rework properties
nexus: Implement wifi network enable/disable and add some error checking
nexus: Add some TODOs
nexus: Whitespace cleanup
nexus: Add bindings between controllers and network interfaces
nexus: Add properties for InterfaceConfig
nexus: Fix a few conversion bugs in InterfaceConfig

Signed-off-by: San Mehat <san@google.com>
2009-05-29 15:26:21 -07:00
San Mehat 192331d906 nexus: Add ListCmd to CommandListener
Signed-off-by: San Mehat <san@google.com>

nexus: Add InterfaceConfig and flesh out some more flow

Signed-off-by: San Mehat <san@google.com>
2009-05-29 15:26:00 -07:00
San Mehat 03f0d27f6c libsysutils: Fix command argument passing bug + whitespace cleanup
Signed-off-by: San Mehat <san@google.com>
2009-05-29 15:25:45 -07:00
David 'Digit' Turner ebefc48e61 Expose the stable/frozen log-related definitions of <cutils/logd.h> into a new header: <android/log.h>
This is in order to expose the correponding functions in the 1.5 Native Development Kit, to allow
applicative native code to send messages to the log.
2009-05-29 14:45:04 +02:00
Iliyan Malchev fc0182eb1d add support and proper permissions for /dev/msm_camera/
Signed-off-by: Iliyan Malchev <malchev@google.com>
2009-05-26 16:45:51 -07:00
Android (Google) Code Review a4aace716e Merge change 2437 into donut
* changes:
  Modify init.goldfish.sh to launch the 'qemu-props' program when the emulator boots up. Its purpose is to receive a list of system property (name,value) pairs and set them on launch.
2009-05-26 08:29:35 -07:00
David 'Digit' Turner 653164b6a0 Modify init.goldfish.sh to launch the 'qemu-props' program when the emulator boots up.
Its purpose is to receive a list of system property (name,value) pairs and set them on launch.
2009-05-26 13:16:59 +02:00
Mike Lockwood 1f546e6d1f adb: Allow enabling of device side adbd logging with a persistent system property.
To enable logging, set the property persist.adb.trace_mask to a hex value
containing the bitmask for adb_trace_mask (see the TRACE_* enum values in adb.h).
This will result in adb writing log output to a file in /data/adb/
No logging will occur if persist.adb.trace_mask is not set or has a value
that cannot be parsed as a hex integer.
The property is read once only at startup, so you must reboot or restart adbd
for changes in the property to take effect.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-25 18:17:55 -04:00
Mike Lockwood 6a3075c782 adb: Add adbd to the AID_SDCARD_RW group to allow writing to the SD card.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-05-25 14:22:58 -04:00
Android (Google) Code Review 0469d2c37a Merge change 2282 into donut
* changes:
  Support for 3rd party USB Vendor IDs in adb.
2009-05-22 15:28:51 -07:00
Xavier Ducrohet a481d096fe Support for 3rd party USB Vendor IDs in adb.
Vendor IDs are read from ~/.android/adb_usb.ini. The format is very simple:
1 number per line. First number is ID count, followed by the ID themselves.
Lines starting with # are considered comments.

Other misc changes: moved VENDOR_ID_* to usb_vendors.c to prevent direct
access. Made transport_usb.c reuse the USB constant introduced in usb_osx
(moved them to adb.h)
2009-05-22 15:25:25 -07:00
Android (Google) Code Review 4919d556f5 Merge change 2135 into donut
* changes:
  nexus: Switch controllers to use abstracted properties and refactor command protocol
2009-05-22 08:43:08 -07:00
San Mehat 4876567cb9 nexus: Switch controllers to use abstracted properties and refactor command protocol
Also fixes a select() bug and removes debugging

Signed-off-by: San Mehat <san@google.com>

nexus: fix whitespace
2009-05-22 08:40:13 -07:00
Android (Google) Code Review 47c73898b8 Merge change 2166 into donut
* changes:
  add bootanimation service to init.rc
2009-05-21 19:33:40 -07:00
Mathias Agopian 8b2cf9f04b add bootanimation service to init.rc 2009-05-21 18:45:53 -07:00
Mathias Agopian fee77ec093 don't use cdefs.h as it breaks the windows build. 2009-05-21 13:08:39 -07:00
Xavier Ducrohet a09fbd164d Preparation work for adb to support USB vendor Ids provided by SDK add-ons.
Added usb_vendors.* which handles creating (and deleting) a list of vendor ids.
This list is meant to be used everywhere the built-in lists (usb_osx), or the
built-in vendor IDs (transport_usb)  were used.

For now the list is only built with the built-in VENDOR_ID_*. Next step
is to read a small file created from all the SDK add-on.

Other misc changes: made is_adb_interface present only if ADB_HOST is true
to prevent accessing a list that doesn't exist (usb_vendors is only
compiled for the host version of adb).
2009-05-21 10:18:43 -07:00