<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_libnativehelper/tests/Android.bp, branch sdk-release</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/'/>
<entry>
<title>Remove ScopedBytes.h and scoped_bytes.h</title>
<updated>2020-09-23T06:33:03+00:00</updated>
<author>
<name>Orion Hodson</name>
<email>oth@google.com</email>
</author>
<published>2020-09-22T16:39:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=5160c425f1779ef62fa68a997e229951e9b236f3'/>
<id>5160c425f1779ef62fa68a997e229951e9b236f3</id>
<content type='text'>
Repeat lookup of primitive byte array by ScopedBytes shows up in
dogfood telemetry. ScopedBytes is a header-only include in
libnativehelper so cannot use the caching mechanism there. Since it
is only used in libcore, this change is part of moving it there and
fixing the repeat lookups.

Bug: 168471625
Test: m
Change-Id: I8ef1af553ecd9529ee2abf40a9ed555e1a47b709
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Repeat lookup of primitive byte array by ScopedBytes shows up in
dogfood telemetry. ScopedBytes is a header-only include in
libnativehelper so cannot use the caching mechanism there. Since it
is only used in libcore, this change is part of moving it there and
fixing the repeat lookups.

Bug: 168471625
Test: m
Change-Id: I8ef1af553ecd9529ee2abf40a9ed555e1a47b709
</pre>
</div>
</content>
</entry>
<entry>
<title>Complete rename of JniInvocation_test to libnativehelper_tests</title>
<updated>2020-04-24T14:37:16+00:00</updated>
<author>
<name>Orion Hodson</name>
<email>oth@google.com</email>
</author>
<published>2020-04-24T14:23:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=d87d3708badca0a7edc91569fcc99169e86e1836'/>
<id>d87d3708badca0a7edc91569fcc99169e86e1836</id>
<content type='text'>
Bug: 154913134
Test: atest libnativehelper_tests
Change-Id: I25be5050d5f5e37391ba0036309aba1ecf3c86f6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 154913134
Test: atest libnativehelper_tests
Change-Id: I25be5050d5f5e37391ba0036309aba1ecf3c86f6
</pre>
</div>
</content>
</entry>
<entry>
<title>Move all libnativehelper gtests to common binary</title>
<updated>2020-04-24T14:21:15+00:00</updated>
<author>
<name>Orion Hodson</name>
<email>oth@google.com</email>
</author>
<published>2020-04-23T10:25:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=099e5dcae201080acac6f4e275c85e94ed473bcb'/>
<id>099e5dcae201080acac6f4e275c85e94ed473bcb</id>
<content type='text'>
Use broader set of include flags from
JniSafeRegisterNativeMethods_test and address a few warnings.

Currently there are two duplicate test binaries: JniInvocation_test and
libnativehelper_tests. We will transition to the latter, but need to
update apct/libnativehelper/native_test.gcl after this CL lands to
avoid breaking treehugger.

Bug: 151443957
Bug: 154913134
Test: m JniInvocation_test libnativehelper_tests
Test: atest JniInvocation_test
Change-Id: Ief90eafb3e8f72c97304ccd496af9ecea85a1f1f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use broader set of include flags from
JniSafeRegisterNativeMethods_test and address a few warnings.

Currently there are two duplicate test binaries: JniInvocation_test and
libnativehelper_tests. We will transition to the latter, but need to
update apct/libnativehelper/native_test.gcl after this CL lands to
avoid breaking treehugger.

Bug: 151443957
Bug: 154913134
Test: m JniInvocation_test libnativehelper_tests
Test: atest JniInvocation_test
Change-Id: Ief90eafb3e8f72c97304ccd496af9ecea85a1f1f
</pre>
</div>
</content>
</entry>
<entry>
<title>Move JNIHelp to a C implementation</title>
<updated>2020-04-24T10:27:38+00:00</updated>
<author>
<name>Orion Hodson</name>
<email>oth@google.com</email>
</author>
<published>2020-04-19T15:39:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=7e438dbe2fee34b1b7000cd63cc35f7d9b74f47d'/>
<id>7e438dbe2fee34b1b7000cd63cc35f7d9b74f47d</id>
<content type='text'>
Completes the move to C for libnativehelper.

Reduces the size of libnativehelper_compat_c++.so as it
no longer statically links against lbc++:

  arm     125kB -&gt; 14kB
  arm8    181kB -&gt; 20kB
  x86     172kB -&gt; 16kB
  x86_64  180kB -&gt; 18kB

Marginal reduction in the size of libnativehelper.so.

Bug: 151443957
Test: m &amp;&amp; boot
Test: ExpandableString_test
Change-Id: I562897337901131d3f855b66307bb2a12c04d477
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Completes the move to C for libnativehelper.

Reduces the size of libnativehelper_compat_c++.so as it
no longer statically links against lbc++:

  arm     125kB -&gt; 14kB
  arm8    181kB -&gt; 20kB
  x86     172kB -&gt; 16kB
  x86_64  180kB -&gt; 18kB

Marginal reduction in the size of libnativehelper.so.

Bug: 151443957
Test: m &amp;&amp; boot
Test: ExpandableString_test
Change-Id: I562897337901131d3f855b66307bb2a12c04d477
</pre>
</div>
</content>
</entry>
<entry>
<title>header_only_include header updates</title>
<updated>2020-04-21T10:20:12+00:00</updated>
<author>
<name>Orion Hodson</name>
<email>oth@google.com</email>
</author>
<published>2020-04-21T10:12:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=6d7238ae7cd5c1daac2880a4dd01adb0e1267270'/>
<id>6d7238ae7cd5c1daac2880a4dd01adb0e1267270</id>
<content type='text'>
Fix issues arising from glibc build of art/benchmark:

1. Use keyword nullptr rather than NULL.
2. Add stddef.h includes in headers that require size_t.
3. #include &lt;jni.h&gt; rather than "jni.h"
4. Add no-op compilation tests for scoped_*.h..

Test: m libnativehelper_header_only_test
Change-Id: Ic3ad6877c7e86a5a73a8be41ea931b53ee288842
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix issues arising from glibc build of art/benchmark:

1. Use keyword nullptr rather than NULL.
2. Add stddef.h includes in headers that require size_t.
3. #include &lt;jni.h&gt; rather than "jni.h"
4. Add no-op compilation tests for scoped_*.h..

Test: m libnativehelper_header_only_test
Change-Id: Ic3ad6877c7e86a5a73a8be41ea931b53ee288842
</pre>
</div>
</content>
</entry>
<entry>
<title>Enforce consistent formatting of .bp files</title>
<updated>2019-07-16T19:09:01+00:00</updated>
<author>
<name>Paul Duffin</name>
<email>paulduffin@google.com</email>
</author>
<published>2019-07-16T19:03:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=e3cee240c9f859f89a16cd35e419d188959f5729'/>
<id>e3cee240c9f859f89a16cd35e419d188959f5729</id>
<content type='text'>
Test: attempt to checking in badly formatted .bp file
Change-Id: I38bdbb478cf3d2ee2e724b7d73000a000e9a6e5c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: attempt to checking in badly formatted .bp file
Change-Id: I38bdbb478cf3d2ee2e724b7d73000a000e9a6e5c
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to a better way of bypassing the stubs library.</title>
<updated>2019-02-12T15:34:05+00:00</updated>
<author>
<name>Martin Stjernholm</name>
<email>mast@google.com</email>
</author>
<published>2019-02-12T15:30:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=022ac4d3a6bd1cd5c16448b4fc53bd2e69f503df'/>
<id>022ac4d3a6bd1cd5c16448b4fc53bd2e69f503df</id>
<content type='text'>
Test: mmma libnativehelper
Test: atest -a JniInvocation_test
Change-Id: I79c9366b3b5cfc5b584c6db7b406328ed9def562
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: mmma libnativehelper
Test: atest -a JniInvocation_test
Change-Id: I79c9366b3b5cfc5b584c6db7b406328ed9def562
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert^3 "Remove stubs for libnativehelper."</title>
<updated>2019-02-07T15:23:49+00:00</updated>
<author>
<name>Martin Stjernholm</name>
<email>mast@google.com</email>
</author>
<published>2019-02-05T15:06:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=8f6839c1ab8f5cd4588d49a0044b6963b20e308c'/>
<id>8f6839c1ab8f5cd4588d49a0044b6963b20e308c</id>
<content type='text'>
This reverts commit 2ff21fd097060b5207e07bf46d7988e8e68fb642.

Reason for revert: Another try with http://r.android.com/892234 in place.

Test: Flash and boot
Test: mmma libnativehelper
Test: atest -a libnativehelper/tests
Test: atest CtsJdwpTestCases
Bug: 113373927
Change-Id: I406c7c1f3981a2b9c9e751e8eb6ecb979d195a5d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 2ff21fd097060b5207e07bf46d7988e8e68fb642.

Reason for revert: Another try with http://r.android.com/892234 in place.

Test: Flash and boot
Test: mmma libnativehelper
Test: atest -a libnativehelper/tests
Test: atest CtsJdwpTestCases
Bug: 113373927
Change-Id: I406c7c1f3981a2b9c9e751e8eb6ecb979d195a5d
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Revert "Remove stubs for libnativehelper.""</title>
<updated>2019-02-01T13:13:50+00:00</updated>
<author>
<name>Martin Stjernholm</name>
<email>mast@google.com</email>
</author>
<published>2019-01-31T20:50:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=2ff21fd097060b5207e07bf46d7988e8e68fb642'/>
<id>2ff21fd097060b5207e07bf46d7988e8e68fb642</id>
<content type='text'>
This reverts commit 69221bd9400089ccdcd0fab32605a2ec24f38521.

Reason for revert: Breaks cf_x86_phone-userdebug: https://android-build.googleplex.com/builds/build-details/5273735/targets/cf_x86_phone-userdebug

Bug: 123700170
Change-Id: I5d944d74d79be4274d2ab5081d5e691fb42e7003
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 69221bd9400089ccdcd0fab32605a2ec24f38521.

Reason for revert: Breaks cf_x86_phone-userdebug: https://android-build.googleplex.com/builds/build-details/5273735/targets/cf_x86_phone-userdebug

Bug: 123700170
Change-Id: I5d944d74d79be4274d2ab5081d5e691fb42e7003
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "Remove stubs for libnativehelper."</title>
<updated>2019-01-29T22:07:59+00:00</updated>
<author>
<name>Martin Stjernholm</name>
<email>mast@google.com</email>
</author>
<published>2019-01-22T01:00:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=69221bd9400089ccdcd0fab32605a2ec24f38521'/>
<id>69221bd9400089ccdcd0fab32605a2ec24f38521</id>
<content type='text'>
This reverts commit 5e36eaa15564895d43845cdbfcad13fd08300266.

Test: Flash and boot
Test: mmma libnativehelper
Test: atest -a libnativehelper/tests
Test: atest CtsJdwpTestCases
Bug: 113373927
Change-Id: I40589e7115784f049945b5b73650457694e452f0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 5e36eaa15564895d43845cdbfcad13fd08300266.

Test: Flash and boot
Test: mmma libnativehelper
Test: atest -a libnativehelper/tests
Test: atest CtsJdwpTestCases
Bug: 113373927
Change-Id: I40589e7115784f049945b5b73650457694e452f0
</pre>
</div>
</content>
</entry>
</feed>
