1770 Commits

Author SHA1 Message Date
Mike Lockwood
80ffe5d2fe Merge "Implement Notification.DEFAULT_LIGHTS flag." 2010-01-21 08:18:15 -08:00
Mike Lockwood
670f93283b Implement Notification.DEFAULT_LIGHTS flag.
This flag was already in the public API but did not do anything until now.
We now use it so we can override the default notification LED color on a per device basis.

Change-Id: I0d6e239b7da2fdbeda9608d6d4de3e778aa88e2c
BUG: 2329568

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-20 22:43:47 -05:00
San Mehat
db43099f9e Merge "INetworkManagementService: Add support for enumerating TTYs and attaching ppp servers to them" 2010-01-20 18:15:43 -08:00
San Mehat
8ab6135841 MountService: Codeshrink
Signed-off-by: San Mehat <san@google.com>
2010-01-20 18:14:09 -08:00
San Mehat
45891e8bfd Merge "NativeDaemonConnector: Add a convenience method for obtaining lists" 2010-01-20 18:12:54 -08:00
San Mehat
deba6935c6 NativeDaemonConnector: Add a convenience method for obtaining lists
Signed-off-by: San Mehat <san@google.com>
2010-01-20 15:32:02 -08:00
San Mehat
72759df749 INetworkManagementService: Add support for enumerating TTYs and attaching ppp servers to them
Signed-off-by: San Mehat <san@google.com>

Updated: Refactor out duplicated code
2010-01-20 15:17:45 -08:00
Jim Miller
1206b9eb71 Merge "Fix 2385283: Add DevicePolicyManager calls to LockScreen." 2010-01-20 15:12:04 -08:00
Jim Miller
31f90b62e8 Fix 2385283: Add DevicePolicyManager calls to LockScreen. 2010-01-20 14:48:37 -08:00
Jacek Surazski
e0ee6efb1e Add systemApp field to ApplicationErrorReport 2010-01-20 12:27:58 -08:00
Joe Onorato
77872f76a1 Merge "Make the space between the time and the AM/PM smaller by putting preceding whitespace inside the span." 2010-01-19 16:34:58 -08:00
Suchi Amalapurapu
b49d9af7e1 Merge "Mount/Unmount secure containers Persist flags in PackageSetting. Flags are relevant to ApplicationInfo.FLAG_SYSTEM, Application.FLAG_ON_SDCARD, ApplicationInfo.FLAG_FORWARD_LOCK. New pm command to simulate mount/unmount in Pm. This will be removed when MountService/vold event generation gets fixed. Calls from MountService into PackageManager when media gets mounted/unmounted. Scan the packages and grant permissions when the sdcard gets mounted. This api might change again." 2010-01-19 14:11:43 -08:00
Suchi Amalapurapu
fd3530f905 Mount/Unmount secure containers
Persist flags in PackageSetting. Flags are relevant to ApplicationInfo.FLAG_SYSTEM, Application.FLAG_ON_SDCARD, ApplicationInfo.FLAG_FORWARD_LOCK.
New pm command to simulate mount/unmount in Pm. This will be removed
when MountService/vold event generation gets fixed.
Calls from MountService into PackageManager when media gets mounted/unmounted.
Scan the packages and grant permissions when the sdcard gets mounted.
This api might change again.
2010-01-19 14:04:54 -08:00
San Mehat
f078d058ab Merge "framework: Introduce INetworkManagementService for communicating with netd" 2010-01-19 11:21:44 -08:00
Mike Lockwood
0dac8c0f7e LocationManagerService: Fix bug removing proximity alerts.
Alerts were not being removed from the mProximitiesEntered array.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-01-19 14:00:48 -05:00
San Mehat
873f214594 framework: Introduce INetworkManagementService for communicating with netd
This is the framework-exposed interface for the (future) management of
all Android network management functions. Initial support is for providing
tethering.

Updated: Integrate feedback from review; clean up naming

Updated: Switch from add/remove/list to get/set for DNS forwarders
         - allows prioritization / ordering of DNS servers

Updated: Refactor NAT api

Updated: Refactor NAT api (last time sorry)

Signed-off-by: San Mehat <san@google.com>
2010-01-19 10:47:52 -08:00
San Mehat
2b7ff1c471 Merge "MountService: Add new 'unmountSecureContainer' API call" 2010-01-18 07:14:02 -08:00
San Mehat
9dba709d44 MountService: Add new 'unmountSecureContainer' API call
Signed-off-by: San Mehat <san@google.com>
2010-01-18 06:49:19 -08:00
Joe Onorato
63ce8e817c Make the space between the time and the AM/PM smaller by putting preceding whitespace inside the
span.

Also cache the SimpleDateFormat object because those are relatively expensive.
2010-01-17 19:09:35 -05:00
Dianne Hackborn
d68478467e First pass at new device policy and administration APIs.
This adds new DevicAdmin, DevicePolicyManager, and DeviceAdminInfo classes.
See the java docs for each on documentation on them.  Basically: a DeviceAdmin
is what you derive from to administer a device; DevicePolicyManager is what you
use to apply and check your policy requirements and perform other administration
tasks.
2010-01-17 15:10:24 -08:00
San Mehat
5fbf4094f5 MountService: Suppress media removed notification when enabling UMS
Signed-off-by: San Mehat <san@google.com>
2010-01-16 06:11:27 -08:00
Oscar Montemayor
462f037828 Apps on SD card.
Added support for retrieving and generating keys as Hex Strings.
Using keys to mount encrypted FS.
2010-01-15 16:34:11 -08:00
Oscar Montemayor
d02546b415 Apps on SD card.
Added support for retrieving and generating keys as Hex Strings.
Using keys to mount encrypted FS.
2010-01-15 15:08:06 -08:00
Eric Fischer
7c44220d0b Merge "Make the "AM" or "PM" in the status bar clock be in a smaller font size." 2010-01-15 11:23:00 -08:00
Robert Greenwalt
40bbaaac5f resolved conflicts for merge of 90528645 to master 2010-01-15 10:45:11 -08:00
Robert Greenwalt
0894498712 Merge "Set net.hostname sys property to our unique ID." 2010-01-15 10:20:18 -08:00
Andrew Stadler
48c0273eb9 Fix to set package path properly after 'adb sync'
This is a followup to daec1722fae57a042c176664ec1e89c95095e926
2010-01-15 00:03:41 -08:00
Suchi Amalapurapu
daec1722fa Avoid renaming apk paths when scanning directories on reboot 2010-01-14 21:48:37 -08:00
Robert Greenwalt
de8383ca31 Set net.hostname sys property to our unique ID.
Give us a default name networking wise so that wifi (at least) can use it.

Bug:2327089
2010-01-14 18:09:17 -08:00
Suchi Amalapurapu
110fea7ebd Fix runtime restart when replacing packages 2010-01-14 17:50:23 -08:00
Eric Fischer
36e136c2c8 Make the "AM" or "PM" in the status bar clock be in a smaller font size.
Bug 1146468
2010-01-14 17:42:48 -08:00
Suchi Amalapurapu
af8e9f4805 app install on sdcard. provide skeleton implementation
to install an app on sdcard, just resources.
Add new install path for /asec in installd.
ignore . when checking for apk path since the sdcard packages id'ed
by package name.
Add new -s option to adb shell pm
Refactor fwd locked from scanMode to ApplicationInfo.
Add new flag for sd install
Add new parse flags for fwd locking and installing on sdcard
New mock api's in PackageManagerService to invoke MountService api's. These
will be refactored again and so have been wrapped internally.
Some error codes in PackageManager
Changes in PackageManagerService to use mPath and mScanPath during installation
and switch to using PackageParser.Package.applicationInfo attributes for
source and public resource directories.
Some known issues that will be addressed later
 using system_uid for now. needs some tinkering with uid and packagesetting creation to use the actual app uid
 error handling from vold not very robust. ignoring lot of things for now
 sending a delayed destroy to delete packages. will revisit later
 revisit temp file creation later. just copy for now
2010-01-14 14:02:39 -08:00
Robert Greenwalt
90528645ad am 1193ae4e: Backport l53e91db7 from master.
Merge commit '1193ae4e824c66b75083c444ce0f250594e138ee' into eclair-plus-aosp

* commit '1193ae4e824c66b75083c444ce0f250594e138ee':
  Backport l53e91db7 from master.
2010-01-13 17:09:40 -08:00
Robert Greenwalt
1193ae4e82 Backport l53e91db7 from master.
Prevents sending out ConnectivityManager broadcasts when the connection
is repeating the same major state.  This means continued wifi scanning
does not generate CM broadcasts (though wifi state broadcasts continue).

bug: 2265222
Dr No approval: jsh
2010-01-13 09:36:31 -08:00
Irfan Sheriff
cd7703712e Avoid wifi disable in a UNKNOWN state
Multiple broadcast receiver unregister calls cause exception.

Bug: 2361335
2010-01-12 14:53:44 -08:00
San Mehat
22dd86e055 MountService: Refactor to use NativeDaemonConnector and clean-up
Signed-off-by: San Mehat <san@google.com>
2010-01-12 14:12:16 -08:00
San Mehat
67bd2cd75f services: Introduce NativeDaemonConnector class
This class provides an interface to communicate with native daemons using the
libsysutils framework communication code.

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

NativeDaemonConnector: fix whitespace

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

NativeDaemonConnector: Fix review comments

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

NativeDaemonConnector: On an error, re-try the connection

Signed-off-by: San Mehat <san@google.com>
2010-01-12 13:55:39 -08:00
Jean-Baptiste Queru
fa101530bc resolved conflicts for merge of d26707da to master
Change-Id: I1a379194f70c4b14191333ca2d8e6dd9d8b0f9dd
2010-01-12 11:53:42 -08:00
San Mehat
d26707da89 am c93c70c4: Merge "framework: storage: Ensure that filesystems are unmounted before shutdown/reboot" into eclair
Merge commit 'c93c70c4b849d31ff1b5e5cf2fb9462fd60e5da0' into eclair-plus-aosp

* commit 'c93c70c4b849d31ff1b5e5cf2fb9462fd60e5da0':
  framework: storage: Ensure that filesystems are unmounted before shutdown/reboot
2010-01-12 10:02:40 -08:00
San Mehat
7ebf017658 framework: storage: Ensure that filesystems are unmounted before shutdown/reboot
Signed-off-by: San Mehat <san@google.com>
2010-01-12 07:57:42 -08:00
Joe Onorato
f523609e8d stop crashing. I'm not sure what triggered this. 2010-01-11 20:15:46 -05:00
Dan Egnor
42471dd555 Simplify & update ANR logging; report ANR data into the dropbox.
Eliminate the per-process 200ms timeout during ANR thread-dumping.
Dump all the threads at once, then wait for the file to stabilize.
Seems to work great and is much, much, much faster.

Don't dump stack traces to traces.txt on app crashes (it isn't very
useful and mostly just clutters up the file).

Tweak the formatting of the dropbox dumpsys a bit, for readability,
and avoid running out of memory when dumping large log files.

Report build & kernel version with kernel log dropbox entries.
2010-01-11 14:51:22 -08:00
San Mehat
0f5525ad3b framework: asec: Rename 'Cache' -> 'Container'
Signed-off-by: San Mehat <san@google.com>
2010-01-11 10:15:16 -08:00
San Mehat
f96135857f MountService: Clean up some logspam
Signed-off-by: San Mehat <san@google.com>
2010-01-11 08:20:59 -08:00
Romain Guy
980a938c1c Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:38 -08:00
San Mehat
1f6301e1ff MountService: Add new Settings for UMS prompting and notification behavior
Signed-off-by: San Mehat <san@google.com>
2010-01-08 12:56:33 -08:00
San Mehat
51d3e79898 Merge "MountService: Fix asec list bug" 2010-01-08 12:38:24 -08:00
Daniel Sandler
cffea95e1e am 3fb4ee4e: Merge "Immediately close the shade when the status bar is disabled. (DO NOT MERGE)" into eclair
Merge commit '3fb4ee4e03351078ceadf3d8dd05789ae152e8dd' into eclair-plus-aosp

* commit '3fb4ee4e03351078ceadf3d8dd05789ae152e8dd':
  Immediately close the shade when the status bar is disabled. (DO NOT MERGE)
2010-01-08 12:33:17 -08:00
San Mehat
6c133a7895 MountService: Fix asec list bug
Signed-off-by: San Mehat <san@google.com>
2010-01-08 12:32:54 -08:00
Irfan Sheriff
7aac5547da Synchronize all WifiNative calls
Some of the native calls were left unsynchronized in the framework. Pre-empted IOCTL call
interrupted by another call from the framework cannot be handled in the driver.

Bug: 2310455
2010-01-08 12:04:30 -08:00