Bug 3106981
ConnectivityManager#setNetworkPreference used to be synchronous,
but now it merely sends a handler message. As a result, the
method won't throw any SecurityExceptions, because it will throw
it in the handler instead when trying to write to System.Secure
settings. The test tries to write invalid settings or the same
settings value to test that it won't throw a SecurityException.
Since the method won't throw the exceptions anymore and its
not clear how long to wait to confirm that the settings weren't
going to be changed, just delete these tests.
Change-Id: I9e754bb0e026656511512b17108c42c37d84b069
Bug 2732034
Check that devices do not have any listening ports open by
scanning files in the /proc/net directory.
Change-Id: Ic6204667809b3a0c136e38f35fe536bc6d79dcad
While working on out openssl code, I found a Y2k bug that the dates
from invalidate certificates could be shown as 1909 instead of 2009.
The reason was because SslCertificate/BrowserActivity passed the
values around as Strings even though the started as Dates (from
X509Certificate) and were converted backed to Dates before
presentation by BrowserActivity's reformatCertificateDate.
SslCertificate now maintains date fields internally as Date objects
without converting them to Strings. The constructor and String
accessors, which are now @deprecated, now specify the format as an ISO
8601 date string which uses 4 digit years.
BrowserActivity now reformatCertificateDate is now simply
formatCertificateDate and no longer has to convert from String to Date
and back to String to get proper Locale formatting.
CTS SslCertificateTest also updated.
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
Merge commit '7578e57567d63139b563e2a3c6face707beeb931' into eclair
* commit '7578e57567d63139b563e2a3c6face707beeb931':
Change CTS makefiles so apps are built in data not system partition.
Merge commit 'f8ee8d58f99f47611577eff98638b3f598655719' into eclair
* commit 'f8ee8d58f99f47611577eff98638b3f598655719':
Remove a bunch of unused CTS tests from continuous test build to save space.
- 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
* 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.
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.
Merge commit 'aedc07c0ed19dca06e48446921bdd231b7bc99f6'
* commit 'aedc07c0ed19dca06e48446921bdd231b7bc99f6':
AI 148455: CTS: Change tests in Android plan to use new InstrumentationCtsTestRunner
Merge commit 'e480582d829a87e2d7097cb79b7afb9e4ccbf74a' into donut
* commit 'e480582d829a87e2d7097cb79b7afb9e4ccbf74a':
AI 148455: CTS: Change tests in Android plan to use new InstrumentationCtsTestRunner
Merge commit 'cd3f1cee8b213c49e8e72347b316e30334db7b9d'
* commit 'cd3f1cee8b213c49e8e72347b316e30334db7b9d':
AI 147986: Change CTS tests to use InstrumentationCoreTestRunner, which has handled the @BrokenTest
Merge commit '0f009ffc55bf3404f43dba000031d2293a14e061' into donut
* commit '0f009ffc55bf3404f43dba000031d2293a14e061':
AI 147986: Change CTS tests to use InstrumentationCoreTestRunner, which has handled the @BrokenTest
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
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
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