Continue removing property debug.sys.noschedgroups

Also 0 means gettid() for get_sched_policy() and set_sched_policy().

Change-Id: Ic12edc3df6c9b3e99eae5cffaf9f6fe56cf14043
merge in master-release history after reset to master
merge in master-release history after reset to master
merge in master-release history after reset to master
merge in master-release history after reset to master
add some missing parameter validation in GLES java bindings

- added support for comments in checks.spec
- added most missing checks
- added and commented with // special-cased functions
- added and commented with # functions that are still missing validation checks
- moved glGet* to a special case and updated all the "pnames" from the khronos spec
- changed ifcheck to default to 1 value. this allows us to simplify the checks.spec file
  and handle unknown pnames automatically (they'll be validated against 1 value, if
  it happens to need more, the call will go through but the validation will not
  happen).
- refactored the cpp headers in to a common header + GLES version specific
  header

Bug: 7402895
Change-Id: Ie8fcc713188dd4819dfa55e5398e6b53ae9a14af
Added a test that checks the error behavior of ConsumerBase::abandon

We check that calling eglSwapBuffers() on an abandonned BufferQueue
return EGL_BAD_ALLOC -- this is to ensure consistancy between
drivers.

Change-Id: If84b082bc6bdea21673b16e5e717658c78edf405
Merge "Added a test that checks the error behavior of ConsumerBase::abandon"
am 789a6c3f: SurfaceFlinger: fix a couple NULL fence checks

* commit '789a6c3f1dfe22a1ffea7f39b2098d7842cd1f30':
  SurfaceFlinger: fix a couple NULL fence checks
am d6f549f9: Merge "add some missing parameter validation in GLES java bindings" into jb-mr2-dev

* commit 'd6f549f92541d8ab947fe35e3b3c21133eed2a6f':
  add some missing parameter validation in GLES java bindings
am 30055f1e: Merge "Added a test that checks the error behavior of ConsumerBase::abandon" into jb-mr2-dev

* commit '30055f1e96f5a04c6ff5fc7f7d5812fca38c2759':
  Added a test that checks the error behavior of ConsumerBase::abandon
merge in master-release history after reset to master
am 68a029ed: Merge "GraphicBuffer.h: Remove redundant friend class declaration causing warnings" into jb-mr2-dev

* commit '68a029edbbd162f2ca783733df37a44d5082ddee':
  GraphicBuffer.h: Remove redundant friend class declaration causing warnings
merge in master-release history after reset to master
am 3e010f31: Add createTJunctionFreeRegion

* commit '3e010f3138593cc6953039ee0e3db8ee31881296':
  Add createTJunctionFreeRegion
am a9a1b006: Initialize DisplayData fences to NO_FENCE, not NULL

* commit 'a9a1b006e48320f5c501473e51e6c4a5f7a17b88':
  Initialize DisplayData fences to NO_FENCE, not NULL
am 64d8b190: CpuConsumer: Don\'t unlock buffers on producer disconnect

* commit '64d8b1903e4b5f2838818eedcf4fef748b38709c':
  CpuConsumer: Don't unlock buffers on producer disconnect
am eb0d1296: CpuConsumer: Add optional asynchronous mode

* commit 'eb0d12963d271052c24abb025d698504df9e7573':
  CpuConsumer: Add optional asynchronous mode
merge in master-release history after reset to master
am 5ec3e781: Merge "installd: use correct header file." into jb-mr2-dev

* commit '5ec3e781c540d660a921a48575e241ae6839a26f':
  installd: use correct header file.