1015 Commits

Author SHA1 Message Date
Daniel Sandler
91e1d0cdda Add support in StatusBarManager for disabling ticker text.
The new flag, DISABLE_NOTIFICATION_TICKER, will be used by
the car dock app (in conjunction with DISABLE_EXPAND) to
minimize distractions to the driver.

It may also be used by the secure lockscreen to avoid
leaking personal information when the screen is on but the
device is locked (e.g. when the desk dock app is running).

Change-Id: Ibc8efde7da7501767163ae0a75f7c369b824e2a2
2010-02-04 15:55:00 -08:00
Suchi Amalapurapu
c4aac70a81 Merge "Some tests for install and replace package." 2010-02-04 14:59:00 -08:00
Ben Murdoch
fc4a69e9c1 When a window is closed, destroy the WebView properly so that WebCore is informed of it's destruction.
Change-Id: I00002f53ec52c6056df4d7ddeec7cf0957423bd6
2010-02-04 16:54:06 +00:00
Joe Onorato
f1dd37ac28 Merge "Fix 1667521 - system process crash after bad notification" 2010-02-03 20:25:43 -08:00
Joe Onorato
68065e0a19 Fix 1667521 - system process crash after bad notification
The steps to reproduce this were kind of interesting.  You needed to have
a notification with a bogus RemoteViews in the first position in the list,
and then have another notification come in with an earlier timestampe.  In
that case, it would get a bad index for the new (not bogus) view that was
being added.
2010-02-03 20:21:41 -08:00
Suchi Amalapurapu
afbaaa189f Some tests for install and replace package. 2010-02-03 17:34:18 -08:00
Elliott Hughes
ecf04ec19a Merge "Remove "StringTest.java"." 2010-02-03 12:05:40 -08:00
Elliott Hughes
809cf4481f Remove "StringTest.java".
This only tests stuff that's already better tested in dalvik/libcore, plus
private ICU API (RuleBasedNumberFormat) we'd like to remove, and that this
is the only caller of.
2010-02-03 11:33:47 -08:00
Ben Murdoch
ecbc65cf8f Add support for sending touch events in DRT.
As part of this, make it possible for DRT to configure the timeout threshold between sending touch events to WebCore as the Layout Tests only synthesize single events, not a stream. Because of this, they often get dropped by the WebView for coming too quickly.

Skip the multi touch test as we don't support multi touch in the Browser.

Change-Id: I7b9830f43181fea33206825b49ef2e294269b4dd
2010-02-03 16:57:46 +00:00
Neal Nguyen
1a44d5dcab Phase 2 of test cleanup: moving test files from AndroidTests closer to their sources.
Most of these are file moves; a couple notable exceptions are the changes due to the move, and fixing up test code:
- database/DatabaseCursorTest.java
- database/DatabaseStatementTest.java
- net/UriTest.java
2010-01-29 13:35:51 -08:00
Patrick Scott
9d0f609251 There is no ../com directory and the build (find) agrees. 2010-01-28 09:03:14 -05:00
Neal Nguyen
1d3165f10b Phase 2 of test file cleanup: relocating test files from FrameworkTest closer to their sources in core.
In addition to the file moves, the package names of the tests have been updated and adjusted to match their new locations.
2010-01-27 14:15:55 -08:00
Neal Nguyen
22e31e5b60 Moving framework core tests closer to their source files.
Phase 2 of test case cleanup; distributing CoreTests files closer to their respective sources under frameworks.
2010-01-27 13:36:38 -08:00
Vasu Nori
445cc0e4bf Merge "dont use sqlite_stmt_journals dir" 2010-01-27 12:10:56 -08:00
Vasu Nori
ad8d0d1b4d dont use sqlite_stmt_journals dir 2010-01-27 12:10:14 -08:00
Eugene Koh
bce2806a37 Merge "Modify the interface of HanziToPinyin class to make it generic and add test class" 2010-01-26 16:48:52 -08:00
Fred Quintana
307da1a46b enhance the sync manager backoff logic and add support for retry-after
moved SyncQueue and SyncOperation into their own top-level classes
to ease maintainability and testing6

removed some dead code
2010-01-25 16:41:58 -08:00
Bai Tao
4256586663 Modify the interface of HanziToPinyin class to make it generic and add test class 2010-01-23 12:57:21 +08:00
Doug Zongker
b35df8f6c7 Merge "remove GoogleLoginService unit test" 2010-01-22 14:30:02 -08:00
Doug Zongker
39b17a1566 remove GoogleLoginService unit test
This now lives in the vendor/google directory alongside
GoogleLoginService itself.

Change-Id: Ic934fa563cdad965e5f95c2f6da407ea720bc0bf
2010-01-22 14:23:14 -08:00
Guang Zhu
6d001c0f7a am e0aed796: am ccec75e7: Merge "Prevent orientation change from triggering activity recreation." into eclair
Merge commit 'e0aed796f03b080dabae6be0803d4ead1b3260a0'

* commit 'e0aed796f03b080dabae6be0803d4ead1b3260a0':
  Prevent orientation change from triggering activity recreation.
2010-01-22 09:44:34 -08:00
Doug Zongker
37f3ddb60b Merge "relocate GoogleLoginService" 2010-01-21 16:10:58 -08:00
Doug Zongker
0a2fb2174e relocate GoogleLoginService
Change-Id: I79f4ff658ab136adcc54c432db76f34d2de5f6ac
2010-01-21 14:36:17 -08:00
Derek Sollenberger
f5831d4303 Removing unused parameter from NP_Initialize. 2010-01-21 15:06:19 -05:00
Joe Onorato
fd24feaf79 Merge "Add DateTimeView, a widget that shows a time or the date depending on the current time. Use that for notifications instead of a TextView that doesn't ever update." 2010-01-19 16:45:05 -08:00
Joe Onorato
c83bb730ec Add DateTimeView, a widget that shows a time or the date depending on the
current time.  Use that for notifications instead of a TextView that
doesn't ever update.

BUG 1563917
2010-01-19 16:32:22 -08:00
Guang Zhu
e0aed796f0 am ccec75e7: Merge "Prevent orientation change from triggering activity recreation." into eclair
Merge commit 'ccec75e7a842f8ba26617406768206eb3be32222' into eclair-plus-aosp

* commit 'ccec75e7a842f8ba26617406768206eb3be32222':
  Prevent orientation change from triggering activity recreation.
2010-01-19 11:54:05 -08:00
Guang Zhu
4ddcedeff1 Prevent orientation change from triggering activity recreation. 2010-01-19 11:51:44 -08:00
Adam Powell
3e22d199a0 am b5a5a397: am 56a17690: Merge "TransformGestureDetector is now ScaleGestureDetector - scope reduced. N1 screen can\'t reliably handle translation and scaling at the same time." into eclair
Merge commit 'b5a5a39716502be2cd325a6f9b393e155c0636ee'

* commit 'b5a5a39716502be2cd325a6f9b393e155c0636ee':
  TransformGestureDetector is now ScaleGestureDetector - scope reduced.
2010-01-19 00:02:00 -08:00
Kenny Root
d60e31cbe3 Merge "Update Time.parse3339() unit tests" 2010-01-15 14:44:58 -08:00
Kenny Root
de8aa87016 Update Time.parse3339() unit tests
Month should be n-1 from input and timezone is already normalized to
UTC.

Change-Id: I030c6444f92b96f85acea81f1675edf061bb5451
2010-01-15 14:23:20 -08:00
Vasu Nori
e495d1f74a fix a bug in compiled-sql caching & hide public api setMaxSqlCacheSize
this is a clone of https://android-git.corp.google.com/g/#change,35174.
if the cache is full to its capacity and if a new statement is to be cached,
one of the entries in the cache is thrown out to make room for the new one.
but the one that is thrown out doesn't get deallocated by SQLiteProgram
because it doesn't know that it should.
fixed this by having SQLiteProgram finalize its sql statement in
releaseReference*() methods, if the statement is not in cache.
2010-01-14 15:22:58 -08:00
Adam Powell
b5a5a39716 am 56a17690: Merge "TransformGestureDetector is now ScaleGestureDetector - scope reduced. N1 screen can\'t reliably handle translation and scaling at the same time." into eclair
Merge commit '56a17690b0b9dc2a2e15ef38a37cc4c403c614fe' into eclair-plus-aosp

* commit '56a17690b0b9dc2a2e15ef38a37cc4c403c614fe':
  TransformGestureDetector is now ScaleGestureDetector - scope reduced.
2010-01-13 18:04:39 -08:00
Adam Powell
ae542ff055 TransformGestureDetector is now ScaleGestureDetector - scope reduced.
N1 screen can't reliably handle translation and scaling at the same time.
2010-01-13 17:08:31 -08:00
Neal Nguyen
96e40b4b37 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:19:11 -08:00
Neal Nguyen
8d1966eac0 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:18:48 -08:00
Neal Nguyen
83fe5de254 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:18:17 -08:00
Neal Nguyen
ae51f0a857 Merge "Framework Tests Cleanup: Removing CTS duplicate files" 2010-01-13 14:17:56 -08:00
Adam Powell
908c48587d am 202a6734: am 8acdb201: Added TransformGestureDetector (still in progress) Modified VelocityTracker to track multiple pointers Added TransformTest
Merge commit '202a6734fd39289257955d404edf7a1165f6e480'

* commit '202a6734fd39289257955d404edf7a1165f6e480':
  Added TransformGestureDetector (still in progress)
2010-01-12 15:19:28 -08:00
Adam Powell
202a6734fd am 8acdb201: Added TransformGestureDetector (still in progress) Modified VelocityTracker to track multiple pointers Added TransformTest
Merge commit '8acdb201bdad2cd03c07ebad9cda29f7971ed164' into eclair-plus-aosp

* commit '8acdb201bdad2cd03c07ebad9cda29f7971ed164':
  Added TransformGestureDetector (still in progress)
2010-01-12 15:15:43 -08:00
Adam Powell
8acdb201bd Added TransformGestureDetector (still in progress)
Modified VelocityTracker to track multiple pointers
Added TransformTest
2010-01-12 15:08:23 -08:00
Romain Guy
980a938c1c Deprecate fill_parent and introduce match_parent.
Bug: #2361749.
2010-01-08 15:11:38 -08:00
Doug Zongker
edc5189c33 change remaining frameworks/base Gservices to Secure settings
Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
2010-01-07 15:00:37 -08:00
Doug Zongker
43866e0c48 move some system services from gservices to secure settings
Change-Id: Ie2dfb99a2b42b2cc9310b858c044d8684e3493fa
2010-01-07 14:20:39 -08:00
Dan Egnor
6916089e83 Remove old EventLog tests from here, they will be replaced by a
(better) EventLog test in CTS.

Fix some minor errors in the handling of too-large event log values.
2010-01-07 00:28:58 -08:00
Dan Egnor
62136d3e1c Simplify EventLog interface -- remove supported for nested
sequences (which nobody used) and streamline the API, adding
documentation in preparation for inclusion in the SDK.

Gut and deprecate EventLogTags, which unfortunately was put
into the public SDK (an oversight).  Include the functionality
in EventLog proper, in a simpler and easier to use manner.

This change doesn't actually un-@hide anything, but it does
change it to @pending.
2010-01-06 12:30:12 -08:00
Jean-Baptiste Queru
432bff01ec Do not use a user tag on apps, as it is ignored.
The build system does not honor user tags on apps,
and setting it is misleading.

This removes the confusion by making the makefiles
behave like they read.

Change-Id: I7c5feba1c7d07f915b97dd098584f29938a4c885
2010-01-06 08:53:44 -08:00
Daisuke Miyakawa
1301341f13 Fix test breakage in vCard exporter.
Due to the change Iae8dbac1, all tests for vCard exporeter has failed.
This change fixes the breakage by using a kind of dirty Dependency Injection.

Current test framework for vCard exporter strongly depends on the assumption that
ContentValues objects are able to be directly passed to objects which use
ContentResolver, while the change above disabled the feature by removing
queryEntities().

This change makes VCardComposer forcibly uses queryEntities() via Reflection.
I agree that this change is not so clean, but works fine for now.
2010-01-05 13:44:51 +09:00
Neal Nguyen
ae46195d4f Framework Tests Cleanup: Removing CTS duplicate files
This file is basically just a wrapper around AndroidTest, which is going away as part of framework test cleanup.

AndroidTests.java is just a wrapper around all the actual tests, so can be removed as well.
2010-01-04 12:23:56 -08:00
Dan Egnor
e38d58bf89 Remove Google-specific (or only-used-by-Google-code) classes.
Fix a small typo in Context javadoc.
2010-01-04 10:14:21 -08:00