456 Commits

Author SHA1 Message Date
Android (Google) Code Review
ce54003aa8 Merge change 23406 into eclair
* changes:
  allow a longer timeout for layout tests, see if it stabilizes pass/fail numbers
2009-08-31 22:04:09 -07:00
Guang Zhu
38323a5f9f allow a longer timeout for layout tests, see if it stabilizes pass/fail numbers 2009-08-31 22:01:53 -07:00
Tammo Spalink
95434bfaee Allow fragmentText to be called for singleton CDMA messages.
Corrects for previous partner changes, addressing issue:

http://buganizer/issue?id=2063332

Change-Id: I49e564d81c5db3e92a6bad973f21a02a7302875d
2009-09-01 11:44:08 +08:00
Android (Google) Code Review
650cbfd381 Merge change 22551 into eclair
* changes:
  Fix broken unit test.
2009-08-31 19:39:40 -07:00
Tammo Spalink
f73dc54541 Fix broken unit test.
Addresses issues:
http://buganizer/issue?id=2056263
http://buganizer/issue?id=2058622

Change-Id: I951fabddbb141f86d5126b908fdff80fbf3b4d7e
2009-08-31 18:54:18 +08:00
Brett Chabot
1615ccc8a4 am e1df8224: Merge change 23173 into donut
Merge commit 'e1df82248a68282a4d556ce61db09949fc186827' into eclair

* commit 'e1df82248a68282a4d556ce61db09949fc186827':
  Remove flaky test LifecycleTest.testDialog from large continuous suite.
2009-08-28 13:50:16 -07:00
Brett Chabot
3bb99b3adf Remove flaky test LifecycleTest.testDialog from large continuous suite.
BUG 1866891

Change-Id: Ifef98426cf3879fc9f17aa5a0891578fefa54ce3
2009-08-28 13:42:10 -07:00
Daniel Sandler
c035f7c79f Final high-density frameworks artwork drop from designers (dated 25-Aug-2009). 2009-08-28 09:04:53 -04:00
Tammo Spalink
c18776d5bc optimize MCC table
Replace a table of objects that was created at boot
in a costly manner, with a pre-generated table of
more densely formatted numerical data.

Based on data from runhat on the phone process,
this looks to shrink the memory footprint from about
16kB to less then 2kB.

Addresses http://buganizer/issue?id=874072

Change-Id: I5a7b9d7de4c9b9a0360e8370252582969fbd8d4f
2009-08-28 14:05:04 +08:00
Ben Murdoch
d497d87650 Pass the estimated size of new HTML 5 databases to the ChromeClient so it can use that amount to figure an initial default quota.
Change-Id:Ic9372b0c86472b42ba5d0b964aaff1e2bbfe3efa
2009-08-26 12:39:55 +01:00
Android (Google) Code Review
97f870956a Merge change 22399 into eclair
* changes:
  Refactor VCard handling code, phase 2, 3, 4, 5
2009-08-25 22:08:38 -07:00
Daisuke Miyakawa
f4ddea7690 Refactor VCard handling code, phase 2, 3, 4, 5
Phase 2
Make VCard Importer use Data structures in ContactsContract instead of
using old Conatacts structure.

Phase 3
Developed VCardComposer, which was originally in Contacts package, but
now in base/core/java. Also made it use queryEntries() as per jsharkey's
suggestion.

Phase 4
Added VCardUtils and moved some common methods to it, some of which should be
in public API, but hidden for now.

Phase 5
Made VCardComposer emits (almost) valid vCard 3.0 data.
Confirmed with vCard data emitted by Mac.

Related issue:
1784580, 1728351, 1967349

Note:
Probable next step:
- Add "fast parse" mode in VCradBuilder, in which, VCardBuilder skip parsing the value of
each property. It will make the parsing faster.
-- Note that parsing the parameters of each entry cannot be skipped, since it may contains
the information about Encoding of the property. In other words, if the line is
in Quoted-Printable format, the next line may be the part of the property, not a
separated property, which should be parsed accordingly.

- Needs test
2009-08-25 15:39:06 +09:00
Android (Google) Code Review
45e38f8461 Merge change 22559 into eclair
* changes:
  Filter out worker tests from layout suite because merely disabling worker in webview settings no longer works.
2009-08-24 21:03:20 -07:00
Guang Zhu
8e3a84cd2e Filter out worker tests from layout suite because merely disabling worker in webview settings no longer works. 2009-08-24 21:01:25 -07:00
Derek Sollenberger
df8a3f31d8 adding harness for plugin testing to be built upon 2009-08-24 15:10:48 -04:00
Android (Google) Code Review
25131299aa Merge change 21978 into eclair
* changes:
  Adds the ability to set Geolocation permissions from DumpRenderTree on Android.
2009-08-24 02:28:23 -07:00
Ken Shirriff
5f5989de7c Add tests for RecurrenceSet.
Tests only cover populateContentValues.  See bug 1594638
2009-08-21 17:09:33 -07:00
Android (Google) Code Review
7b0cdc8890 Merge change 22362 into eclair
* changes:
  Fix +NANP issue and cleanup plus code conversion.
2009-08-21 17:05:24 -07:00
Libin Tang
7850cdde66 Fix +NANP issue and cleanup plus code conversion.
This patch includes the plus code conversion clean up.
1. change the plus code conversion based on the current and default
   number systems retrieved from MCC.
2. for format such as +NANP, replace the '+' with the current IDP (011).
3. comments changes.
2009-08-21 10:26:58 -07:00
Guang Zhu
5080b6736e Fixed the missing EOL in last line of crashed tests list file. Also fixed some whitespaces. 2009-08-20 18:20:46 -07:00
Steve Block
dad347c8b8 Adds the ability to set Geolocation permissions from DumpRenderTree on Android. 2009-08-19 22:52:25 +01:00
Fred Quintana
3710f39096 - changed removeAccount() to be handled by the AccountAuthenticator and to return a boolean
- changed the IAccountManager API to use oneway IPCs
- changed the AccountManager to not have to start a thread for any of the calls (versus every call)
2009-08-14 21:38:58 -07:00
Steve Block
cd5109ae1b am a8dfe24d: Adds the ability to configure the mock Geolocation service from DumpRenderTree.
Merge commit 'a8dfe24da014b52d7ae93c3fbd7a8b88ec336572'

* commit 'a8dfe24da014b52d7ae93c3fbd7a8b88ec336572':
  Adds the ability to configure the mock Geolocation service from DumpRenderTree.
2009-08-14 09:39:21 -07:00
Steve Block
a8dfe24da0 Adds the ability to configure the mock Geolocation service from DumpRenderTree. 2009-08-14 16:43:28 +01:00
Android (Google) Code Review
1cf3229a40 Merge change 20918
* changes:
  Wrap up the stress test into a single script make test_restore.sh return a value signifying success or failure
2009-08-13 18:35:40 -07:00
Christopher Tate
0749dcd193 Backup participants must now hold the BACKUP_DATA permission
Packages that do not use android.permission.BACKUP_DATA will neither be backed
up nor restored.  That permission is currently signature-only.  In the future if
access to the backup/restore infrastructure is made available to arbitrary 3rd
party applications, the permission checks (and indeed, the permission itself)
can simply be removed.
2009-08-13 15:15:55 -07:00
Android (Google) Code Review
763101efcd Merge change 21171
* changes:
  Allow max_retires to be set to infinite.
2009-08-13 15:14:12 -07:00
Android (Google) Code Review
9e0426087b Merge change 21166
* changes:
  Rename bcdByteToInt to gsmBcdByteToInt and beBcdByteToInt to cdmaBcdByteToInt.
2009-08-13 15:13:58 -07:00
Feng Qian
2890920eba Set V8 flag --expose_gc in TestShellActivity.
Page cycler calls window.gc between pages, JSC exposes window.gc by default, and V8 requires the flag to be set.
2009-08-13 14:54:56 -07:00
Wink Saville
a03ab1a6a0 Allow max_retires to be set to infinite.
Setting max_retires to infinite sets mRetryForever to true and therefore
isRetryNeeded will always be true. This is better than an alternative
which is to set max_retires to a large value such as 2147483647.
2009-08-13 14:18:00 -07:00
Wink Saville
9688c6046f Rename bcdByteToInt to gsmBcdByteToInt and beBcdByteToInt to cdmaBcdByteToInt. 2009-08-13 11:11:46 -07:00
Android (Google) Code Review
aaa1fa96e1 Merge change 21006
* changes:
  Fix the issue of incorrect conversion of the plus sign in a dial string.
2009-08-12 15:48:31 -07:00
Tang@Motorola.com
18e7b98c1c Fix the issue of incorrect conversion of the plus sign in a dial string.
The issue is that the plus sign in a dial string is always converted
to the IDP (International Dial Prefix).

This fix implements a plus sign conversion mechanism based on the default
telephone numbering system that the phone is activated and the current telephone
number system that the phone is camped on. Currently, we only support the cases
where the default and current telephone numbering system are NANP.
2009-08-12 15:41:33 -07:00
Brett Chabot
74e2966421 am 3b5f4a84: Merge change 20806 into donut
Merge commit '3b5f4a841e9e87442eeacd7773bd2a6ca8710019'

* commit '3b5f4a841e9e87442eeacd7773bd2a6ca8710019':
  Remove flaky auto complete tests from continuous.
2009-08-12 12:04:34 -07:00
Omari Stephens
259447bc64 Wrap up the stress test into a single script
make test_restore.sh return a value signifying success or failure
2009-08-12 00:30:59 -07:00
Omari Stephens
bf5ac2aac3 git rid of the "x" prefixes for test 2009-08-11 22:10:52 -07:00
Omari Stephens
0cfeb25707 The triumphant return of the shell scripts, with bugreports, less code dup, and
enhanced readability.
2009-08-11 21:51:03 -07:00
Brett Chabot
37f4e75b09 Remove flaky auto complete tests from continuous.
BUG 2036517
2009-08-11 14:33:50 -07:00
Guang Zhu
b028f92e75 Disable Worker in DumpRenderTree until the issue with dumpAsText is fixed. 2009-08-11 14:27:32 -07:00
Jeff Sharkey
08b75b1ffb New ContentProviderOperation to assert values during batch.
When performing a set of batch operations, some callers need
to enforce that a query has specific values.  For example,
when persisting edited Contact values, we need to assert
that the RawContacts.VERSION matches the version we read out
through queryEntities().

This change adds a new TYPE_ASSERT that uses withValues()
and withSelection(), and checks all values when applying the
batch operation, bailing if any values don't match.
2009-08-10 20:59:20 -07:00
Tammo Spalink
e00dd1e5a3 Make GSM 7-bit encoding properly deal with initial padding.
For CDMA, clean up the GSM encapsulation to properly align
user data payload after the user data header.

Addresses http://buganizer/issue?id=2007011
2009-08-10 14:12:35 +08:00
Wink Saville
3918e13b24 Add configurable data-retry.
Add RetryManager and change GsmDataConnectionTracker and
CdmaDataConnectionTracker to use it.

Add TelephonyUtilsTest which tests RetryManager.
2009-08-09 15:23:45 -07:00
Android (Google) Code Review
be26ac5835 Merge change 20338
* changes:
  Wipe data on backend before a backup run Append the date to 3.txt so that we can see if/when backup failures occurred   solely from the device/server state Note that these files will probably be deleted from the tree immediately, to   be replaced by the ruby versions.
2009-08-06 15:58:32 -07:00
Omari Stephens
864ed1a9d7 Wipe data on backend before a backup run
Append the date to 3.txt so that we can see if/when backup failures occurred
  solely from the device/server state
Note that these files will probably be deleted from the tree immediately, to
  be replaced by the ruby versions.
2009-08-06 15:36:34 -07:00
Ben Murdoch
d4f09592f7 Enable Workers in Dump Render Tree. 2009-08-06 12:59:35 +01:00
Android (Google) Code Review
3905eb3d2f am ff6585cb: Merge change 20144 into donut
Merge commit 'ff6585cbb0e5e42adf056b4a074b9f3683b853c1'

* commit 'ff6585cbb0e5e42adf056b4a074b9f3683b853c1':
  Remove flaky MonitorTest#testInterrupt from continuous, and attempt to make
2009-08-05 17:52:10 -07:00
Android (Google) Code Review
ff6585cbb0 Merge change 20144 into donut
* changes:
  Remove flaky MonitorTest#testInterrupt from continuous, and attempt to make AutoCompletePopup tests more reliable.
2009-08-05 17:49:41 -07:00
Brett Chabot
04588d5225 Remove flaky MonitorTest#testInterrupt from continuous, and attempt to make
AutoCompletePopup tests more reliable.

Bugs 2036517 and 1636810.
2009-08-05 13:35:58 -07:00
Tammo Spalink
2d65082b15 fix CDMA SMS ASCII decode and mapping 2009-08-05 11:12:53 +08:00
Android (Google) Code Review
8031361ad5 am 7a07f179: Merge change 20006 into donut
Merge commit '7a07f1797684597a3b932aa0b365049d3e7d6ff3'

* commit '7a07f1797684597a3b932aa0b365049d3e7d6ff3':
  After each test, the WebView cache should be cleared, otherwise the cache data will pile up.
2009-08-04 14:31:12 -07:00