Commit Graph

73838 Commits

Author SHA1 Message Date
Brett Chabot
dcccc54888 Change CTS tests to not build against SDK.
Most CTS test packages reference test related annotations in dalvik.annotation
which are not part of SDK. This was previously allowed due to bug in build
build system. For now, temporarily change CTS makefiles so they are not built
against SDK.

BUG 2114936
2009-09-11 15:31:30 -07:00
Robert Greenwalt
4666ed0e7e Fix for multi-apn MMS access.
Mark cellular variants with the same availability, regardless of which are currently in use.
Availability just means the radio is enabled and sees the network, but has no guarantees that
we could connect to an APN if requested.

Fix the requestRouteToHost logic to support apn switches without WIFI.

bug:2093841
2009-09-10 18:01:01 -07:00
Brett Chabot
7eb8c924df am 7578e575: Merge change 23155 into donut
Merge commit '7578e57567d63139b563e2a3c6face707beeb931' into eclair

* commit '7578e57567d63139b563e2a3c6face707beeb931':
  Change CTS makefiles so apps are built in data not system partition.
2009-08-28 14:24:10 -07:00
Brett Chabot
1505142f7b Change CTS makefiles so apps are built in data not system partition.
BUG 2053298

Change-Id: I2c541c03f7c33c69cde7b0567b080710658c8d28
2009-08-28 14:19:28 -07:00
Robert Greenwalt
8e5b853511 Fix the removal of dns entries.
When switching default networks we should erase any excess dns server entries.  The old code
used the wrong index and didn't erase all of them properly.

Found in conjunction with
bug: 2077628
2009-08-25 14:00:10 -07:00
Robert Greenwalt
f3f045b284 Fix a race condition for data change notification
We could sometimes not be told about network state changes breaking subsequent mms access.
Turning on more logging too.

bug: 2069106
2009-08-24 16:19:42 -07:00
Robert Greenwalt
a52c75ae24 Fix various issues found when testing Mms.
Fix some race conditions (check isTeardownRequested).
Fix the passing of mInterfaceName to subtypes (mms, etc).
Fix the generation of CONNECTED message to already active subtypes.
Fix the enabling of Data in DataConnectionTracker.

bug: 2065037
2009-08-19 21:58:12 -07:00
Brett Chabot
e149cb4188 am f8ee8d58: Merge change 21233 into donut
Merge commit 'f8ee8d58f99f47611577eff98638b3f598655719' into eclair

* commit 'f8ee8d58f99f47611577eff98638b3f598655719':
  Remove a bunch of unused CTS tests from continuous test build to save space.
2009-08-18 11:01:25 -07:00
Brett Chabot
e84b4bd268 am bda6b585: More CTS cleanup
Merge commit 'bda6b58510265c32453985bc49624786fca56e64' into eclair

* commit 'bda6b58510265c32453985bc49624786fca56e64':
  More CTS cleanup
2009-08-18 10:39:20 -07:00
Brett Chabot
f4ffdb9732 Remove a bunch of unused CTS tests from continuous test build to save space.
BUG 2053298
2009-08-14 14:17:58 -07:00
Mike Lockwood
fde2b76814 ConnectivityService: Do not send broadcasts until the system is ready.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-14 15:09:11 -04:00
Brett Chabot
bda6b58510 More CTS cleanup
- Mark currently failing CTS tests as BrokenTests.
 - Fix race condition in LocationManagerTest
 - tweak host config to run tests in batch mode
 - fix genDefaultTestPlan and rename java package so permission2 tests get
included properly,

BUG 2053939
2009-08-14 01:42:59 -07:00
Robert Greenwalt
2034b91973 Add net type to mobile for mobile-required traffic
This also refactors ConnectivityService a bit towards supporting multiple simultaneous connections by making each a seem like a seperate Network with it's own stateTracker, etc.
Also adds tracking of process death to clean orphaned startUsingNetworkFeature features.
2009-08-12 16:08:25 -07:00
Robert Greenwalt
0659da31df Whitespace cleanup prior to real work. 2009-07-16 17:31:20 -07:00
Mike Lockwood
1791998080 wifi: Keep the WLAN network interface up whenever wifi is enabled.
We now only bring it down briefly and bring it back up again when
we want to reset the interface.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-10 17:24:07 -04:00
Android (Google) Code Review
6674fe91c5 am 982d3cdd: Merge change 3974 into donut
Merge commit '982d3cdd4df777b104ae683f40e8b3b67c494157'

* commit '982d3cdd4df777b104ae683f40e8b3b67c494157':
  Integrate unsubmitted cupcake change 147342:
2009-06-14 21:12:23 -07:00
Phil Dubach
8b360f568a Integrate unsubmitted cupcake change 147342:
CTS: clean up code in android.net package
2009-06-11 15:50:32 -07:00
Android (Google) Code Review
05d30f1154 am 3e4391c5: Merge change 2506 into donut
Merge commit '3e4391c54f630139ba9da3618bd45c57b4bc1997'

* commit '3e4391c54f630139ba9da3618bd45c57b4bc1997':
  Integrate unsubmitted cupcake change 131139:
2009-06-03 13:00:26 -07:00
Android (Google) Code Review
3e4391c54f Merge change 2506 into donut
* changes:
  Integrate unsubmitted cupcake change 131139: 	CTS: add test cases for net.wifi.ScanResult, SupplicantState, WifiConfiguration, WifiInfo and WifiManager.     Added new tests as per mondrian comments. Cleaned code to get rid of eclipse warnings.
2009-06-03 11:41:46 -07:00
Android (Google) Code Review
e6e7f38509 am 34416f75: Merge change 2963 into donut
Merge commit '34416f750fe2c47153bdfb8630762acecd21e524'

* commit '34416f750fe2c47153bdfb8630762acecd21e524':
  Integrate unsubmitted cupcake change 123653:
2009-06-02 15:37:20 -07:00
Phil Dubach
1c52e1c796 Integrate unsubmitted cupcake change 123653:
CTS: add test cases for net.SSLCertificateSocketFactory
2009-06-02 14:46:51 -07:00
Phil Dubach
a87bf95576 Integrate unsubmitted cupcake change 131139:
CTS: add test cases for net.wifi.ScanResult, SupplicantState, WifiConfiguration, WifiInfo and WifiManager.
    Added new tests as per mondrian comments. Cleaned code to get rid of eclipse warnings.
2009-05-26 18:52:43 -07:00
Jean-Baptiste Queru
b562ab9015 am 6126eafd: reconcile donut snapshot
Merge commit '6126eafdca67313607bd385b2c7f4f9dfe6f76da'

* commit '6126eafdca67313607bd385b2c7f4f9dfe6f76da':
  donut snapshot
2009-05-20 11:49:58 -07:00
Jean-Baptiste Queru
6126eafdca reconcile donut snapshot
Merge branch 'donut-snapshot' into HEAD
2009-05-20 11:28:11 -07:00
Jean-Baptiste Queru
a3fdaf3cc2 donut snapshot 2009-05-20 11:28:04 -07:00
Brett Chabot
bae7b44afb am e7a02b24: Revert "Change cts tests to use InstrumentationTestRunner."
Merge commit 'e7a02b243e27420df5273e0276442225dd50839e'

* commit 'e7a02b243e27420df5273e0276442225dd50839e':
  Revert "Change cts tests to use InstrumentationTestRunner."
2009-05-20 08:54:20 -07:00
Brett Chabot
e7a02b243e Revert "Change cts tests to use InstrumentationTestRunner."
This reverts commit 665f512ebc.
2009-05-19 18:08:05 -07:00
Android (Google) Code Review
2f0966479e am 22662ef2: Merge change 1706 into donut
Merge commit '22662ef236cc99f0c19f450d9209da961c4868da'

* commit '22662ef236cc99f0c19f450d9209da961c4868da':
  Change cts tests to use InstrumentationTestRunner.
2009-05-14 17:24:22 -07:00
Brett Chabot
665f512ebc Change cts tests to use InstrumentationTestRunner. 2009-05-14 15:55:21 -07:00
Phil Dubach
084f0ffb22 am aedc07c: am e480582: AI 148455: CTS: Change tests in Android plan to
Merge commit 'aedc07c0ed19dca06e48446921bdd231b7bc99f6'

* commit 'aedc07c0ed19dca06e48446921bdd231b7bc99f6':
  AI 148455: CTS: Change tests in Android plan to use new InstrumentationCtsTestRunner
2009-05-07 10:37:59 -07:00
Phil Dubach
aedc07c0ed am e480582: AI 148455: CTS: Change tests in Android plan to use new Inst
Merge commit 'e480582d829a87e2d7097cb79b7afb9e4ccbf74a' into donut

* commit 'e480582d829a87e2d7097cb79b7afb9e4ccbf74a':
  AI 148455: CTS: Change tests in Android plan to use new InstrumentationCtsTestRunner
2009-05-07 10:34:59 -07:00
Phil Dubach
e480582d82 AI 148455: CTS: Change tests in Android plan to use new InstrumentationCtsTestRunner
BUG=1537738

Automated import of CL 148455
2009-05-07 10:34:41 -07:00
Dianne Hackborn
b771a49a30 merged b1d251acd2 2009-05-06 00:28:37 -07:00
Dianne Hackborn
b1d251acd2 Rewrite SyncStorageEngine to use flat files and in-memory data structures.
The previous implementation used a database for storing all of its state, which could cause
a significant amount of IO activity as its tables were updated through the stages of a sync.
This new implementation replaces that in-memory data structures, with hand-written code
for writing them to persistent storage.

There are now 4 files associated with this class, holding various pieces of its state that
should be consistent.  These are everything from a main XML file of account information that
must always be retained, to a binary file of per-day statistics that can be thrown away at
any time.  Writes of these files as scheduled at various times based on their importance of
the frequency at which they change.

Because the database no longer exists, there needs to be a new explicit interface for
interacting with the sync manager database.  This is provided by new APIs on IContentService,
with a hidden method on ContentResolver to retrieve the IContentService so that various
system entities can use it.  Other changes in other projects are required to update to the
new API.

The goal here is to have as little an impact on the code and functionality outside of
SyncStorageEngine, though due to the necessary change in API it is still somewhat extensive.
2009-05-05 15:40:53 -07:00
Scott Su
05536f876d am 2f57a8b: am 68b8cda: AI 148053: CTS: fixed failed testcases
Merge commit '2f57a8b13618eb1cda6be49d16c90e0def12736b'

* commit '2f57a8b13618eb1cda6be49d16c90e0def12736b':
  AI 148053: CTS: fixed failed testcases
2009-04-30 17:23:06 -07:00
Scott Su
2f57a8b136 am 68b8cda: AI 148053: CTS: fixed failed testcases
Merge commit '68b8cda17af0cb88732ddbc264cfbeab86304d9b' into donut

* commit '68b8cda17af0cb88732ddbc264cfbeab86304d9b':
  AI 148053: CTS: fixed failed testcases
2009-04-30 17:09:23 -07:00
Scott Su
68b8cda17a AI 148053: CTS: fixed failed testcases
Automated import of CL 148053
2009-04-30 16:53:23 -07:00
Scott Su
0ce129ac17 am cd3f1ce: am 0f009ff: AI 147986: Change CTS tests to use Instrumentati
Merge commit 'cd3f1cee8b213c49e8e72347b316e30334db7b9d'

* commit 'cd3f1cee8b213c49e8e72347b316e30334db7b9d':
  AI 147986: Change CTS tests to use InstrumentationCoreTestRunner, which has handled the @BrokenTest
2009-04-30 00:01:22 -07:00
Scott Su
cd3f1cee8b am 0f009ff: AI 147986: Change CTS tests to use InstrumentationCoreTestRu
Merge commit '0f009ffc55bf3404f43dba000031d2293a14e061' into donut

* commit '0f009ffc55bf3404f43dba000031d2293a14e061':
  AI 147986: Change CTS tests to use InstrumentationCoreTestRunner, which has handled the @BrokenTest
2009-04-29 23:30:41 -07:00
Scott Su
0f009ffc55 AI 147986: Change CTS tests to use InstrumentationCoreTestRunner, which has handled the @BrokenTest
Automated import of CL 147986
2009-04-29 03:12:14 -07:00
Jean-Baptiste Queru
bc565c0a52 Merge donut into master 2009-04-22 18:33:17 -07:00
Jean-Baptiste Queru
930a035e01 Merge donut into master 2009-04-22 18:33:12 -07:00
Jean-Baptiste Queru
5c1ac9dc2b merge cupcake into donut 2009-04-22 17:56:58 -07:00
Jean-Baptiste Queru
6774d07747 merge cupcake into donut 2009-04-22 17:56:50 -07:00
Jean-Baptiste Queru
66b7286230 Merge donut into master 2009-04-22 17:12:34 -07:00
Jean-Baptiste Queru
148c959e53 Merge donut into master 2009-04-22 17:12:11 -07:00
Phil Dubach
3da72df159 AI 147060: am: CL 147059 CTS: Fix LOCAL_MODULE_TAGS for CTS tests
CTS tests should use local module tag 'tests' such that they are not built
  and included in the image by default.
  Original author: phillipd
  Merged from: //branches/cupcake/...

Automated import of CL 147060
2009-04-21 01:02:54 -07:00
Phil Dubach
16c35ed41b Merge branch 'readonly-p4-master' 2009-04-20 18:01:38 -07:00
Phil Dubach
2774b0fab0 AI 147064: am: CL 147060 am: CL 147059 CTS: Fix LOCAL_MODULE_TAGS for CTS tests
CTS tests should use local module tag 'tests' such that they are not built
  and included in the image by default.
  Original author: phillipd
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147064
2009-04-20 18:00:20 -07:00
Phil Dubach
3165096c2d AI 147059: CTS: Fix LOCAL_MODULE_TAGS for CTS tests
CTS tests should use local module tag 'tests' such that they are not built
  and included in the image by default.
  BUG=1778334

Automated import of CL 147059
2009-04-20 17:57:22 -07:00