Device can still have a valid networkId even after disconnection
if it was associated with AP, getWifiState is a better check to
get valid state.
Change-Id: I31a8ca38f304fbf639e1f3111be4b5ed406e3b3c
Bug 3188260
Remove the code that was trying to write to secure settings
and take off the BrokenTest annotation.
Change-Id: I0759db38225a9822b25c987e66a7590c555b5e9e
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