988 Commits

Author SHA1 Message Date
Steve Block
286fbce557 Merge "Merge webkit.org at r55033 : Update the WebKit UA string and LayoutTest ignore list" 2010-04-29 03:27:29 -07:00
Dianne Hackborn
8640c1d0e5 am 14cee9f6: New xlarge screen size. 2010-04-28 16:58:05 -07:00
Dianne Hackborn
14cee9f688 New xlarge screen size.
Not complete, only for experimentation at this point.

This includes a reworking of how screen size configurations are matched,
so that if you are on a larger screen we can select configurations for
smaller screens if there aren't any exactly matching the current screen.

The screen size at which we switch to xlarge has been arbitrarily
chosen; the compatibility behavior has not yet been defined.

Change-Id: I1a33b3818eeb51a68fb72397568c39ab040a07f5
2010-04-28 16:51:52 -07:00
Steve Block
79a81c2d38 Merge webkit.org at r55033 : Update the WebKit UA string and LayoutTest ignore list
Change-Id: I7eab669b404dbd2ab534c14021d4a60db0caa803
2010-04-27 20:11:29 +01:00
Steve Block
1d9b466568 Updates DumpRenderTree ignore list to reflect status of touch event tests at current WebKit revision (r54731).
Touch event tests were added to the Android tree in https://android-git.corp.google.com/g/49637

Change-Id: I6c28b137fc70a26a1db94cdb72e283629eaaa2bf
2010-04-23 13:34:00 -07:00
Shimeng (Simon) Wang
24ea8a8e26 Remove xslt tests from ignored tests list.
The change to enable xslt in Android webkit is:
https://android-git.corp.google.com/g/#change,49420

Change-Id: I0a2e208ffbe493d311efa638cc0624e07226005e
2010-04-22 11:57:37 -07:00
Steve Block
cef45f3368 Removes XPath layout tests from the Dump Render Tree ignore results list
XPath was enabled in https://android-git.corp.google.com/g/49109

Change-Id: I4704e63965a0bc8ac53b8cbc939242b79d71dc78
2010-04-21 21:55:51 +01:00
Ben Murdoch
7ef7caae2a Add 3 touch tests to the ignored result list.
- basic-multi-touch-events.html - uses multi touch
 - touch-target.html - uses multi touch
 - touch-coords-in-zoom-and-scroll - uses eventSender.zoomPageIn(),zoomPageOut() that we do not support.

Change-Id: Ie38f7155ae87cf575fd839b5e0dc9e01adf0e485
2010-04-19 18:13:57 -07:00
Ben Murdoch
a8b9768a14 Reset the webview settings after each test to ensure that each new test starts
in a consistent, known state. This fixes a bug for example with the appcache
tests, where disable.html turns off appcache support but it is never restored
causing future tests to fail.

Change-Id: I71e2607d29ec6358cfdc6ab37a6861c161e84cd8
2010-04-15 12:34:18 -07:00
Brett Chabot
3622d25347 am 133d0b70: am 185f1a96: Merge "IME test fixes." into froyo
Merge commit '133d0b70ff569dad9d996be49fdea10c2bdd4b97' into kraken

* commit '133d0b70ff569dad9d996be49fdea10c2bdd4b97':
  IME test fixes.
2010-04-08 16:45:16 -07:00
Brett Chabot
1d679147d5 IME test fixes.
Tweak OneEditTextActivitySelectedTests:testSoftKeyboardAutoPop so it always
expects IME to be shown for devices with no hard keyboard.

Bug 2267311 2318969

Change-Id: Ica31e8f1153cf3e7dbc838d263ea0ae805161610
2010-04-08 14:55:24 -07:00
Joe Onorato
a5c51373d4 Finish moving the policies out of frameworks/policies/base and into frameworks/base.
Change-Id: Id3a0c06202b0f6f2206acf490c8655d340ee0556
2010-04-06 20:21:30 -05:00
Brett Chabot
c162668e87 Merge "More framework tests cleanup." into froyo 2010-04-01 21:45:41 -07:00
Brett Chabot
0dc59e78e1 More framework tests cleanup.
Move all tests for android.* classes from tests/AndroidTests and
tests/CoreTests into framework/base/<core|graphics>/tests.

Consolidate all tests for java.* classes to tests/CoreTests.
Eventually hopefully these will be moved to dalvik/ somewhere.

Remove tests/AndroidTests entirely.

Change-Id: I86584d086ab7bd045bb38a10b699907805298a95
2010-04-01 18:31:11 -07:00
Brett Chabot
bd4288f418 Remove FrameworkTest package.
The only remaining test here was RingtonePickerActivityTes, which has been
suppressed since pre-donut.

Change-Id: I74c08c9c9447b67252430db3b462373af879bd1d
2010-04-01 12:05:26 -07:00
Steve Block
2bb2553a20 Cherry pick from master.
Fixes DumpRenderTree to re-use HTTP authentication credentials

This is required for layout test http/tests/appcache/auth.html

Bug: 2098423
Change-Id: Ic9531e3c23a2fa9ebfab70cde3172550f572a404
2010-04-01 16:39:53 +01:00
Christopher Tate
cc84c69726 API CHANGE: rename BackupHelperAgent => BackupAgentHelper per API Council
Part of bug #2545514

Change-Id: Ic775e3b942c485252149c1b6c15c88517fa4e3e5
2010-03-29 15:48:14 -07:00
Brett Chabot
a3de745551 Move PackageManagerTests and AsecTests.
Remove PackageManagerTests test's from continuous due to flakiness.

merged from abandoned master.

Change-Id: I0a542df9df572c37bd1aa987cdc9fb2f95001a7c
2010-03-26 14:16:59 -07:00
Suchi Amalapurapu
c7537ee7b6 Clean up stale containers if needed at install time.
This is needed when restoring applications installed on sdcard
via Market after a data wipe. The stale containers need to be cleaned up before
reinstalling again.
Add a test case for installing when a stale container exists.

Change-Id: I20c30b3003e85fb31531dd3cf9cb59962fe8fe5f
2010-03-24 10:32:37 -07:00
Xia Wang
e0a29d6f94 Merge " * Move connectivity manager test closer to source. * Add license header to java files * Remove google related information from the test" 2010-03-23 15:37:32 -07:00
Xia Wang
fc2dbd0400 * Move connectivity manager test closer to source.
* Add license header to java files
 * Remove google related information from the test

Change-Id: I2e57960f9ac963cdf3591385e21ed68832f74bd0
2010-03-23 14:19:07 -07:00
Patrick Scott
8cf68a37cb Merge "Fix rebuilding of these two apks." 2010-03-23 12:34:53 -07:00
San Mehat
a89e372db2 Merge "Asec: Add new 'StorageNotFound' response code handling for container paths" 2010-03-23 11:25:31 -07:00
San Mehat
2d66cef77e Asec: Add new 'StorageNotFound' response code handling for container paths
Change-Id: I45d113f77b9f0e519087356b70fc6c4b5c290935
Signed-off-by: San Mehat <san@google.com>
2010-03-23 11:14:36 -07:00
Mike Lockwood
e521a855cd Merge "LocationTracker: Fix default values for debug and signal strength logging." 2010-03-23 10:53:25 -07:00
Mike Lockwood
27a7a6cbfe LocationTracker: Fix default values for debug and signal strength logging.
Set default to false to match the checkbox values in the preference resource.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-23 13:01:57 -04:00
Suchi Amalapurapu
f654a484b2 Don't delete stale containers on sdcard.
Comment out flaky test

Change-Id: Ic7da6421c1a1980c19f7f1c929976432245479fa
2010-03-23 09:59:08 -07:00
Patrick Scott
1110f2b9a5 Fix rebuilding of these two apks.
Add a dummy string so that a R.stamp file will be written.

Change-Id: I939f97d2d4214e2c2186c3802b606c8bfd0e3468
2010-03-23 11:44:50 -04:00
Xia Wang
6460d6e7b9 Merge "Add connectivity manager automation test framework: - Create a dummy activity - ConnectivityManagerTestActivity - to listen to broadcast from connectivity manager, to control wifi, and to verify that connectivity information for different network types. This framework will be used for funcitonal tests and stress tests." 2010-03-22 11:16:16 -07:00
Suchi Amalapurapu
e99bb5f10b Add new method call back in MountService.
PackageManager invokes this call back when its done handling
the media status update.
Add new uid check for updateExternalMediaStatus
Change killPids method in ActivityManager.
Remove mountsd command in Pm.java We cannot arbitrarily enable/disable
packages in PackageManager now.

Change-Id: I28dcba4afd2b4486f68abdaa1628a31b66544c91
2010-03-22 10:49:49 -07:00
Steve Block
fb0de34a47 Implements layoutTestController.overridePreference()
This change provides the infrastructure for
layoutTestController.overridePreference(). Currently, we only provide an
implementation for the preference 'WebKitOfflineWebApplicationCacheEnabled',
which is required by the layout test http/tests/appcache/disabled.html.

Change-Id: I8552f2f4e23b982db2d067ffa20c052e56d8fb7f
2010-03-22 10:52:56 +00:00
Steve Block
cd90b15cb8 Removes most remaining appcache layout tests from the DumpRenderTree ignoreResults list
The server serving the layout tests has now been updated to to reflect the
current version of WebKit (r54731) so serveral more tests now pass.

Change-Id: I95afa0012bf3fed15c733b0317ecd4c03f7a158f
2010-03-22 10:52:56 +00:00
Steve Block
547b83328e Merge "Implements layoutTestController.setAppCacheMaximumSize" 2010-03-22 03:44:09 -07:00
Xia Wang
7fb1f674c9 Add connectivity manager automation test framework:
- Create a dummy activity - ConnectivityManagerTestActivity - to listen to broadcast from connectivity manager, to control wifi, and to verify that connectivity information for different network types. This framework will be used for funcitonal tests and stress tests.

 - Add two functional test cases:
   . test3GToWifiNotification: test enabling Wifi without associating with any access point, Wifi stays disconnected, device should still connect to cellular.
   . testConnectToWifi: when switching from cellular to Wfi and associated with a given AP, connectivity manager broadcast the right informtion for mobile and Wifi.

Change-Id: Ib6fcf0ff6dd9725076836032e567c0a6a52f622f
2010-03-20 15:29:52 -07:00
Steve Block
427efcca19 Implements layoutTestController.setAppCacheMaximumSize
Change-Id: Ib64123738bc384213ef80e2e60e4a0d9407c09d8
2010-03-20 11:03:53 +00:00
Suchi Amalapurapu
ebb83ade1e Grant permissions to apps on sd when enabling/disabling packages.
Change-Id: I0f011bd4a3348ccd46fd7ae9765edf8933b94142
2010-03-19 13:23:14 -07:00
Steve Block
f19f9f55f9 Removes an appcache test from the DumpRenderTree ignoreResults list
Android-specific results for this test were added in
https://android-git.corp.google.com/g/45462

Change-Id: I7716c2c061ab955d0bf96523b6aab747898cc4e7
2010-03-19 13:59:10 +00:00
Suchi Amalapurapu
90d8ee650b Switch default install location to unspecified.
Add a new install location unspecified for backward compatibility.
There is not much difference between policies auto and unspecified.
But we dont have to make any code changes in PackageParser based
on our preference for install location.
Add tests

Change-Id: I563238133261d911d08fbc66344687b7dfc870b1
2010-03-18 17:44:21 -07:00
Steve Block
26aa68c6a2 Merge "Adds worker tests to the DumpRenderTree ignoreResults list, as workers are now disabled" 2010-03-18 05:02:15 -07:00
Dianne Hackborn
d4310ac944 Rework permissions to be retained when an app is temporarily uninstalled.
This allows us to keep the assigned permissions when apps are temporarily
removed due to the SD card being unmounted, and also if you use the
facility to uninstall an app but keep its data.

Also fixes issue #2515189: Potential permission spoofing attack in
Android (external bug 7166)

Change-Id: I2a120ec938552028c989f9e0e890c32773957738
2010-03-18 02:02:17 -07:00
Suchi Amalapurapu
d3dd518baf Merge "Add new install flag to install on internal flash only Change default install location policy for new flag. New error code for media unavailable." 2010-03-17 18:50:29 -07:00
Suchi Amalapurapu
14b6abda13 Add new install flag to install on internal flash only
Change default install location policy for new flag.
New error code for media unavailable.

Change-Id: I5a5d0828b067692b2b94a15a2bcc7534f796c1a2
2010-03-17 18:43:31 -07:00
Steve Block
9b63c8ee37 Adds worker tests to the DumpRenderTree ignoreResults list, as workers are now disabled
Change-Id: I19fbba824cbae372849a8f8ee66dbc8849101eb1
2010-03-17 19:14:18 +00:00
Steve Block
75d20e9304 Merge "Updates the status of some HTML5 storage layout tests in the DumpRenderTree skipped list" 2010-03-17 11:02:13 -07:00
Dmitri Plotnikov
d8c208bab4 Merge "Disable the HanziToPinyinTest when there is no Chinese collator." 2010-03-17 10:56:02 -07:00
Bai Tao
9ad006dd45 Disable the HanziToPinyinTest when there is no Chinese collator.
Change-Id: I180b927dbb24ceb254fd535633230032a3363562
2010-03-18 01:54:06 +08:00
Steve Block
7c58da7589 Updates the status of some HTML5 storage layout tests in the DumpRenderTree skipped list
Bug: 2079807
Change-Id: I2bff326e68d8ac761fd2c4628fab8b10d255c7dc
2010-03-17 17:41:49 +00:00
Suchi Amalapurapu
8a9ab24a5c Do storage checks before initiating a move.
Add new remote method to check for insufficient error conditions.
Some fixes in MountService when updating media status on PackageManagerService
Fix size calculation condition in installd.

Add new error code if media is unavailable.
New tests for testing error codes.
Some additional debugging statements in MountService.

Change-Id: Ibfe90d5ed6c71d57f9c1c67806f38b5ae9ecdfbf
2010-03-16 16:36:26 -07:00
Jim Miller
b258659ad6 Merge "Fix 2428368: Fix most of the lockscreen orientation refresh bugs" 2010-03-15 15:33:37 -07:00
Carl Shapiro
4f096dcf6a Merge "Replace all uses of bzero with memset. Bzero and memset are both compiler built-ins so this change should not negatively effect the generated code. However, a forthcoming commit will remove the implicit include of strings.h from stdlib.h and bzero will no longer be visible in these translation units without additional includes." 2010-03-15 15:21:33 -07:00