<feed xmlns='http://www.w3.org/2005/Atom'>
<title>replicant/core/libutils/SystemClock.cpp, branch replicant-9</title>
<subtitle>Patches not merged yet, used for building and testing them
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/'/>
<entry>
<title>Don't rely on transitively included headers</title>
<updated>2017-09-06T04:04:57+00:00</updated>
<author>
<name>Jiyong Park</name>
<email>jiyong@google.com</email>
</author>
<published>2017-09-06T03:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=bab16584ce0525742b5370682c9132b2002ee110'/>
<id>bab16584ce0525742b5370682c9132b2002ee110</id>
<content type='text'>
One must explicitly include what it need.
time.h for clock_gettime

Bug: 37629934
Test: build
Change-Id: I992eac637f373b204aa161b0b26f5563e952c27e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
One must explicitly include what it need.
time.h for clock_gettime

Bug: 37629934
Test: build
Change-Id: I992eac637f373b204aa161b0b26f5563e952c27e
</pre>
</div>
</content>
</entry>
<entry>
<title>clean-up libutils includes</title>
<updated>2017-03-03T22:47:47+00:00</updated>
<author>
<name>Mathias Agopian</name>
<email>mathias@google.com</email>
</author>
<published>2017-02-28T23:06:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=22dbf3947fedf988e714a4703ddf85fc41413f90'/>
<id>22dbf3947fedf988e714a4703ddf85fc41413f90</id>
<content type='text'>
moved Foo.h as first include of Foo.cpp, and
removed redundant includes.

Made NativeHandle non virtual.


Test: run &amp; compile
Bug: n/a

Change-Id: I37fa746cd42c9ba23aba181f84cb6c619386406a</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
moved Foo.h as first include of Foo.cpp, and
removed redundant includes.

Made NativeHandle non virtual.


Test: run &amp; compile
Bug: n/a

Change-Id: I37fa746cd42c9ba23aba181f84cb6c619386406a</pre>
</div>
</content>
</entry>
<entry>
<title>SystemClock: elapsedRealtimeNano() should use clock_gettime() on Linux</title>
<updated>2016-05-02T21:00:02+00:00</updated>
<author>
<name>Greg Hackmann</name>
<email>ghackmann@google.com</email>
</author>
<published>2016-04-25T17:39:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=e94c92cd4852698c5ea2cab2e2f5686ec3708f36'/>
<id>e94c92cd4852698c5ea2cab2e2f5686ec3708f36</id>
<content type='text'>
We've removed the Android alarm driver from our supported kernels.
clock_gettime(CLOCK_BOOTTIME) has been a viable option since 2.6.39, so
there's no need for the legacy code path anymore.

We can use this on Linux hosts too, since no one should be building
Android on hosts with kernels that old.

Bug: 28357356

Change-Id: I0aa164383c95e77c53d2c85883d83f85d4abc7b1
Signed-off-by: Greg Hackmann &lt;ghackmann@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We've removed the Android alarm driver from our supported kernels.
clock_gettime(CLOCK_BOOTTIME) has been a viable option since 2.6.39, so
there's no need for the legacy code path anymore.

We can use this on Linux hosts too, since no one should be building
Android on hosts with kernels that old.

Bug: 28357356

Change-Id: I0aa164383c95e77c53d2c85883d83f85d4abc7b1
Signed-off-by: Greg Hackmann &lt;ghackmann@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove debugging code for a fixed 3.6 kernel bug.</title>
<updated>2016-04-04T23:06:53+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2016-04-04T23:06:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=ad19af71326c755dac609451a257cbad830f55fd'/>
<id>ad19af71326c755dac609451a257cbad830f55fd</id>
<content type='text'>
Change-Id: If17d41d6151cd7b81677afc5d341d7aa788170e4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: If17d41d6151cd7b81677afc5d341d7aa788170e4
</pre>
</div>
</content>
</entry>
<entry>
<title>Use __ANDROID__ instead of HAVE_ANDROID_OS.</title>
<updated>2015-07-30T16:33:43+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-07-30T15:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=9b828adfad09200f3f1bd3602187fe3dd5335774'/>
<id>9b828adfad09200f3f1bd3602187fe3dd5335774</id>
<content type='text'>
Change-Id: I9967f3fd758c2a5b40be5b60ae72be7e2fb75136
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I9967f3fd758c2a5b40be5b60ae72be7e2fb75136
</pre>
</div>
</content>
</entry>
<entry>
<title>Consistently use strerror in libutils.</title>
<updated>2015-06-30T17:41:15+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2015-06-30T15:22:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=6ed68cc412752e4c78755df9a1516e610ec66fa8'/>
<id>6ed68cc412752e4c78755df9a1516e610ec66fa8</id>
<content type='text'>
It's easier for people to debug, and side-steps the problem that errno
values differ between architectures.

Bug: http://b/17458391
Change-Id: I1db9b2cbb653839d3936b91e37e5cff02671318a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's easier for people to debug, and side-steps the problem that errno
values differ between architectures.

Bug: http://b/17458391
Change-Id: I1db9b2cbb653839d3936b91e37e5cff02671318a
</pre>
</div>
</content>
</entry>
<entry>
<title>Use __arm__ instead of ARCH_ARM.</title>
<updated>2014-12-04T22:17:26+00:00</updated>
<author>
<name>Elliott Hughes</name>
<email>enh@google.com</email>
</author>
<published>2014-12-04T22:17:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=22a40e6a7a8e313cea310503fb42c4b66f535843'/>
<id>22a40e6a7a8e313cea310503fb42c4b66f535843</id>
<content type='text'>
Change-Id: I777da5757f01d8328d5475e654d56d81dc802655
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I777da5757f01d8328d5475e654d56d81dc802655
</pre>
</div>
</content>
</entry>
<entry>
<title>libutils: turn on -Werror</title>
<updated>2014-06-02T22:57:50+00:00</updated>
<author>
<name>Mark Salyzyn</name>
<email>salyzyn@google.com</email>
</author>
<published>2014-04-30T18:10:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=5bed8036644f552210a7cfcbed2d6d20cf2981b0'/>
<id>5bed8036644f552210a7cfcbed2d6d20cf2981b0</id>
<content type='text'>
- Deal with some -Wunused issues
- Override PRI macros (windows)
- Revert use of PRI macros on off64_t (linux)
- Deal with a gnu++11 complaince issue

Change-Id: Ie66751293bd84477a5a6dfd8a57e700a16e36964
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Deal with some -Wunused issues
- Override PRI macros (windows)
- Revert use of PRI macros on off64_t (linux)
- Deal with a gnu++11 complaince issue

Change-Id: Ie66751293bd84477a5a6dfd8a57e700a16e36964
</pre>
</div>
</content>
</entry>
<entry>
<title>SystemClock: use clock_gettime() on devices without /dev/alarm</title>
<updated>2013-12-17T22:45:39+00:00</updated>
<author>
<name>Greg Hackmann</name>
<email>ghackmann@google.com</email>
</author>
<published>2013-12-17T01:04:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=64289760a2df9409d8f4fa5becb4a49f0acb20a5'/>
<id>64289760a2df9409d8f4fa5becb4a49f0acb20a5</id>
<content type='text'>
On devices with an up-to-date kernel, the back-in-time bug affecting
clock_gettime() has been fixed and it can safely be used as an
alternative to the ANDROID_ALARM_GET_TIME ioctl.  To ensure consistent
behavior on existing devices, make clock_gettime() a fallback for when
the alarm driver isn't available.

Change-Id: I384af5e7ec9e73e0bad4b6b0f987a8ea4583cba6
Signed-off-by: Greg Hackmann &lt;ghackmann@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On devices with an up-to-date kernel, the back-in-time bug affecting
clock_gettime() has been fixed and it can safely be used as an
alternative to the ANDROID_ALARM_GET_TIME ioctl.  To ensure consistent
behavior on existing devices, make clock_gettime() a fallback for when
the alarm driver isn't available.

Change-Id: I384af5e7ec9e73e0bad4b6b0f987a8ea4583cba6
Signed-off-by: Greg Hackmann &lt;ghackmann@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable timestamp logging.</title>
<updated>2013-09-24T05:39:15+00:00</updated>
<author>
<name>Ben Cheng</name>
<email>bccheng@google.com</email>
</author>
<published>2013-09-24T05:39:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/contrib/GNUtoo/replicant/core/commit/?id=5cd118178e87c4a6590dc8d8446effa5d5193a9f'/>
<id>5cd118178e87c4a6590dc8d8446effa5d5193a9f</id>
<content type='text'>
The kernel problem has been fixed long time ago and the ad-hoc logging
mechanism is not thread safe and can flood the log with spurious
messages.

BUG: 10899829
Change-Id: I63278db51295e744eed3e47dc8d4cfe621c0d8f7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The kernel problem has been fixed long time ago and the ad-hoc logging
mechanism is not thread safe and can flood the log with spurious
messages.

BUG: 10899829
Change-Id: I63278db51295e744eed3e47dc8d4cfe621c0d8f7
</pre>
</div>
</content>
</entry>
</feed>
