summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-10Add default code reviewers into OWNERS am: b80dbf3b74Chih-Hung Hsieh
am: 8079f08863 Change-Id: I56cbb4762b1aa2df0d4a536ea442cc8cc99bb8dc
2019-01-10Add default code reviewers into OWNERSChih-Hung Hsieh
am: b80dbf3b74 Change-Id: Iaff517d873f5e946f367a2ba4edd823609007ef6
2019-01-10Add default code reviewers into OWNERSChih-Hung Hsieh
Bug: 33166666 Test: gerrit uploader Change-Id: I944df6d9b26af998ad2dc688586868966f732f88
2018-12-10[automerger skipped] DO NOT MERGE am: 9e6e7043bf -s ours am: 723478fca1 -s ↵Xin Li
ours am: f38945fef1 -s ours Change-Id: I4def28d0b17583d36ebdae00e43bd6a166e0e1e0
2018-12-10[automerger skipped] DO NOT MERGE am: 9e6e7043bf -s oursXin Li
am: 723478fca1 -s ours Change-Id: Id06a04c25fbf31933d75c2d2f3761f54be0fe82e
2018-12-10[automerger skipped] DO NOT MERGEXin Li
am: 9e6e7043bf -s ours Change-Id: Iacbb8549996d3135feffcd845d5c81bdaa435641
2018-12-07DO NOT MERGEandroid-o-mr1-iot-release-1.0.8android-o-mr1-iot-release-1.0.7Xin Li
Merge pie-platform-release (PPRL.181205.001, history only) into master Bug: 120502534 Change-Id: Ide8e527af362dda9cde7f0c24753f912c4b1050f
2018-11-27Fix long-standing integer overflow in compareTo am: 6bf2e1b8f2 am: 2e0a80b8e8Hans Boehm
am: a68492948b Change-Id: I60b69b89ed9d59016ecef00a0e702577b711cf7c
2018-11-27Fix long-standing integer overflow in compareTo am: 6bf2e1b8f2Hans Boehm
am: 2e0a80b8e8 Change-Id: I004e9d972d2a6048130f59ce62470c69c94e219f
2018-11-27Fix long-standing integer overflow in compareToHans Boehm
am: 6bf2e1b8f2 Change-Id: I3a805067939fb91476c58541b7465e35705a9906
2018-11-20Fix long-standing integer overflow in compareToandroid-wear-8.0.0_r2android-n-iot-release-ihome-igv1nougat-iot-releaseHans Boehm
max_msd + r could overflow. Don't believe the original comment. Also fixed a couple of unused variable warnings discovered in the process. Test: Ran provided tests on Android device, and ran various calculator-related tests. Change-Id: I7de61a894267a80cbf3b561616fd8504afc247df
2018-01-14Snap for 4545621 from c42b173b60027d1517cec618f3776fb55e941dd1 to pi-releaseandroid-wear-9.0.0_r9android-wear-9.0.0_r8android-wear-9.0.0_r7android-wear-9.0.0_r6android-wear-9.0.0_r5android-wear-9.0.0_r4android-wear-9.0.0_r34android-wear-9.0.0_r33android-wear-9.0.0_r32android-wear-9.0.0_r31android-wear-9.0.0_r30android-wear-9.0.0_r3android-wear-9.0.0_r29android-wear-9.0.0_r28android-wear-9.0.0_r27android-wear-9.0.0_r26android-wear-9.0.0_r25android-wear-9.0.0_r24android-wear-9.0.0_r23android-wear-9.0.0_r22android-wear-9.0.0_r21android-wear-9.0.0_r20android-wear-9.0.0_r2android-wear-9.0.0_r19android-wear-9.0.0_r18android-wear-9.0.0_r17android-wear-9.0.0_r16android-wear-9.0.0_r15android-wear-9.0.0_r14android-wear-9.0.0_r13android-wear-9.0.0_r12android-wear-9.0.0_r11android-wear-9.0.0_r10android-wear-9.0.0_r1android-vts-9.0_r9android-vts-9.0_r8android-vts-9.0_r7android-vts-9.0_r6android-vts-9.0_r5android-vts-9.0_r4android-vts-9.0_r19android-vts-9.0_r18android-vts-9.0_r17android-vts-9.0_r16android-vts-9.0_r15android-vts-9.0_r14android-vts-9.0_r13android-vts-9.0_r12android-vts-9.0_r11android-vts-9.0_r10android-security-9.0.0_r76android-security-9.0.0_r75android-security-9.0.0_r74android-security-9.0.0_r73android-security-9.0.0_r72android-security-9.0.0_r71android-security-9.0.0_r70android-security-9.0.0_r69android-security-9.0.0_r68android-security-9.0.0_r67android-security-9.0.0_r66android-security-9.0.0_r65android-security-9.0.0_r64android-security-9.0.0_r63android-security-9.0.0_r62android-cts-9.0_r9android-cts-9.0_r8android-cts-9.0_r7android-cts-9.0_r6android-cts-9.0_r5android-cts-9.0_r4android-cts-9.0_r3android-cts-9.0_r20android-cts-9.0_r2android-cts-9.0_r19android-cts-9.0_r18android-cts-9.0_r17android-cts-9.0_r16android-cts-9.0_r15android-cts-9.0_r14android-cts-9.0_r13android-cts-9.0_r12android-cts-9.0_r11android-cts-9.0_r10android-cts-9.0_r1android-9.0.0_r9android-9.0.0_r8android-9.0.0_r7android-9.0.0_r61android-9.0.0_r60android-9.0.0_r6android-9.0.0_r59android-9.0.0_r58android-9.0.0_r57android-9.0.0_r56android-9.0.0_r55android-9.0.0_r54android-9.0.0_r53android-9.0.0_r52android-9.0.0_r51android-9.0.0_r50android-9.0.0_r5android-9.0.0_r49android-9.0.0_r48android-9.0.0_r3android-9.0.0_r2android-9.0.0_r18android-9.0.0_r17android-9.0.0_r10android-9.0.0_r1security-pi-releasepie-vts-releasepie-security-releasepie-s2-releasepie-release-2pie-releasepie-r2-s2-releasepie-r2-s1-releasepie-r2-releasepie-platform-releasepie-gsipie-cuttlefish-testingpie-cts-releaseandroid-build-team Robot
Change-Id: Ifbe967b66de58bc4099139d65548e5af6d29e651
2018-01-12Fix another square root performance bug am: 5ee5a59192 am: 41a06cabfcandroid-o-mr1-iot-release-smart-display-r9android-o-mr1-iot-release-smart-display-r8android-o-mr1-iot-release-smart-display-r5android-o-mr1-iot-release-smart-display-r40.1Jandroid-o-mr1-iot-release-smart-display-r4android-o-mr1-iot-release-smart-display-r39android-o-mr1-iot-release-smart-display-r30android-o-mr1-iot-release-smart-display-r3android-o-mr1-iot-release-smart-display-r22android-o-mr1-iot-release-smart-display-r14android-o-mr1-iot-release-smart-clock-r6android-o-mr1-iot-release-smart-clock-r2android-o-mr1-iot-release-smart-clock-fsiandroid-o-mr1-iot-release-smart-clock-fcsandroid-o-mr1-iot-release-cube_r2android-o-mr1-iot-release-cube-fsiandroid-o-mr1-iot-release-cube-fcsandroid-o-mr1-iot-release-1.0.5android-o-mr1-iot-release-1.0.4android-o-mr1-iot-release-1.0.3android-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devoreo-mr1-1.2-iot-releasemaster-cuttlefish-testing-releaseHans Boehm
am: 4383b03a02 Change-Id: Id3ef8a677400eb05580cca238ea6eb1da10d78b5
2018-01-12Fix another square root performance bug am: 5ee5a59192Hans Boehm
am: 41a06cabfc Change-Id: I365ff8da49e5543bc8f1f99b556d0e57217d3aa6
2018-01-12Fix another square root performance bugHans Boehm
am: 5ee5a59192 Change-Id: I46a83d0fb874a51d29a123b82350b9de2e955406
2018-01-11Fix another square root performance bugandroid-wear-p-preview-2android-wear-8.0.0_r1android-p-preview-5android-p-preview-4android-p-preview-3android-p-preview-2android-p-preview-1android-o-mr1-iot-release-1.0.2android-o-mr1-iot-release-1.0.1android-o-mr1-iot-release-1.0.0android-o-mr1-iot-preview-8android-o-mr1-iot-preview-7android-n-iot-release-smart-display-r2android-n-iot-release-smart-displayandroid-n-iot-release-polk-at1android-n-iot-release-lg-thinq-wk7o-mr1-iot-preview-8o-mr1-iot-preview-7Hans Boehm
Bug: 71686706 This one actually fixes the above issue in AOSP. Without this, sqrt() tended to force evaluation of the argument to twice the the requested precision, which clearly didn't scale. For some reason, that didn't seem to be reproducible for all calculator versions. Test: Calculator tests + CR tests Change-Id: I2cc0053f5e27d5d0364c707fe580aa246bbf99d0
2018-01-11Snap for 4539010 from 773a95a42323114e0363a7653cc3d37b5b9d0fef to pi-releaseandroid-build-team Robot
Change-Id: Ieb4932390bd149aeb074063509768d942bdd1f4c
2018-01-10Fix a couple of square root related performance problems am: 568c8e610b am: ↵Hans Boehm
8d8c9f82a4 am: dd41fd08d7 Change-Id: Ie5fade5ea1555362d2db51eb281a89fdccd911af
2018-01-10Fix a couple of square root related performance problems am: 568c8e610bHans Boehm
am: 8d8c9f82a4 Change-Id: I8588cbb390482bbcd7065003ce54b7f41e28469c
2018-01-10Fix a couple of square root related performance problemsHans Boehm
am: 568c8e610b Change-Id: I10293a6dd97fa86e7a7a7cabe3c763e821448eb3
2018-01-10Fix a couple of square root related performance problemsHans Boehm
Bug: 71686706 Always set appr_valid when we set the approximation. The sqrt_CR constructor used by the pi computation failed to do that. Have square root evaluate the argument to full precision before the recursion. That way we evaluate the argument only once and compute the lesser approximations via simple shifts. Fix the comment summarizing the Newton iteration computation. Rename max_prec_needed, since the name confused me while trying to understand this code again. Test: Calculator tests + CR tests Change-Id: I6d704f24579bae5a5edb4c42487acf1be8fdcee6
2017-12-07Snap for 4489599 from a8af147c43a3c4454ff83583f5bfdcf7b5a84323 to pi-releaseandroid-build-team Robot
Change-Id: I2e769546c2a2c0fc2d3b1bc5d97640e09ca3b079
2017-12-06Merge "Explicitly include Apache license in LICENSE, etc." am: 56d4e91360 ↵Hans Boehm
am: 0c9acfc0d1 am: c0ef89f21b Change-Id: I6943aaed41937d6226347d40e3379da1f1cc0125
2017-12-06Merge "Explicitly include Apache license in LICENSE, etc." am: 56d4e91360Hans Boehm
am: 0c9acfc0d1 Change-Id: I0f2d9fe2bd643603704084a40b108b6764a84e3a
2017-12-06Merge "Explicitly include Apache license in LICENSE, etc."Hans Boehm
am: 56d4e91360 Change-Id: I6215c90f65b1fb8d21161c5be340b83013d90046
2017-12-06Merge "Explicitly include Apache license in LICENSE, etc."Hans Boehm
2017-12-05Explicitly include Apache license in LICENSE, etc.Hans Boehm
Bug: 69318061 Test: Treehugger only. Change-Id: I298adaa6104cd0255892b14ba10cfccbf6e2bef1
2017-12-05Snap for 4484469 from b4321e218d84a93a5ed9c1d8dcd8d326605026dd to pi-releaseandroid-build-team Robot
Change-Id: Ifbe05756db91c390921721f1fc780c1572278ffe
2017-12-04Update COPYRIGHT.txt; add LICENSE, NOTICE, license tag files am: a6692c0600 ↵Hans Boehm
am: 8679561520 am: 6bb26c5c61 Change-Id: I73a674001589c8dc539c89e6e55d1e7f947669e4
2017-12-04Update COPYRIGHT.txt; add LICENSE, NOTICE, license tag files am: a6692c0600Hans Boehm
am: 8679561520 Change-Id: I98c998c14e4d85208bef56b9da84b65777445519
2017-12-04Update COPYRIGHT.txt; add LICENSE, NOTICE, license tag filesHans Boehm
am: a6692c0600 Change-Id: I4d75c1c2578450445c18080536fc708be9ed326b
2017-12-04Update COPYRIGHT.txt; add LICENSE, NOTICE, license tag filesHans Boehm
Bug: 69318061 The former had bit-rotted a little, and was slightly inconsistent with the information in the source files themselves. The latter two are just copies of the former. MODULE_LICENSE_APACHE2 is a slight oversimplification. Test: Treehugger only. Change-Id: I05237f34c41388f42606c87f280c554db5b34c12
2017-11-15Snap for 4453288 from 80d1367ef2434aad4fb8a86827e8c274ef5724c7 to pi-releaseandroid-build-team Robot
Change-Id: Id1fd6878f86c8f2ddbdd72414d7cd8ee85e92c02
2017-11-15Merge remote-tracking branch 'goog/stage-aosp-master' into HEADXin Li
am: a26e89fbfa Change-Id: I0343b546ded77fee85b15b0fa0992b7c367cb157
2017-11-14Merge remote-tracking branch 'goog/stage-aosp-master' into HEADXin Li
Change-Id: Ice53c32c4897dd033f286c26faf49aaa263bbd32
2017-11-13Merge commit '181d62aea745f879053166502bec005be62ce8ae' into HEADXin Li
Change-Id: Id969e9b5d7bcf28a0346e95deae2ef9ec41b3477
2017-11-02Snap for 4429796 from 53b019f9798fc8f98c32de8cf89cc1408cfb7508 to pi-releaseandroid-build-team Robot
Change-Id: I7d92c778617540fada101b6e852a6c432e97d559
2017-11-01Make signum and compareTo check for interrupts am: 276a33a1b5 am: 1cb39079c2Hans Boehm
am: 77576e6b59 Change-Id: Id56a3ef165ee7b365c6988f596b4e87c47e93442
2017-11-01Make signum and compareTo check for interrupts am: 276a33a1b5Hans Boehm
am: 1cb39079c2 Change-Id: I63ede678c90485dab028681fca991817582f021b
2017-11-01Make signum and compareTo check for interruptsHans Boehm
am: 276a33a1b5 Change-Id: I9d4b9f92e680003f8f6938496e42a41066909295
2017-10-31Make signum and compareTo check for interruptsandroid-o-mr1-iot-preview-6o-mr1-iot-preview-6Hans Boehm
Bug: 68670525 Unless we check for interrupts some comparisons will run forever uninterruptibly. If the client, for example, compares sqrt(11) - sqrt(11) to zero, and then interrupts, it may still take quite a while for the interrupt to be recognized, since each iteration of the compare loop can take seconds. For the Android Calculator, this is usually not directly visible, except that the compute thread will continue to use cpu for several seconds. Test: Ran Android calculator tests, manually exercised this case. Change-Id: I0fe0922a8ee68bf0e08ce59c0d8c372ad10ef419
2017-09-06release-request-f7e8a600-b041-4cd7-94a0-d043d188195c-for-git_pi-release-4318 ↵android-build-team Robot
525 snap-temp-L60300000099762192 Change-Id: I1c26db5e7f1634de818fba3d7f02d2d470507de7
2017-09-05Fix exp() on large negative arguments am: 533bb2355d am: dfed3c6d37 am: ↵Hans Boehm
b1b34d2c8a am: 181d62aea7 Change-Id: Id1d277a340a1049c805c1f0e74eeaafaeae52989
2017-09-05Fix exp() on large negative arguments am: 533bb2355d am: dfed3c6d37Hans Boehm
am: b1b34d2c8a Change-Id: I0e00e8e29bd80ace7d459afa208ce56236c21296
2017-09-05Fix exp() on large negative arguments am: 533bb2355dHans Boehm
am: dfed3c6d37 Change-Id: Ibb0cc667376d8b1971fc7247c15e1aa9905f1764
2017-09-05Fix exp() on large negative argumentsHans Boehm
am: 533bb2355d Change-Id: Ie98251343f7c7d9b00745371d5234b568c20a579
2017-09-03release-request-b4448e78-a682-4bc1-b691-b70e74fef19f-for-git_pi-release-4314 ↵android-build-team Robot
474 snap-temp-L95500000099150132 Change-Id: Ia5054f4fad0f712e936943b1ea324db9a37d3710
2017-09-01Fix exp() on large negative argumentsandroid-o-mr1-preview-2android-o-mr1-preview-1Hans Boehm
Bug: 64852569 Exp() on large negative arguments could be slow enough to make it completely useless, as exposed by a new test. Test: Ran external/crcalc tests. Change-Id: Ibdbc0aff4c9854940b816751c052e469dd50d111
2017-09-01Add Gradle build support am: 2a953d172d am: 85fb0f28c4 am: 75754a63dcJustin Klaassen
am: e35748b3c2 Change-Id: I8f7eb79825d3c68c22f84d3c8a1f6fe2e7c7f0ee
2017-09-01Added test for floating point conversions am: 170e00af50 am: 3588b0e5cb am: ↵Hans Boehm
f37a3039bf am: 5e665f4267 Change-Id: Id55a0fac5bf136de887d92b4ec879f39e0ff70c4