- 15 Jul, 2014 2 commits
- 14 Jul, 2014 2 commits
- 15 Jul, 2014 1 commit
-
-
Max Cai authored
Instead of publishing its class I chose to encapsulate the troublesome references in equals()/hashCode() in the generated code into superclass methods in ExtendableMessageNano. Changed a couple of java packages in the test suite to catch this issue easier in the future. Change-Id: I43f88411f63bb6f3ffc8d63361f2f77bebf6220a
-
- 14 Jul, 2014 1 commit
-
-
Juan Silveira authored
The current implementation of getExtension deserialises the field from bytes and returns a new object every time. This means that changes to those objects are reflected when the messages is serialised unless setExtension is called. It also means that every call to getExtension and setExtension is expensive. This change introduces a FieldData class that contains everything that's known about the field at the time. This can be all the tag/byte[] pairs associated with a given field or an Extension and a value object. This is so that two messages with a repeated extension can be compared even if the extension has been deserialised in one of them but not the other. This change also adds FieldArray class based on SparseArray from the Android compatibility library. This is used in ExtendableMessageNano to make lookup of FieldDatas by their field number faster. Implications: * calling getExtension multiple times deserialises the field only once and returns the same object. * calling setExtension doesn't cause the object to be serialised immediately, that only happens when the container message is serialised. * getExtension is no longer a read-only thread-safe operation. README.txt has been updated to relfect that. * comparison using equals and hashCode continues to work. Bug: 10863158 Change-Id: I81c7cb0c73cc0611a1f7c1eabf5eed259738e8bc
-
- 21 May, 2014 6 commits
-
-
Ying Wang authored
* commit '403cc9277c5540cf14b6e53a4fedf3ae5499f4cf': You CANNOT change the global WITH_DEXPREOPT
-
Baligh Uddin authored
* commit '39467629a7fb35da9fdfab4dd7603b9bfd7d9095':
-
Ying Wang authored
* commit '8eed37054e8f7dd18aa3ec3070d638e3a1c03eaf': You CANNOT change the global WITH_DEXPREOPT
-
Baligh Uddin authored
* commit '6c915d3a1e820702dca08d02a40fb86aa2de0bdd':
-
Ying Wang authored
Bug: 14380196 Change-Id: I2b9e6db081558687afd5c20c7084824dfe1bb26e
-
Baligh Uddin authored
-
- 13 May, 2014 1 commit
-
-
Qiwen Zhao authored
-
- 08 May, 2014 1 commit
-
-
Wink Saville authored
am 2b549b79: Merge "Revert "Merge commit \'e887563a\' into fix-merge-conclict"" into klp-modular-dev-plus-aosp * commit '2b549b793713eb10b0212f1c5d6c90d9fdeead85': Revert "Merge commit 'e887563a' into fix-merge-conclict"
-
- 07 May, 2014 26 commits
-
-
Wink Saville authored
This reverts commit f65ee55561e2a5f53be6db2ce03e518e249c9e80. Change-Id: Ia6fed4d96fb4c076b2b51e1d758f3e15d37bffc0
-
Wink Saville authored
-
Wink Saville authored
This reverts commit f65ee55561e2a5f53be6db2ce03e518e249c9e80. Change-Id: Ia6fed4d96fb4c076b2b51e1d758f3e15d37bffc0
-
Jan-Willem Maarse authored
am 399cf8d6: am 1fd235cb: am 70eec2ca: am 58eb8e98: am d20f0a42: Merge "Fix NPE when clearing an extension in nano protos" * commit '399cf8d641c0bad4cff016f3b1a02c63fb353a21':
-
Bill Yi authored
am 8b5d62a4: am f4af48ae: am 9dde6a6d: am ddeaf256: Merge commit \'ba89934bdae7f4256c94a0a24992903a114e764f\' into HEAD * commit '8b5d62a4e819cb5114b294fc6754de63d50792b1':
-
Jeff Davidson authored
* commit '7b4e8c78004c479ffc99ec7c677e206cfdf8b73c':
-
Max Cai authored
am e69eaa22: am 99c98018: am 43365182: am 829f6c01: Merge "Adds --ignore_service nano proto compiler flag" * commit 'e69eaa2230952424fd410f3378445e78fcf58242':
-
Max Cai authored
am 888cafe4: am dd38a37e: am 0391f00b: am ea68d73c: Merge "Don\'t reset cachedSize to 0 in getSerializedSize" * commit '888cafe432fd2da8ae1b36429b5e8f822db11ce0':
-
Wink Saville authored
am 13fb32b1: am 3f1679bb: am 8a9fc09c: am ce2f5991: Merge "Revert "Don\'t reset cachedSize to 0 in getSerializedSize"" * commit '13fb32b15d428e4633674b9bb8bb7d4750e7e909':
-
Wink Saville authored
* commit 'f65ee555': Change-Id: Ic1216c50b608f1609fd8a1a1a50209c4486f30a4
-
Jan-Willem Maarse authored
am 1fd235cb: am 70eec2ca: am 58eb8e98: am d20f0a42: Merge "Fix NPE when clearing an extension in nano protos" * commit '1fd235cbb5975e117909c73e5e3a579ae4c28dce':
-
Bill Yi authored
am f4af48ae: am 9dde6a6d: am ddeaf256: Merge commit \'ba89934bdae7f4256c94a0a24992903a114e764f\' into HEAD * commit 'f4af48aeb5293a6c8583749e1a6f7a20508324f3':
-
Jeff Davidson authored
* commit '8113c1862afb4ff3b7ab4ba0044c5cb191c1e454':
-
Max Cai authored
* commit '99c9801813fdc2eccd5db391c00d0250c327e344':
-
Max Cai authored
* commit 'dd38a37eae035fe0f724438624694f1cf77a0ade':
-
Wink Saville authored
am 3f1679bb: am 8a9fc09c: am ce2f5991: Merge "Revert "Don\'t reset cachedSize to 0 in getSerializedSize"" * commit '3f1679bb03e1d08f08e7b4ca2d024345201d7f01':
-
Wink Saville authored
* commit 'e887563a': Revert "am 5b931dc7: am ec0b12c3: Merge "Don\'t reset cachedSize to 0 in getSerializedSize"" Change-Id: I1222ae20e6caef67c5a00ac481e10fe7b7d2a91c
-
Wink Saville authored
am d89b3060: am f213b0c6: am 5b931dc7: am ec0b12c3: Merge "Don\'t reset cachedSize to 0 in getSerializedSize" * commit 'd89b3060b40d8485d02e48d11056750495ecb577':
-
Wink Saville authored
* commit '27243737cc739c25c8905cbe9b3040f500af127d':
-
Max Cai authored
* commit 'e8f7a71c113c692102115cf56071e7c24cf09c88':
-
Max Cai authored
* commit '286f57055b99aa2c3c107f4cd8f49eeace8db5b5':
-
Jie Dai authored
* commit 'c7a7b2acc57bea137e4f8066802d4b9264ea3275':
-
Wink Saville authored
* commit 'f213b0c6a86503ad752139f04f343578df45db07':
-
Wink Saville authored
* commit '1a4b1d52e44104f2e10d0cdc585dde88602843d2':
-
Max Cai authored
* commit '9141054bc24597968ddb94fb466c07cd2a933706':
-
Max Cai authored
* commit '5c3544dd69160dc00a7786977da220265a7c43c4':
-