summaryrefslogtreecommitdiffstats
path: root/support/src/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | am e0affcdc: Merge "Assert the updated list of supported ECDHE-PSK cipher ↵Alex Klyubin2014-06-191-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | suites." * commit 'e0affcdc8c4513d91352c0fc6f4c5c29b0605d2d': Assert the updated list of supported ECDHE-PSK cipher suites.
| | * | Assert the updated list of supported ECDHE-PSK cipher suites.Alex Klyubin2014-06-041-2/+2
| | |/ | | | | | | | | | | | | Bug: 15073623 Change-Id: I427c99f4c1c72690d95e5a3c63763631c41ddae2
* | | am c0a8f479: am 9adf681e: am 4352ab40: Merge "Document and assert support ↵Alex Klyubin2014-05-292-4/+37
|\ \ \ | |/ / | | | | | | | | | | | | | | | for TLS-PSK cipher suites." * commit 'c0a8f479a47de31427211ea7952b3b92c0c650c2': Document and assert support for TLS-PSK cipher suites.
| * | am 9adf681e: am 4352ab40: Merge "Document and assert support for TLS-PSK ↵Alex Klyubin2014-05-292-4/+37
| |\ \ | | |/ | | | | | | | | | | | | | | | cipher suites." * commit '9adf681eb5691afe6f82b67768b3a7fca592251a': Document and assert support for TLS-PSK cipher suites.
| | * Merge "Document and assert support for TLS-PSK cipher suites."Alex Klyubin2014-05-292-4/+37
| | |\
| | | * Document and assert support for TLS-PSK cipher suites.Alex Klyubin2014-05-272-4/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL updates the Javadoc of SSLSocket and SSLEngine to list the now supported TLS-PSK cipher suites. It also adds tests to assert that these cipher suites are actually supported by SSLSocket and SSLEngine. Bug: 15073623 Change-Id: I8e59264455f980f23a5e66099c27b5b4d932b9bb
* | | | am dacb4741: am c0d465fd: am 6c16a47c: Merge "Simplify assertions about ↵Alex Klyubin2014-05-282-78/+6
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | SSLEngine." * commit 'dacb4741098f7976a94b3cc55aedb662ca126f04': Simplify assertions about SSLEngine.
| * | | am c0d465fd: am 6c16a47c: Merge "Simplify assertions about SSLEngine."Alex Klyubin2014-05-282-78/+6
| |\ \ \ | | |/ / | | | | | | | | | | | | * commit 'c0d465fdd5165ecf8162cde686fa858a581eca5d': Simplify assertions about SSLEngine.
| | * | Simplify assertions about SSLEngine.Alex Klyubin2014-05-232-78/+6
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | Now that the default SSLEngine implementation is backed by the same OpenSSL stack as the default SSLSocket implementation, the sets of supported/enabled cipher suites and protocols should remain the same between SSLEngine and SSLSocket. Change-Id: I1ed88f39b07950e5d8b6e2fc7d6482a034626de3
* | | am 4cd96cc5: am 5c6ea6f6: am c7743447: Merge "Enlarge the minimum key size ↵Kenny Root2014-05-131-1/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | of RSA to enhance the security" * commit '4cd96cc5ac73be05b2397d0b97c4c99bc07012ff': Enlarge the minimum key size of RSA to enhance the security
| * | am 5c6ea6f6: am c7743447: Merge "Enlarge the minimum key size of RSA to ↵Kenny Root2014-05-131-1/+1
| |\ \ | | |/ | | | | | | | | | | | | | | | enhance the security" * commit '5c6ea6f61facd19fdcc2372b710fb8fb23905032': Enlarge the minimum key size of RSA to enhance the security
| | * Enlarge the minimum key size of RSA to enhance the securityDanielMo2014-05-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have modified OpenSSL source code such that size of RSA key should be at least 512 bits or more to support higher quality key generation as lower key sizes are vulnerable to attack. Thus we need to increase the size to 512 to avoid CTS failures, please refer to it also. https://code.google.com/p/android/issues/detail?id=66394 Change-Id: I95d734033227ed1497a5bc0fd0010f62b12c01c5 Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
* | | am 0d6d3292: am 6005b896: am 4abcf7ad: Merge changes Iaaafcbed,Ifbca5637Kenny Root2014-05-081-4/+17
|\ \ \ | |/ / | | | | | | | | | | | | * commit '0d6d32920134aa84e55fab59b6bd3a71c7bcb38f': KeyStoreTest: add more key types KeyManagerFactoryTest: add all the possible key types
| * | am 6005b896: am 4abcf7ad: Merge changes Iaaafcbed,Ifbca5637Kenny Root2014-05-081-4/+17
| |\ \ | | |/ | | | | | | | | | | | | * commit '6005b896b58659f8c2e0693bd9ead32706a05044': KeyStoreTest: add more key types KeyManagerFactoryTest: add all the possible key types
| | * KeyManagerFactoryTest: add all the possible key typesKenny Root2014-05-071-4/+17
| | | | | | | | | | | | | | | | | | | | | This adds all the possible key types from the Standard Names document to the tests. Change-Id: Ifbca56371261c040c3cb9e0d80447e9cb73cad0f
* | | am c3eed594: am f6696d69: am eec4356c: Merge "Improve detection of ↵Paul Duffin2014-05-021-68/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | CloseGuard protected resource leakage" * commit 'c3eed594ffd6b488b5771cd1e6a9a4c44aa0826b': Improve detection of CloseGuard protected resource leakage
| * | am f6696d69: am eec4356c: Merge "Improve detection of CloseGuard protected ↵Paul Duffin2014-05-021-68/+0
| |\ \ | | |/ | | | | | | | | | | | | | | | resource leakage" * commit 'f6696d69727e1089f5608b0c3772ced3c347df7e': Improve detection of CloseGuard protected resource leakage
| | * Improve detection of CloseGuard protected resource leakagePaul Duffin2014-05-011-68/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add CloseGuardMonitor to intercept and collate CloseGuard reports and if necessary throw an exception listing the resource leaks. * Add ResourceLeakageDetector to abstract away the CloseGuardMonitor which will not work on RI. * Add AbstractResourceLeakageDetectorTestCase as a base class for tests that need to detect resource leaks, in future this could be handled by modifications to Cts and Vogar test runners. * Remove CloseGuardTester and its sole usage in ProcessBuilderTest. * Remove CloseGuardGuard from within URLConnectionTest * Change ZipFileTest, ProcessBuilderTest, URLConnectionTest to use new mechanism, fix issues that are identified and do some cleanup/remove duplicated code. Bug: https://code.google.com/p/android/issues/detail?id=66383 Change-Id: Id026dbb6bc66091a15f07329e6371cd0d1f32cf5
* | | resolved conflicts for merge of 9687e46b to masterKenny Root2014-04-302-0/+0
|\ \ \ | |/ / | | | | | | Change-Id: Iaeaea9b44423257e8ccbcf631f40720d3035cecd
| * | am 42db8377: am 15e6f173: am d353b8e2: am ddc91700: am 0a0379d4: am ↵Kenny Root2014-04-302-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 297a7de2: am 183efbb4: am 4629f94a: am e0350a80: am afd7d947: Merge "JarFile: make test chain 3 long" into jb-dev * commit '42db8377fdd20cdff6cac1994b25382551270a26': JarFile: make test chain 3 long
| | * \ am 15e6f173: am d353b8e2: am ddc91700: am 0a0379d4: am 297a7de2: am ↵Kenny Root2014-04-302-0/+0
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 183efbb4: am 4629f94a: am e0350a80: am afd7d947: Merge "JarFile: make test chain 3 long" into jb-dev * commit '15e6f173de11133e1a61090635e350303ac0481a': JarFile: make test chain 3 long
| | | * \ am d353b8e2: am ddc91700: am 0a0379d4: am 297a7de2: am 183efbb4: am ↵Kenny Root2014-04-302-0/+0
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4629f94a: am e0350a80: am afd7d947: Merge "JarFile: make test chain 3 long" into jb-dev * commit 'd353b8e2dbcdbd23e59a4a3e1460c88c33640044': JarFile: make test chain 3 long
| | | | * \ am ddc91700: am 0a0379d4: am 297a7de2: am 183efbb4: am 4629f94a: am ↵Kenny Root2014-04-302-0/+0
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0350a80: am afd7d947: Merge "JarFile: make test chain 3 long" into jb-dev * commit 'ddc91700a5bed8e2b7214d6ca1e317929e378bc7': JarFile: make test chain 3 long
| | | | | * \ am 0a0379d4: am 297a7de2: am 183efbb4: am 4629f94a: am e0350a80: am ↵Kenny Root2014-04-302-0/+0
| | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afd7d947: Merge "JarFile: make test chain 3 long" into jb-dev * commit '0a0379d45726c4cac1505167095d763068f900ae': JarFile: make test chain 3 long
| | | | | | * \ am 297a7de2: am 183efbb4: am 4629f94a: am e0350a80: am afd7d947: Merge ↵Kenny Root2014-04-302-0/+0
| | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "JarFile: make test chain 3 long" into jb-dev * commit '297a7de2a15cae179d6713182641bddfdf89f397': JarFile: make test chain 3 long
| | | | | | | * \ am e0350a80: am afd7d947: Merge "JarFile: make test chain 3 long" into jb-devKenny Root2014-04-302-0/+0
| | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e0350a80cbcce86445c29c043ab5be3b46e28181': JarFile: make test chain 3 long
| | | | | | | | * \ am afd7d947: Merge "JarFile: make test chain 3 long" into jb-devKenny Root2014-04-302-0/+0
| | | | | | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'afd7d9472e5d850a8e1a6d02abaaa9f94579a77f': JarFile: make test chain 3 long
| | | | | | | | | * | JarFile: make test chain 3 longKenny Root2014-04-292-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I761f0a652a8502e28a4f9bb15ac9782d3ad42355
* | | | | | | | | | | am 3eb545e3: am 85fa4285: Merge "Groundwork towards making the Libcore.os ↵Elliott Hughes2014-04-251-2/+2
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functionality public." * commit '3eb545e382a12565ed8779632015d736d6f5c32c': Groundwork towards making the Libcore.os functionality public.
| * | | | | | | | | | am 85fa4285: Merge "Groundwork towards making the Libcore.os functionality ↵Elliott Hughes2014-04-241-2/+2
| |\ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | public." * commit '85fa4285b3679120ee2d3dc5750a1e620de0449d': Groundwork towards making the Libcore.os functionality public.
| | * | | | | | | | | Groundwork towards making the Libcore.os functionality public.Elliott Hughes2014-04-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie700aa16d91fba53fc5eb2555829cb74d84b12ad
* | | | | | | | | | | JarFile: Add tests for ambiguous chainsKenny Root2014-04-221-0/+0
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some chains using the old code will have incorrect splits between CodeSigner paths. Bug: 13678484 Change-Id: Ia77b7cbcde9394e0d48a6f082bbd1cdfd880d74b
* | | | | | | | | | am 0779dcac: am 008fbfd0: am a317f758: am ced71a50: am 99a25a47: am ↵Kenny Root2014-04-222-0/+0
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| / / / / / / / / | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | 5321ebb7: am 6d949cbf: am 951aa4f4: am 531968cf: am cb11b9ff: Tests for API to check certificate chain signatures * commit '0779dcac1bdc0d6d02ef6e4843a312aa03081f03': Tests for API to check certificate chain signatures
| * | | | | | | | am 008fbfd0: am a317f758: am ced71a50: am 99a25a47: am 5321ebb7: am ↵Kenny Root2014-04-222-0/+0
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6d949cbf: am 951aa4f4: am 531968cf: am cb11b9ff: Tests for API to check certificate chain signatures * commit '008fbfd0ff37cb88047825d56d2116d0f62b69a5': Tests for API to check certificate chain signatures
| | * | | | | | | am a317f758: am ced71a50: am 99a25a47: am 5321ebb7: am 6d949cbf: am ↵Kenny Root2014-04-222-0/+0
| | |\ \ \ \ \ \ \ | | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 951aa4f4: am 531968cf: am cb11b9ff: Tests for API to check certificate chain signatures * commit 'a317f7585cc09844f8746afe49eb55a5b18d9ee7': Tests for API to check certificate chain signatures
| | | * | | | | | am ced71a50: am 99a25a47: am 5321ebb7: am 6d949cbf: am 951aa4f4: am ↵Kenny Root2014-04-222-0/+0
| | | |\ \ \ \ \ \ | | | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 531968cf: am cb11b9ff: Tests for API to check certificate chain signatures * commit 'ced71a503c6cf79b0cee407123d9df94bf988e0b': Tests for API to check certificate chain signatures
| | | | * | | | | am 99a25a47: am 5321ebb7: am 6d949cbf: am 951aa4f4: am 531968cf: am ↵Kenny Root2014-04-222-0/+0
| | | | |\ \ \ \ \ | | | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb11b9ff: Tests for API to check certificate chain signatures * commit '99a25a47254a79c3ebae17270b4989504b720383': Tests for API to check certificate chain signatures
| | | | | * | | | am 5321ebb7: am 6d949cbf: am 951aa4f4: am 531968cf: am cb11b9ff: Tests for ↵Kenny Root2014-04-222-0/+0
| | | | | |\ \ \ \ | | | | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API to check certificate chain signatures * commit '5321ebb789eb77b5fc4c6e2e5d2fcaba242d275d': Tests for API to check certificate chain signatures
| | | | | | * | | am 531968cf: am cb11b9ff: Tests for API to check certificate chain signaturesKenny Root2014-04-222-0/+0
| | | | | | |\ \ \ | | | | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '531968cf367586f38167ced0415f89fe330ee75f': Tests for API to check certificate chain signatures
| | | | | | | * | am cb11b9ff: Tests for API to check certificate chain signaturesKenny Root2014-04-222-0/+0
| | | | | | | |\ \ | | | | | | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'cb11b9fff2a1af8bb4fcad18986003a7f59189c6': Tests for API to check certificate chain signatures
| | | | | | | | * Tests for API to check certificate chain signaturesKenny Root2014-04-182-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 13678484 Change-Id: Ibc14b3e9b1159c7b0b130d01fac933f71a99ad96
| * | | | | | | | DO NOT MERGE Fix another set of file related tests.Narayan Kamath2014-04-071-36/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Get rid of Support_PlatformFile, use File.createTempFile instead. - Replace numerous uses of "user.dir" / "user.home" etc. with File.createTempFile - Replace calls to Process / chmod with Libcore.os.chmod. The calls wouldn't have worked anyway, since chmod on android doesn't understand the incremental (+w, -x) syntax. (cherry picked from commit 2b7c83942a5e28c53698232182193d5118028e6c) Bug: 13763685 Bug: 13763900 Change-Id: Ic6944568bbee6a548da6dcb4364b882636f2959f
* | | | | | | | | Fix SSLEngineTest for RIKenny Root2014-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The assymmetry between client and server with create sessions seems strange. It seems like a bug in the RI, so make sure Android does the right thing. Change-Id: I7b7ab501bd1963757b7f067c6ace8230a19a3e53
* | | | | | | | | Update SSLEngineTest for OpenSSLKenny Root2014-04-102-31/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our new OpenSSL-based SSLEngine supports all the new stuff and no longer fails tests. Change-Id: I7db8e5134ca36ebd963c7081cd7ba79d91b3e5e2
* | | | | | | | | Update SSLEngineTest for RIKenny Root2014-04-104-15/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RI now supports TLSv1.2 with SSLEngine, so update all the expectations for their tests. It also appears to disable "weak" algorithms when you select TLSv1.2. Change-Id: I564283bb4945d3b71bee0f89c93c6dd6e238b4f8
* | | | | | | | | Add X509ExtendedTrustManagerKenny Root2014-03-253-16/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the X509ExtendedTrustManager class and all its ancillary methods that allow it to be used. This allows the endpointVerificationAlgorithm setting to be enabled on SSLSocket to check that the cerificate given for the endpoint during the handshake matched the expected hostname. Since X509ExtendedTrustManager allows you to pass in an SSLSocket, there is a new call added to SSLSocket called getHandshakeSession which does not force the handshake to take place. Bug: 13103812 Change-Id: I18a18b4f457d1676c8dc9a2a7bf7c3c4646a0425
* | | | | | | | | StandardNames: only remove DH_* for RIKenny Root2014-03-211-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The RI doesn't use DH_RSA and DH_DSA, but we do. Only remove them when the RI is running the tests. Change-Id: Id496a60e64ea51b105b7548e219e9340608f4672
* | | | | | | | | Merge "Support multiple KeyManagers in TestSSLContext and TestKeyStore."Alex Klyubin2014-03-212-15/+12
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Support multiple KeyManagers in TestSSLContext and TestKeyStore.Alex Klyubin2014-03-192-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The two classes in some places assumed that only one KeyManager is necessary or that only the first provided KeyManager is important. Change-Id: I88629778911503ac7c233341d44612247d799d22
* | | | | | | | | | StandardNames: update RI expectationsKenny Root2014-03-201-32/+45
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia20902cc63d5e3ef1ac4cfc7a0b651368e845867