OSDN Git Service
John Reck [Fri, 27 Mar 2015 00:28:25 +0000 (00:28 +0000)]
am
88c52865: am
0faebfb2: Merge "Add trace_event_clock_sync to atrace"
* commit '
88c52865f37d9b45c2610b4078bc73f392864572':
Add trace_event_clock_sync to atrace
John Reck [Fri, 27 Mar 2015 00:21:41 +0000 (00:21 +0000)]
am
0faebfb2: Merge "Add trace_event_clock_sync to atrace"
* commit '
0faebfb2f5a07939e7264a94fdcebecc4df39873':
Add trace_event_clock_sync to atrace
John Reck [Fri, 27 Mar 2015 00:13:32 +0000 (00:13 +0000)]
Merge "Add trace_event_clock_sync to atrace"
John Reck [Thu, 26 Mar 2015 22:31:35 +0000 (15:31 -0700)]
Add trace_event_clock_sync to atrace
Change-Id: I8adce15210d82df09ff3a39ddd8df617aeb16a42
Richard Uhler [Thu, 26 Mar 2015 15:11:28 +0000 (15:11 +0000)]
am
b84a3dde: am
bc5aceb1: Merge "Store odex files in oat/<isa>/ directory."
* commit '
b84a3dde3583c7c8696679ffaad25c334e85e3cb':
Store odex files in oat/<isa>/ directory.
Richard Uhler [Thu, 26 Mar 2015 15:04:46 +0000 (15:04 +0000)]
am
bc5aceb1: Merge "Store odex files in oat/<isa>/ directory."
* commit '
bc5aceb1f0a68e96dced1d843278b3bf14504f2c':
Store odex files in oat/<isa>/ directory.
Richard Uhler [Thu, 26 Mar 2015 14:57:35 +0000 (14:57 +0000)]
Merge "Store odex files in oat/<isa>/ directory."
Richard Uhler [Wed, 18 Mar 2015 19:39:09 +0000 (12:39 -0700)]
Store odex files in oat/<isa>/ directory.
Previously odex files were stored alongside the dex location as:
dex location: /foo/bar/base.apk
odex location: /foo/bar/<isa>/base.odex
This changes where odex files are stored, adding an "oat" directory:
dex location: /foo/bar/base.apk
odex location: /foo/bar/oat/<isa>/base.odex
See also the corresponding changes in platform/art and platform/build.
Bug:
19550105
Change-Id: I4c6be4f0c41ff175904846db8e360c4af815b265
Jesse Hall [Tue, 24 Mar 2015 21:06:56 +0000 (21:06 +0000)]
am
c2a5b469: am
a527c07b: Merge "Fix mistake using width instead of height."
* commit '
c2a5b469a311891d8e3025aea0e4b348044dfaeb':
Fix mistake using width instead of height.
Jesse Hall [Tue, 24 Mar 2015 20:59:51 +0000 (20:59 +0000)]
am
a527c07b: Merge "Fix mistake using width instead of height."
* commit '
a527c07b8d078f7da1114b7055f65b479a148729':
Fix mistake using width instead of height.
Jesse Hall [Tue, 24 Mar 2015 20:52:51 +0000 (20:52 +0000)]
Merge "Fix mistake using width instead of height."
Christopher Ferris [Mon, 23 Mar 2015 21:32:15 +0000 (14:32 -0700)]
Fix mistake using width instead of height.
Found by rodrigo.chiossi@intel.com.
Change-Id: I49d590ed39f6b47ba58a77a75d66b2964ea1cb1d
Mathieu Chartier [Sat, 21 Mar 2015 17:07:45 +0000 (17:07 +0000)]
am
b4cf4d7d: am
6dad1713: Merge "Use verify-at-runtime if debug.usejit is true"
* commit '
b4cf4d7d94c54a9fc49329aa891144f87f53602e':
Use verify-at-runtime if debug.usejit is true
Mathieu Chartier [Sat, 21 Mar 2015 15:29:35 +0000 (15:29 +0000)]
am
6dad1713: Merge "Use verify-at-runtime if debug.usejit is true"
* commit '
6dad1713040a46ec6e2ca1b0df2cbe4240e9e2e9':
Use verify-at-runtime if debug.usejit is true
Mathieu Chartier [Sat, 21 Mar 2015 00:14:27 +0000 (00:14 +0000)]
Merge "Use verify-at-runtime if debug.usejit is true"
Mathieu Chartier [Fri, 20 Mar 2015 22:39:47 +0000 (15:39 -0700)]
Use verify-at-runtime if debug.usejit is true
Bug:
19735273
Change-Id: Ib65b50dbde00184544a1341f351a0fe0ef504d32
Dan Stoza [Fri, 20 Mar 2015 19:13:33 +0000 (19:13 +0000)]
am
23707911: (-s ours) am
701473cf: (-s ours) Merge "DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem"
* commit '
237079112d245f8415970bd219cb174dae21ac3b':
DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem
Dan Stoza [Fri, 20 Mar 2015 19:09:47 +0000 (19:09 +0000)]
am
355d8118: (-s ours) am
7d89f5b6: (-s ours) Merge "DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal"
* commit '
355d81184ea6b423e6fa514797e3529b9062c9cd':
DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal
Dan Stoza [Fri, 20 Mar 2015 19:09:07 +0000 (19:09 +0000)]
am
701473cf: (-s ours) Merge "DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem"
* commit '
701473cf9bb1d1da2a0f55d9732d3016e1f33d59':
DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem
Dan Stoza [Fri, 20 Mar 2015 18:56:05 +0000 (18:56 +0000)]
Merge "DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem"
Dan Stoza [Fri, 20 Mar 2015 18:54:28 +0000 (18:54 +0000)]
am
7d89f5b6: (-s ours) Merge "DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal"
* commit '
7d89f5b6562da8bb316f04f91dd7cc9fce33d7fd':
DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal
Dan Stoza [Fri, 20 Mar 2015 18:51:22 +0000 (18:51 +0000)]
am
1ca558f7: (-s ours) am
f44d13e7: (-s ours) Merge "DO NOT MERGE Add dataSpace to buffer queues; remove old format enums."
* commit '
1ca558f79861f3c652b5b0726532518aa7c92ef1':
DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.
Dan Stoza [Fri, 20 Mar 2015 18:47:47 +0000 (18:47 +0000)]
Merge "DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal"
Dan Stoza [Fri, 20 Mar 2015 18:40:55 +0000 (18:40 +0000)]
am
f44d13e7: (-s ours) Merge "DO NOT MERGE Add dataSpace to buffer queues; remove old format enums."
* commit '
f44d13e7e574f181750fa37f439ab50cf05ab3df':
DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.
Dan Stoza [Fri, 20 Mar 2015 18:36:18 +0000 (18:36 +0000)]
Merge "DO NOT MERGE Add dataSpace to buffer queues; remove old format enums."
Dan Stoza [Thu, 12 Mar 2015 22:12:44 +0000 (15:12 -0700)]
DO NOT MERGE SurfaceFlinger: Stop using IGBC::BufferItem
Switches all uses of IGraphicBufferConsumer::BufferItem (and
BufferQueue::BufferItem) to the BufferItem in libgui. Depends on
frameworks/native I699ed0a6837076867ca756b28d1ffb2238f7a0d9.
Cherry pick of I187b3a7d05196b6289596afac8fb9a9d4aebff76
Change-Id: I5bc79fb96b6cba6021af64b20890967aa3b7fcbf
Dan Stoza [Wed, 11 Mar 2015 21:04:22 +0000 (14:04 -0700)]
DO NOT MERGE libgui: Prepare for IGBC::BufferItem removal
Currently, there are two instances of BufferItem: one inside of
IGraphicBufferConsumer, and a standalone one inside of libgui. They
only differ in the name of one of the fields, and we want to remove
the IGBC version. This changes things so that client code may be
incrementally switched over to the libgui version.
This is a squashed commit containing the following changes:
I64f495105f56cbf5803cea4aa6b072ea29b70cf5
I1394e693314429ada93427889f10b7b01c948053
I9c3bc8037fa9438d4d9080b8afb694219ef2f71f
I699ed0a6837076867ca756b28d1ffb2238f7a0d9
Iac8425e1241774304a131da2fb9dec6e82922f13
Change-Id: Ic4d51f5df6dbc70b376d13fceba2335b9bae4f3d
Eino-Ville Talvala [Fri, 20 Feb 2015 00:10:43 +0000 (16:10 -0800)]
DO NOT MERGE Add dataSpace to buffer queues; remove old format enums.
- Wire up new dataSpace parameter through buffer queue stack
- Update tests to include the parameter
- Switch eglApi to using dataSpace to indicate sRGB gamma/linear
difference
- Remove RAW_SENSOR in favor of RAW16
- Remove use of sRGB format enums
- Add default dataspace to buffer queue core
- Add query for default dataspace
Cherry pick of I070bd2e7c56506055c419004c29e2e3feac725df
Change-Id: I461952389c18051176c6b75e664f20ad369f5760
Nick Kralevich [Thu, 19 Mar 2015 19:02:53 +0000 (19:02 +0000)]
am
f3201498: Merge "dumpstate: add O_CLOEXEC"
* commit '
f320149886ba8ab8849c8b8f3df256e3789f3905':
dumpstate: add O_CLOEXEC
Nick Kralevich [Thu, 19 Mar 2015 18:48:07 +0000 (18:48 +0000)]
Merge "dumpstate: add O_CLOEXEC"
Nick Kralevich [Thu, 19 Mar 2015 18:30:59 +0000 (11:30 -0700)]
dumpstate: add O_CLOEXEC
Add O_CLOEXEC to various file descriptor calls, to avoid
leaking file descriptors to dumpstate's child processes.
Bug:
18342188
Change-Id: I74c47a98dfddc29c618067ad53d879b98ed1d87a
Dan Stoza [Thu, 19 Mar 2015 17:56:44 +0000 (17:56 +0000)]
am
ad36432d: Merge "Surface: Permit an IProducerListener on connect"
* commit '
ad36432de81c4c88d726680b7c52e8357df98455':
Surface: Permit an IProducerListener on connect
Dan Stoza [Thu, 19 Mar 2015 17:49:34 +0000 (17:49 +0000)]
am
c1930630: Merge "libgui: Only allow one return from useFenceSync"
* commit '
c193063050e6be193838527fb8bc7a4588bfdc22':
libgui: Only allow one return from useFenceSync
Dan Stoza [Thu, 19 Mar 2015 17:45:25 +0000 (17:45 +0000)]
Merge "Surface: Permit an IProducerListener on connect"
Dan Stoza [Thu, 19 Mar 2015 17:36:49 +0000 (17:36 +0000)]
am
55466b48: Merge "GLConsumer: Fix unsigned subtraction during crop"
* commit '
55466b48504f9a904c54f3cae4fc1a43dec73a6c':
GLConsumer: Fix unsigned subtraction during crop
Dan Stoza [Thu, 19 Mar 2015 17:35:56 +0000 (17:35 +0000)]
Merge "libgui: Only allow one return from useFenceSync"
Dan Stoza [Fri, 5 Dec 2014 21:43:03 +0000 (13:43 -0800)]
libgui: Only allow one return from useFenceSync
An #ifdef was causing multiple returns in this function, which was
triggering an unreachable code error on some build targets. This
adds an #else to ensure that only one return is exposed in any given
build.
Cherry pick of I9ed7c3e769bc9094ad31d810944227d1d8302886
Change-Id: Ibddc5706159d168031d1805fcce3eedc068296cf
Dan Stoza [Thu, 19 Mar 2015 17:29:11 +0000 (17:29 +0000)]
am
f87d1bcd: Merge "Update maxNumber to be smaller."
* commit '
f87d1bcd65f1889b78a8f5db6526e91216eaeb5d':
Update maxNumber to be smaller.
Dan Stoza [Thu, 19 Mar 2015 17:22:22 +0000 (17:22 +0000)]
Merge "GLConsumer: Fix unsigned subtraction during crop"
Dan Stoza [Thu, 19 Mar 2015 17:19:28 +0000 (17:19 +0000)]
am
3d5efd55: Merge "libgui: Enable -Weverything and -Werror"
* commit '
3d5efd553ea433e81464b0b817b3455716884bb0':
libgui: Enable -Weverything and -Werror
Dan Stoza [Thu, 19 Mar 2015 17:16:14 +0000 (17:16 +0000)]
Merge "Update maxNumber to be smaller."
Dan Stoza [Thu, 19 Mar 2015 17:06:40 +0000 (17:06 +0000)]
Merge "libgui: Enable -Weverything and -Werror"
Dan Stoza [Tue, 3 Mar 2015 06:12:37 +0000 (22:12 -0800)]
Surface: Permit an IProducerListener on connect
This change allows clients of Surface to provide an IProducerListener
callback object to Surface::connect, which will be passed down to the
underlying IGraphicBufferProducer.
Cherry pick of I5ea5229bf3a329bf02c6bd20e7247039c75d136b
Change-Id: I6f8f52c72654e4cee649721383819bafe378f964
Dan Stoza [Wed, 4 Mar 2015 22:58:02 +0000 (14:58 -0800)]
GLConsumer: Fix unsigned subtraction during crop
Since some variables had been switched from signed to unsigned, there
was a section of code that was guaranteed to be incorrect because it
effectively did 'if (a < b) { c = a - b; }'. This change fixes it.
Cherry pick of I9cdd6c9a0179801addebb5d6dc1fbaddf8f53c62
Bug:
19346631
Change-Id: Id13a46f74c9ae7278463ce22b586f4dc21b5e453
Michael Lentine [Wed, 18 Feb 2015 18:14:18 +0000 (10:14 -0800)]
Update maxNumber to be smaller.
There shouldn't be more than 4096 fds (probably signficantly smaller) and
there shouldn't be more than 4096 ints.
Cherry pick of I3a3e50ee3078a4710e9737114e65afc923ed0573
Bug:
18076253
Change-Id: I82a883572b401f115d252dcd3d00aa7252b49b0e
Dan Stoza [Tue, 18 Nov 2014 18:24:03 +0000 (10:24 -0800)]
libgui: Enable -Weverything and -Werror
Enables -Weverything and -Werror, with just a few exceptions for
warnings we can't (or shouldn't need to) work around.
Cherry pick of I034abec27bf4020d84af60d7acc1939c59986dd6 plus a
couple of minor changes to CpuConsumer.cpp to make it work with a
prior change:
Uncomment CC_LOGV on line 46
Change C-style cast to static_cast on line 71
Change-Id: Iaec610477ea0122317b0578fb74caf2383d4cf08
Jesse Hall [Sun, 15 Mar 2015 15:44:32 +0000 (15:44 +0000)]
am
b6b81d6a: Merge "[MIPS] Fix mips32r1 build"
* commit '
b6b81d6acd6949a731308666ac211864f824ab50':
[MIPS] Fix mips32r1 build
Jesse Hall [Sun, 15 Mar 2015 02:41:04 +0000 (02:41 +0000)]
Merge "[MIPS] Fix mips32r1 build"
Andreas Gampe [Tue, 10 Mar 2015 15:07:45 +0000 (15:07 +0000)]
am
1fc747d2: am
5a25a63d: Merge "Installd: Pass debuggable flag"
* commit '
1fc747d20c1a390e1de3d482d2eafde6dc7e6236':
Installd: Pass debuggable flag
Andreas Gampe [Tue, 10 Mar 2015 02:10:06 +0000 (02:10 +0000)]
am
5a25a63d: Merge "Installd: Pass debuggable flag"
* commit '
5a25a63de2693177b15817fb19b684ca7bfec582':
Installd: Pass debuggable flag
Andreas Gampe [Mon, 9 Mar 2015 22:14:47 +0000 (22:14 +0000)]
Merge "Installd: Pass debuggable flag"
Andreas Gampe [Tue, 3 Mar 2015 17:15:06 +0000 (09:15 -0800)]
Installd: Pass debuggable flag
Pass the debuggable flag from the package manager to dex2oat.
Change-Id: Id17ec72babe2ee88713a0d274eff86508de30666
Dan Stoza [Mon, 9 Mar 2015 18:09:17 +0000 (18:09 +0000)]
am
b275b4dc: am
3949f664: Merge "SurfaceFlinger: Fix null pointer exception"
* commit '
b275b4dc3e5dcbae1e171bd51165a93f16332ef4':
SurfaceFlinger: Fix null pointer exception
Dan Stoza [Mon, 9 Mar 2015 18:05:26 +0000 (18:05 +0000)]
am
3949f664: Merge "SurfaceFlinger: Fix null pointer exception"
* commit '
3949f664c71ad1269ee0c921d176e3b4484015cc':
SurfaceFlinger: Fix null pointer exception
Dan Stoza [Mon, 9 Mar 2015 18:00:28 +0000 (18:00 +0000)]
Merge "SurfaceFlinger: Fix null pointer exception"
Dan Stoza [Mon, 9 Mar 2015 17:04:11 +0000 (10:04 -0700)]
SurfaceFlinger: Fix null pointer exception
Fixes a null pointer exception in getActiveConfig
Bug:
19416124
Change-Id: I45a01f67affb63a348866ce42a6013c5eb71fe8f
Nick Kralevich [Thu, 5 Mar 2015 22:35:20 +0000 (22:35 +0000)]
am
fcf1689c: am
5fec7915: Merge "service_manager: reorder permission checks for find"
* commit '
fcf1689c1a1654cb3b480356a1ba3ebf198f2943':
service_manager: reorder permission checks for find
Nick Kralevich [Thu, 5 Mar 2015 21:48:25 +0000 (21:48 +0000)]
am
5fec7915: Merge "service_manager: reorder permission checks for find"
* commit '
5fec79156d749322dcc0376da1d6cf4d9ee9ccf4':
service_manager: reorder permission checks for find
Nick Kralevich [Thu, 5 Mar 2015 21:43:07 +0000 (21:43 +0000)]
Merge "service_manager: reorder permission checks for find"
Nick Kralevich [Thu, 5 Mar 2015 18:58:40 +0000 (10:58 -0800)]
service_manager: reorder permission checks for find
Reorder the find permission checks. This avoids generating misleading
SELinux denials when a service doesn't exist, or when a service is
prohibited to isolated apps.
The original reason for structuring the code this way is explained
in https://android-review.googlesource.com/#/c/100530/4/cmds/servicemanager/service_manager.c@172
The concern at the time was to avoid leaking a situation where
a caller could probe for the existance of a service. This turns out
to be unnecessary. The same return value is used for both a
permission denied and a service not found. The only side effect
is the generation of an SELinux audit log, which likely won't be
accessible to the calling application.
Change-Id: I9760e1821ed16102fa5f9bec07f8c34944565be9
Christopher Ferris [Thu, 26 Feb 2015 18:49:48 +0000 (18:49 +0000)]
am
69a141e0: am
9d68ed0e: Merge "Add timeout for dump_file."
* commit '
69a141e07fab2672cf2cc23dcc124c46995fbf98':
Add timeout for dump_file.
Christopher Ferris [Thu, 26 Feb 2015 18:40:42 +0000 (18:40 +0000)]
am
9d68ed0e: Merge "Add timeout for dump_file."
* commit '
9d68ed0ecd3a101c13a163cfe730b13b1564b442':
Add timeout for dump_file.
Christopher Ferris [Thu, 26 Feb 2015 18:35:01 +0000 (18:35 +0000)]
Merge "Add timeout for dump_file."
Mark Salyzyn [Thu, 26 Feb 2015 17:35:44 +0000 (17:35 +0000)]
am
2f655dae: am
bb67beca: Merge "dumpstate: add pstore read"
* commit '
2f655daeea66bf5d0e065b45a7abd515cfeeaf97':
dumpstate: add pstore read
Mark Salyzyn [Thu, 26 Feb 2015 17:29:07 +0000 (17:29 +0000)]
am
bb67beca: Merge "dumpstate: add pstore read"
* commit '
bb67beca35e7d570ede193a316a92022fbc2f810':
dumpstate: add pstore read
Mark Salyzyn [Thu, 26 Feb 2015 17:23:41 +0000 (17:23 +0000)]
Merge "dumpstate: add pstore read"
Mark Salyzyn [Tue, 16 Dec 2014 17:09:26 +0000 (09:09 -0800)]
dumpstate: add pstore read
Call logcat -L to pull any LAST Android logs. If the kernel is not
configured for PSTORE and PSTORE_PMSG, the hopes are the empty
content will pressure vendors to slice up and configure support.
Change-Id: I5fddfa1e0f59f24fccc30b257ba68af8a8cf8640
Christopher Ferris [Tue, 10 Feb 2015 20:15:01 +0000 (12:15 -0800)]
Add timeout for dump_file.
It turns out dump_file is used on a number of /proc and system files.
In one case, the read of a file stalled and caused a bugreport to
hang forever. It's still possible if there is a kernel bug that this
could stall forever, but less likely.
Also, change the return type of nanotime to uint64_t.
Testing:
- Created a named fifo and verified that dump_file fails with a timeout.
- Created a large /data/anr/traces.txt to verify that large files still
dump properly and that the additional NONBLOCK parameter doesn't cause
a problem.
- Created a dummy /data/tombstones/tombstone_00 to verify that the
dump of these files still works.
- Compared a dump using the old dumpstate to the new dumpstate to verify
nothing obviously different.
Bug:
19117030
Change-Id: I0d3dd27583c853cdaccd2fd278748cb5f9ccd4fb
Greg Hackmann [Thu, 26 Feb 2015 01:13:30 +0000 (01:13 +0000)]
am
6f57b269: am
56f8c6c4: Merge "Error compiling waitforvsync.cpp"
* commit '
6f57b269f9ae779a0e85919cdc7a54bfb383e402':
Error compiling waitforvsync.cpp
Greg Hackmann [Thu, 26 Feb 2015 01:07:03 +0000 (01:07 +0000)]
am
56f8c6c4: Merge "Error compiling waitforvsync.cpp"
* commit '
56f8c6c42dab4c3636edb62162088e5d765fa956':
Error compiling waitforvsync.cpp
Greg Hackmann [Wed, 25 Feb 2015 23:42:17 +0000 (23:42 +0000)]
Merge "Error compiling waitforvsync.cpp"
Dan Albert [Wed, 25 Feb 2015 23:07:35 +0000 (23:07 +0000)]
am
8d319341: am
79749845: Merge "Fix pointer-to-int and int-to-pointer warnings."
* commit '
8d31934148301b449d1b6277e25a6c3a8d162dff':
Fix pointer-to-int and int-to-pointer warnings.
Dan Albert [Wed, 25 Feb 2015 23:00:44 +0000 (23:00 +0000)]
am
79749845: Merge "Fix pointer-to-int and int-to-pointer warnings."
* commit '
797498450cbcb87c28636e775ada942005436909':
Fix pointer-to-int and int-to-pointer warnings.
Dan Albert [Wed, 25 Feb 2015 22:50:10 +0000 (22:50 +0000)]
Merge "Fix pointer-to-int and int-to-pointer warnings."
Dan Albert [Mon, 23 Feb 2015 18:39:14 +0000 (10:39 -0800)]
Fix pointer-to-int and int-to-pointer warnings.
Change-Id: If534cbcf2c3e644270572cbf829ba9b5acab29e6
Mark Salyzyn [Mon, 23 Feb 2015 15:23:37 +0000 (15:23 +0000)]
am
a455ec21: am
d80268ba: Merge "vsync.cpp test is throwing error whe compiled"
* commit '
a455ec21fa5341b8cee09eff73a9b465a6c28faa':
vsync.cpp test is throwing error whe compiled
Mark Salyzyn [Mon, 23 Feb 2015 15:19:59 +0000 (15:19 +0000)]
am
d80268ba: Merge "vsync.cpp test is throwing error whe compiled"
* commit '
d80268ba19f9217c5459a2952580090ef84a7b78':
vsync.cpp test is throwing error whe compiled
Mark Salyzyn [Mon, 23 Feb 2015 15:14:23 +0000 (15:14 +0000)]
Merge "vsync.cpp test is throwing error whe compiled"
Nanik Tolaram [Sat, 14 Feb 2015 00:32:46 +0000 (11:32 +1100)]
vsync.cpp test is throwing error whe compiled
frameworks/native/services/surfaceflinger/tests/vsync/vsync.cpp:55:44: error: 'ALOOPER_EVENT_INPUT' was not declared in this scope
loop->addFd(myDisplayEvent.getFd(), 0, ALOOPER_EVENT_INPUT, receiver,
^
frameworks/native/services/surfaceflinger/tests/vsync/vsync.cpp:64:18: error: 'ALOOPER_POLL_WAKE' was not declared in this scope
case ALOOPER_POLL_WAKE:
^
frameworks/native/services/surfaceflinger/tests/vsync/vsync.cpp:67:18: error: 'ALOOPER_POLL_CALLBACK' was not declared in this scope
case ALOOPER_POLL_CALLBACK:
^
frameworks/native/services/surfaceflinger/tests/vsync/vsync.cpp:70:18: error: 'ALOOPER_POLL_TIMEOUT' was not declared in this scope
case ALOOPER_POLL_TIMEOUT:
^
frameworks/native/services/surfaceflinger/tests/vsync/vsync.cpp:73:18: error: 'ALOOPER_POLL_ERROR' was not declared in this scope
case ALOOPER_POLL_ERROR:
^
it is missing one header file
Change-Id: Ie2fb02523a866b13a99edf837f072d101cacb466
Signed-off-by: Nanik Tolaram <nanikjava@gmail.com>
Elliott Hughes [Fri, 20 Feb 2015 01:20:21 +0000 (01:20 +0000)]
am
485d3730: am
f3f22e55: Merge "Add missing <unistd.h> include for close."
* commit '
485d3730042381ed203e312ad70fec9cb0d2d934':
Add missing <unistd.h> include for close.
Elliott Hughes [Fri, 20 Feb 2015 01:13:29 +0000 (01:13 +0000)]
am
f3f22e55: Merge "Add missing <unistd.h> include for close."
* commit '
f3f22e555bae8e362f3cac1efb289ca321266035':
Add missing <unistd.h> include for close.
Elliott Hughes [Fri, 20 Feb 2015 01:08:07 +0000 (01:08 +0000)]
Merge "Add missing <unistd.h> include for close."
Elliott Hughes [Fri, 20 Feb 2015 00:58:44 +0000 (16:58 -0800)]
Add missing <unistd.h> include for close.
Change-Id: Iebce6d74eecb8c275e800b7f47f74bbd4374860d
Bill Yi [Fri, 20 Feb 2015 00:23:15 +0000 (00:23 +0000)]
Bill Yi [Thu, 19 Feb 2015 22:31:45 +0000 (14:31 -0800)]
Michael Lentine [Thu, 19 Feb 2015 01:06:53 +0000 (01:06 +0000)]
am
592cc33c: am
e86f7e96: am
3c0272ba: am
dc2d031a: am
da9fd70d: am
2758eb2e: am
fde92eb0: Update maxNumber to be smaller.
* commit '
592cc33c408d5c91ad87e1a51d72269d4525a10b':
Update maxNumber to be smaller.
Michael Lentine [Thu, 19 Feb 2015 01:00:47 +0000 (01:00 +0000)]
am
e86f7e96: am
3c0272ba: am
dc2d031a: am
da9fd70d: am
2758eb2e: am
fde92eb0: Update maxNumber to be smaller.
* commit '
e86f7e96a75a7bf7bfa85d52cd9f2145fe25878c':
Update maxNumber to be smaller.
Michael Lentine [Thu, 19 Feb 2015 00:47:06 +0000 (00:47 +0000)]
am
3c0272ba: am
dc2d031a: am
da9fd70d: am
2758eb2e: am
fde92eb0: Update maxNumber to be smaller.
* commit '
3c0272ba8fbb98b5f1d45c52b1ae5292a8978e7d':
Update maxNumber to be smaller.
Michael Lentine [Thu, 19 Feb 2015 00:32:42 +0000 (00:32 +0000)]
am
dc2d031a: am
da9fd70d: am
2758eb2e: am
fde92eb0: Update maxNumber to be smaller.
* commit '
dc2d031a7ee05725ad3d8cab4887d6c7a4063967':
Update maxNumber to be smaller.
Michael Lentine [Thu, 19 Feb 2015 00:25:34 +0000 (00:25 +0000)]
am
da9fd70d: am
2758eb2e: am
fde92eb0: Update maxNumber to be smaller.
* commit '
da9fd70de125b0e6df4fb6285f538be9133c7b22':
Update maxNumber to be smaller.
Michael Lentine [Thu, 19 Feb 2015 00:15:40 +0000 (00:15 +0000)]
am
2758eb2e: am
fde92eb0: Update maxNumber to be smaller.
* commit '
2758eb2e67d935cf1f04e3d713438c6ac7fe8b89':
Update maxNumber to be smaller.
Michael Lentine [Thu, 19 Feb 2015 00:10:11 +0000 (00:10 +0000)]
am
fde92eb0: Update maxNumber to be smaller.
* commit '
fde92eb0ffcc37106d5fe85bf1f1ba30d8639d17':
Update maxNumber to be smaller.
Michael Lentine [Wed, 18 Feb 2015 18:14:18 +0000 (10:14 -0800)]
Update maxNumber to be smaller.
There shouldn't be more than 4096 fds (probably signficantly smaller) and
there shouldn't be more than 4096 ints.
Bug:
18076253
Change-Id: I3a3e50ee3078a4710e9737114e65afc923ed0573
Jesse Hall [Wed, 18 Feb 2015 17:43:48 +0000 (17:43 +0000)]
am
5fa8f930: Merge "egl: Remove old tuna BGRA vs RGBA workaround."
* commit '
5fa8f9305e8db81fa0007a016318846f1dfef4b9':
egl: Remove old tuna BGRA vs RGBA workaround.
Jesse Hall [Wed, 18 Feb 2015 17:31:12 +0000 (17:31 +0000)]
Merge "egl: Remove old tuna BGRA vs RGBA workaround."
Jeff Brown [Wed, 18 Feb 2015 02:17:08 +0000 (02:17 +0000)]
am
c9aa628d: Cancel touch events when a low-level touch gesture occurs.
* commit '
c9aa628d065eb08d6fa30f0ac21c6eca4cfbab75':
Cancel touch events when a low-level touch gesture occurs.
Elliott Hughes [Tue, 17 Feb 2015 01:38:59 +0000 (01:38 +0000)]
am
75b81aee: Merge "Add missing <sys/file.h> include for flock."
* commit '
75b81aee3830d0a8c7c10e3ca7f1652543dbbaca':
Add missing <sys/file.h> include for flock.
Elliott Hughes [Tue, 17 Feb 2015 01:24:48 +0000 (01:24 +0000)]
Merge "Add missing <sys/file.h> include for flock."
Elliott Hughes [Mon, 16 Feb 2015 18:44:22 +0000 (10:44 -0800)]
Add missing <sys/file.h> include for flock.
Change-Id: I5c9bb4aa74d8a36d44e086bbcb5d60876727ce4c
Nanik Tolaram [Fri, 13 Feb 2015 13:26:59 +0000 (00:26 +1100)]
Error compiling waitforvsync.cpp
The waitforvsync.cpp throws error when compiling. Following is the error log
target thumb C++: test-waitforvsync <= frameworks/native/services/surfaceflinger/tests/waitforvsync/waitforvsync.cpp
frameworks/native/services/surfaceflinger/tests/waitforvsync/waitforvsync.cpp: In function 'int main(int, char**)':
frameworks/native/services/surfaceflinger/tests/waitforvsync/waitforvsync.cpp:43:17: error: 'close' was not declared in this scope
close(fd);
^
....
....
make: *** [out/target/product/grouper/obj/EXECUTABLES/test-waitforvsync_intermediates/waitforvsync.o] Error 1
the file is missing #include <unistd.h>
Change-Id: I57728dbde65641cd3138625f9a590f9db8648158
Signed-off-by: Nanik Tolaram <nanikjava@gmail.com>