| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'd8eb43c1072f8467ae01ab93944c1032c94c6ccc':
Change ReferenceQueue order from LIFO to FIFO.
|
| |\ \ \ \
| | |_|/ /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
LIFO order of FinalizerReference.queue breaks runFinalization().
runFinalization() creates a Sentinel finalizable object and waits
for it to be finalized. As FinalizerReference.queue is LIFO,
the Sentinel object is placed at the beginning of the queue and
then gets finalized first. So the method returns even though
objects placed in the queue before the Sentinel are not finalized.
This patch changes the queue order to FIFO to ensure that all
elements enqueued before the Sentinel are finalized before it.
bug: https://code.google.com/p/android/issues/detail?id=37980
Change-Id: Ie6bc96e6a3759bc36ce6586066052b6d6bbe8d52
Signed-off-by: Elena Sayapina <elena.v.sayapina@intel.com>
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit 'db3cbbc355adbe08926881ef86a1e18fa6a475b1':
Add java.security.cert.Extension interface
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Also convert our existing Extension class to implement this interface.
Change-Id: I123ef6aa4f89897037e51f221c8c5a7994ac2a01
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '32ec257fae8b9d9bede551f00400f0a5216ab6b9':
Fix BN to use correct size of array
|
| |\ \ \ |
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
NativeBN_litEndInts2bn uses len as a size of the generated array
while it should be wlen for 64-bit.
This will fix the following BigIntegerTest cases:
- BigIntegerTest#test_Constructor_ILjava_util_Random
- BigIntegerTest#test_hashCode
Change-Id: Ife98d11cf94cd5568e55163f98fc4fe3de9d3918
Signed-off-by: Serguei Katkov <serguei.i.katkov@intel.com>
Reported-by: Marcus Oakland <marcus.oakland@arm.com>
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'b7bef747246ee8042a5b4fbc9a323af6eecdaf30':
Improve the performance of Annotation checks
|
| |\ \ \
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In the circumstance where the annotated element (field/
method/constructor/class) was loaded from a different Dex file
than the annotation:
The previous code would perform a binary
search to determine the type ID of the annotation in the Dex
file of the annotated element. That type ID would then be
compared against the type IDs of annotations present on the
annotated element. The binary search was quite expensive: it
involved various indirections, many small native method calls
and temporary String creation.
Instead, the code now compares the names of the
annotations on the annotated element with the name of the
annotation being searched for. The name of the annotation
is known and cached on the class and is therefore cheap to
get. The name was previously being used to binary search for
the type ID so this appears to be no less correct.
Also removed some unused methods in order to delete the
getFieldIndex() method.
Change-Id: Ib8fb021ddf1221e3eac983aa87e7aea8174720ef
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'f198b04bfc2c267ba5e36c4e9d9483f821bc4fe7':
SSLEngineResult: better exception messages
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Bring these exception messages more in line with what the rest of
libcore uses. Also print out the value that caused an exception to be
thrown to aid in debugging.
Change-Id: Ia2244592781091da9c3239c5f61946f6fb806204
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit 'eec4356c497cf471ab95dbe26cdf48dec5125fb0':
Improve detection of CloseGuard protected resource leakage
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '793dd41db28fb2b9a49ad54a65bb208c67bd8a85':
Make sure every struct has a toString.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Also add some missing finals.
Change-Id: I80a779d7340608d55d5ffcc73e2d411dc1bc1cc9
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
passers-by."
* commit 'ce28fdcf0dd0b8072f7463b7488632cb31cf0fa6':
Use __SIGRTMIN so bionic can hide our signal from causal passers-by.
|
| |\ \ \ |
|
| | |/ /
| | | |
| | | |
| | | | |
Change-Id: Ib16b048bb8d849ee6f54251d0c8cc7f782121452
|
|\ \ \ \
| |/ / /
|/| | | |
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* commit 'b419a494dee7d11d5f9e1dc79a38e72264cdc9da':
Add X509ExtendedTrustManager
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit 'eb5a9394278fddbc9c210452b0ecc7126422ff19':
Fix test failures due to the ICU-52 update.
|
| |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
* commit '854557ad6f80c3a35b8e358ba663755482ed2078':
NativeBN: use bn_correct_top on negative BN
|
| |\ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
* commit '2a85a29a6577c14f5ba3d65c1a2057cae37583f4':
CA certificates update
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
REMOVE expired
SHA1 : A9:62:8F:4B:98:A9:1B:48:35:BA:D2:C1:46:32:86:BB:66:64:6A:8C
Subject : C=ES, L=C/ Muntaner 244 Barcelona, CN=Autoridad de Certificacion Firmaprofesional CIF A62634068/emailAddress=ca@firmaprofesional.com
Not Before: Oct 24 22:00:00 2001 GMT
Not After : Oct 24 22:00:00 2013 GMT
ADDED Repository imported
SHA1 : 4D:23:78:EC:91:95:39:B5:00:7F:75:8F:03:3B:21:1E:C5:4D:8B:CF
Subject : C=SE, O=AddTrust AB, OU=AddTrust TTP Network, CN=AddTrust Qualified CA Root
Not Before: May 30 10:44:50 2000 GMT
Not After : May 30 10:44:50 2020 GMT
ADDED Repository imported
SHA1 : F3:73:B3:87:06:5A:28:84:8A:F2:F3:4A:CE:19:2B:DD:C7:8E:9C:AC
Subject : C=IT, L=Milan, O=Actalis S.p.A./03358520967, CN=Actalis Authentication Root CA
Not Before: Sep 22 11:22:02 2011 GMT
Not After : Sep 22 11:22:02 2030 GMT
ADDED Repository imported
SHA1 : 4A:65:D5:F4:1D:EF:39:B8:B8:90:4A:4A:D3:64:81:33:CF:C7:A1:D1
Subject : C=GB, ST=Greater Manchester, L=Salford, O=Comodo CA Limited, CN=Secure Certificate Services
Not Before: Jan 1 00:00:00 2004 GMT
Not After : Dec 31 23:59:59 2028 GMT
ADDED Repository imported
SHA1 : CC:AB:0E:A0:4C:23:01:D6:69:7B:DD:37:9F:CD:12:EB:24:E3:94:9D
Subject : C=SE, O=AddTrust AB, OU=AddTrust TTP Network, CN=AddTrust Class 1 CA Root
Not Before: May 30 10:38:31 2000 GMT
Not After : May 30 10:38:31 2020 GMT
ADDED Repository imported
SHA1 : E1:9F:E3:0E:8B:84:60:9E:80:9B:17:0D:72:A8:C5:BA:6E:14:09:BD
Subject : C=GB, ST=Greater Manchester, L=Salford, O=Comodo CA Limited, CN=Trusted Certificate Services
Not Before: Jan 1 00:00:00 2004 GMT
Not After : Dec 31 23:59:59 2028 GMT
ADDED Repository imported
SHA1 : 4F:99:AA:93:FB:2B:D1:37:26:A1:99:4A:CE:7F:F0:05:F2:93:5D:1E
Subject : C=CN, O=China Internet Network Information Center, CN=China Internet Network Information Center EV Certificates Root
Not Before: Aug 31 07:11:25 2010 GMT
Not After : Aug 31 07:11:25 2030 GMT
ADDED Repository imported
SHA1 : F1:7F:6F:B6:31:DC:99:E3:A3:C8:7F:FE:1C:F1:81:10:88:D9:60:33
Subject : CN=T\xC3\x9CRKTRUST Elektronik Sertifika Hizmet Sa\xC4\x9Flay\xC4\xB1c\xC4\xB1s\xC4\xB1, C=TR, L=Ankara, O=T\xC3\x9CRKTRUST Bilgi \xC4\xB0leti\xC5\x9Fim ve Bili\xC5\x9Fim G\xC3\xBCvenli\xC4\x9Fi Hizmetleri A.\xC5\x9E. (c) Aral\xC4\xB1k 2007
Not Before: Dec 25 18:37:19 2007 GMT
Not After : Dec 22 18:37:19 2017 GMT
ADDED Repository imported
SHA1 : E7:A1:90:29:D3:D5:52:DC:0D:0F:C6:92:D3:EA:88:0D:15:2E:1A:6B
Subject : C=ch, O=Swisscom, OU=Digital Certificate Services, CN=Swisscom Root EV CA 2
Not Before: Jun 24 09:45:08 2011 GMT
Not After : Jun 25 08:45:08 2031 GMT
ADDED Repository imported
SHA1 : 8E:1C:74:F8:A6:20:B9:E5:8A:F4:61:FA:EC:2B:47:56:51:1A:52:C6
Subject : C=SK, L=Bratislava, O=Disig a.s., CN=CA Disig Root R1
Not Before: Jul 19 09:06:56 2012 GMT
Not After : Jul 19 09:06:56 2042 GMT
ADDED Repository imported
SHA1 : B5:61:EB:EA:A4:DE:E4:25:4B:69:1A:98:A5:57:47:C2:34:C7:D9:71
Subject : C=SK, L=Bratislava, O=Disig a.s., CN=CA Disig Root R2
Not Before: Jul 19 09:15:30 2012 GMT
Not After : Jul 19 09:15:30 2042 GMT
ADDED Repository imported
SHA1 : 2A:B6:28:48:5E:78:FB:F3:AD:9E:79:10:DD:6B:DF:99:72:2C:96:E5
Subject : C=SE, O=AddTrust AB, OU=AddTrust TTP Network, CN=AddTrust Public CA Root
Not Before: May 30 10:41:50 2000 GMT
Not After : May 30 10:41:50 2020 GMT
ADDED Repository imported
SHA1 : 3B:C0:38:0B:33:C3:F6:A6:0C:86:15:22:93:D9:DF:F5:4B:81:C0:04
Subject : C=GB, O=Trustis Limited, OU=Trustis FPS Root CA
Not Before: Dec 23 12:14:06 2003 GMT
Not After : Jan 21 11:36:54 2024 GMT
ADDED Repository imported
SHA1 : 51:C6:E7:08:49:06:6E:F3:92:D4:5C:A0:0D:6D:A3:62:8F:C3:52:39
Subject : C=TR, L=Ankara, O=E-Tu\xC4\x9Fra EBG Bili\xC5\x9Fim Teknolojileri ve Hizmetleri A.\xC5\x9E., OU=E-Tugra Sertifikasyon Merkezi, CN=E-Tugra Certification Authority
Not Before: Mar 5 12:09:48 2013 GMT
Not After : Mar 3 12:09:48 2023 GMT
ADDED Repository imported
SHA1 : 2B:B1:F5:3E:55:0C:1D:C5:F1:D4:E6:B7:6A:46:4B:55:06:02:AC:21
Subject : CN=Atos TrustedRoot 2011, O=Atos, C=DE
Not Before: Jul 7 14:58:30 2011 GMT
Not After : Dec 31 23:59:59 2030 GMT
ADDED Repository imported
SHA1 : 43:13:BB:96:F1:D5:86:9B:C1:4E:6A:92:F6:CF:F6:34:69:87:82:37
Subject : O=TeliaSonera, CN=TeliaSonera Root CA v1
Not Before: Oct 18 12:00:50 2007 GMT
Not After : Oct 18 12:00:50 2032 GMT
ADDED Repository imported
SHA1 : A3:F1:33:3F:E2:42:BF:CF:C5:D1:4E:8F:39:42:98:40:68:10:D1:A0
Subject : C=IL, O=StartCom Ltd., OU=Secure Digital Certificate Signing, CN=StartCom Certification Authority
Not Before: Sep 17 19:46:37 2006 GMT
Not After : Sep 17 19:46:36 2036 GMT
ADDED Repository imported
SHA1 : C9:A8:B9:E7:55:80:5E:58:E3:53:77:A7:25:EB:AF:C3:7B:27:CC:D7
Subject : C=EE, O=AS Sertifitseerimiskeskus, CN=EE Certification Centre Root CA/emailAddress=pki@sk.ee
Not Before: Oct 10 30:10:10 2020 GMT
Not After : 20301217235959Z
ADDED Repository imported
SHA1 : 9C:BB:48:53:F6:A4:F6:D3:52:A4:E8:32:52:55:60:13:F5:AD:AF:65
Subject : C=TW, O=TAIWAN-CA, OU=Root CA, CN=TWCA Global Root CA
Not Before: Jun 27 06:28:33 2012 GMT
Not After : Dec 31 15:59:59 2030 GMT
REMOVE unused and removed, see https://bugzilla.mozilla.org/show_bug.cgi?id=407396
SHA1 : 56:E0:FA:C0:3B:8F:18:23:55:18:E5:D3:11:CA:E8:C2:43:31:AB:66
Subject : C=CH, O=SwissSign AG, CN=SwissSign Platinum CA - G2
Not Before: Oct 25 08:36:00 2006 GMT
Not After : Oct 25 08:36:00 2036 GMT
REMOVE removed after 2010, see https://bugzilla.mozilla.org/show_bug.cgi?id=530853 https://bugzilla.mozilla.org/show_bug.cgi?id=617664
SHA1 : 3C:71:D7:0E:35:A5:DA:A8:B2:E3:81:2D:C3:67:74:17:F5:99:0D:F3
Subject : C=ES, ST=Madrid, L=Madrid, O=IPS Certification Authority s.l. ipsCA, OU=ipsCA, CN=ipsCA Global CA Root/emailAddress=global01@ipsca.com
Not Before: Sep 7 14:38:44 2009 GMT
Not After : Dec 25 14:38:44 2029 GMT
REMOVE unused, see https://bugzilla.mozilla.org/show_bug.cgi?id=850740
SHA1 : 96:56:CD:7B:57:96:98:95:D0:E1:41:46:68:06:FB:B8:C6:11:06:87
Subject : C=DE, O=TC TrustCenter GmbH, OU=TC TrustCenter Universal CA, CN=TC TrustCenter Universal CA III
Not Before: Sep 9 08:15:27 2009 GMT
Not After : Dec 31 23:59:59 2029 GMT
REMOVE Marked as no longer in use, see https://bugzilla.mozilla.org/show_bug.cgi?id=708009
SHA1 : 0B:77:BE:BB:CB:7A:A2:47:05:DE:CC:0F:BD:6A:02:FC:7A:BD:9B:52
Subject : C=US, O=VeriSign, Inc., OU=Class 4 Public Primary Certification Authority - G2, OU=(c) 1998 VeriSign, Inc. - For authorized use only, OU=VeriSign Trust Network
Not Before: May 18 00:00:00 1998 GMT
Not After : Aug 1 23:59:59 2028 GMT
REMOVE marked as no longer in use, see https://bugzilla.mozilla.org/show_bug.cgi?id=617664
SHA1 : 5D:98:9C:DB:15:96:11:36:51:65:64:1B:56:0F:DB:EA:2A:C2:3E:F1
Subject : C=US, ST=UT, L=Salt Lake City, O=The USERTRUST Network, OU=http://www.usertrust.com, CN=UTN-USERFirst-Network Applications
Not Before: Jul 9 18:48:39 1999 GMT
Not After : Jul 9 18:57:49 2019 GMT
REMOVE marked as no longer in use, see https://bugzilla.mozilla.org/show_bug.cgi?id=856718
SHA1 : 81:96:8B:3A:EF:1C:DC:70:F5:FA:32:69:C2:92:A3:63:5B:D1:23:D3
Subject : C=US, O=Digital Signature Trust Co., OU=DSTCA E1
Not Before: Dec 10 18:10:23 1998 GMT
Not After : Dec 10 18:40:23 2018 GMT
REMOVE removing CA that was included via legacy import script
SHA1 : A4:34:89:15:9A:52:0F:0D:93:D0:32:CC:AF:37:E7:FE:20:A8:B4:19
Subject : OU=Copyright (c) 1997 Microsoft Corp., OU=Microsoft Corporation, CN=Microsoft Root Authority
Not Before: Jan 10 07:00:00 1997 GMT
Not After : Dec 31 07:00:00 2020 GMT
REMOVE marked as no longer in use, see https://bugzilla.mozilla.org/show_bug.cgi?id=856718
SHA1 : 87:81:C2:5A:96:BD:C2:FB:4C:65:06:4F:F9:39:0B:26:04:8A:0E:01
Subject : C=DK, O=TDC, CN=TDC OCES CA
Not Before: Feb 11 08:39:30 2003 GMT
Not After : Feb 11 09:09:30 2037 GMT
REMOVE superseded by an X.509v3 certificate 5B:F8:4D:4F:B2:A5:86:D4:3A:D2:F1:63:9A:A0:BE:09:F6:57:B7:DE
SHA1 : CA:BB:51:67:24:00:58:8E:64:19:F1:D4:08:78:D0:40:3A:A2:02:64
Subject : C=JP, O=Japan Certification Services, Inc., CN=SecureSign RootCA1
Not Before: Sep 15 15:00:01 1999 GMT
Not After : Sep 15 14:59:59 2020 GMT
REMOVE marked as no longer in use, see https://bugzilla.mozilla.org/show_bug.cgi?id=856718
SHA1 : AB:48:F3:33:DB:04:AB:B9:C0:72:DA:5B:0C:C1:D0:57:F0:36:9B:46
Subject : C=US, O=Digital Signature Trust Co., OU=DSTCA E2
Not Before: Dec 9 19:17:26 1998 GMT
Not After : Dec 9 19:47:26 2018 GMT
REMOVE marked as no longer in use, see https://bugzilla.mozilla.org/show_bug.cgi?id=856718
SHA1 : 39:4F:F6:85:0B:06:BE:52:E5:18:56:CC:10:E1:80:E8:82:B3:85:CC
Subject : C=US, O=Equifax Secure, OU=Equifax Secure eBusiness CA-2
Not Before: Jun 23 12:14:45 1999 GMT
Not After : Jun 23 12:14:45 2019 GMT
(cherry picked from commit dc004c54f6b60b0340cc7fb51fce158acee52ec4)
Bug: 13436913
Change-Id: I6df8decf778b5c18729e944b82d3cdd669bb04b6
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Bug: 13078746
(cherry picked from commit cc346026b56ca68149b9f1cbbb42136e09ef0be3)
Change-Id: I647b2121c20072f9872ef010b9ced88874af9fb9
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This patch also fixes a few bugs, and a few test bugs, and then the bugs
exposed by fixing those tests.
(cherry picked from commit 6ad37f500b023ef09fd177ad8cd8e2ba0b842cae)
Change-Id: Ia58d30e414cc59c27a1d259e8056523d6df2c6bc
|
| | |\ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This function is now on the critical path for URLConnection
since OkHttp calls it to figure out what the MTU for the
NetworkInterface is.
This function performs poorly when there are a large
number of interfaces available.
- Read /proc/net/if_inet6 exactly once, instead of
once per interface.
- List the contents of /sys/class/net exactly once,
and not once per interface.
Also adds a couple of tests for if_inet6 parsing.
TODO: Add a "zero copy" version of UnsafeByteSequence
and then move readIntFile over to that version.
(Cherry picked from ab6d858336e6db8b5117b78837fee2a9f35fdf2c)
Bug: b/11411129
Change-Id: Ieb1d5f0beaf462721f897a5f6376a4587f3aebaf
|
| | |\ \ \ \ \ \ \ |
|
| | | |/ / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Replace it with a smaller, less general class for reading
the contents of a file into a byte array or a string.
Remove the need for an additional buffer and instead read
the contents of the file directly into a buffer owned by
FileReader. Optimise for the case where the length
of the file is known.
This imposes the additional restriction on callers that the
path of the file they're reading is an absolute path. I've
checked that all callers obey that currently.
(Cherry picked from b0674a77ed67e30f2510064b89151002d7f2eb2a)
Bug: b/11411129
Change-Id: Ic020a45051416f2de9a2f78bd5f99a21feff17df
|
| | |/ / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
We get most of the way there with BAOS in this use case,
except that we pay for additional locking and a call to
Charsets.forName.
JarFileBenchmark results :
AFTER
0% filename=/system/framework/bouncycastle.jar 989706.59 ns; stddev=28699.19 ns @ 10 trials
33% filename=/system/framework/core.jar 1115640.38 ns; stddev=13687.70 ns @ 10 trials
67% filename=/system/framework/framework.jar 1027097.16 ns; stddev=33908.38 ns @ 10 trials
BEFORE
0% filename=/system/framework/bouncycastle.jar 1016998.68 ns; sttdev=9393.46 ns @ 3 trials
33% filename=/system/framework/core.jar 1163348.29 ns; sttdev=42646.58 ns @ 10 trials
67% filename=/system/framework/framework.jar 1042157.91 ns; sttdev=32679.86 ns @ 10 trials
(Cherry picked from b7d186b5f0d2a6406146ad1f366642d86f5e6933)
Bug: b/11411129
Change-Id: Ib94789fb8396b4f2aad31cc8232b6f0bb0672238
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Brings the time down from 7ms to 7us for a cache hit on Nexus 4.
Bug: 11447043
(cherry picked from commit 0fd776f4dbf7c1940c080003f0c7a02d35374ab9)
Change-Id: I6659ff8ea29227777db0c359024f1361a7cb47e6
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Add java wrappers for prctl and PR_SET_NO_NEW_PRIVS.
Change-Id: I649a755ea9354b0290b25292bc65901b1528c1d5
|
| |_|_|_|_|/ /
|/| | | | | |
| | | | | | |
| | | | | | | |
Change-Id: I3951c1349842adf7dfbb7458c76c982646804ccb
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Adding acquiredBy(). This method is effectively a synonym for
channel().
Change-Id: Ifa0b89debb42a7181f1f5f188ae7175970286adb
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Id22bebb6aadeff0729f430fce3f702d974a23efc
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Change-Id: Ia599ea8d65645eb97c6944743e0a9510991c0607
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This reverts commit 15737123c4b241c331e0090d311afb9631c3cf1b.
See the conversation on the original change I45d89cf0f30b49bb77c6dcfdae1a81edea40a2d4
and Ifa0b89debb42a7181f1f5f188ae7175970286adb.
Trading this API change for one in FileLock which is more useful.
This API change was of questionable value.
Change-Id: I8cf977acceededfe3ee13bf91af3fe4f5b84cfc2
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This reverts commit 510b95208a6ec9b92cd9debe954c338a8ca8cf88.
Change-Id: Ifaabadfb43b61bf72bf436451612ebf629a70648
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
I need to change a dependency in an internal-only class, but some
genius took our building off the net at 17:30 local time. I'll
remove this and fix the internal tree tomorrow.
Change-Id: I0f9a3ae282e1d043d818f028cdcb80854f943151
|
|\ \ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Change-Id: Ie700aa16d91fba53fc5eb2555829cb74d84b12ad
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Bug: 5239391
Change-Id: I2b25228815d70d570d537db0ed9b5b759f25b5a3
|
|\ \ \ \ \ \ \ \ |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Also added Long#parsePositiveLong(String, int).
Bug: 5239391
Change-Id: Iaa0bbd3a7f8a13c3e48abb1a7e7508e48615b11c
|
|\ \ \ \ \ \ \ \ \
| |/ / / / / / / / |
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Bug: 5239391
Change-Id: Ifa6bc6b352c283e8f6913b4905a9541df7355915
|