OSDN Git Service

android-x86/frameworks-native.git
7 years agoMerge "Added initial tests for dumpstate."
TreeHugger Robot [Sat, 1 Oct 2016 01:29:48 +0000 (01:29 +0000)]
Merge "Added initial tests for dumpstate."

7 years agoMerge "Rename dump methods to dumpState"
Colin Cross [Fri, 30 Sep 2016 22:05:18 +0000 (22:05 +0000)]
Merge "Rename dump methods to dumpState"

7 years agoMerge "Fix logging implicit sign conversions"
Colin Cross [Fri, 30 Sep 2016 17:37:55 +0000 (17:37 +0000)]
Merge "Fix logging implicit sign conversions"

7 years agoMerge "Fix libgui warnings"
Colin Cross [Fri, 30 Sep 2016 17:37:47 +0000 (17:37 +0000)]
Merge "Fix libgui warnings"

7 years agoRename dump methods to dumpState
Colin Cross [Tue, 27 Sep 2016 01:10:16 +0000 (18:10 -0700)]
Rename dump methods to dumpState

The dump methods shadow the IBinder dump method.  The warnings were being
hidden by the use of -isystem to include frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: Iafc64da43032d5d9d84b64640e70d93fd7051bcf

7 years agoMerge "Fix weak vtable warnings" am: d93a40c920 am: 11a2bcad06 am: cd77a5a218
Colin Cross [Fri, 30 Sep 2016 00:26:55 +0000 (00:26 +0000)]
Merge "Fix weak vtable warnings" am: d93a40c920 am: 11a2bcad06 am: cd77a5a218
am: 97514a25d6

Change-Id: Id5af70ceadd584f0dae7aa4d9bb4811ad822cf28

7 years agoMerge "Rewrite multicharacter constant using constexpr" am: 991667ba8c am: 3f6292ea81...
Colin Cross [Fri, 30 Sep 2016 00:26:43 +0000 (00:26 +0000)]
Merge "Rewrite multicharacter constant using constexpr" am: 991667ba8c am: 3f6292ea81 am: 2ef0bdafc1
am: 860f72fff5

Change-Id: I89f0b62dac94e9617214ff40709e3b6c5954eddd

7 years agoMerge "Fix rule of three warnings" am: dfd195160a am: 52b3fe2fcc am: 71b953d0a3
Colin Cross [Fri, 30 Sep 2016 00:26:30 +0000 (00:26 +0000)]
Merge "Fix rule of three warnings" am: dfd195160a am: 52b3fe2fcc am: 71b953d0a3
am: 90478a1e9e

Change-Id: If7314d5be257dc6221ef0b9222147db7b2710bb8

7 years agoMerge "Fix implicit sign casts in Parcel.h" am: 9984fa0ed0 am: 4901e7c070 am: 7600934e17
Colin Cross [Fri, 30 Sep 2016 00:26:15 +0000 (00:26 +0000)]
Merge "Fix implicit sign casts in Parcel.h" am: 9984fa0ed0 am: 4901e7c070 am: 7600934e17
am: 87109469b0

Change-Id: I4de63e308760a6c079bb07763cd05b3ba9608f5c

7 years agoFix logging implicit sign conversions
Colin Cross [Tue, 27 Sep 2016 21:08:19 +0000 (14:08 -0700)]
Fix logging implicit sign conversions

The warnings were being hidden by the use of -isystem to include
frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: I2ce11db524ee9d8f846fdf3ed6fb882d5ef57956

7 years agoFix libgui warnings
Colin Cross [Tue, 27 Sep 2016 21:12:48 +0000 (14:12 -0700)]
Fix libgui warnings

The warnings were being hidden by the use of -isystem to include
frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: Idba8278bc0a73886ecb7978617854b433c0b5875

7 years agoMerge "Installd: Add a delete_odex command" am: d6df7e33ad am: a0c21336ab am: ab5550ce1b
Andreas Gampe [Fri, 30 Sep 2016 00:13:53 +0000 (00:13 +0000)]
Merge "Installd: Add a delete_odex command" am: d6df7e33ad am: a0c21336ab am: ab5550ce1b
am: 3d8094e9aa

Change-Id: I139fc3cb1bae5d81cce380138ab28ab67bfb0614

7 years agoMerge "Fix weak vtable warnings" am: d93a40c920 am: 11a2bcad06
Colin Cross [Thu, 29 Sep 2016 23:56:43 +0000 (23:56 +0000)]
Merge "Fix weak vtable warnings" am: d93a40c920 am: 11a2bcad06
am: cd77a5a218

Change-Id: Id487011570e506e49a23a793b13e3a173c618a4c

7 years agoMerge "Rewrite multicharacter constant using constexpr" am: 991667ba8c am: 3f6292ea81
Colin Cross [Thu, 29 Sep 2016 23:56:32 +0000 (23:56 +0000)]
Merge "Rewrite multicharacter constant using constexpr" am: 991667ba8c am: 3f6292ea81
am: 2ef0bdafc1

Change-Id: Ib0fb4e1d2ab3203ba0e21b3a71de12d5176613cb

7 years agoMerge "Fix rule of three warnings" am: dfd195160a am: 52b3fe2fcc
Colin Cross [Thu, 29 Sep 2016 23:56:20 +0000 (23:56 +0000)]
Merge "Fix rule of three warnings" am: dfd195160a am: 52b3fe2fcc
am: 71b953d0a3

Change-Id: I7a18515d52e3137b3fef304f6c69a6c2a7c64264

7 years agoMerge "Fix implicit sign casts in Parcel.h" am: 9984fa0ed0 am: 4901e7c070
Colin Cross [Thu, 29 Sep 2016 23:56:08 +0000 (23:56 +0000)]
Merge "Fix implicit sign casts in Parcel.h" am: 9984fa0ed0 am: 4901e7c070
am: 7600934e17

Change-Id: I40be1101c9bd1cb77571e1c26ac8000e96293232

7 years agoMerge "Fix weak vtable warnings" am: d93a40c920
Colin Cross [Thu, 29 Sep 2016 23:46:41 +0000 (23:46 +0000)]
Merge "Fix weak vtable warnings" am: d93a40c920
am: 11a2bcad06

Change-Id: I1fd134d6eedb2f324de36b8e066b7d942fccd2eb

7 years agoMerge "Rewrite multicharacter constant using constexpr" am: 991667ba8c
Colin Cross [Thu, 29 Sep 2016 23:46:31 +0000 (23:46 +0000)]
Merge "Rewrite multicharacter constant using constexpr" am: 991667ba8c
am: 3f6292ea81

Change-Id: I8ccf4b34cb9dc76c91ceac5f928918fa2e0b7ec0

7 years agoMerge "Fix rule of three warnings" am: dfd195160a
Colin Cross [Thu, 29 Sep 2016 23:46:20 +0000 (23:46 +0000)]
Merge "Fix rule of three warnings" am: dfd195160a
am: 52b3fe2fcc

Change-Id: I9737cdfceb1ba74211efc3fb7fb4d8657578cd25

7 years agoMerge "Fix weak vtable warnings"
Colin Cross [Thu, 29 Sep 2016 23:44:40 +0000 (23:44 +0000)]
Merge "Fix weak vtable warnings"
am: d93a40c920

Change-Id: I54d2cad55131ac3a8786012d692d4627f188a0a7

7 years agoMerge "Rewrite multicharacter constant using constexpr"
Colin Cross [Thu, 29 Sep 2016 23:44:30 +0000 (23:44 +0000)]
Merge "Rewrite multicharacter constant using constexpr"
am: 991667ba8c

Change-Id: Iecaee1af6b787187f971e57d8ca3d4d223c79627

7 years agoMerge "Fix rule of three warnings"
Colin Cross [Thu, 29 Sep 2016 23:44:19 +0000 (23:44 +0000)]
Merge "Fix rule of three warnings"
am: dfd195160a

Change-Id: Ifcc0ef0c71f465ada5c62cbcccd40580df802a51

7 years agoMerge "Installd: Add a delete_odex command" am: d6df7e33ad am: a0c21336ab
Andreas Gampe [Thu, 29 Sep 2016 23:39:20 +0000 (23:39 +0000)]
Merge "Installd: Add a delete_odex command" am: d6df7e33ad am: a0c21336ab
am: ab5550ce1b

Change-Id: I7e11ae9a4b601a9540a2dfc43aa27a324a732797

7 years agoMerge "Fix weak vtable warnings"
Colin Cross [Thu, 29 Sep 2016 23:36:22 +0000 (23:36 +0000)]
Merge "Fix weak vtable warnings"

7 years agoFix weak vtable warnings
Colin Cross [Mon, 26 Sep 2016 20:48:02 +0000 (13:48 -0700)]
Fix weak vtable warnings

Move virtual destructors into cpp file so that the compiler knows which
translation unit to put the vtable into.  Hide the warning for
DeathRecipient, which has no virtual methods to move.  The warnings were
being hidden by the use of -isystem to include
frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: I25329d66bfc1f6a5064d05ce7d12ad9b090601f8

7 years agoMerge "Rewrite multicharacter constant using constexpr"
Colin Cross [Thu, 29 Sep 2016 23:35:54 +0000 (23:35 +0000)]
Merge "Rewrite multicharacter constant using constexpr"

7 years agoRewrite multicharacter constant using constexpr
Colin Cross [Tue, 27 Sep 2016 01:11:51 +0000 (18:11 -0700)]
Rewrite multicharacter constant using constexpr

Multi character constants are implementation defined behavior, use a
constexpr instead.  The warnings were being hidden by the use of
-isystem to include frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: I22435d1f66a073c303202da7a1940cb14b0b9fd8

7 years agoMerge "Fix rule of three warnings"
Colin Cross [Thu, 29 Sep 2016 23:35:27 +0000 (23:35 +0000)]
Merge "Fix rule of three warnings"

7 years agoFix rule of three warnings
Colin Cross [Tue, 27 Sep 2016 01:11:41 +0000 (18:11 -0700)]
Fix rule of three warnings

Sensor and BufferItem have destructors, the copy constructor and
assignment operators should not be implicit. The warnings were being
hidden by the use of -isystem to include frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: If375d85cd3d6ded4ee6b27b841bf10f563254682

7 years agoMerge "Introduce new command callback to shell."
Dianne Hackborn [Thu, 29 Sep 2016 19:57:03 +0000 (19:57 +0000)]
Merge "Introduce new command callback to shell."

7 years agoIntroduce new command callback to shell.
Dianne Hackborn [Mon, 29 Aug 2016 19:30:43 +0000 (12:30 -0700)]
Introduce new command callback to shell.

This introduces a new feature of the IBinder command protocol
to allow the shell command implementation to call back into
its caller to ask it to open files in the calling context.  This
is needed so that commands that have arguments specifying files
can open those files as the calling shell, not the system (or
whatever) process.

Test: Manual

Change-Id: Idd5b49ea21057864cc9cef816b3e4afbf01948fc

7 years agoMerge "Fix implicit sign casts in Parcel.h" am: 9984fa0ed0
Colin Cross [Thu, 29 Sep 2016 17:42:03 +0000 (17:42 +0000)]
Merge "Fix implicit sign casts in Parcel.h" am: 9984fa0ed0
am: 4901e7c070

Change-Id: Ic291dbf2eb8d6244b883c696756183ace21cfa46

7 years agoMerge "Fix implicit sign casts in Parcel.h"
Colin Cross [Thu, 29 Sep 2016 17:32:11 +0000 (17:32 +0000)]
Merge "Fix implicit sign casts in Parcel.h"
am: 9984fa0ed0

Change-Id: I7a5fb0652ccfd88094ceb2e48a8ff2291166f7f7

7 years agoAdded initial tests for dumpstate.
Felipe Leme [Wed, 28 Sep 2016 21:32:00 +0000 (14:32 -0700)]
Added initial tests for dumpstate.

BUG: 31807540
Test: mmm -j32 frameworks/native/cmds/dumpstate/ && adb push ${ANDROID_PRODUCT_OUT}/data/nativetest/dumpstate_test* /data/nativetest && adb shell /data/nativetest/dumpstate_test/dumpstate_test

Change-Id: If5497784052b8d13d7c856f9400dbcd8c2015d05

7 years agoMerge "Fix implicit sign casts in Parcel.h"
Colin Cross [Thu, 29 Sep 2016 17:20:07 +0000 (17:20 +0000)]
Merge "Fix implicit sign casts in Parcel.h"

7 years agoFix implicit sign casts in Parcel.h
Colin Cross [Tue, 27 Sep 2016 20:58:30 +0000 (13:58 -0700)]
Fix implicit sign casts in Parcel.h

The warnings were being hidden by the use of -isystem to include
frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: I20d9a5712c77894f9048ef78264d7dc9f59208ea

7 years agoMerge "Installd: Add a delete_odex command" am: d6df7e33ad
Andreas Gampe [Thu, 29 Sep 2016 00:34:04 +0000 (00:34 +0000)]
Merge "Installd: Add a delete_odex command" am: d6df7e33ad
am: a0c21336ab

Change-Id: Ia246906318cdee0c4653c75e79ecf188bb572ca2

7 years agoMerge "Installd: Add a delete_odex command"
Andreas Gampe [Thu, 29 Sep 2016 00:20:22 +0000 (00:20 +0000)]
Merge "Installd: Add a delete_odex command"
am: d6df7e33ad

Change-Id: Ife9a2c8c7ee8339dc4e416a397519590fca2cdf6

7 years agoDeprecate run_command() and dump_file().
Felipe Leme [Thu, 22 Sep 2016 01:13:20 +0000 (18:13 -0700)]
Deprecate run_command() and dump_file().

This change will break dumpstate_board() implementations that were not
refactored to use the equivalent functions in the Dumpstate
class. For example:

void dumpstate_board() {
  dump_file("INTERRUPTS", "/proc/interrupts");
  run_command("SUBSYSTEM TOMBSTONES", 5, SU_PATH, "root",
              "ls", "-l", "/data/tombstones/ramdump", NULL);

}

Should be refactored to:

void dumpstate_board(){
  Dumpstate& ds = Dumpstate::GetInstance();

  ds.DumpFile("INTERRUPTS", "/proc/interrupts");
  ds.RunCommand("SUBSYSTEM TOMBSTONES",
                {"ls", "-l", "/data/tombstones/ramdump"},
                CommandOptions::AS_ROOT_5);
}

BUG: 26379932
Test: manual / refactored code

Change-Id: Ia74515cc57abc18bc6966a5aed71dd679422fd0e

7 years agoMerge "Installd: Add a delete_odex command"
Treehugger Robot [Thu, 29 Sep 2016 00:00:49 +0000 (00:00 +0000)]
Merge "Installd: Add a delete_odex command"

7 years agoMerge "Fix libinput warnings" am: a4767442e3 am: a149886878 am: 35d869c15e
Colin Cross [Wed, 28 Sep 2016 23:41:47 +0000 (23:41 +0000)]
Merge "Fix libinput warnings" am: a4767442e3 am: a149886878 am: 35d869c15e
am: fef00db3e5

Change-Id: I558fa030c995220658d79c96fd8ee451363891f5

7 years agoMerge "Fix libinput warnings" am: a4767442e3 am: a149886878
Colin Cross [Wed, 28 Sep 2016 23:27:30 +0000 (23:27 +0000)]
Merge "Fix libinput warnings" am: a4767442e3 am: a149886878
am: 35d869c15e

Change-Id: I6461ef056bf41d66d391f52cfb25a680dd61b14e

7 years agoMerge "Fix libinput warnings" am: a4767442e3
Colin Cross [Wed, 28 Sep 2016 23:24:59 +0000 (23:24 +0000)]
Merge "Fix libinput warnings" am: a4767442e3
am: a149886878

Change-Id: Ie7aaee558da27d52cc20574dfea4eb61f68c2901

7 years agoMerge "Fix libinput warnings"
Colin Cross [Wed, 28 Sep 2016 23:21:31 +0000 (23:21 +0000)]
Merge "Fix libinput warnings"
am: a4767442e3

Change-Id: I2bf4442e4785a3a15331d7c0482925326a9f38c4

7 years agoMerge "Fix google-explicit-constructor warnings in HardwareAPI." am: c8de4a06ab...
Chih-hung Hsieh [Wed, 28 Sep 2016 23:15:17 +0000 (23:15 +0000)]
Merge "Fix google-explicit-constructor warnings in  HardwareAPI." am: c8de4a06ab am: 9285335221 am: 64e47fabae
am: 14664fb503

Change-Id: Ifa5345bfaef9b1fc03491b7dc249ecd8ce191247

7 years agoMerge "Fix google-explicit-constructor warnings in gui and ui." am: 170454b0fa am...
Chih-hung Hsieh [Wed, 28 Sep 2016 23:15:01 +0000 (23:15 +0000)]
Merge "Fix google-explicit-constructor warnings in gui and ui." am: 170454b0fa am: 5a283bbd40 am: e7f4cb46c4
am: d2c6b7fd1e

Change-Id: I557d2a036bb1200349157c0cf872b10dc28f0164

7 years agoMerge "Fix google-explicit-constructor warnings in opengl." am: 9ccba3c090 am: 512fb...
Chih-Hung Hsieh [Wed, 28 Sep 2016 23:14:45 +0000 (23:14 +0000)]
Merge "Fix google-explicit-constructor warnings in  opengl." am: 9ccba3c090 am: 512fb374d2 am: ba50990a04
am: e021dd660e

Change-Id: I1e269ee04a286818b0336461efcdd18130d1ec56

7 years agoEGL: check that display is still valid am: d6e9946cdd am: 3169437feb
Jesse Hall [Wed, 28 Sep 2016 23:14:21 +0000 (23:14 +0000)]
EGL: check that display is still valid am: d6e9946cdd am: 3169437feb
am: 4bf4908aab

Change-Id: I80edf530a75ac48fa13d3138a631d2ecb6e7abd1

7 years agoMerge "Fix libinput warnings"
Colin Cross [Wed, 28 Sep 2016 23:13:54 +0000 (23:13 +0000)]
Merge "Fix libinput warnings"

7 years agoFix libinput warnings
Colin Cross [Tue, 27 Sep 2016 21:12:09 +0000 (14:12 -0700)]
Fix libinput warnings

The warnings were being hidden by the use of -isystem to include
frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: I13f03892c75ea3c3139ca676666b0d403871d241

7 years agoMerge "Fix google-explicit-constructor warnings in HardwareAPI." am: c8de4a06ab...
Chih-hung Hsieh [Wed, 28 Sep 2016 23:10:07 +0000 (23:10 +0000)]
Merge "Fix google-explicit-constructor warnings in  HardwareAPI." am: c8de4a06ab am: 9285335221
am: 64e47fabae

Change-Id: Ia27b9704d92149284e010a85b95e3bb8fbae6e51

7 years agoMerge "Fix google-explicit-constructor warnings in gui and ui." am: 170454b0fa am...
Chih-hung Hsieh [Wed, 28 Sep 2016 23:09:52 +0000 (23:09 +0000)]
Merge "Fix google-explicit-constructor warnings in gui and ui." am: 170454b0fa am: 5a283bbd40
am: e7f4cb46c4

Change-Id: I46d36b040e143dd5eedae7597ec7875ab920ac7b

7 years agoMerge "Fix google-explicit-constructor warnings in opengl." am: 9ccba3c090 am: 512fb...
Chih-Hung Hsieh [Wed, 28 Sep 2016 23:09:39 +0000 (23:09 +0000)]
Merge "Fix google-explicit-constructor warnings in  opengl." am: 9ccba3c090 am: 512fb374d2
am: ba50990a04

Change-Id: I2ed99ac20752b794149b1e5a6b3b6403210034c5

7 years agoMerge "Fix google-explicit-constructor warnings in HardwareAPI." am: c8de4a06ab
Chih-hung Hsieh [Wed, 28 Sep 2016 23:07:38 +0000 (23:07 +0000)]
Merge "Fix google-explicit-constructor warnings in  HardwareAPI." am: c8de4a06ab
am: 9285335221

Change-Id: I33c5d3fdfa292b9593c0f38bba5bf24294544626

7 years agoMerge "Fix google-explicit-constructor warnings in gui and ui." am: 170454b0fa
Chih-hung Hsieh [Wed, 28 Sep 2016 23:07:24 +0000 (23:07 +0000)]
Merge "Fix google-explicit-constructor warnings in gui and ui." am: 170454b0fa
am: 5a283bbd40

Change-Id: I0eb6f2ed5005ce4cc7d2fa63172c28822b3b4985

7 years agoMerge "Fix google-explicit-constructor warnings in opengl." am: 9ccba3c090
Chih-Hung Hsieh [Wed, 28 Sep 2016 23:07:08 +0000 (23:07 +0000)]
Merge "Fix google-explicit-constructor warnings in  opengl." am: 9ccba3c090
am: 512fb374d2

Change-Id: I1c62a8127f407eb8d675f40681acf42e7850ee57

7 years agoEGL: check that display is still valid am: d6e9946cdd
Jesse Hall [Wed, 28 Sep 2016 23:04:08 +0000 (23:04 +0000)]
EGL: check that display is still valid am: d6e9946cdd
am: 3169437feb

Change-Id: If2a509e29d5a8cbc06687469279523e5c07fd197

7 years agoMerge "Fix google-explicit-constructor warnings in HardwareAPI."
Chih-hung Hsieh [Wed, 28 Sep 2016 23:02:33 +0000 (23:02 +0000)]
Merge "Fix google-explicit-constructor warnings in  HardwareAPI."
am: c8de4a06ab

Change-Id: Ic8d39038699dd9bfa56bbdeb6f29293bad47d4f5

7 years agoMerge "Fix google-explicit-constructor warnings in gui and ui."
Chih-hung Hsieh [Wed, 28 Sep 2016 23:02:20 +0000 (23:02 +0000)]
Merge "Fix google-explicit-constructor warnings in gui and ui."
am: 170454b0fa

Change-Id: I1b95e35d622827f27b1637af00e312c055fd2c27

7 years agoMerge "Fix google-explicit-constructor warnings in opengl."
Chih-Hung Hsieh [Wed, 28 Sep 2016 23:02:07 +0000 (23:02 +0000)]
Merge "Fix google-explicit-constructor warnings in  opengl."
am: 9ccba3c090

Change-Id: Icf73c478090ef837c24aa3b4b75152ad4eef3480

7 years agoEGL: check that display is still valid
Jesse Hall [Wed, 28 Sep 2016 23:01:38 +0000 (23:01 +0000)]
EGL: check that display is still valid
am: d6e9946cdd

Change-Id: I6d5f5e6f4790f16c1bd52f96743c7e138973a1b4

7 years agoMerge "Fix google-explicit-constructor warnings in HardwareAPI."
Chih-hung Hsieh [Wed, 28 Sep 2016 22:55:30 +0000 (22:55 +0000)]
Merge "Fix google-explicit-constructor warnings in  HardwareAPI."

7 years agoMerge "Fix google-explicit-constructor warnings in gui and ui."
Chih-hung Hsieh [Wed, 28 Sep 2016 22:55:23 +0000 (22:55 +0000)]
Merge "Fix google-explicit-constructor warnings in gui and ui."

7 years agoMerge "Fix google-explicit-constructor warnings in opengl."
Treehugger Robot [Wed, 28 Sep 2016 22:55:16 +0000 (22:55 +0000)]
Merge "Fix google-explicit-constructor warnings in  opengl."

7 years agoEGL: check that display is still valid
Jesse Hall [Wed, 28 Sep 2016 18:26:57 +0000 (11:26 -0700)]
EGL: check that display is still valid

Bug: 31522731
Change-Id: I84d82e55aba5b58dfdbcac9e208c36767fbedfd1

7 years agoMerge "Fixed and improve RunCommand() when running as root."
TreeHugger Robot [Wed, 28 Sep 2016 21:28:26 +0000 (21:28 +0000)]
Merge "Fixed and improve RunCommand() when running as root."

7 years agoMerge "Fix order of operations warning in libui" am: 73d4186757 am: 1b080b15aa am...
Colin Cross [Wed, 28 Sep 2016 21:21:23 +0000 (21:21 +0000)]
Merge "Fix order of operations warning in libui" am: 73d4186757 am: 1b080b15aa am: 544c391292
am: 1f54f9b392

Change-Id: I0e844f953819730fff3539023d5bdeea274ab4d5

7 years agoMerge "Fix struct vs. class mismatch in forward definitions" am: 8cdcd15c38 am: 5c942...
Colin Cross [Wed, 28 Sep 2016 21:21:09 +0000 (21:21 +0000)]
Merge "Fix struct vs. class mismatch in forward definitions" am: 8cdcd15c38 am: 5c9421500e am: ef2e1afdc2
am: 8bd2f6c499

Change-Id: Ifbbe4207f744ff55e990b86df0cebb10b59244e2

7 years agoMerge "Fix order of operations warning in libui" am: 73d4186757 am: 1b080b15aa
Colin Cross [Wed, 28 Sep 2016 21:11:42 +0000 (21:11 +0000)]
Merge "Fix order of operations warning in libui" am: 73d4186757 am: 1b080b15aa
am: 544c391292

Change-Id: I8fbce66a7a5f41281fa12ce34869f2a1b5e10413

7 years agoMerge "Fix struct vs. class mismatch in forward definitions" am: 8cdcd15c38 am: 5c942...
Colin Cross [Wed, 28 Sep 2016 21:11:28 +0000 (21:11 +0000)]
Merge "Fix struct vs. class mismatch in forward definitions" am: 8cdcd15c38 am: 5c9421500e
am: ef2e1afdc2

Change-Id: I1656836e48b6092602c0a4bf8135084fe8da7df5

7 years agoMerge "Fix order of operations warning in libui" am: 73d4186757
Colin Cross [Wed, 28 Sep 2016 21:04:31 +0000 (21:04 +0000)]
Merge "Fix order of operations warning in libui" am: 73d4186757
am: 1b080b15aa

Change-Id: I959d837f06cfbc747261b92d7202b953ee2e15f1

7 years agoMerge "Fix order of operations warning in libui"
Colin Cross [Wed, 28 Sep 2016 21:02:00 +0000 (21:02 +0000)]
Merge "Fix order of operations warning in libui"
am: 73d4186757

Change-Id: Ib93a8ddcb912b05cd38db1dea7ac0ff21a788bcd

7 years agoMerge "Fix struct vs. class mismatch in forward definitions" am: 8cdcd15c38
Colin Cross [Wed, 28 Sep 2016 21:02:00 +0000 (21:02 +0000)]
Merge "Fix struct vs. class mismatch in forward definitions" am: 8cdcd15c38
am: 5c9421500e

Change-Id: I9f971b18ff7fa72241eb860a782c9a585f8e56f8

7 years agoMerge "Fix struct vs. class mismatch in forward definitions"
Colin Cross [Wed, 28 Sep 2016 20:59:31 +0000 (20:59 +0000)]
Merge "Fix struct vs. class mismatch in forward definitions"
am: 8cdcd15c38

Change-Id: If6768b8a9468833f0fec5025f95c1796dc2869ca

7 years agoInstalld: Add a delete_odex command
Andreas Gampe [Sat, 10 Sep 2016 00:07:04 +0000 (17:07 -0700)]
Installd: Add a delete_odex command

Add a command to delete odex files.

Bug: 31347757
Change-Id: I29bca8751bcee8d6981c682fbbc816c73b78ac68
(cherry picked from commit 3964da0636624ff9af42d1f316bed0752e37c490)

7 years agoMerge "Fix order of operations warning in libui"
Colin Cross [Wed, 28 Sep 2016 20:57:56 +0000 (20:57 +0000)]
Merge "Fix order of operations warning in libui"

7 years agoFix order of operations warning in libui
Colin Cross [Tue, 27 Sep 2016 21:09:07 +0000 (14:09 -0700)]
Fix order of operations warning in libui

The warnings were being hidden by the use of -isystem to include
frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: I21f34567927125d3eeeecd8f00271a175f93af21

7 years agoMerge "Fix struct vs. class mismatch in forward definitions"
Colin Cross [Wed, 28 Sep 2016 20:53:15 +0000 (20:53 +0000)]
Merge "Fix struct vs. class mismatch in forward definitions"

7 years agoFixed and improve RunCommand() when running as root.
Felipe Leme [Wed, 28 Sep 2016 18:58:36 +0000 (11:58 -0700)]
Fixed and improve RunCommand() when running as root.

Improved it by not try to run 'su root' on user builds.
Fixed the logic that creates the args.

BUG: 29319732
BUG: 26379932
Test: manual

Change-Id: I6b39abc8ee907f638905913425218c0a50d767c6

7 years agoMerge "Moar C++ refactoring."
TreeHugger Robot [Wed, 28 Sep 2016 19:37:43 +0000 (19:37 +0000)]
Merge "Moar C++ refactoring."

7 years agoMerge "Add missing liblog dependency" am: c4dd0c3b83 am: abd9a76f5e am: 924fd128fc
Dimitry Ivanov [Wed, 28 Sep 2016 19:10:28 +0000 (19:10 +0000)]
Merge "Add missing liblog dependency" am: c4dd0c3b83 am: abd9a76f5e am: 924fd128fc
am: db459af95a

Change-Id: If039f91c7e2bf38fee5796be915e53acd9fcb7a6

7 years agoMerge "Add missing liblog dependency" am: c4dd0c3b83 am: abd9a76f5e
Dimitry Ivanov [Wed, 28 Sep 2016 19:07:22 +0000 (19:07 +0000)]
Merge "Add missing liblog dependency" am: c4dd0c3b83 am: abd9a76f5e
am: 924fd128fc

Change-Id: I4ec9bf4e9842e9ca9353532e93b322991db685ca

7 years agoMerge "Add missing liblog dependency" am: c4dd0c3b83
Dimitry Ivanov [Wed, 28 Sep 2016 19:04:22 +0000 (19:04 +0000)]
Merge "Add missing liblog dependency" am: c4dd0c3b83
am: abd9a76f5e

Change-Id: Iff76ef4ef129b4e1e76786998a0cbf9acec08f3b

7 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Wed, 28 Sep 2016 19:01:21 +0000 (19:01 +0000)]
Merge "Add missing liblog dependency"
am: c4dd0c3b83

Change-Id: I710f932670b8374e11a19fe96f2a53b622753468

7 years agoMerge "Add missing liblog dependency"
Dimitry Ivanov [Wed, 28 Sep 2016 18:56:35 +0000 (18:56 +0000)]
Merge "Add missing liblog dependency"

7 years agoMoar C++ refactoring.
Felipe Leme [Thu, 22 Sep 2016 00:22:11 +0000 (17:22 -0700)]
Moar C++ refactoring.

- Use std::string on runCommand(), DurationReport, dumpFile() and their
  dependencies.
- Moves runCommand() and dumpFile() to Dumpstate class.

These 2 commands are the only ones currently used on dumpstate_board() implementations.

BUG: 26379932
Test: manual / refactored code

Change-Id: I09072d4e183851f90c07960d1f971a925ea2c801

7 years agoImproved usage on invalid args.
Felipe Leme [Wed, 28 Sep 2016 16:35:01 +0000 (09:35 -0700)]
Improved usage on invalid args.

BUG: 26379932
Test: manual
Change-Id: I89689fa98ebe8ed112038575a614ea81d821d16e

7 years agoFix struct vs. class mismatch in forward definitions
Colin Cross [Mon, 26 Sep 2016 20:48:25 +0000 (13:48 -0700)]
Fix struct vs. class mismatch in forward definitions

The warnings were being hidden by the use of -isystem to include
frameworks/native/include.

Bug: 31752268
Test: m -j
Change-Id: If2bae8b2fbc4238d6251cdd78bc7b5216684f99d

7 years agoMerge "Include what we use." am: be7fdfc2a1 am: 7e46950b9e am: 2e9f5e36b5
Dan Albert [Wed, 28 Sep 2016 09:02:54 +0000 (09:02 +0000)]
Merge "Include what we use." am: be7fdfc2a1 am: 7e46950b9e am: 2e9f5e36b5
am: d7ac910261

Change-Id: I35d7a8efc586ea634cdcc0fef17a4b656d57fe55

7 years agoMerge "Include what we use." am: be7fdfc2a1 am: 7e46950b9e
Dan Albert [Wed, 28 Sep 2016 08:59:43 +0000 (08:59 +0000)]
Merge "Include what we use." am: be7fdfc2a1 am: 7e46950b9e
am: 2e9f5e36b5

Change-Id: I4b8f70dc86df8eeefb4a246084a87d50500e7632

7 years agoMerge "Include what we use." am: be7fdfc2a1
Dan Albert [Wed, 28 Sep 2016 08:57:12 +0000 (08:57 +0000)]
Merge "Include what we use." am: be7fdfc2a1
am: 7e46950b9e

Change-Id: I898b65a7aafd46fe04dff729307c8a7532053f0c

7 years agoMerge "Include what we use."
Dan Albert [Wed, 28 Sep 2016 08:54:12 +0000 (08:54 +0000)]
Merge "Include what we use."
am: be7fdfc2a1

Change-Id: Ifb6f3d6424dc3f1295a8c50a8773b58410b562d9

7 years agoMerge "Include what we use."
Treehugger Robot [Wed, 28 Sep 2016 08:50:27 +0000 (08:50 +0000)]
Merge "Include what we use."

7 years agoInclude what we use.
Dan Albert [Wed, 28 Sep 2016 07:03:56 +0000 (00:03 -0700)]
Include what we use.

Test: make checkbuild
Bug: None
Change-Id: If803e761c6d7e0c6d043bbcd2ace47f373495db3

7 years agoMerge changes I7748934f,I008ef537,I1027e87f am: 132fb22957 am: ab6e9c8664 am: 0c4994a522
Colin Cross [Wed, 28 Sep 2016 04:11:53 +0000 (04:11 +0000)]
Merge changes I7748934f,I008ef537,I1027e87f am: 132fb22957 am: ab6e9c8664 am: 0c4994a522
am: 10743fa479

Change-Id: Ifc3a992cb07506090f009187eb9a62d393d4cb32

7 years agoFix constructor parameters shadowing member variables am: 382ecd3d63 am: 6c79fc7bec...
Colin Cross [Wed, 28 Sep 2016 04:11:46 +0000 (04:11 +0000)]
Fix constructor parameters shadowing member variables am: 382ecd3d63 am: 6c79fc7bec am: 177b452c8c
am: 3dee7b766a

Change-Id: I0e557029e344ace9c92dd998ae8482b6f7714402

7 years agoUse uint32_t consistently for region op am: 8f279960c6 am: 19bf9a2f27 am: 66b52bae7a
Colin Cross [Wed, 28 Sep 2016 04:11:39 +0000 (04:11 +0000)]
Use uint32_t consistently for region op am: 8f279960c6 am: 19bf9a2f27 am: 66b52bae7a
am: 461b4e449f

Change-Id: Idcb2301afeb7142f54e34545c70e948e3dbcb703

7 years agoFix trailing semicolon warnings am: 17576de056 am: 170ae8a510 am: df1b5a19fd
Colin Cross [Wed, 28 Sep 2016 04:11:31 +0000 (04:11 +0000)]
Fix trailing semicolon warnings am: 17576de056 am: 170ae8a510 am: df1b5a19fd
am: b0300ea6f1

Change-Id: Id0a494fe0f1815225e8ff9e9fdbbd7ed06fb8c58

7 years agoMerge changes I7748934f,I008ef537,I1027e87f am: 132fb22957 am: ab6e9c8664
Colin Cross [Wed, 28 Sep 2016 04:04:18 +0000 (04:04 +0000)]
Merge changes I7748934f,I008ef537,I1027e87f am: 132fb22957 am: ab6e9c8664
am: 0c4994a522

Change-Id: I41d47cf42faa75a2ca48397646be110d141bbdd2

7 years agoFix constructor parameters shadowing member variables am: 382ecd3d63 am: 6c79fc7bec
Colin Cross [Wed, 28 Sep 2016 04:04:10 +0000 (04:04 +0000)]
Fix constructor parameters shadowing member variables am: 382ecd3d63 am: 6c79fc7bec
am: 177b452c8c

Change-Id: I1798f49b90a0431c84711c531706e96783fa6802