481 Commits

Author SHA1 Message Date
Android (Google) Code Review
4b687f2eb5 Merge change 25132 into eclair
* changes:
  fix ContentProviderOperationTest
2009-09-15 17:42:25 -04:00
Fred Quintana
bfed8e9a32 fix ContentProviderOperationTest 2009-09-15 14:36:55 -07:00
Android (Google) Code Review
617d470dff Merge change 25124 into eclair
* changes:
  Add more error message if the script failed to pull result file from device.
2009-09-15 17:18:02 -04:00
Guang Zhu
ce8d9d1672 Add more error message if the script failed to pull result file from device. 2009-09-15 14:17:04 -07:00
Android (Google) Code Review
6d9eebe732 Merge change 25090 into eclair
* changes:
  Move backlight brightness from HardwareService to PowerManager
2009-09-15 15:50:51 -04:00
Mike Lockwood
237a29923a Move backlight brightness from HardwareService to PowerManager
to prevent apps from changing the hardware behind its back.
Fixes b/2041941 Lock screen flashes the screen very bright before dimming

Change-Id: Ice757f7ae87902bdfb3634471cf44f020ebfaae4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-15 15:47:09 -04:00
Brett Chabot
0393d349be Fix FileObserverTest#testRun.
The assertion in the test was expecting 4 events, but it was only waiting for
three.

BUG 2119135
2009-09-15 11:07:33 -07:00
Guang Zhu
ad1e25da74 Fix the bogus crashes in layout and reliability tests (the device actually went offline). 2009-09-14 15:20:52 -07:00
Guang Zhu
60ef21a5da Fix the parsing for instrumentation result, some Java exceptions are not reported right now 2009-09-14 11:27:40 -07:00
Jack Wang
ff1df69dd4 Performance measurement framework:
+ For bug 1810508
  - Added PerformanceCollector class to collect runtime and memory usage data
    * Moved performance snapshotting from Intrumentation to PerformanceCollector
  - Added PerformanceResultsWriter interface which defines functions for
    reporting performance data

+ Framework integration
  - Added TimedTest annotation to automatically time tests and write results
    to instrumentation output
  - Modified PerformanceTestBase to add collection hooks and wrapper methods
  - Modified WatcherResultPrinter in InstrumentationTestRunner to implement
    PerformanceResultsWriter for instrumentation output of performance data
  - Modified InstrumentationTestRunner and AndroidTestRunner to pass writer
    instance to test
2009-09-11 17:15:15 -07:00
Grace Kloba
d0990d4a78 The empty path and no path mean default path. So "a=d" should replace "a=c". 2009-09-09 18:22:44 -07:00
Android (Google) Code Review
0a46e91357 Merge change 23414 into eclair
* changes:
  Fix broken GSM SMS unit test, and general cleanup.
2009-09-08 19:41:13 -07:00
Android (Google) Code Review
9bb1101f5c Merge change 23924 into eclair
* changes:
  	new file:   LowStorageTest/Android.mk 	new file:   LowStorageTest/AndroidManifest.xml 	new file:   LowStorageTest/res/layout/main.xml 	new file:   LowStorageTest/res/values/strings.xml 	new file:   LowStorageTest/src/com/android/lowstoragetest/LowStorageTest.java Add the test app which can eat up 100% of the data parition. This is for the low storage test.
2009-09-08 16:30:42 -07:00
Yu Shan Emily Lau
4333bd145e new file: LowStorageTest/Android.mk
new file:   LowStorageTest/AndroidManifest.xml
	new file:   LowStorageTest/res/layout/main.xml
	new file:   LowStorageTest/res/values/strings.xml
	new file:   LowStorageTest/src/com/android/lowstoragetest/LowStorageTest.java
Add the test app which can eat up 100% of the data parition. This is for the low storage test.

	new file:   LowStorageTest/Android.mk
	new file:   LowStorageTest/src/com/android/lowstoragetest/LowStorageTest.java
2009-09-08 14:14:20 -07:00
Android (Google) Code Review
9c93007bcd Merge change 24101 into eclair
* changes:
  Fix CDMA BCD unit test.
2009-09-07 21:02:29 -07:00
Tammo Spalink
d0085ed5e2 Fix CDMA BCD unit test.
Addresses issues:
http://buganizer/issue?id=2056263

Change-Id: I80e2412bd53b9045ae3cdc95cdf132da0946c2ea
2009-09-07 16:17:45 +08:00
Tammo Spalink
2af198bba1 Fix broken GSM SMS unit test, and general cleanup.
Addresses issues:
http://buganizer/issue?id=2059500
http://buganizer/issue?id=2056263

Change-Id: If1cb1e2b326419de695cbaa8a995e6bafb56447f
2009-09-07 16:16:10 +08:00
Tammo Spalink
259749c674 Rename SMSTest to GsmSmsTest.
Change-Id: I7ef602bd52167fd9f0712b1ce560e72a78f67193
2009-09-07 16:12:57 +08:00
Andrei Popescu
4950b2b695 Fix appcache layout test that was timing out due to race condition in WebView::addJavascriptInterface. 2009-09-03 22:31:55 +01:00
Android (Google) Code Review
19d6f7ac27 Merge change 23750 into eclair
* changes:
  Add a test case to measure the power usage of loading a web page
2009-09-03 13:34:58 -07:00
Robert Greenwalt
1c1ffa0cab Promote MccTable to telephony and use it for both gsm/cdma
This adds timezone/locale/wifi-regulator-channels initialization to cdma (gsm already had it).

bug: 2071211
2009-09-03 12:34:15 -07:00
Xia Wang
7c6efa13f1 Add a test case to measure the power usage of loading a web page 2009-09-02 20:59:37 -07:00
Guang Zhu
b937ba138f Read forward address from file for DRT, fallback to default address
modified:   tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoTest.java
2009-09-02 14:03:37 -07:00
Guang Zhu
f3d924ca0d Set a default dump type for DRT as a workaround for indeterministic order in receiving dumpAsText and onPageFinish callback. 2009-09-01 11:57:16 -07:00
Guang Zhu
4a40a039c0 At leaset log the layout test timeouts 2009-09-01 10:23:24 -07:00
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