When a DNS lookup occurs, a new listening UDP socket will be
created to receive the DNS response. This listening socket is
only temporary, and shouldn't count as a permanent open
socket.
Bug: 3276283
Change-Id: I45090c0e07d9b360cc26f4bce23833db8c399507
Bug 3188260
Remove the code that was trying to write to secure settings
and take off the BrokenTest annotation.
Change-Id: I0759db38225a9822b25c987e66a7590c555b5e9e
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
- 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.
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
that ought to be exposed. Hid and deprecated the single-arg public
constructor for NetworkInfo, and modified a CTS test that was testing it.
Ran the android.net test package to make sure it still works.
BUG=1779439
Automated import of CL 145881