<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_libnativehelper/JNIHelp.cpp, branch android10-gsi</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>Add java.nio.Buffer helper methods.</title>
<updated>2019-04-11T15:53:46+00:00</updated>
<author>
<name>Orion Hodson</name>
<email>oth@google.com</email>
</author>
<published>2019-02-22T16:41:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=bcc2b6fda49e42add4715882231215b2b3ada9d0'/>
<id>bcc2b6fda49e42add4715882231215b2b3ada9d0</id>
<content type='text'>
Bug: 124338141
Test: Boot and observe no core platform api warnings from opengl

(cherry picked from commit f5480bdcdd27e492a9858599664c74e16a46a961)

Change-Id: I4680418398f0708c26c0124b418a2ccb1094a038
Merged-In: I6db85f6084dd620e08568dbdeea0d10efb20a84f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: 124338141
Test: Boot and observe no core platform api warnings from opengl

(cherry picked from commit f5480bdcdd27e492a9858599664c74e16a46a961)

Change-Id: I4680418398f0708c26c0124b418a2ccb1094a038
Merged-In: I6db85f6084dd620e08568dbdeea0d10efb20a84f
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Enable libnativehelper for Windows"</title>
<updated>2019-03-20T13:37:59+00:00</updated>
<author>
<name>Jerome Gaillard</name>
<email>jgaillard@google.com</email>
</author>
<published>2019-03-20T13:37:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=95568a01bfb09e75501a3b9bf71a8cdd6e030d86'/>
<id>95568a01bfb09e75501a3b9bf71a8cdd6e030d86</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable libnativehelper for Windows</title>
<updated>2019-03-19T18:31:49+00:00</updated>
<author>
<name>Jerome Gaillard</name>
<email>jgaillard@google.com</email>
</author>
<published>2019-03-12T15:17:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=f0d4205bdd932a8bbbe5200284bba133fa75969a'/>
<id>f0d4205bdd932a8bbbe5200284bba133fa75969a</id>
<content type='text'>
This requires using the Windows specific API for loading/manipulating
native libraries, and string printing.
libnativehelper is a dependency of layoutlib native (used for desktop
rendering of Android resources), which is why it needs a Windows verion.

Bug: 117921091
Test: lunch sdk &amp;&amp; make libnativehelper
Change-Id: I20fa392ac7e3c031ce076435bf4380205992608b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This requires using the Windows specific API for loading/manipulating
native libraries, and string printing.
libnativehelper is a dependency of layoutlib native (used for desktop
rendering of Android resources), which is why it needs a Windows verion.

Bug: 117921091
Test: lunch sdk &amp;&amp; make libnativehelper
Change-Id: I20fa392ac7e3c031ce076435bf4380205992608b
</pre>
</div>
</content>
</entry>
<entry>
<title>Expose JniConstants::Uninitialize for libcore use.</title>
<updated>2019-03-12T17:18:25+00:00</updated>
<author>
<name>Nicolas Geoffray</name>
<email>ngeoffray@google.com</email>
</author>
<published>2019-03-12T00:59:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=44e418ee908682e4cc9d0179dec663c0bf814ba5'/>
<id>44e418ee908682e4cc9d0179dec663c0bf814ba5</id>
<content type='text'>
Test: in ART, two_runtimes_test.cc
Bug: 31550016
Change-Id: I33906c8d3911b696f311d8d2a58b9dab4f6ab5a1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: in ART, two_runtimes_test.cc
Bug: 31550016
Change-Id: I33906c8d3911b696f311d8d2a58b9dab4f6ab5a1
</pre>
</div>
</content>
</entry>
<entry>
<title>libnativehelper: refactoring for Runtime Module</title>
<updated>2019-01-17T09:32:21+00:00</updated>
<author>
<name>Orion Hodson</name>
<email>oth@google.com</email>
</author>
<published>2018-11-07T06:07:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=b01e7fed2457341cc92083b36442e0b2bac4659a'/>
<id>b01e7fed2457341cc92083b36442e0b2bac4659a</id>
<content type='text'>
This change puts a C ABI between the caller and libnativehelper which
means each could link separate libc++ library instances using
namespaces.

Bug: b/119840313
Test: Builds &amp; boots
Test: atest JniInvocation_test
Test: atest libnativehelper_api_test

Change-Id: Idaa4ddd3118cbb4f3997abdcf355220ef80eb775
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change puts a C ABI between the caller and libnativehelper which
means each could link separate libc++ library instances using
namespaces.

Bug: b/119840313
Test: Builds &amp; boots
Test: atest JniInvocation_test
Test: atest libnativehelper_api_test

Change-Id: Idaa4ddd3118cbb4f3997abdcf355220ef80eb775
</pre>
</div>
</content>
</entry>
<entry>
<title>Move JniConstants to points of use</title>
<updated>2019-01-09T10:11:07+00:00</updated>
<author>
<name>Orion Hodson</name>
<email>oth@google.com</email>
</author>
<published>2018-11-21T12:58:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=aadb37310c630337e5954cd2d338ec9ecfb9e4f9'/>
<id>aadb37310c630337e5954cd2d338ec9ecfb9e4f9</id>
<content type='text'>
Removes the JniConstants from the libnativehelper API.

Most of the constants are moved into libcore.

Light tidying up in touched files.

Bug: 119840313
Test: atest libnativehelper/test
Test: atest CtsLibcoreTestCases
Test: art/test.py --host -g -j16
Test: device boots

Change-Id: I4c0daab450d2efd7e6bd7705e27dbb6309fcb92d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes the JniConstants from the libnativehelper API.

Most of the constants are moved into libcore.

Light tidying up in touched files.

Bug: 119840313
Test: atest libnativehelper/test
Test: atest CtsLibcoreTestCases
Test: art/test.py --host -g -j16
Test: device boots

Change-Id: I4c0daab450d2efd7e6bd7705e27dbb6309fcb92d
</pre>
</div>
</content>
</entry>
<entry>
<title>C++17 compatibility.</title>
<updated>2018-11-09T19:10:40+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2018-11-09T19:10:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=71cb8419e98c3ed5b52bf74da0f6e52b35df97f1'/>
<id>71cb8419e98c3ed5b52bf74da0f6e52b35df97f1</id>
<content type='text'>
  libnativehelper/JNIHelp.cpp:365:27: error: function
  'impl::realJniStrError&lt;char *(*)(int, char *, unsigned long) noexcept&gt;'
  has internal linkage but is not defined [-Werror,-Wundefined-internal]

Bug: http://b/111067277
Test: builds

Change-Id: I66d40e96899d830501885a49c17a5426bac174f6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  libnativehelper/JNIHelp.cpp:365:27: error: function
  'impl::realJniStrError&lt;char *(*)(int, char *, unsigned long) noexcept&gt;'
  has internal linkage but is not defined [-Werror,-Wundefined-internal]

Bug: http://b/111067277
Test: builds

Change-Id: I66d40e96899d830501885a49c17a5426bac174f6
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable libnativehelper with linux_bionic</title>
<updated>2018-11-06T01:45:50+00:00</updated>
<author>
<name>Alex Light</name>
<email>allight@google.com</email>
</author>
<published>2018-10-31T21:50:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=48694f706da70ba3d27b90ca303fc711505bbe98'/>
<id>48694f706da70ba3d27b90ca303fc711505bbe98</id>
<content type='text'>
Making libnativehelper work with linux_bionic required giving
JNIHelp.cpp a more robust way of dealing with the differences between
glibc strerror_r and bionic/posix strerror_r.

Test: build
Test: run linux_bionic gtests
Bug: 31559095
Change-Id: I840f8c912f8a70c2afdaf7a1f2083e7b1f33c546
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Making libnativehelper work with linux_bionic required giving
JNIHelp.cpp a more robust way of dealing with the differences between
glibc strerror_r and bionic/posix strerror_r.

Test: build
Test: run linux_bionic gtests
Bug: 31559095
Change-Id: I840f8c912f8a70c2afdaf7a1f2083e7b1f33c546
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle null FileDescriptors passed to native methods.</title>
<updated>2018-07-24T15:41:30+00:00</updated>
<author>
<name>Pete Bentley</name>
<email>prb@google.com</email>
</author>
<published>2018-07-20T17:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=0505b227028992f6f3fa77aa671d595c6fa13d6f'/>
<id>0505b227028992f6f3fa77aa671d595c6fa13d6f</id>
<content type='text'>
Add null checks to jniSetFileDescriptorOfFD and to its callers where
appropriate.

Bug: 111523523
Test: cts-tradefed run cts -m  CtsLibcoreTestCases
Change-Id: Ic8a236b854d455cd51f379a80e15ee2080b6a400
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add null checks to jniSetFileDescriptorOfFD and to its callers where
appropriate.

Bug: 111523523
Test: cts-tradefed run cts -m  CtsLibcoreTestCases
Change-Id: Ic8a236b854d455cd51f379a80e15ee2080b6a400
</pre>
</div>
</content>
</entry>
<entry>
<title>Add getter for java.io.FileDescriptor.owner.</title>
<updated>2018-07-16T21:14:01+00:00</updated>
<author>
<name>Josh Gao</name>
<email>jmgao@google.com</email>
</author>
<published>2018-06-25T23:22:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_libnativehelper/commit/?id=669bc9e27e87ee88a26f25e47da934fbdda9c58c'/>
<id>669bc9e27e87ee88a26f25e47da934fbdda9c58c</id>
<content type='text'>
Bug: http://b/110100358
Test: treehugger
Change-Id: Ic87c373eb099aa3d06c4e33e28d441fd66604966
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug: http://b/110100358
Test: treehugger
Change-Id: Ic87c373eb099aa3d06c4e33e28d441fd66604966
</pre>
</div>
</content>
</entry>
</feed>
