18561 Commits

Author SHA1 Message Date
Andreas Huber
6c9bf1c1de Better diagnostics for the stagefright tool and codec performance.
related-to-bug: 2450938
2010-02-17 14:58:07 -08:00
Leon Scroggins
0f5a434c54 Merge "Changes to remove WebTextView at end of touch/press rather than during." 2010-02-17 11:36:31 -08:00
Steve Block
0668db2adc Merge "Sorts the lists of tests in DumpRenderTree in preparation for cleaning up the lists." 2010-02-17 11:25:28 -08:00
Leon Scroggins
6088e83374 Changes to remove WebTextView at end of touch/press rather than during.
Add a parameter for clearTextEntry to disable the focus controller,
and call clearTextEntry when releasing the trackball.

Requires a change to external/webkit

Fix for http://b/issue?id=2340871
2010-02-17 14:25:07 -05:00
Dianne Hackborn
64e7a257ca Fix build. 2010-02-17 11:15:28 -08:00
Steve Block
be6079a76c Merge "Removes tests from DumpRenderTree skipped list where the corresponding bugs have been fixed." 2010-02-17 11:04:53 -08:00
Dmitri Plotnikov
a257169ff8 Merge "Adding support for "contact counts grouped by the first letter of the sort key"." 2010-02-17 10:58:10 -08:00
Dmitri Plotnikov
53de90462b Adding support for "contact counts grouped by the first letter
of the sort key".

This is needed for two purposes:
1. To fix the A-Z index, specifically non-English ones and
address the issue of messed up index when sort order does not match
display order.

2. Take the first step toward the introduction of a scrolling
cursor.  When we have a scrolling cursor, we will _have_ to
build the index independently of fetching all of the data.

Bug: 2407129
Change-Id: Ie2979ff8e67446329ea6d1c2f5c9f4f215e6ec89
2010-02-17 10:57:19 -08:00
Dianne Hackborn
dfac9a643e Merge "Fix issue #2420412: API review: DeviceAdmin API changes" 2010-02-17 10:56:58 -08:00
San Mehat
2d9dca100f Merge "NativeDaemonConnector: Improve bad list IPC diagnostics" 2010-02-17 10:55:44 -08:00
Eric Fischer
f7c569897c Merge "Enhance text docs, rename some variables for clarity, comment places in the code for further investigation." 2010-02-17 10:37:29 -08:00
Dianne Hackborn
ef6b22fc04 Fix issue #2420412: API review: DeviceAdmin API changes
Note in docs that callbacks are on main thread.
Rename to DeviceAdminReceiver?
Document resetPassword is the device's password.

Also hide android.R.attr.neverEncrypt.
2010-02-17 10:29:52 -08:00
Kenny Root
9cd6bfefd7 Merge "Prevent sign extension in UsimPhoneBookManager" 2010-02-17 10:26:40 -08:00
Kenny Root
a409128a72 Prevent sign extension in UsimPhoneBookManager
When performing a logical OR on a byte value, make sure to truncate its
value to prevent possible sign extension when it is converted to 32-bit.

Change-Id: I7bdfded32cec3e8a5f6b5c45316b2af5ab9471d1
2010-02-17 10:21:11 -08:00
Cary Clark
855dd9e074 Add UI considerations to layers
companion fix is in external/webkit

- Add class to return view metrics.
- Draw cursor rings and find matches in proper order.

http://b/2369549
2010-02-17 13:18:45 -05:00
San Mehat
900ec77d62 Merge "framework: tests: Add some unit-tests for Asec" 2010-02-17 10:07:49 -08:00
Dave Sparks
af6fdfa4bb Merge "Fix logging in SoundPool." 2010-02-17 09:16:43 -08:00
Jaikumar Ganesh
aec0937be6 Merge "AVRCP volume controls for the docks." 2010-02-17 09:16:19 -08:00
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
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
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
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