526 Commits

Author SHA1 Message Date
Xia Wang
b28339dc24 am 05ab5caa: am cf994cc5: Merge "resolved conflicts for merge of 16cbe575 to honeycomb-mr1" into honeycomb-mr1
* commit '05ab5caa80fdea6bba8ec2fa758be8e9c7ad4b3d':
  Add WifiStressTest to Wi-Fi only test suite.
2011-03-10 16:01:45 -08:00
Xia Wang
4bc5c4a1f5 resolved conflicts for merge of 16cbe575 to honeycomb-mr1
Change-Id: Ic55f0bdeb5fc63bdabb4f4546fa7e1aa3201a6e0
2011-03-10 15:09:46 -08:00
Gilles Debunne
1e3ac18e7a Empty spans are not considered in text layout/rendering process.
Bug http://code.google.com/p/android/issues/detail?id=14786

Empty spans are affecting the text before and after them. See the
comment in TextUtils.removeEmptySpans for details.

Change-Id: I40376c32fd56a17efde6219f9b2593e4b4ab1ba1
2011-03-09 17:17:40 -08:00
Xia Wang
3d58d63b03 Add WifiStressTest to Wi-Fi only test suite.
Change-Id: Id15ec2e291729b910ee05cef4650efb8d2e1a43c
2011-03-08 18:25:31 -08:00
satok
decee8d35b Fix a test for system properties in frameworks/base/core
Change-Id: Id588d63ae4cae8c25b430c4ff7719173dacc70bb
2011-03-07 11:32:51 -08:00
Jesse Wilson
dfed7c006a Remove deprecated and unused entryEvicted method.
Change-Id: I30ccf3d798a3ebfc88a1b340efaaacf524d56fae
http://b/3461302
2011-03-07 09:07:07 -08:00
Jesse Wilson
27f4bd7a47 Merge "Remove deprecated and unused entryEvicted method." 2011-03-07 08:47:43 -08:00
Xia Wang
7d83f6020c am 928ec5e0: Merge "Modify connectivity manager test suite so that it can be run on Wi-Fi only device." into honeycomb
* commit '928ec5e021162fe371da8bdac7f5bb2c854b1aa1':
  Modify connectivity manager test suite so that it can be run on Wi-Fi only device.
2011-03-05 09:25:30 -08:00
Xia Wang
b97435c94f Modify connectivity manager test suite so that it can be run on Wi-Fi
only device.

DO NOT MERGE

bug id: 3511242

Change-Id: I7dc6d30793cf679b53af571f58b7405ab9e33299
2011-03-03 18:46:24 -08:00
satok
656f7a729f Add a test for persist properties settings
Change-Id: I7bf70104a8cadc739a79d3d855d276628655883c
2011-03-03 17:42:40 -08:00
satok
c91437d38a do not merge: Cherry pick change I878192090 from master.
A test for system properties

Change-Id: Id28da70b8e333ca83129c2b7b7aed2ddf9adf51c
2011-03-03 13:54:38 -08:00
Kenny Root
3dee21eb0f Merge "Switch to returnCode for IPackageDeleteObserver" 2011-03-02 08:50:42 -08:00
Fred Quintana
dfa28c3449 Merge "Fix a deadlock in AccountManagerService cause by different paths of code getting the mCacheLock and DB locks in different orders." 2011-03-01 12:30:06 -08:00
Irfan Sheriff
2f6409686f Merge "Using AsyncChannel for wifi connectivity" 2011-03-01 11:32:24 -08:00
Fred Quintana
f9f240e3ad Fix a deadlock in AccountManagerService cause by different
paths of code getting the mCacheLock and DB locks in different
orders.

The philosophy I followed for this was to ensure that the
DatabaseHelper is only ever accessed from within a
synchronized(mCacheLock) block. I also renamed a bunch of
methods to make it easier to know if a given method should
be called from within this synchronized block.

Bug: 3404506
Change-Id: Ia48f95e77b77647d0717f70f1d8364da3719cc13
2011-03-01 11:23:19 -08:00
Kenny Root
c39bb4aaa7 Switch to returnCode for IPackageDeleteObserver
Before the IPackageDeleteObserver only knew whether the deletion
succeeded or failed, but not the reason why.

Bug: 2520191
Change-Id: I1f0d7c04f06c539660b6e17e7e133defb0f61b5b
2011-03-01 09:27:57 -08:00
Eric Rowe
835d8ee61e Add test cases for AudioManager SCO methods.
Add test cases for AudioManager.startBluetoothSco() and
AudioManager.stopBluetoothSco()

Bug: http://b/3292864
Change-Id: I743c8d732270262fbaaff79a53d43cedcd5de528
2011-02-28 18:07:51 -08:00
Irfan Sheriff
ebe606fccd Using AsyncChannel for wifi connectivity
Change-Id: Ieee5a3a1a739238d8a6659493684f1be0cbea691
2011-02-28 15:54:51 -08:00
Jesse Wilson
c4e6209c52 Remove deprecated and unused entryEvicted method.
Change-Id: Id2ac0913968099eb0c8dfa762b87082ba6bd9cd9
http://b/3461302
2011-02-25 18:39:03 -08:00
Jesse Wilson
7db1b40a03 Callback on any removal, not just evictions.
Don't hold locks while running create or remove callbacks. That gets a bit
ugly because it means a create could be unwanted by the time it returns.

Change-Id: I14b2b3ed41a446750f8ee5a7e35cb8d801c4ce6d
http://b/3461302
2011-02-25 17:06:34 -08:00
Jaikumar Ganesh
5936245654 Merge "Make BluetoothPan inherit from BluetoothProfile." 2011-02-23 15:50:57 -08:00
Jaikumar Ganesh
74ef119945 Make BluetoothPan inherit from BluetoothProfile.
Change-Id: Ibd3e24e391be93ebe2cf975bd075efb68e10c1ff
2011-02-23 15:49:15 -08:00
Xia Wang
8d2f78898e Remove long sleep time in WifiApStress test
as it causes the test to run for a long time.

Change-Id: I82dd042866f9e9f4637a5c3cc553334abe769260
2011-02-23 11:39:14 -08:00
Jaikumar Ganesh
4ab0e7746f Make BluetoothInputDevice inherit from BluetoothProfile.
This makes it in sync with BluetoothHeadset and BluetoothA2dp profiles.

Change-Id: I3ddb1d18b04aacb173b7bc376bca21c277a6afe4
2011-02-22 10:42:26 -08:00
Xia Wang
e355e75aaf Merge "Add ping test to verify data connection." 2011-02-17 18:53:16 -08:00
Vasu Nori
12669b6c80 bring back sqlite WAL tests now that the feature is in.
Change-Id: I92103915845b7cf3f41f95e909051b6669c63ec4
2011-02-17 18:11:40 -08:00
Xia Wang
6bffe14c78 Add ping test to verify data connection.
Change-Id: I88e06934747e9e98bd440ae84268e69486c74734
2011-02-17 15:32:37 -08:00
Robert Greenwalt
302b9884b3 Merge "Remove more use of netmask" 2011-02-14 14:48:05 -08:00
Robert Greenwalt
b979f79158 Remove more use of netmask
bug:2542681
Change-Id: Ifd75672739ee8262d4df22afd8173e4f3f67260d
2011-02-14 14:32:33 -08:00
Svetoslav Ganov
62bf34c6e2 Merge "Accessibility events generated by WebView contain non well formed markup." 2011-02-14 10:17:51 -08:00
Svetoslav Ganov
2cfed9eb0e Accessibility events generated by WebView contain non well formed markup.
bug:3444147

1. Now that the spans with CSS data are included in the accessibility
   events, such that a client can parse them, the tests are doing so.

Change-Id: I574c68d27a95cd8226dd7634b00a7d404ae387fe
2011-02-14 09:53:23 -08:00
Xia Wang
718dfa8d94 Merge "Add wait time for Wi-Fi tethering test, bug http://b/issue?id=3436586" 2011-02-14 09:32:10 -08:00
Jesse Wilson
56b6ad3e28 Add a new method, LruCache.remove
Change-Id: Iae78a2ed4d719d4f14a4677ecb6fe5bc823bb660
http://b/3184897
2011-02-11 15:54:28 -08:00
Xia Wang
cbafbe7c3e Merge "Fix test3GToWifiNotification for mobile state validation." 2011-02-11 13:55:44 -08:00
Robert Greenwalt
614613e2d2 Merge "Update LinkProperties treatment of gateways" 2011-02-11 11:38:44 -08:00
Robert Greenwalt
992564e481 Update LinkProperties treatment of gateways
A link can have multiple gateways (think ipv4/ipv6 for a trivial example).
.

bug:3438810
Change-Id: I28c90a6947cd50b82e5ca9a0113148f98b3f4dd8
2011-02-11 11:06:23 -08:00
Xia Wang
be142fc6aa Fix test3GToWifiNotification for mobile state validation.
Change-Id: I018b28b78907fdd9f3f835faf562b4da5fea8f80
2011-02-10 18:43:45 -08:00
Xia Wang
ec841adcf7 Add wait time for Wi-Fi tethering test, bug http://b/issue?id=3436586
Change-Id: I6aaac0e6ef7f89d5052c8a5dd2bef71612e72942
2011-02-10 16:28:15 -08:00
Vasu Nori
e7dea4ec24 bug:3443154 fix database tests after disabling sqlite wal
sqlite wal is disabled in Change-Id: I283ad26ba7e1793772a372aa8e24df0cb96ce2ef

Change-Id: I2b370c65390a9293e4a82f650c9cee8023b861d7
2011-02-10 13:18:23 -08:00
Svetoslav Ganov
8bf7cace20 Added tests for WebView accessibility no JS
bug:3421690

This change is related to change:Idfec7e6a

1. Added tests for cases in which the previous
   implementation was not behaving as expected.

2. Refatered the tests to be intrumentation tests
   since the code under tests uses the DOM element
   dimensions to determine visibility and if the
   the WebView has no size i.e. not attached to
   ViewRoot the size of all DOM elements is zero
   forcing all tests to fail.

Change-Id: Ib4c01af8feb09f2b2a6b9d906e08bfaaa9e9bc74
2011-02-09 11:04:23 -08:00
Jesse Wilson
e2c1f4a0ee New LRU cache class.
Change-Id: I0e6ea1e489c684b876aebd5857c6f16a21048a8d
http://b/3184897
2011-02-07 16:39:35 -08:00
Dianne Hackborn
db569b4918 am 6cf32312: Merge "Do not check features in PackageManagerService" into honeycomb
* commit '6cf32312aaee6716ffd1df7098838b08d80054e4':
  Do not check features in PackageManagerService
2011-01-31 18:51:56 -08:00
Kenny Root
4c3915a0f7 Do not check features in PackageManagerService
PackageManagerService shouldn't check features that a package declares
that it uses because this will cause problems in the future when we add
more features that older phones didn't explicitly declare. We must rely
on markets to know about phones and filter them for us to avoid this
situation.

Bug: 3409434
Change-Id: I419a5b936be3572b83a485081a6c81b2f1c8741c
2011-01-31 16:59:12 -08:00
Vasu Nori
242fa0eb73 am ce3b35a7: Merge "bug:3398527 return List insttead of ArrayList from public API" into honeycomb
* commit 'ce3b35a7b0b80061692d9fa1977cee68b365728c':
  bug:3398527 return List insttead of ArrayList from public API
2011-01-27 15:00:38 -08:00
Vasu Nori
ce3b35a7b0 Merge "bug:3398527 return List insttead of ArrayList from public API" into honeycomb 2011-01-27 12:46:00 -08:00
Vasu Nori
a017edace7 bug:3398527 return List insttead of ArrayList from public API
Change-Id: Idbdcb59fe860a9168c9ef6c00eb128b05fce84ff
2011-01-27 11:47:28 -08:00
Svetoslav Ganov
54fc78072f am df467264: Merge "Final polish of WebView accessibility support for no JavaScript case." into honeycomb
* commit 'df4672643b92208b4ab7f9ab995dca8b69d3c458':
  Final polish of WebView accessibility support for no JavaScript case.
2011-01-26 14:41:33 -08:00
Svetoslav Ganov
9504f5753d Final polish of WebView accessibility support for no JavaScript case.
1. Added tests for the new code added by change:I5a796aef

2. WebCore thread now calls the UI thread to set the cursor to
   the current position enabling the user to interact with
   the content that is being selected on the page.

3. Removed the code that changes the selection on movement of the
   cursor ring. We are dropping the "default web view behavior"
   as granularity of reading the document since with this change
   a user can freely access inputs/buttons/links.

Change-Id: I7a3f6677eff0bc95e8127973d07cec78e3465c7b
2011-01-26 06:26:43 -08:00
Yu Shan Emily Lau
58fc2d39e8 am 588b1e45: Merge "Change the default ssid from GoogleGuest to the opennet for the power test." into honeycomb
* commit '588b1e4511d67f080449c3d49fd0d4bfc2bec79f':
  Change the default ssid from GoogleGuest to the opennet for the power test.
2011-01-21 14:28:52 -08:00
Yu Shan Emily Lau
3d273da8fa Change the default ssid from GoogleGuest to the opennet for the power test.
Change-Id: I63bae360d283dc5224790aaccbd879015402187d
2011-01-21 14:06:22 -08:00