| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
DecimalFormat.getGroupingSize."
* commit '6cb4582b0466e0fc1deff08c3d3a43b59b600703':
Work around an icu4c 53 bug in DecimalFormat.getGroupingSize.
|
| |\ \ \
| | |_|/
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Found by org.apache.harmony.tests.java.text.DecimalFormatTest#test_getGroupingSize.
Bug: http://bugs.icu-project.org/trac/ticket/10864
Change-Id: I7c9ad0dd468a2d1f7bdc3252c3de696786059a2b
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | |
| | | | |
* commit 'a238515382b28f73f82d2df362dee1d011689fd3':
DirectByteBuffer: add setAccessible()
Better protection against accessing freed DirectByteBuffers
|
| | | |
| | | |
| | | |
| | | | |
Bug: 14297827
Change-Id: I726f16f9a15f894b99a93c84aca820f5c1b994e5
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Expand preventing access of freed buffers, so duplicated ByteBuffers
also become inaccessible when the original buffer is freed.
Throw IllegalStateException in ByteBuffer.put(ByteBuffer) when either
source or destination buffer is inaccessible.
Bug: 11512044
Change-Id: Idd2f4ef1f3d66b4209441bf4014ccd4aad9d850b
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
functionality."
* commit '0a2ddb63dcf5fa82131bc026f12c731ad85b2053':
Remove test for unsupported GregorianCalendar functionality.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also adds an explanatory comment and makes the
intent of the implementation clearer without changing
any of the functionality.
TL;DR - there doesn't appear to be any sensible way
to provide any sort of consisent semantics if we plan
on supporting these fields.
bug: 12778197
Change-Id: Iadaaaa5d4bdddec4aceca498ffc870edf2cbefed
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '5c1acb43c314a7048341f1ab36799fb6675505f4':
Add android.system.Os.link for link(2).
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | | |
Bug: 14683762
Change-Id: Ieeba1d2d0c5e9c05e85c6ffbaeb5a7febc69238c
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '567dcb29cba8be9abf154f21e9c1ff47a81ad9cc':
Fix various errors in FileURLConnectionTest.
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- First, the test was broken pretty badly. It would pass a
Jar style URL to a FileURLConnection and expect it to
work, this is out of spec and seems wrong in general
(file:///foo.apk!resources/foo.txt).
- The RI supports various "headers" on file URL connections
(sigh). As if the getHeaderField(int) and getHeaderFieldKey(int)
APIs weren't bad enough. This has now been implemented with
a naive implementation.
- Fixes FileURLConnection to populate a header map for
information it provides (content length, content type
etc.)
bug: 11664881
Change-Id: I7a3e9aaa79bf125abbcfe8367574115ce54718e3
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '4f1bfee1a72d7842aa5ce565463ab20466368213':
Add missing 'const'.
|
| |\ \ \ |
|
| | | |/
| | |/|
| | | |
| | | | |
Change-Id: I20311836b80bc655a5ae389ef2f49b2a09f79744
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* commit '80e731591eda358739d43ffaa2d22635e1ab9fdb':
SSLSocketTest: fix some flaky tests
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Closing the server socket before SSL_do_handshake completed would
sometimes make SSL_do_handshake exit before it read the client's SSL
alert message.
Change-Id: I68bfb3d1908b055722678b7280ec4afe37a03ec8
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '13bb5c1b5d3ccd844f330734f46d1f7dd27f9094':
Add CRLReason and friends
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
New API for getting the revocation reason. Add tests and exceptions
associated with it.
Change-Id: Ifd6444ab966c984312f069a6ee330d255110ea85
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
* commit 'ce2bc2c4f5282f977b444886ba910e5b1928ef72':
Handle Reference.get in native code.
|
| |\ \ \ \ \
| | |_|/ / /
| |/| | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This enables us to have mostly concurrent reference processing in the
GC. Reference.get() may block if references are being processed.
Bug: 14381653
Change-Id: I7cf6ef34b08f804897c8e6d5e9e6ae94420dc489
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
* commit '73f428dc37be1294887f4a74b46106972b6de5f0':
Use the right class loader in ProxyTest.
|
| |\ \ \ \ \ |
|
| | | |_|_|/
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use the test classloader, and not the system classloader.
bug: 12490858
Change-Id: I108ce6e810e861f2297fa5be5d16578cc8083e81
|
|\ \ \ \ \ \
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* commit '4abcf7ad18a9b96999f5df60b572d355dfdcefe5':
KeyStoreTest: add more key types
KeyManagerFactoryTest: add all the possible key types
|
| |\ \ \ \ \
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
KeyStoreTest: add more key types
KeyManagerFactoryTest: add all the possible key types
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Test all the possible key types in the KeyStoreTest.
Change-Id: Iaaafcbededfb8960dcfdeaea20b8b631a4a36bf8
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This adds all the possible key types from the Standard Names document to
the tests.
Change-Id: Ifbca56371261c040c3cb9e0d80447e9cb73cad0f
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
for yesterday/today/tomorrow."
* commit '5b8b1ea0a23702a376c996bac57cddaaf1d9b39b':
Ensure consistent (backwards-compatible) capitalization for yesterday/today/tomorrow.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
yesterday/today/tomorrow.
Bug: 14493853
Change-Id: I971ffc2d47534aef67df951725fcd16802ea6d54
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* commit '5a9c2b9e273e976c8a8e81357fe290077b766fec':
Basic documentation for android.system.
|
| |\ \ \ \ |
|
| | | |/ /
| | |/| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Also individually @hide the methods we might not want to expose straight
away. These are basically the ones where the mapping to Java types isn't
completely straightforward, usually resulting in a family of similar methods.
Change-Id: I7b3d555c4599dc8c64e23f5c494a358ef68c6777
|
|\ \ \ \ \
| |/ / / /
| | | | |
| | | | |
| | | | | |
* 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
|