18951 Commits

Author SHA1 Message Date
Jaikumar Ganesh
afdf85d435 Merge "Fix issue 2440226: Car dock volume synchronization." 2010-02-17 09:15:50 -08:00
Dave Sparks
7bef5a58f1 Fix logging in SoundPool. 2010-02-17 09:09:24 -08:00
San Mehat
4086f752e1 NativeDaemonConnector: Improve bad list IPC diagnostics
Signed-off-by: San Mehat <san@google.com>
2010-02-17 09:05:16 -08:00
San Mehat
fea87ae1a7 framework: tests: Add some unit-tests for Asec
Signed-off-by: San Mehat <san@google.com>
2010-02-17 09:05:16 -08:00
Kenny Root
073a3d56ea Add better index checks for AndroidCharacter.mirror
Fix potential invalid array access if start index is before the
beginning of the array or start + count is past the end of the array.
Update Javadoc for mirror to reflect the usage of "start" and "count".

Change-Id: I7e596de8eae5c518a2b4ff0d28604bd9c59f9d9d
2010-02-17 08:46:04 -08:00
Leon Scroggins
e265532f30 Create a default style for WebTextView.
As a result, all apps using WebView (and therefore WebTextView)
will get the same style, and display properly.

Fixes http://b/issue?id=2385422
2010-02-17 10:30:12 -05:00
Mike Lockwood
a4437fc93a Fix null pointer exception in connectivity service broadcast receiver.
Change-Id: I80c7175ffd1a323a02201395ff6092e2ab0fdd1c
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-17 07:40:50 -05:00
Bjorn Bringert
0a05f5dfeb Merge "Clean up after failed MemoryFileTest.testPurge()" 2010-02-17 01:58:59 -08:00
James Dong
68db99ef76 Replace system property retrieval calls with DecoderCapabilities Java API calls. 2010-02-17 00:11:32 -08:00
Ben Cheng
0902f02e8f Merge "Detect system-wide safe mode and configure the VM accordingly." 2010-02-16 22:28:20 -08:00
Jesse Wilson
d998b3cd24 Removing org.w3c.dom subpackages.
See dalvik change https://android-git.corp.google.com/g/40511
2010-02-16 21:56:42 -08:00
Mathias Agopian
5a48712501 fix [2447659] fix improper usage of the YCbCr_420_SP format 2010-02-16 20:45:21 -08:00
Mathias Agopian
102f49f361 fix a bug I introduced recently where YUV formats would crash the system 2010-02-16 20:43:39 -08:00
Mike LeBeau
329c6aed78 Remove ACTION_VOICE_SEARCH_SETTINGS (added only for Froyo), because we've got
a more robust solution instead.
2010-02-16 18:22:23 -08:00
San Mehat
2db939bde9 Merge "MountService: Add API call for getting a list of pids currently using the specified mountpoint" 2010-02-16 18:07:31 -08:00
Mathias Agopian
8ff97b5869 Merge "get rid off the YUV formats at the libui layer" 2010-02-16 18:00:13 -08:00
Mathias Agopian
8f2423e8f3 get rid off the YUV formats at the libui layer 2010-02-16 17:33:37 -08:00
Doug Felt
71b8dd71e4 Enhance text docs, rename some variables for clarity, comment places in the code
for further investigation.
2010-02-16 17:27:09 -08:00
Chris Tate
8eb5a141b3 Merge "Fix the build (mucked up an API change / commit / upload sequence)" 2010-02-16 17:21:39 -08:00
Christopher Tate
9f790c309b Fix the build (mucked up an API change / commit / upload sequence)
Change-Id: I0eade23e5ccd4a45dbb77f76bd3cd180ddda7107
2010-02-16 17:20:32 -08:00
San Mehat
c1b4ce93be MountService: Add API call for getting a list of pids currently using the specified mountpoint
Signed-off-by: San Mehat <san@google.com>
2010-02-16 17:13:03 -08:00
Robert Greenwalt
6a6ce74e59 Merge "Update Tethering." 2010-02-16 17:11:10 -08:00
Chris Tate
cff1ae56e8 Merge "API CHANGE: expose backup/restore to the SDK" 2010-02-16 16:58:17 -08:00
Robert Greenwalt
2a091d7aa0 Update Tethering.
Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.

bug:2413855
2010-02-16 16:56:09 -08:00
Dave Sparks
675ee6ac36 Merge "Add SoundPool API to pause and resume all active streams. Bug 2426531." 2010-02-16 16:41:19 -08:00
Christopher Tate
e28290e21f API CHANGE: expose backup/restore to the SDK
The core backup/restore classes [BackupManager, BackupAgent, RestoreSession, and
RestoreObserver] are now published for 3rd party developers, as well as the suite
of helper classes that exist so far to aid authorship of backup/restore agents.

In conjunction with the API change, the restore-time automatic data wipe has now
been removed:  applications are responsible for managing the logic of wipe vs
merge themselves.  If the app's agent onRestore() callback throws, the data
is presumed to be incoherent and a wipe is issued via the Activity Manager;
otherwise, no automatic action is ever taken.

Change-Id: I0b3418b829d4689b58b88be3d9c4ace37a8583a9
2010-02-16 16:23:55 -08:00
Dave Sparks
f992cbb9aa Add SoundPool API to pause and resume all active streams. Bug 2426531. 2010-02-16 16:19:32 -08:00
Mike LeBeau
4b71fc0fa8 Merge "Add constant to android-common for voice search's EXTRA_CALLING_PACKAGE, and use it from SearchDialog." 2010-02-16 16:10:09 -08:00
Suchi Amalapurapu
044a401292 Merge "Move mount service wrapper calls to PackageHelper" 2010-02-16 16:08:00 -08:00
Chih-Chung Chang
59bac03b28 Do setThreadPriority() later so we can notify the waiting thread
and release the lock as soon as possible even if we run the loop
in background priority.
2010-02-16 15:34:06 -08:00
Bjorn Bringert
1017a134c1 Clean up after failed MemoryFileTest.testPurge()
MemoryFileTest.testPurge() can fail if the process runs
out of file descriptors before the kernel starts purging ashmem areas.
Before, there was no finally block to close the open ashmem
file descriptions, which caused random other tests to fail.

I also changed the size of the memory areas to 10MB, which
should cause it to run out of memory before it runs out of file
descriptors. It now fails with this instead:

java.io.IOException
	at android.os.MemoryFile.native_pin(Native Method)
	at android.os.MemoryFile.allowPurging(MemoryFile.java:189)
	at android.os.MemoryFileTest.testPurge(MemoryFileTest.java:53)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:430)
	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447)

I'm not sure why, but it could be that the kernel is purging the just
allocated area instead of an old one. That seems like bug.

See http://b/issue?id=2203775

Change-Id: Ia7930a714378474dd4c2c6709da40c08e715ab6f
2010-02-16 23:31:46 +00:00
Ben Cheng
6c0afff7f0 Detect system-wide safe mode and configure the VM accordingly.
For the system server process, do the disableJitCompilation/startJitCompilation
callbacks depending on whether the system is in safe mode or not.

In addition, if the system is found to be in safe mode, a flag will be set in
the Zygote class which will be used to launch subsequent apps in VM safe mode.

Bug: 2267590
2010-02-16 15:12:55 -08:00
Suchi Amalapurapu
679bba339e Move mount service wrapper calls to PackageHelper
Fix bug related to forward locked apps.
2010-02-16 15:11:04 -08:00
Kenny Root
bb9a51768d Add API to access ICU's East Asian Width
Currently there is no way for an application built against the API to
access East Asian Width data from ICU. This adds an API for applications
to use to access it for correct drawing of international characters.

Change-Id: Iab50698ee555ae2ca8ab4b242cc14aa6e0dc3b48
2010-02-16 15:05:02 -08:00
Daisuke Miyakawa
4a2d3b15ec Merge "Fixing the use of entities in VCardExporter." 2010-02-16 14:55:08 -08:00
Jean-Baptiste Queru
a466f86201 Merge "fix build" 2010-02-16 14:49:44 -08:00
Jean-Baptiste Queru
e3460d7a01 fix build
Change-Id: I08b7d09408530e8c107e2821af7a769fba1c7bd7
2010-02-16 14:49:01 -08:00
Eric Fischer
01c0e997d4 Merge "Keep Rfc822Tokenizer from crashing when the string ends with a backslash." 2010-02-16 14:47:23 -08:00
Andreas Huber
9f56485823 Merge "If we never triggered a range request but know the content length make sure to not read more data than there could be, otherwise we'd block indefinitely if the server doesn't close the connection." 2010-02-16 14:41:14 -08:00
Dmitri Plotnikov
989edfde74 Fixing the use of entities in VCardExporter.
Bug: 2377678
Change-Id: I05768fd2ce28406b1fc32005343fa1eeaaecdd24
2010-02-16 14:40:46 -08:00
Andreas Huber
67e8dfb257 Merge "Don't hold the prefetcher mutex while prefetching a single source, the lock protects the list of sources and does not guard access to the individual sources." 2010-02-16 14:36:45 -08:00
Eric Fischer
a877c03442 Keep Rfc822Tokenizer from crashing when the string ends with a backslash.
Bug 2442537
2010-02-16 14:34:32 -08:00
Andreas Huber
2ae13a9c48 Don't hold the prefetcher mutex while prefetching a single source, the lock protects the list of sources and does not guard access to the individual sources.
related-to- bug: 2413024
2010-02-16 14:24:05 -08:00
Dan Egnor
9d4b575453 Add getInsecure() that returns a persistently insecure SSLSocketFactory,
which Email needs for unbundling.

Bug: 2353593
2010-02-16 14:18:24 -08:00
Patrick Scott
fa4039e4fc Do not include the fragement identifier in the path.
Bug: 2435741
2010-02-16 17:09:03 -05:00
Jean-Baptiste Queru
e5dbbde590 Merge "Expose more Download Manager APIs." 2010-02-16 14:02:31 -08:00
Andreas Huber
57f790f96d If we never triggered a range request but know the content length make sure to not read more data than there could be, otherwise we'd block indefinitely if the server doesn't close the connection.
related-to-bug: 2442307
2010-02-16 14:00:36 -08:00
Costin Manolache
63cfebf2db Switch from REMOTE_INTENT to the new push messaging, add the required permission. 2010-02-16 13:57:52 -08:00
Jean-Baptiste Queru
3af80dc6d9 Expose more Download Manager APIs.
This will allow apps to track download progress.

Change-Id: Id6b77c0fc01b4838fca45e2fe241b1ea08e65038
2010-02-16 13:55:19 -08:00
Jaikumar Ganesh
4f773a1304 AVRCP volume controls for the docks.
Send volume updates to the dock when the user presses volume buttons
on the device.

Bug: 2311007
2010-02-16 13:21:05 -08:00