OSDN Git Service

android-x86/frameworks-native.git
10 years agoam baf8918c: am c796b681: Offer to delete code cache directories.
Jeff Sharkey [Wed, 16 Jul 2014 17:04:06 +0000 (17:04 +0000)]
am baf8918c: am c796b681: Offer to delete code cache directories.

* commit 'baf8918cf1fc312c348fbd52878e9dcc62c5b2cd':
  Offer to delete code cache directories.

10 years agoam c796b681: Offer to delete code cache directories.
Jeff Sharkey [Wed, 16 Jul 2014 17:00:31 +0000 (17:00 +0000)]
am c796b681: Offer to delete code cache directories.

* commit 'c796b681e52fbb792da9a5b4f30e935cc927c1d7':
  Offer to delete code cache directories.

10 years agoOffer to delete code cache directories.
Jeff Sharkey [Wed, 16 Jul 2014 04:49:51 +0000 (21:49 -0700)]
Offer to delete code cache directories.

Bug: 16187224
Change-Id: Ia860b051a34ffdfb4f6e0ea19f90cb73509c4eee

10 years agoam fb3e63fc: am 7869e224: CW on L: Fix a SIGSEGV crash in sensor service.
Sean Wan [Tue, 15 Jul 2014 22:02:23 +0000 (22:02 +0000)]
am fb3e63fc: am 7869e224: CW on L: Fix a SIGSEGV crash in sensor service.

* commit 'fb3e63fcc76df5ce47dfaa8d1543a97e55dd39a5':
  CW on L: Fix a SIGSEGV crash in sensor service.

10 years agoam 2f15fa66: am 2a0e4094: Add MAC for remaining service_manager functionality.
Riley Spahn [Tue, 15 Jul 2014 22:02:22 +0000 (22:02 +0000)]
am 2f15fa66: am 2a0e4094: Add MAC for remaining service_manager functionality.

* commit '2f15fa66b429296292318601249eaf482ae597d3':
  Add MAC for remaining service_manager functionality.

10 years agoam 7869e224: CW on L: Fix a SIGSEGV crash in sensor service.
Sean Wan [Tue, 15 Jul 2014 18:50:12 +0000 (18:50 +0000)]
am 7869e224: CW on L: Fix a SIGSEGV crash in sensor service.

* commit '7869e224aaaf717b5ab86df00b60fd5be5a0996c':
  CW on L: Fix a SIGSEGV crash in sensor service.

10 years agoam 2a0e4094: Add MAC for remaining service_manager functionality.
Riley Spahn [Tue, 15 Jul 2014 18:49:26 +0000 (18:49 +0000)]
am 2a0e4094: Add MAC for remaining service_manager functionality.

* commit '2a0e40945b5f7adf2055b2f439b3ba4c6389ddc3':
  Add MAC for remaining service_manager functionality.

10 years agoCW on L: Fix a SIGSEGV crash in sensor service.
Sean Wan [Tue, 15 Jul 2014 00:07:33 +0000 (17:07 -0700)]
CW on L: Fix a SIGSEGV crash in sensor service.

This is to fix b/16189080.

BUG: 16189080
Change-Id: I78d44e82f797c0808891acde609040c46745a0bb

10 years agoAdd MAC for remaining service_manager functionality.
Riley Spahn [Tue, 8 Jul 2014 16:03:00 +0000 (09:03 -0700)]
Add MAC for remaining service_manager functionality.

Add SELinux MAC for the list and find functionality
to service_manager. By default the list action uses
the service_manager_type attribute as its target
object.

(cherry picked from commit c67e6307cadb1f2cd876907c42d39b8374b93acd)

Change-Id: Iaf14b21346822a6b544091a0f4a9949117934b9a

10 years agoMerge "Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig."
Michael Lentine [Tue, 15 Jul 2014 00:12:40 +0000 (00:12 +0000)]
Merge "Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig."

10 years agoam 8de3c193: am 2ad9d8a6: Merge "Add sticky transform to surfaceflinger." into lmp-dev
Ruben Brunk [Mon, 14 Jul 2014 23:29:33 +0000 (23:29 +0000)]
am 8de3c193: am 2ad9d8a6: Merge "Add sticky transform to surfaceflinger." into lmp-dev

* commit '8de3c193925281ec3ee0aac4089608317405b4ba':
  Add sticky transform to surfaceflinger.

10 years agoam a7744676: am b7d559be: Merge "surfaceflinger: Make all sources depend on Android...
Jesse Hall [Mon, 14 Jul 2014 23:29:33 +0000 (23:29 +0000)]
am a7744676: am b7d559be: Merge "surfaceflinger: Make all sources depend on Android.mk" into lmp-dev

* commit 'a774467619f73654d6e3e94878d880e93da04a32':
  surfaceflinger: Make all sources depend on Android.mk

10 years agoam 2ad9d8a6: Merge "Add sticky transform to surfaceflinger." into lmp-dev
Ruben Brunk [Mon, 14 Jul 2014 23:10:58 +0000 (23:10 +0000)]
am 2ad9d8a6: Merge "Add sticky transform to surfaceflinger." into lmp-dev

* commit '2ad9d8a6e71f80b373c3ed0fece26b286d846292':
  Add sticky transform to surfaceflinger.

10 years agoam b7d559be: Merge "surfaceflinger: Make all sources depend on Android.mk" into lmp-dev
Jesse Hall [Mon, 14 Jul 2014 23:10:57 +0000 (23:10 +0000)]
am b7d559be: Merge "surfaceflinger: Make all sources depend on Android.mk" into lmp-dev

* commit 'b7d559be1f931585c444a54637cd49cda248a8fb':
  surfaceflinger: Make all sources depend on Android.mk

10 years agoam bdf01e81: (-s ours) am f3381cf1: dump bluedroid kernel status do not merge
Matthew Xie [Mon, 14 Jul 2014 23:04:58 +0000 (23:04 +0000)]
am bdf01e81: (-s ours) am f3381cf1: dump bluedroid kernel status do not merge

* commit 'bdf01e81c9f30612d1890a498ec9e937c49cff5e':
  dump bluedroid kernel status do not merge

10 years agoModified SurfaceFlinger to implment setActiveConfig and getActiveConfig.
Michael Lentine [Mon, 14 Jul 2014 20:48:55 +0000 (13:48 -0700)]
Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig.

This can be used to change the current display mode of the device.

Change-Id: Icdc3fb58389b861dc77b68102083da6f7a96eccb
Tested: None

10 years agoam f3381cf1: dump bluedroid kernel status do not merge
Matthew Xie [Mon, 14 Jul 2014 22:24:21 +0000 (22:24 +0000)]
am f3381cf1: dump bluedroid kernel status do not merge

* commit 'f3381cf1a645f857dccad9a4369ae23054e9d7d4':
  dump bluedroid kernel status do not merge

10 years agoam 987ca0ec: (-s ours) am b154c42c: Improve memory coherence management in screenshot...
Jesse Hall [Mon, 14 Jul 2014 21:49:16 +0000 (21:49 +0000)]
am 987ca0ec: (-s ours) am b154c42c: Improve memory coherence management in screenshot code [DO NOT MERGE]

* commit '987ca0ecc01b6d98cf371247e37fd5c6300112dd':
  Improve memory coherence management in screenshot code [DO NOT MERGE]

10 years agoam e38f5fc2: (-s ours) am 24cd98ee: Compile libsurfaceflinger with Clang and -std...
Jesse Hall [Mon, 14 Jul 2014 21:49:15 +0000 (21:49 +0000)]
am e38f5fc2: (-s ours) am 24cd98ee: Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]

* commit 'e38f5fc2b0326480f74e8914b86afb703c0d4c56':
  Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]

10 years agoam 2ba30617: resolved conflicts for merge of 652c4854 to lmp-dev-plus-aosp
Nick Kralevich [Mon, 14 Jul 2014 21:40:25 +0000 (21:40 +0000)]
am 2ba30617: resolved conflicts for merge of 652c4854 to lmp-dev-plus-aosp

* commit '2ba30617596dfe91a75348f98f9716c0d72d7671':
  service_manager: check binder passed lengths

10 years agoam b154c42c: Improve memory coherence management in screenshot code [DO NOT MERGE]
Jesse Hall [Mon, 14 Jul 2014 21:39:12 +0000 (21:39 +0000)]
am b154c42c: Improve memory coherence management in screenshot code [DO NOT MERGE]

* commit 'b154c42c39c1499c26d88fff8ca642cd86f91098':
  Improve memory coherence management in screenshot code [DO NOT MERGE]

10 years agoam 24cd98ee: Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]
Jesse Hall [Mon, 14 Jul 2014 21:39:12 +0000 (21:39 +0000)]
am 24cd98ee: Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]

* commit '24cd98eef88ac93f80c327f8d74f0a1ae0aceee4':
  Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]

10 years agoresolved conflicts for merge of 652c4854 to lmp-dev-plus-aosp
Nick Kralevich [Mon, 14 Jul 2014 21:35:20 +0000 (14:35 -0700)]
resolved conflicts for merge of 652c4854 to lmp-dev-plus-aosp

10 years agoam fa050b96: am 721fdd3a: Merge "Add MAC for remaining service_manager functionality."
Nick Kralevich [Mon, 14 Jul 2014 20:55:03 +0000 (20:55 +0000)]
am fa050b96: am 721fdd3a: Merge "Add MAC for remaining service_manager functionality."

* commit 'fa050b96e15fe63675ab5a01c32ae3b0b5493f65':
  Add MAC for remaining service_manager functionality.

10 years agodump bluedroid kernel status do not merge
Matthew Xie [Fri, 11 Jul 2014 20:58:17 +0000 (13:58 -0700)]
dump bluedroid kernel status do not merge

Change-Id: I4617f770088f86ceda2caf58bd1fdae81b3e31df
(cherry picked from commit ed3b9a09771a79b62fd4a5943d3845e7ceee6a34)

10 years agoam 721fdd3a: Merge "Add MAC for remaining service_manager functionality."
Nick Kralevich [Mon, 14 Jul 2014 20:46:46 +0000 (20:46 +0000)]
am 721fdd3a: Merge "Add MAC for remaining service_manager functionality."

* commit '721fdd3a6a6851079c1984ea7a8267bdaaf53c80':
  Add MAC for remaining service_manager functionality.

10 years agoam c3fec1e6: am 96a68d45: Merge "Add HDMI-CEC feature xml."
Yuncheol Heo [Mon, 14 Jul 2014 20:06:15 +0000 (20:06 +0000)]
am c3fec1e6: am 96a68d45: Merge "Add HDMI-CEC feature xml."

* commit 'c3fec1e6ee776dfc82523c16f422d6d44d2669ab':

10 years agoam b5e85e1d: am 224bcea7: Remove unnecessary code and APIs.
Sreeram Ramachandran [Mon, 14 Jul 2014 20:06:14 +0000 (20:06 +0000)]
am b5e85e1d: am 224bcea7: Remove unnecessary code and APIs.

* commit 'b5e85e1dc16929339d43855afdd48d232a121d08':

10 years agoam 71fdeb3f: am 16cec83a: am 8098af6e: am 7c5be65f: Merge "Rename \'mkuser\' command...
Robin Lee [Mon, 14 Jul 2014 20:06:13 +0000 (20:06 +0000)]
am 71fdeb3f: am 16cec83a: am 8098af6e: am 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserconfig\'"

* commit '71fdeb3fa2d38881bd0c036c4771f59b4bf6cd0b':

10 years agoam de528b29: am fe91d89b: am d441dbc6: am cbb9d0d7: Merge "Make dex2oat heap size...
Brian Carlstrom [Mon, 14 Jul 2014 20:06:12 +0000 (20:06 +0000)]
am de528b29: am fe91d89b: am d441dbc6: am cbb9d0d7: Merge "Make dex2oat heap size product configurable [frameworks/native]"

* commit 'de528b291b434cfd1432795031b2f329aa9e0c4d':

10 years agoam 5b717fc3: am c88da7cc: resolved conflicts for merge of 928e05b1 to master
Sreeram Ramachandran [Mon, 14 Jul 2014 20:06:12 +0000 (20:06 +0000)]
am 5b717fc3: am c88da7cc: resolved conflicts for merge of 928e05b1 to master

* commit '5b717fc3ef65472e0fef3305790cfa154780db70':

10 years agoam aa862d06: am 46a86a9b: Add ethernet feature xml.
Joe LaPenna [Mon, 14 Jul 2014 20:06:11 +0000 (20:06 +0000)]
am aa862d06: am 46a86a9b: Add ethernet feature xml.

* commit 'aa862d064381e99cac380a87f88c2f69532edc90':

10 years agoam 352eb9b3: am 6d96ab19: Merge "Add data capturing of glCompressedTexImage2D and...
Ben Clayton [Mon, 14 Jul 2014 20:06:10 +0000 (20:06 +0000)]
am 352eb9b3: am 6d96ab19: Merge "Add data capturing of glCompressedTexImage2D and glCompressedTexSubImage2D calls."

* commit '352eb9b3d05bb30f1b2ae9e0b56f0177b147ebd4':

10 years agoImprove memory coherence management in screenshot code [DO NOT MERGE]
Jesse Hall [Sun, 13 Jul 2014 19:47:02 +0000 (12:47 -0700)]
Improve memory coherence management in screenshot code [DO NOT MERGE]

The existing code worked in practice, but wasn't quite correct in
theory and relied on implementation details of other code. It's still
somewhat unusual and subtle, but now is correct-in-theory (I believe)
and a little better documented.

Bug: 16044767
Change-Id: I22b01d6640f0b7beca7cbfc74981795a3218b064
(cherry picked from commit c61576794e75898a829eac52fc524c8e907b4b02)

10 years agoCompile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]
Jesse Hall [Sun, 13 Jul 2014 21:37:16 +0000 (14:37 -0700)]
Compile libsurfaceflinger with Clang and -std=c++11 [DO NOT MERGE]

This is necessary to use C11/C++11 stdlib atomics, which the next
change will do. This change also fixes a couple bits of syntax that
both GCC and Clang refuse to compile in -std=c++11 mode.

Change-Id: Ia14d9d6b537a3bb106c23e19a277e48be180754c

10 years agoam 96a68d45: Merge "Add HDMI-CEC feature xml."
Yuncheol Heo [Mon, 14 Jul 2014 19:10:46 +0000 (19:10 +0000)]
am 96a68d45: Merge "Add HDMI-CEC feature xml."

* commit '96a68d45f5f36504130eb4bbb6f3faef3df8b66f':
  Add HDMI-CEC feature xml.

10 years agoam 224bcea7: Remove unnecessary code and APIs.
Sreeram Ramachandran [Mon, 14 Jul 2014 19:10:45 +0000 (19:10 +0000)]
am 224bcea7: Remove unnecessary code and APIs.

* commit '224bcea7b4f8bc0f1edb0c3303d30fedfcabe0f4':
  Remove unnecessary code and APIs.

10 years agoam 16cec83a: am 8098af6e: am 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserco...
Robin Lee [Mon, 14 Jul 2014 19:10:44 +0000 (19:10 +0000)]
am 16cec83a: am 8098af6e: am 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserconfig\'"

* commit '16cec83a6604777ffdf89b72d9fc474f0c0b73b5':

10 years agoam fe91d89b: am d441dbc6: am cbb9d0d7: Merge "Make dex2oat heap size product configur...
Brian Carlstrom [Mon, 14 Jul 2014 19:10:44 +0000 (19:10 +0000)]
am fe91d89b: am d441dbc6: am cbb9d0d7: Merge "Make dex2oat heap size product configurable [frameworks/native]"

* commit 'fe91d89b4f33f753b8b20049221609af7b552b9d':

10 years agoam c88da7cc: resolved conflicts for merge of 928e05b1 to master
Sreeram Ramachandran [Mon, 14 Jul 2014 19:10:43 +0000 (19:10 +0000)]
am c88da7cc: resolved conflicts for merge of 928e05b1 to master

* commit 'c88da7cc21c61b9ac8fcac11aa812f647ffb181c':

10 years agoam 46a86a9b: Add ethernet feature xml.
Joe LaPenna [Mon, 14 Jul 2014 19:10:43 +0000 (19:10 +0000)]
am 46a86a9b: Add ethernet feature xml.

* commit '46a86a9bbf31fafc7ab635b9503c77f329a2f445':
  Add ethernet feature xml.

10 years agoam 6d96ab19: Merge "Add data capturing of glCompressedTexImage2D and glCompressedTexS...
Ben Clayton [Mon, 14 Jul 2014 19:10:42 +0000 (19:10 +0000)]
am 6d96ab19: Merge "Add data capturing of glCompressedTexImage2D and glCompressedTexSubImage2D calls."

* commit '6d96ab194a278d4e06ce3e9a26a5658f3992e91c':
  Add data capturing of glCompressedTexImage2D and glCompressedTexSubImage2D calls.

10 years agoam c5496b6c: am 71139783: Merge "service_manager: check binder passed lengths"
Nick Kralevich [Mon, 14 Jul 2014 18:52:55 +0000 (18:52 +0000)]
am c5496b6c: am 71139783: Merge "service_manager: check binder passed lengths"

* commit 'c5496b6c1fc25bb72654fff99936a7e150358a7c':
  service_manager: check binder passed lengths

10 years agoMerge "surfaceflinger: Make all sources depend on Android.mk" into lmp-dev
Jesse Hall [Mon, 14 Jul 2014 22:35:43 +0000 (22:35 +0000)]
Merge "surfaceflinger: Make all sources depend on Android.mk" into lmp-dev

10 years agosurfaceflinger: Make all sources depend on Android.mk
Jesse Hall [Mon, 14 Jul 2014 22:32:59 +0000 (15:32 -0700)]
surfaceflinger: Make all sources depend on Android.mk

This forces all SurfaceFlinger sources to be recompiled when the
Makefile changes; that's overkill sometimes but makes sure everything
gets recompiled when compile options (or similar) changes.

Change-Id: I2b3c3090fc1c35078e13c77fbb1a78d447c39158

10 years agoMerge "Add sticky transform to surfaceflinger." into lmp-dev
Ruben Brunk [Mon, 14 Jul 2014 22:57:34 +0000 (22:57 +0000)]
Merge "Add sticky transform to surfaceflinger." into lmp-dev

10 years agoAdd sticky transform to surfaceflinger.
Ruben Brunk [Fri, 27 Jun 2014 22:51:55 +0000 (15:51 -0700)]
Add sticky transform to surfaceflinger.

Bug: 15116722

- Adds a sticky transform field that can be set from a
  SurfaceFlinger client Surface.  This transform is
  added to any transform applied to the Surface.

Change-Id: Idaa4311dfd027b2d2b8ea5e2c6cba2da5779d753

10 years agoam 71139783: Merge "service_manager: check binder passed lengths"
Nick Kralevich [Mon, 14 Jul 2014 18:18:04 +0000 (18:18 +0000)]
am 71139783: Merge "service_manager: check binder passed lengths"

* commit '7113978314a217f1fd2c1dd3d9bc25f516fb71a8':
  service_manager: check binder passed lengths

10 years agoam 6729f6a7: am 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserconfig\'"
Robin Lee [Mon, 14 Jul 2014 18:07:54 +0000 (18:07 +0000)]
am 6729f6a7: am 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserconfig\'"

* commit '6729f6a76e73952b65b5867c9128f35af83daa89':

10 years agoam bd7db85c: am cbb9d0d7: Merge "Make dex2oat heap size product configurable [framewo...
Brian Carlstrom [Mon, 14 Jul 2014 18:07:53 +0000 (18:07 +0000)]
am bd7db85c: am cbb9d0d7: Merge "Make dex2oat heap size product configurable [frameworks/native]"

* commit 'bd7db85c26aa5a80305ff53ecb18b490f0913815':

10 years agoam a055fd35: resolved conflicts for merge of 0d2bee0c to lmp-dev-plus-aosp
Sreeram Ramachandran [Mon, 14 Jul 2014 18:01:55 +0000 (18:01 +0000)]
am a055fd35: resolved conflicts for merge of 0d2bee0c to lmp-dev-plus-aosp

* commit 'a055fd358bd64f5d49e7957fc8aeb83b170787e9':

10 years agoam 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserconfig\'"
Robin Lee [Mon, 14 Jul 2014 17:48:25 +0000 (17:48 +0000)]
am 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserconfig\'"

* commit '7c5be65f2819bf0328715bc405483788dd7a81f2':
  Rename 'mkuser' command to 'mkuserconfig'

10 years agoam cbb9d0d7: Merge "Make dex2oat heap size product configurable [frameworks/native]"
Brian Carlstrom [Mon, 14 Jul 2014 17:48:23 +0000 (17:48 +0000)]
am cbb9d0d7: Merge "Make dex2oat heap size product configurable [frameworks/native]"

* commit 'cbb9d0d74008e460963a3c3094f654c50a04a295':
  Make dex2oat heap size product configurable [frameworks/native]

10 years agoresolved conflicts for merge of 0d2bee0c to lmp-dev-plus-aosp
Sreeram Ramachandran [Mon, 14 Jul 2014 17:45:26 +0000 (10:45 -0700)]
resolved conflicts for merge of 0d2bee0c to lmp-dev-plus-aosp

Change-Id: If782ce04be50e2154cec232c9e9d60fe38f41831

10 years agoservice_manager: check binder passed lengths
Nick Kralevich [Sat, 12 Jul 2014 23:34:01 +0000 (16:34 -0700)]
service_manager: check binder passed lengths

1) Pass length through to str8 function.
2) Fix implicit function definition warning.
3) Check for NULL from bio_get_string16 functions.

Bug: 15886919
Bug: 15888753

(cherry picked from commit 7d42a3c31ba78a418f9bdde0e0ab951469f321b5)

Change-Id: I1f826b88826561ea126d811c087ba30623141511

10 years agoMerge "Add MAC for remaining service_manager functionality."
Nick Kralevich [Mon, 14 Jul 2014 20:38:32 +0000 (20:38 +0000)]
Merge "Add MAC for remaining service_manager functionality."

10 years agoAdd MAC for remaining service_manager functionality.
Riley Spahn [Tue, 8 Jul 2014 16:03:00 +0000 (09:03 -0700)]
Add MAC for remaining service_manager functionality.

Add SELinux MAC for the list and find functionality
to service_manager. By default the list action uses
the service_manager_type attribute as its target
object.

Change-Id: I7630f21a9f3232ae3d6d8b9a1119230b40899aef

10 years agoMerge "dump bluedroid kernel status"
Matthew Xie [Mon, 14 Jul 2014 17:09:24 +0000 (17:09 +0000)]
Merge "dump bluedroid kernel status"

10 years agoMerge "service_manager: check binder passed lengths"
Nick Kralevich [Mon, 14 Jul 2014 17:18:42 +0000 (17:18 +0000)]
Merge "service_manager: check binder passed lengths"

10 years agoFix more syntax not allowed by -std=c++11
Jesse Hall [Mon, 14 Jul 2014 05:08:08 +0000 (22:08 -0700)]
Fix more syntax not allowed by -std=c++11

Change-Id: I4cb6bb7051d44dcde1d2fcd1eb1b26dbd925b05c

10 years agoImprove memory coherence management in screenshot code
Jesse Hall [Sun, 13 Jul 2014 19:47:02 +0000 (12:47 -0700)]
Improve memory coherence management in screenshot code

The existing code worked in practice, but wasn't quite correct in
theory and relied on implementation details of other code. It's still
somewhat unusual and subtle, but now is correct-in-theory (I believe)
and a little better documented.

Bug: 16044767
Change-Id: I22b01d6640f0b7beca7cbfc74981795a3218b064

10 years agoCompile libsurfaceflinger with Clang and -std=c++11
Jesse Hall [Sun, 13 Jul 2014 21:37:16 +0000 (14:37 -0700)]
Compile libsurfaceflinger with Clang and -std=c++11

This is necessary to use C11/C++11 stdlib atomics, which the next
change will do. This change also fixes a couple bits of syntax that
both GCC and Clang refuse to compile in -std=c++11 mode.

Change-Id: Ia14d9d6b537a3bb106c23e19a277e48be180754c

10 years agoservice_manager: check binder passed lengths
Nick Kralevich [Sat, 12 Jul 2014 23:34:01 +0000 (16:34 -0700)]
service_manager: check binder passed lengths

1) Pass length through to str8 function.
2) Fix implicit function definition warning.
3) Check for NULL from bio_get_string16 functions.

Bug: 15886919
Bug: 15888753
Change-Id: I78a401d55b84f382ab83911be32b8d501998aa82

10 years agoRemove unnecessary code and APIs.
Sreeram Ramachandran [Sat, 12 Jul 2014 00:42:50 +0000 (17:42 -0700)]
Remove unnecessary code and APIs.

This stuff has been replaced by setNetworkForUser() in NetdClient.

Change-Id: If525ee259b74314191d1913f7c2a3e828e05c38f

10 years agodump bluedroid kernel status
Matthew Xie [Fri, 11 Jul 2014 20:58:17 +0000 (13:58 -0700)]
dump bluedroid kernel status

Change-Id: I4617f770088f86ceda2caf58bd1fdae81b3e31df

10 years agoMerge "Add HDMI-CEC feature xml."
Yuncheol Heo [Sat, 12 Jul 2014 02:15:02 +0000 (02:15 +0000)]
Merge "Add HDMI-CEC feature xml."

10 years agoAdd HDMI-CEC feature xml.
Yuncheol Heo [Thu, 10 Jul 2014 11:48:23 +0000 (20:48 +0900)]
Add HDMI-CEC feature xml.

Change-Id: I51af146550cd72564e89874c867c181326d15f2c

10 years agoam 8098af6e: am 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserconfig\'"
Robin Lee [Wed, 9 Jul 2014 17:36:12 +0000 (17:36 +0000)]
am 8098af6e: am 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserconfig\'"

* commit '8098af6ea29e9d28a6314d12963cef3107de9c18':
  Rename 'mkuser' command to 'mkuserconfig'

10 years agoam 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserconfig\'"
Robin Lee [Wed, 9 Jul 2014 17:31:58 +0000 (17:31 +0000)]
am 7c5be65f: Merge "Rename \'mkuser\' command to \'mkuserconfig\'"

* commit '7c5be65f2819bf0328715bc405483788dd7a81f2':
  Rename 'mkuser' command to 'mkuserconfig'

10 years agoam d441dbc6: am cbb9d0d7: Merge "Make dex2oat heap size product configurable [framewo...
Brian Carlstrom [Wed, 9 Jul 2014 15:07:38 +0000 (15:07 +0000)]
am d441dbc6: am cbb9d0d7: Merge "Make dex2oat heap size product configurable [frameworks/native]"

* commit 'd441dbc6436dbf8cb13f0b784c7d16f022b7586e':
  Make dex2oat heap size product configurable [frameworks/native]

10 years agoresolved conflicts for merge of 928e05b1 to master
Sreeram Ramachandran [Wed, 9 Jul 2014 15:05:04 +0000 (08:05 -0700)]
resolved conflicts for merge of 928e05b1 to master

Change-Id: I1d1e623a1f95baa4375a87242ce71ea789884649

10 years agoam cbb9d0d7: Merge "Make dex2oat heap size product configurable [frameworks/native]"
Brian Carlstrom [Wed, 9 Jul 2014 12:36:58 +0000 (12:36 +0000)]
am cbb9d0d7: Merge "Make dex2oat heap size product configurable [frameworks/native]"

* commit 'cbb9d0d74008e460963a3c3094f654c50a04a295':
  Make dex2oat heap size product configurable [frameworks/native]

10 years agoam 0d2bee0c: Merge "Dump all the correct routing tables."
Sreeram Ramachandran [Wed, 9 Jul 2014 00:13:15 +0000 (00:13 +0000)]
am 0d2bee0c: Merge "Dump all the correct routing tables."

* commit '0d2bee0c0baec56ec98867d7e044602097525248':
  Dump all the correct routing tables.

10 years agoAdd ethernet feature xml.
Joe LaPenna [Tue, 8 Jul 2014 01:33:06 +0000 (18:33 -0700)]
Add ethernet feature xml.

BUG: 15143878
Change-Id: I15dbac6a7e73a94960e76669120792724fbd8acb

10 years agoresolved conflicts for merge of 1aa9565c to master
Nick Kralevich [Mon, 7 Jul 2014 23:27:42 +0000 (16:27 -0700)]
resolved conflicts for merge of 1aa9565c to master

Change-Id: I30582926ab2d2e2b97cb95aaedcd54ba51832aba

10 years agoam f9cfae24: Merge "Remove inline access control in service_manager."
Nick Kralevich [Mon, 7 Jul 2014 23:09:27 +0000 (23:09 +0000)]
am f9cfae24: Merge "Remove inline access control in service_manager."

* commit 'f9cfae24123bae199a07bee2dd1c307906c6e6d0':
  Remove inline access control in service_manager.

10 years agoMerge "Make dex2oat heap size product configurable [frameworks/native]"
Brian Carlstrom [Wed, 9 Jul 2014 04:07:54 +0000 (04:07 +0000)]
Merge "Make dex2oat heap size product configurable [frameworks/native]"

10 years agoMake dex2oat heap size product configurable [frameworks/native]
Brian Carlstrom [Fri, 27 Jun 2014 23:03:06 +0000 (16:03 -0700)]
Make dex2oat heap size product configurable [frameworks/native]

Bug: 15919420
Change-Id: I0e629ff4f7541f0dde7380e0dbc8dab1c13df7bd

10 years agoMerge "Dump all the correct routing tables."
Sreeram Ramachandran [Wed, 9 Jul 2014 00:03:35 +0000 (00:03 +0000)]
Merge "Dump all the correct routing tables."

10 years agoDump all the correct routing tables.
Sreeram Ramachandran [Tue, 8 Jul 2014 22:40:55 +0000 (15:40 -0700)]
Dump all the correct routing tables.

The list of tables is maintained in /data/misc/net/rt_tables by netd.

Change-Id: I55475c08c5e43bcf61af916210e680c47480ac32

10 years agoMerge "Rename 'mkuser' command to 'mkuserconfig'"
Robin Lee [Wed, 9 Jul 2014 17:27:09 +0000 (17:27 +0000)]
Merge "Rename 'mkuser' command to 'mkuserconfig'"

10 years agoMerge "Remove inline access control in service_manager."
Nick Kralevich [Mon, 7 Jul 2014 22:59:00 +0000 (22:59 +0000)]
Merge "Remove inline access control in service_manager."

10 years agoMerge "Add data capturing of glCompressedTexImage2D and glCompressedTexSubImage2D...
Ben Clayton [Tue, 8 Jul 2014 09:39:01 +0000 (09:39 +0000)]
Merge "Add data capturing of glCompressedTexImage2D and glCompressedTexSubImage2D calls."

10 years agoAdd data capturing of glCompressedTexImage2D and glCompressedTexSubImage2D calls.
Ben Clayton [Mon, 7 Jul 2014 10:50:44 +0000 (11:50 +0100)]
Add data capturing of glCompressedTexImage2D and glCompressedTexSubImage2D calls.

Change-Id: I38643f5d279a84f1b7069801d7c106fc8f1ae394

10 years agoMerge "Fix non-portable definition of CryptoPlugin::SubSample"
Jeff Tinker [Tue, 1 Jul 2014 22:34:48 +0000 (22:34 +0000)]
Merge "Fix non-portable definition of CryptoPlugin::SubSample"

10 years agoFix non-portable definition of CryptoPlugin::SubSample
Jeff Tinker [Tue, 1 Jul 2014 21:54:45 +0000 (14:54 -0700)]
Fix non-portable definition of CryptoPlugin::SubSample

bug: 16016106
Change-Id: I76514b2e7a28c86a0b0b311af575ca9dfc9471a9

10 years agoam a5726eb9: Merge "Use current max product dalvik.vm.heapsize as default dex2oat...
Brian Carlstrom [Fri, 27 Jun 2014 23:02:11 +0000 (23:02 +0000)]
am a5726eb9: Merge "Use current max product dalvik.vm.heapsize as default dex2oat heap size"

* commit 'a5726eb954588bd27ffa55a5193e7c0f8bd9eac3':
  Use current max product dalvik.vm.heapsize as default dex2oat heap size

10 years agoUse current max product dalvik.vm.heapsize as default dex2oat heap size
Brian Carlstrom [Fri, 27 Jun 2014 21:15:19 +0000 (14:15 -0700)]
Use current max product dalvik.vm.heapsize as default dex2oat heap size

Bug: 15919420
Change-Id: I7ea3bbfe787026f272e50690ab3b84f894600191

10 years agoMerge "BufferQueue: Add allocateBuffers method"
Dan Stoza [Mon, 30 Jun 2014 17:38:44 +0000 (17:38 +0000)]
Merge "BufferQueue: Add allocateBuffers method"

10 years agoam 1da16ceb: am a5726eb9: Merge "Use current max product dalvik.vm.heapsize as defaul...
Brian Carlstrom [Fri, 27 Jun 2014 23:06:41 +0000 (23:06 +0000)]
am 1da16ceb: am a5726eb9: Merge "Use current max product dalvik.vm.heapsize as default dex2oat heap size"

* commit '1da16cebe65b859a5cbd961a0667267393cb333b':
  Use current max product dalvik.vm.heapsize as default dex2oat heap size

10 years agoRemove inline access control in service_manager.
Riley Spahn [Wed, 25 Jun 2014 22:15:21 +0000 (15:15 -0700)]
Remove inline access control in service_manager.

Remove the hardcoded tuples of UIDs and the services that
each is allowed to register. We will rely only on permissions
from SELinux.

Change-Id: I1c44555a6e274814282398865b30ee938f40dabb

10 years agoMerge "Use current max product dalvik.vm.heapsize as default dex2oat heap size"
Brian Carlstrom [Fri, 27 Jun 2014 22:50:18 +0000 (22:50 +0000)]
Merge "Use current max product dalvik.vm.heapsize as default dex2oat heap size"

10 years agoUse current max product dalvik.vm.heapsize as default dex2oat heap size
Brian Carlstrom [Fri, 27 Jun 2014 21:15:19 +0000 (14:15 -0700)]
Use current max product dalvik.vm.heapsize as default dex2oat heap size

Bug: 15919420

(cherry picked from commit 3aa138617b42b87069dbac0b441bd14dca2d8609)

Change-Id: I569ba111c6163e94dd1b09b21ef374f05d263e72

10 years agoGLConsumer: Allow creation in detached mode
Dan Stoza [Wed, 25 Jun 2014 21:21:45 +0000 (14:21 -0700)]
GLConsumer: Allow creation in detached mode

Adds a constructor that doesn't require a GLES texture name and sets
up the GLConsumer in detached mode.

Bug: 15616428
Change-Id: Idc9ea2e59baa24bbd959da9fffe0fb71c0aa9818

10 years agoGLConsumer: Stop using default constructor params
Dan Stoza [Tue, 24 Jun 2014 20:09:19 +0000 (13:09 -0700)]
GLConsumer: Stop using default constructor params

Removes the dependency on default constructor parameters for
GLConsumer so that a different constructor prototype can safely be
added.

Change-Id: I0da924bbd4c141edbf305598c1be8bc575654680

10 years agoam 9bc8c62e: am 357df19b: Merge "Exclude subdirectories when pruning the dex cache."
Narayan Kamath [Tue, 24 Jun 2014 12:32:45 +0000 (12:32 +0000)]
am 9bc8c62e: am 357df19b: Merge "Exclude subdirectories when pruning the dex cache."

* commit '9bc8c62ea4d86d948af7a2aade8b0b5502a84b6a':
  Exclude subdirectories when pruning the dex cache.

10 years agoam 357df19b: Merge "Exclude subdirectories when pruning the dex cache."
Narayan Kamath [Tue, 24 Jun 2014 12:13:30 +0000 (12:13 +0000)]
am 357df19b: Merge "Exclude subdirectories when pruning the dex cache."

* commit '357df19b14b8387a480ed68dd6ea92eeb1aa4edc':
  Exclude subdirectories when pruning the dex cache.

10 years agoMerge "Exclude subdirectories when pruning the dex cache."
Narayan Kamath [Tue, 24 Jun 2014 12:07:36 +0000 (12:07 +0000)]
Merge "Exclude subdirectories when pruning the dex cache."

10 years agoBufferQueue: Add allocateBuffers method
Dan Stoza [Fri, 20 Jun 2014 20:13:57 +0000 (13:13 -0700)]
BufferQueue: Add allocateBuffers method

This adds an allocateBuffers method to BufferQueue, which instructs
it to allocate up to the maximum number of buffers allowed by the
current configuration. The goal is that this method can be called
ahead of render time, which will prevent dequeueBuffers from blocking
in allocation and inducing jank.

This interface is also plumbed up to the native Surface (and, in
another change, up to the Java Surface and ThreadedRenderer).

Bug: 11792166
Change-Id: I4aa96b4351ea1c95ed5db228ca3ef98303229c74

10 years agoUse openssl's SHA1 instead of bionic's.
Dan Albert [Tue, 17 Jun 2014 00:31:28 +0000 (17:31 -0700)]
Use openssl's SHA1 instead of bionic's.

Bionic is removing its SHA1.

Change-Id: I7d15986ebac9e0f0eb7ff93457780bd90a4f1d4f