436 Commits

Author SHA1 Message Date
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
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
Guang Zhu
c189b2ddd4 After each test, the WebView cache should be cleared, otherwise the cache data will pile up. 2009-08-04 14:04:06 -07:00
Android (Google) Code Review
dff3c8b1ce Merge change 9631
* changes:
  Make test_backup and test_restore usable again
2009-08-04 13:20:45 -07:00
Omari Stephens
1f808c6f6e Make test_backup and test_restore usable again
- Add copyright headers
 - Allow the user to pass options (like '-s FOO') to adb
 - Restart device adb as root if needed
 - Make test_restore to infer a restore set
2009-08-03 20:23:55 -07:00
Guang Zhu
d186ef12b3 am 8c5b3e2f: Change browser reliability test to start a new activity for each url
Merge commit '8c5b3e2fa60e29e45c97bf83b2aa8c6505987f82'

* commit '8c5b3e2fa60e29e45c97bf83b2aa8c6505987f82':
  Change browser reliability test to start a new activity for each url
2009-08-03 15:05:35 -07:00
Guang Zhu
8c5b3e2fa6 Change browser reliability test to start a new activity for each url 2009-08-03 12:18:40 -07:00
Grace Kloba
bf3e69efac DO NOT MERGE
Fix the build, which has been also fixed separately in the master
2009-08-03 12:13:15 -07:00
Grace Kloba
699c646839 fix the build. handleSslErrorRequest needs a return value now. 2009-08-03 11:46:44 -07:00
Android (Google) Code Review
afcf686cb0 am 25dff70f: Merge change 9039 into donut
Merge commit '25dff70f153529b87f5ad4a92f4de21e8950b1de'

* commit '25dff70f153529b87f5ad4a92f4de21e8950b1de':
  Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
2009-07-30 16:05:27 -07:00
Android (Google) Code Review
2a8c531bac am 65e5438d: Merge change 8966 into donut
Merge commit '65e5438df929ceb8c44fd930b2a363e021914bd0'

* commit '65e5438df929ceb8c44fd930b2a363e021914bd0':
  Add tests for android.net.vpn.
2009-07-30 09:57:02 -07:00
Dianne Hackborn
0d221012ff Fix #2018814: System cannot correctly render assets with "wrap_content" attribute in QVGA
It turns out we were not returning the density for anything retrieved from a
TypedArray...  which basically means any bitmap references from a layout or style...!!!

This is now fixed.

Also fiddle with the density compatibility mode to turn on smoothing in certain situations,
helping the look of things when they need to scale and we couldn't do the scaling at
load time.
2009-07-29 19:44:01 -07:00
Android (Google) Code Review
65e5438df9 Merge change 8966 into donut
* changes:
  Add tests for android.net.vpn.
2009-07-29 17:16:13 -07:00
Android (Google) Code Review
ba58c6f228 am ad346278: Merge change 8208 into donut
Merge commit 'ad346278fe129a341543d4a75bf9cc08c50742f8'

* commit 'ad346278fe129a341543d4a75bf9cc08c50742f8':
  Removing MD2
2009-07-29 16:45:22 -07:00
Hung-ying Tyan
53582b33e5 Add tests for android.net.vpn. 2009-07-29 19:49:52 +08:00
Andrei Popescu
59e2ad93bf Wire in the AppCache out-of-space callback 2009-07-29 11:07:44 +01:00
Android (Google) Code Review
ad346278fe Merge change 8208 into donut
* changes:
  Removing MD2
2009-07-29 00:38:53 -07:00
Tammo Spalink
f62a2bf29a allow illegal subparam sizes for CDMA SMS
addresses http://buganizer/issue?id=2008358
2009-07-29 14:31:43 +08:00
Guang Zhu
f4bf552b5a checkin for port forwarding through adb, gets access to external network via USB, this also adds in related plumbing for running the http hosted tests, but will not enable those tests yet. 2009-07-27 12:59:02 -07:00
Android (Google) Code Review
e624ee4e57 am 0fdedd00: Merge change 8612 into donut
Merge commit '0fdedd00c510e62223e47d0c5e605b2350d2d304'

* commit '0fdedd00c510e62223e47d0c5e605b2350d2d304':
  Remove visibility checks from SearchManager tests
2009-07-27 09:42:09 -07:00
Tammo Spalink
1424fe0059 added non-numeric cdma sms address support
addresses bug http://buganizer/issue?id=1992198
2009-07-27 14:59:10 +08:00
Bjorn Bringert
3fc78e1294 Remove visibility checks from SearchManager tests
Since the search UI is handled by the system process, and
the service calls to show and hide it are asynchronous,
the tests that checked the visibility of the search UI were
very flaky. This change sclaes the tests back to just check
that nothing crashes when showing and hiding the search UI.

Fixes http://b/issue?id=1993675
2009-07-26 22:27:47 +01:00