OSDN Git Service
Felipe Leme [Tue, 9 Feb 2016 18:40:07 +0000 (10:40 -0800)]
Split bugreport identifier into id and pid.
Although 'pid' is more useful when diagnosing problems with the
bugreport workflow, it could be confusing to the end user. Hence, a
sequential id (started at 1 after a reboot) would be more useful.
BUG:
27076108
Change-Id: I6fd7ea8c703e8040034af183ef5cd35adfbcb4ef
Jesse Hall [Mon, 18 Jan 2016 12:00:57 +0000 (04:00 -0800)]
vknulldrv: Report valid VkPhysicalDeviceFeatures
Change-Id: I616f8e40d42abb812cc150d31b3a07d41d86b43c
Jesse Hall [Mon, 1 Feb 2016 22:43:47 +0000 (14:43 -0800)]
vulkan: Document codegen instructions and code style
Change-Id: I7565506a866b72f4ce31ac6bdd3d97e357497ab0
(cherry picked from commit
e0d27bb1f3671401c2f6d84a60111f5c695c97d3)
Felipe Leme [Mon, 8 Feb 2016 17:53:18 +0000 (09:53 -0800)]
Improved dumpstate logging.
dumpstate generates 3 types of output:
- stdout: used for the bugreport itself and is redirected to a file
if requested.
- stderr: used for errors, is only useful when dumpstate is called from
adb (otherwise is ignored).
- ALOG: logged into logcat and available in the bugreport.
This current approach has 2 problems:
- stderr output is ignored when dumpstatet is called from bugreport
services.
- bugs on dumpstate are often hard to diagnose
(AKA 'Who watches the watchmen?').
This change mitigates these problems by redirecting stderr into a log
file (which will also be included in the bugreport notification) and by
keeping the .tmp file around (for the extreme cases where the .zip file
could not be generated or got corrupted).
BUG:
26906985
Change-Id: I73e7b1dd10ad9f83b7aa1043131ff3b74c426fdb
Jeff Sharkey [Sun, 7 Feb 2016 03:57:33 +0000 (03:57 +0000)]
Merge "Migrate default app data on non-FBE devices."
Jeff Sharkey [Sun, 7 Feb 2016 02:46:09 +0000 (19:46 -0700)]
Migrate default app data on non-FBE devices.
When a system app requests "forceDeviceEncrypted" they expect their
default app storage to point at a consistent location regardless of
device FBE support. So when booting upgraded non-FBE devices, we
may need to migrate any data from CE to DE. Note that on non-FBE
devices these are just semantic locations with identical protection.
This migration *only* works for non-FBE devices; changing
forceDeviceEncrypted flags on an FBE device always requires a full
data wipe.
Bug:
26668510
Change-Id: I8bd5b8ba882e6bd067c0381041b27c35d6e47788
Hangyu Kuang [Sat, 6 Feb 2016 05:16:06 +0000 (05:16 +0000)]
Merge "openmax: Use unsigned 32bit integer for intra refresh period."
John Reck [Sat, 6 Feb 2016 00:20:01 +0000 (00:20 +0000)]
Merge "Enable wildcard in the list of kernel functions" am:
fda23631b9 am:
ec3ae45d30
am:
2b71580ff6
* commit '
2b71580ff6b444f53b9c24f86ad436696720b896':
Enable wildcard in the list of kernel functions
John Reck [Sat, 6 Feb 2016 00:16:28 +0000 (00:16 +0000)]
Merge "Enable wildcard in the list of kernel functions" am:
fda23631b9
am:
ec3ae45d30
* commit '
ec3ae45d3094c5564f2689ede3eded5926953297':
Enable wildcard in the list of kernel functions
John Reck [Sat, 6 Feb 2016 00:14:35 +0000 (00:14 +0000)]
Merge "Enable wildcard in the list of kernel functions"
am:
fda23631b9
* commit '
fda23631b978bec793b67037dc2841a6a15531fb':
Enable wildcard in the list of kernel functions
John Reck [Sat, 6 Feb 2016 00:11:38 +0000 (00:11 +0000)]
Merge "Enable wildcard in the list of kernel functions"
Mark Salyzyn [Fri, 5 Feb 2016 22:45:22 +0000 (22:45 +0000)]
Merge "dumpstate: refine calculated eMMC performance values" am:
088e7586ea am:
917b324e19
am:
a960bc95b2
* commit '
a960bc95b2430ba01fc4b04b4527d32e00eeb4b5':
dumpstate: refine calculated eMMC performance values
Mark Salyzyn [Fri, 5 Feb 2016 22:43:28 +0000 (22:43 +0000)]
Merge "dumpstate: refine calculated eMMC performance values" am:
088e7586ea
am:
917b324e19
* commit '
917b324e19121766a9f8112d0fbc4424f172e615':
dumpstate: refine calculated eMMC performance values
Mark Salyzyn [Fri, 5 Feb 2016 22:41:30 +0000 (22:41 +0000)]
Merge "dumpstate: refine calculated eMMC performance values"
am:
088e7586ea
* commit '
088e7586ea7d0103d1b5395172a4594eddbf5b4a':
dumpstate: refine calculated eMMC performance values
Mark Salyzyn [Fri, 5 Feb 2016 22:38:34 +0000 (22:38 +0000)]
Merge "dumpstate: refine calculated eMMC performance values"
Mark Salyzyn [Thu, 4 Feb 2016 17:20:44 +0000 (09:20 -0800)]
dumpstate: refine calculated eMMC performance values
Correct the raw performance with the average queue depth. Add a
report for I/O per second, and the average queue depth. Round
values up.
Bug:
26966375
Change-Id: I2a8d233872d5e5ff79d433abba3c34d5945701f4
Hangyu Kuang [Fri, 5 Feb 2016 22:14:15 +0000 (14:14 -0800)]
openmax: Use unsigned 32bit integer for intra refresh period.
Bug:
26587630
Change-Id: Ib658bcf93093aa4e1b4863f245efbd7b7e6a0389
Jeff Sharkey [Fri, 5 Feb 2016 21:01:19 +0000 (21:01 +0000)]
Merge "Follow constant refactoring in framework."
Mark Salyzyn [Fri, 5 Feb 2016 18:15:08 +0000 (18:15 +0000)]
Merge "system_server BINDER_TYPE_FD driver ashmem accessors" am:
b23a388c64 am:
3196c839af
am:
6ff4920cb1
* commit '
6ff4920cb12fa4776d27b54e2e4daa27bb78fc10':
system_server BINDER_TYPE_FD driver ashmem accessors
Mark Salyzyn [Fri, 5 Feb 2016 18:12:01 +0000 (18:12 +0000)]
Merge "system_server BINDER_TYPE_FD driver ashmem accessors" am:
b23a388c64
am:
3196c839af
* commit '
3196c839af9ea74c59f5860c0d1f6e7e20b7a65e':
system_server BINDER_TYPE_FD driver ashmem accessors
Mark Salyzyn [Fri, 5 Feb 2016 18:08:36 +0000 (18:08 +0000)]
Merge "system_server BINDER_TYPE_FD driver ashmem accessors"
am:
b23a388c64
* commit '
b23a388c64d2fef51482feaaf89c345488f3cabc':
system_server BINDER_TYPE_FD driver ashmem accessors
Mark Salyzyn [Fri, 5 Feb 2016 18:05:23 +0000 (18:05 +0000)]
Merge "system_server BINDER_TYPE_FD driver ashmem accessors"
Calin Juravle [Fri, 5 Feb 2016 17:13:00 +0000 (17:13 +0000)]
Merge "installd: Run dex2oat with relative path to the APK"
David Brazdil [Fri, 5 Feb 2016 15:42:01 +0000 (15:42 +0000)]
installd: Run dex2oat with relative path to the APK
Previous CL (I6aaddffe79c55b9a6560c2d6542cf87abbd4fb11) started
passing the absolute path of an APK to dex2oat. This renders APKs
dexopted while in a temporary folder during install out-of-date when
moved to the final location.
Bug:
26409579
Change-Id: Icccf2d1bb34e2d5f4d98efae3c8f5609784abafd
Thomas Buhot [Wed, 27 Jan 2016 08:44:31 +0000 (09:44 +0100)]
Enable wildcard in the list of kernel functions
The handling of the -k option is too restrictive
as it stricly checks the names of the kernel functions
after it wrote them in /d/tracing/set_ftrace_filter.
However, a common usage of that function filtering with ftrace
is to use a wildcard character (*) that the ftrace tracer
automatically expands to all the matching kernel functions.
This enables the support of the wildcard (*) character
in the -k option to trace kernel functions.
Change-Id: Ifffae975c20e1c253157a3a6b44a14b4f342b9d0
Signed-off-by: Thomas Buhot <thomas.buhot@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
Hangyu Kuang [Fri, 5 Feb 2016 01:42:27 +0000 (01:42 +0000)]
Merge "openmax: Add OMX_IndexConfigAndroidIntraRefresh for intra refresh."
Eino-Ville Talvala [Fri, 5 Feb 2016 00:59:06 +0000 (00:59 +0000)]
Merge "Binder::Status: Add operator<< to help with gtest logging" am:
259eb56171 am:
e4fe50ca42
am:
4b41905563
* commit '
4b41905563dc35190d60e92c2ea51d210e600caa':
Binder::Status: Add operator<< to help with gtest logging
Eino-Ville Talvala [Fri, 5 Feb 2016 00:56:59 +0000 (00:56 +0000)]
Merge "Binder::Status: Add operator<< to help with gtest logging" am:
259eb56171
am:
e4fe50ca42
* commit '
e4fe50ca421f0d8508a86f3b03f452d59136f5ae':
Binder::Status: Add operator<< to help with gtest logging
Eino-Ville Talvala [Fri, 5 Feb 2016 00:54:57 +0000 (00:54 +0000)]
Merge "Binder::Status: Add operator<< to help with gtest logging"
am:
259eb56171
* commit '
259eb56171420f62be325eadc38673d967527ab6':
Binder::Status: Add operator<< to help with gtest logging
Eino-Ville Talvala [Fri, 5 Feb 2016 00:52:11 +0000 (00:52 +0000)]
Merge "Binder::Status: Add operator<< to help with gtest logging"
Hangyu Kuang [Thu, 28 Jan 2016 17:51:14 +0000 (09:51 -0800)]
openmax: Add OMX_IndexConfigAndroidIntraRefresh for intra refresh.
Bug:
26587630
Change-Id: I153d6d617d2aaf9e216dcdf3dec809b778decebf
Jeff Sharkey [Wed, 3 Feb 2016 21:03:16 +0000 (14:03 -0700)]
Follow constant refactoring in framework.
Bug:
25796509
Change-Id: Ib19aa570fb5fbf26752c5487f1221c9959b1143a
Eino-Ville Talvala [Wed, 3 Feb 2016 21:19:49 +0000 (13:19 -0800)]
Binder::Status: Add operator<< to help with gtest logging
Change-Id: I22fcf7c6314451701ba947af2d69d4e45b22345a
Prashant Malani [Thu, 4 Feb 2016 00:01:57 +0000 (00:01 +0000)]
Merge changes from topic 'rotary-master'
* changes:
inputflinger: Add support for scaling and true value reporting
inputflinger: Initial support for rotary encoders.
Felipe Leme [Wed, 3 Feb 2016 23:33:38 +0000 (23:33 +0000)]
Merge "Added --skip option to skip services."
Felipe Leme [Wed, 3 Feb 2016 23:32:54 +0000 (23:32 +0000)]
Merge "Added --help option to dumpsys."
Mathieu Chartier [Wed, 3 Feb 2016 23:26:13 +0000 (23:26 +0000)]
Merge "Create app images only if dalvik.vm.appimageformat property exists"
Mathieu Chartier [Wed, 3 Feb 2016 22:25:02 +0000 (14:25 -0800)]
Create app images only if dalvik.vm.appimageformat property exists
If the dalvik.vm.appimageformat property does not exist, do not
generate an application image.
Other improvements:
unlink app image if the property is not set, or we are extract only.
Bug:
22858531
Change-Id: I50d8b66787a4e8b6135ad2b00744c7f1ae7c7f53
Courtney Goeltzenleuchter [Fri, 29 Jan 2016 15:57:16 +0000 (08:57 -0700)]
loader: Test for valid ICD before init dispatch
Test that the Instance object returned by the ICD
is valid before initializing the loader's instance
dispatch table. Not a huge deal since that test
should never fail in production, but flows better.
Change-Id: I7063fb797038e05ea2d0cf9b0794f668b3510cde
Courtney Goeltzenleuchter [Fri, 29 Jan 2016 20:02:06 +0000 (13:02 -0700)]
Revert "libvulkan: Implement VK_PRESENT_MODE_MAILBOX_KHR"
This reverts commit
f333922399393609f5bf022a3467b7541bd1ad0f.
Hologram demo dies with this change.
Felipe Leme [Wed, 3 Feb 2016 20:17:10 +0000 (12:17 -0800)]
Added --skip option to skip services.
This option will be used by dumpstate so critical services (like meminfo
and cpuinfo) can be dumped earlier on and then skipped later (when the
rest of the services are dumped).
BUG:
26639621
Change-Id: Ied61431c4d03d7d2eb010edd77872fb7e6bae3bd
Mathieu Chartier [Wed, 3 Feb 2016 21:48:16 +0000 (13:48 -0800)]
Pass app image format property to dex2oat
Enables using lz4 for app images.
Bug:
22858531
Change-Id: Ife2bca8883c2868d30b45e0eec210f96d589068e
Pablo Ceballos [Wed, 3 Feb 2016 21:11:01 +0000 (21:11 +0000)]
Merge "BQ: Flexible resizing"
Mark Salyzyn [Tue, 2 Feb 2016 18:27:03 +0000 (10:27 -0800)]
system_server BINDER_TYPE_FD driver ashmem accessors
check if device matches the ashmem rdev, before calling
ashmem_get_size_region. This eliminates making this call
when associated with other driver file descriptors.
Bug:
26374183
Bug:
26918423
Bug:
26871259
Change-Id: I1f88c2c93ea35a73c8e14125f3d1a6c67fa4f15b
Mathieu Chartier [Wed, 3 Feb 2016 18:47:44 +0000 (10:47 -0800)]
Avoid generating app images for extract only
The extract only app images have no resolved classes and only
contain dex cache arrays.
Bug:
22858531
Change-Id: I4351ef374f66d2882cc23fca14495e63a0e30e89
Felipe Leme [Wed, 3 Feb 2016 19:16:27 +0000 (11:16 -0800)]
Added --help option to dumpsys.
When invoked with --help, dumpsys will print:
usage: dumpsys
To dump all services.
or:
dumpsys [--help | -l | SERVICE [ARGS]]
--help: shows this help
-l: only list services, do not dump them
SERVICE: dumps only service SERVICE, optionally passing ARGS to it
BUG:
26639621
Change-Id: Ic7f7a5ec80fb3da1dc5a412b07ef2859d31b09d2
Mathieu Chartier [Wed, 3 Feb 2016 18:23:50 +0000 (18:23 +0000)]
Merge "Avoid unlinking app image file"
Felipe Leme [Wed, 3 Feb 2016 18:21:04 +0000 (18:21 +0000)]
Merge "Improved how the Shell directories are created."
Felipe Leme [Wed, 3 Feb 2016 17:28:24 +0000 (09:28 -0800)]
Improved how the Shell directories are created.
When dumpstate is run for the first time, the
/data/data/com.android.shell/files/bugreports does not exist, which was
crashing dumpstate because the code that added the version.txt entry was
not checking if the zip_writer was NULL.
The crash itself was fixed by adding a sanity check in the functions
that add entries to the zip file, but that only hid the real problem:
it is necessary to create the parent directories before creating the zip
file, otherwise the first run will always generate a .txt file (since
dumpstate falls back to .txt when it cannot create the .zip).
This change also improves how the parent directories are created by
checking if they exist first, rather than always calling mkdir().
BUG:
26949960
Change-Id: I1434be5c36a3fad0b3a2a26c7eaaab03a1228c30
Pablo Ceballos [Wed, 3 Feb 2016 17:53:57 +0000 (17:53 +0000)]
Merge "BQ: Conditionally compile validateConsistencyLocked"
Wonsik Kim [Wed, 3 Feb 2016 03:49:17 +0000 (03:49 +0000)]
Merge "omx: add extensions for querying audio profiles"
Dan Albert [Wed, 3 Feb 2016 01:24:27 +0000 (01:24 +0000)]
Merge "Fix typo from last commit." am:
ae8442856b am:
9d6acce68a
am:
805e3f03dc
* commit '
805e3f03dc3848e47b99a45b49ed9bbf65906e00':
Fix typo from last commit.
Dan Albert [Wed, 3 Feb 2016 01:22:24 +0000 (01:22 +0000)]
Merge "Fix typo from last commit." am:
ae8442856b
am:
9d6acce68a
* commit '
9d6acce68a257e73463593627bb4b31b140679e7':
Fix typo from last commit.
Dan Albert [Wed, 3 Feb 2016 01:20:13 +0000 (01:20 +0000)]
Merge "Fix typo from last commit."
am:
ae8442856b
* commit '
ae8442856bfdcfd4daf287a880ce7ce4eadaa3e4':
Fix typo from last commit.
Dan Albert [Wed, 3 Feb 2016 01:16:40 +0000 (01:16 +0000)]
Merge "Fix typo from last commit."
Dan Albert [Wed, 3 Feb 2016 01:08:05 +0000 (17:08 -0800)]
Fix typo from last commit.
Bad commit: https://android-review.googlesource.com/#/c/200449/1
Change-Id: I412e2740951f15cf843bd36a50476070c0cb1ebd
Felipe Leme [Wed, 3 Feb 2016 01:00:53 +0000 (01:00 +0000)]
Merge "Added metadata entries to zipped bugreport:"
Dan Albert [Wed, 3 Feb 2016 00:48:42 +0000 (00:48 +0000)]
Merge "Clean up warnings in inputflinger." am:
f3606ef25f am:
ca5ad095f4
am:
82d47db481
* commit '
82d47db4815ab8b49f4c399ba16d2af12926cfe1':
Clean up warnings in inputflinger.
Dan Albert [Wed, 3 Feb 2016 00:48:31 +0000 (00:48 +0000)]
Merge "Clean up warnings in EGL." am:
c312141adc am:
d380a770fd
am:
f4acff7c49
* commit '
f4acff7c490c6bf8a88661a15ca4bf2536ca4854':
Clean up warnings in EGL.
Dan Albert [Wed, 3 Feb 2016 00:46:35 +0000 (00:46 +0000)]
Merge "Clean up warnings in inputflinger." am:
f3606ef25f
am:
ca5ad095f4
* commit '
ca5ad095f428f7c93628db5813e427c47598d102':
Clean up warnings in inputflinger.
Dan Albert [Wed, 3 Feb 2016 00:46:29 +0000 (00:46 +0000)]
Merge "Clean up warnings in EGL." am:
c312141adc
am:
d380a770fd
* commit '
d380a770fd22526fee5becd32ce754dcf4a181d4':
Clean up warnings in EGL.
Dan Albert [Wed, 3 Feb 2016 00:43:16 +0000 (00:43 +0000)]
Merge "Clean up warnings in inputflinger."
am:
f3606ef25f
* commit '
f3606ef25fb588283020c4df178076852eecc4e3':
Clean up warnings in inputflinger.
Dan Albert [Wed, 3 Feb 2016 00:43:10 +0000 (00:43 +0000)]
Merge "Clean up warnings in EGL."
am:
c312141adc
* commit '
c312141adc9a5f00b5d13d0980d132d2a8c6f3c9':
Clean up warnings in EGL.
Dan Albert [Wed, 3 Feb 2016 00:40:26 +0000 (00:40 +0000)]
Merge "Clean up warnings in inputflinger."
Dan Albert [Wed, 3 Feb 2016 00:40:03 +0000 (00:40 +0000)]
Merge "Clean up warnings in EGL."
Dan Albert [Tue, 2 Feb 2016 23:11:57 +0000 (15:11 -0800)]
Clean up warnings in inputflinger.
Bug: http://b/
26936282
Change-Id: Ie1fb281425c3b8c4b3e6e88dc5722d51b77ee093
Dan Albert [Tue, 2 Feb 2016 23:08:34 +0000 (15:08 -0800)]
Clean up warnings in EGL.
Bug: http://b/
26936282
Change-Id: I059628332d638f080a5236eed62cf0afa1d4d6ba
Felipe Leme [Tue, 2 Feb 2016 20:57:00 +0000 (12:57 -0800)]
Added metadata entries to zipped bugreport:
- version.txt: bugreport format version
- main-entry.txt: name of the entry containing the main bugreport (flat file)
Also documented the zip format versions on bugreport-format.txt.
BUG:
26910355
BUG:
26639621
Change-Id: I76b9f6d330c36ad554fae8e691c9ea3ab3c97edd
Pablo Ceballos [Tue, 8 Dec 2015 00:38:43 +0000 (16:38 -0800)]
BQ: Flexible resizing
- Allow the producer to call setMaxDequeuedBufferCount and the
consumer to call setMaxAcquiredBufferCount when buffers are
currently dequeued/acquired as long as the new value is not less
than the number of dequeued/acquired buffers.
Bug
22768206
Change-Id: I599a4027a6ae9cb0a1c0d5ec60cb5e65b86a345b
Pablo Ceballos [Tue, 12 Jan 2016 21:49:19 +0000 (13:49 -0800)]
BQ: Conditionally compile validateConsistencyLocked
- Only enable it on userdebug and eng builds so that it won't slow
down user builds.
Change-Id: I70933a23d54657fdf5cbc23873da4fbee84b9a26
Pablo Ceballos [Fri, 8 Jan 2016 20:15:22 +0000 (12:15 -0800)]
BQ: Improved buffer/slot tracking
- Explicitly track active buffers and unused slots on top of the
already existing tracking for free slots and free buffers.
Change-Id: Ife2678678e96f0eb0b3fb21571058378134bd868
Andreas Gampe [Tue, 2 Feb 2016 16:00:59 +0000 (16:00 +0000)]
Merge "Installd: Introduce otapreopt"
Andreas Gampe [Thu, 19 Nov 2015 22:12:14 +0000 (14:12 -0800)]
Installd: Introduce otapreopt
Add a tool for dexopt during OTA. The tool will use /data/ota as
an ANDROID_ROOT wrt/ the dalvik-cache, compiling a new boot image
and system apps into this directory. Other apps will be compiled
to odex files suffixed with ".b".
Bug:
25612095
Change-Id: I6ac382973f13850f6b37402a1b2330c0014b47d9
Felipe Leme [Tue, 2 Feb 2016 00:35:05 +0000 (00:35 +0000)]
Merge "Redirect output to file ASAP, otherwise printf() calls might be missed."
Felipe Leme [Mon, 1 Feb 2016 18:35:38 +0000 (10:35 -0800)]
Redirect output to file ASAP, otherwise printf() calls might be missed.
Also removed the duraction reporter on add_zip_entry_from_fd - since it
was spamming the report and the timing could be infered by calculating the
delta between each ALOGD entry anyways - and logged PID and statistics.
BUG:
26885492
Change-Id: Iadb00957daac68b7a40b0e36ee5cce2b82264588
Andreas Gampe [Mon, 1 Feb 2016 22:32:34 +0000 (22:32 +0000)]
Merge "Binder: Add log output in IPCThreadState::self()" am:
2be113a248 am:
e7ae3b1962
am:
35cadd735a
* commit '
35cadd735aa3db14e82e7d492f7f7d64357e915a':
Binder: Add log output in IPCThreadState::self()
Andreas Gampe [Mon, 1 Feb 2016 22:29:40 +0000 (22:29 +0000)]
Merge "Binder: Add log output in IPCThreadState::self()" am:
2be113a248
am:
e7ae3b1962
* commit '
e7ae3b1962d0b4cb83ede79f625e75c9d88d35fb':
Binder: Add log output in IPCThreadState::self()
Andreas Gampe [Mon, 1 Feb 2016 22:26:59 +0000 (22:26 +0000)]
Merge "Binder: Add log output in IPCThreadState::self()"
am:
2be113a248
* commit '
2be113a2489e7d56b21f8ec340198959348012b3':
Binder: Add log output in IPCThreadState::self()
Andreas Gampe [Mon, 1 Feb 2016 22:23:33 +0000 (22:23 +0000)]
Merge "Binder: Add log output in IPCThreadState::self()"
Christopher Wiley [Mon, 1 Feb 2016 21:46:24 +0000 (21:46 +0000)]
Merge "Add support for decoding UTF16 to UTF8" am:
ac4728f8ba am:
7b0c8479ae
am:
4ab1dbe559
* commit '
4ab1dbe5594b672532db5996dce3b77dbedd7580':
Add support for decoding UTF16 to UTF8
Christopher Wiley [Mon, 1 Feb 2016 21:44:00 +0000 (21:44 +0000)]
Merge "Add support for decoding UTF16 to UTF8" am:
ac4728f8ba
am:
7b0c8479ae
* commit '
7b0c8479ae68c6596df21879c6470ff21560ea03':
Add support for decoding UTF16 to UTF8
Christopher Wiley [Mon, 1 Feb 2016 21:41:56 +0000 (21:41 +0000)]
Merge "Add support for decoding UTF16 to UTF8"
am:
ac4728f8ba
* commit '
ac4728f8ba54e5f25466efeaf65a1dbda179ca97':
Add support for decoding UTF16 to UTF8
Christopher Wiley [Mon, 1 Feb 2016 21:40:33 +0000 (21:40 +0000)]
Merge "Add support for decoding UTF16 to UTF8"
Andreas Gampe [Mon, 1 Feb 2016 21:21:56 +0000 (13:21 -0800)]
Binder: Add log output in IPCThreadState::self()
In the failure case, and on shutdown, add log output. It's highly
likely the client will crash when a null value is returned. Displaying
a possible root cause helps diagnosing issues.
Bug:
26865304
Change-Id: Ie5255ac50d6dcdf9f918dcef785788ea795a4791
Ruben Brunk [Mon, 1 Feb 2016 18:20:04 +0000 (18:20 +0000)]
Merge "Add feature tag for high-performance VR devices."
Mathieu Chartier [Thu, 28 Jan 2016 23:38:29 +0000 (15:38 -0800)]
Avoid unlinking app image file
Avoid erasing the image file in installd in case we abort compilation
due to no new profile data. This prevents the application image file
being turned into a 0 byte file in this case.
The ART image writer erases the file before writing.
Bug:
22858531
Change-Id: I0b35905698662cef80eecfc350e5504bf62a5ac1
Christopher Wiley [Fri, 29 Jan 2016 00:56:53 +0000 (16:56 -0800)]
Add support for decoding UTF16 to UTF8
This is helpful because many native service developers use std::string
internally, and String16 doesn't work very well with many C++
primitives.
Bug:
26729450
Test: Integration test appears to show this is correct.
Change-Id: Ib75068881da28fd8515685bcbcbe864ba3b7ec23
Alain Vongsouvanh [Fri, 29 Jan 2016 21:27:30 +0000 (21:27 +0000)]
Merge changes I68ed9d1c,I4ebccfd0,I3507bdfd,Iaf02f55c into cw-e-dev am:
d6ad64f894 am:
a20eb797c4 am:
7452d20732
am:
eb868b3717
* commit '
eb868b3717f391951258b6b249862f02d83e2ea1':
system_server BINDER_TYPE_FD sockets using ashmem accessors
Parcel: file descriptor leak
Parcel: include Android coding standard
Parcel: LOG_TAG cleanup
Alain Vongsouvanh [Fri, 29 Jan 2016 21:25:05 +0000 (21:25 +0000)]
Merge changes I68ed9d1c,I4ebccfd0,I3507bdfd,Iaf02f55c into cw-e-dev am:
d6ad64f894 am:
a20eb797c4
am:
7452d20732
* commit '
7452d20732d5dfe75cff21bc70e59b6a47c659e4':
system_server BINDER_TYPE_FD sockets using ashmem accessors
Parcel: file descriptor leak
Parcel: include Android coding standard
Parcel: LOG_TAG cleanup
Alain Vongsouvanh [Fri, 29 Jan 2016 21:21:57 +0000 (21:21 +0000)]
Merge changes I68ed9d1c,I4ebccfd0,I3507bdfd,Iaf02f55c into cw-e-dev am:
d6ad64f894
am:
a20eb797c4
* commit '
a20eb797c462189ba6641308d80e638501db0a18':
system_server BINDER_TYPE_FD sockets using ashmem accessors
Parcel: file descriptor leak
Parcel: include Android coding standard
Parcel: LOG_TAG cleanup
Alain Vongsouvanh [Fri, 29 Jan 2016 21:18:22 +0000 (21:18 +0000)]
Merge changes I68ed9d1c,I4ebccfd0,I3507bdfd,Iaf02f55c into cw-e-dev
am:
d6ad64f894
* commit '
d6ad64f89439b61eb1af2e5d8ca957c3887d9e56':
system_server BINDER_TYPE_FD sockets using ashmem accessors
Parcel: file descriptor leak
Parcel: include Android coding standard
Parcel: LOG_TAG cleanup
Alain Vongsouvanh [Fri, 29 Jan 2016 21:15:39 +0000 (21:15 +0000)]
Merge changes I68ed9d1c,I4ebccfd0,I3507bdfd,Iaf02f55c into cw-e-dev
* changes:
system_server BINDER_TYPE_FD sockets using ashmem accessors
Parcel: file descriptor leak
Parcel: include Android coding standard
Parcel: LOG_TAG cleanup
Jeff Sharkey [Fri, 29 Jan 2016 16:47:22 +0000 (09:47 -0700)]
Remove "updatecmds" feature.
This feature is very old and hasn't been used in many releases. In
addition, it was never taught about multi-user layouts, and it would
be incredibly hard to maintain in the new FBE world where CE keys
may not appear until several reboots after an OTA.
Bug:
26854442
Change-Id: Ibd8660e2a727469cd5ae41dab5e1014a9cfb6748
Felipe Leme [Fri, 29 Jan 2016 17:14:37 +0000 (17:14 +0000)]
Merge "Proper fix of am args."
Felipe Leme [Fri, 29 Jan 2016 17:07:57 +0000 (09:07 -0800)]
Proper fix of am args.
BUG:
26871362
Change-Id: If3411b69ea1feef827cd23ef81baa8c0ffeaa309
Felipe Leme [Fri, 29 Jan 2016 16:50:36 +0000 (16:50 +0000)]
Merge "Fixed usage --receiver-foreground on am call."
Felipe Leme [Fri, 29 Jan 2016 16:46:27 +0000 (08:46 -0800)]
Fixed usage --receiver-foreground on am call.
BUG:
26871362
Change-Id: Ied8e663eec59c83a06a8f2a6e2908c02ac1558c8
Mark Salyzyn [Wed, 27 Jan 2016 16:02:48 +0000 (08:02 -0800)]
system_server BINDER_TYPE_FD sockets using ashmem accessors
check if device is a character device, before calling
ashmem_get_size_region. We do not check if the st_rdev
matches /dev/ashmem. So this at least eliminates making
this call when associated with a socket.
Bug:
26374183
Change-Id: I68ed9d1c2cd4c47228ed065e3e18eb4151f038f4
(cherry picked from AOSP commit
eab2afc7ac5183750a23693ecee89dad7f7abf5f)
Mark Salyzyn [Wed, 27 Jan 2016 16:02:48 +0000 (08:02 -0800)]
Parcel: file descriptor leak
Resolve a file descriptor leak when a request for
ashmem size adjustment is not filed.
Change-Id: I4ebccfd096ec5313725fd99dc3e025f9561d061f
(cherry picked from AOSP commit
b454d8ffa928e33dd54c979a747994acbd117397)
Mark Salyzyn [Wed, 27 Jan 2016 16:02:48 +0000 (08:02 -0800)]
Parcel: include Android coding standard
Change-Id: I3507bdfd04a06db85b46539338c787395ec652ff
(cherry picked from AOSP commit
abed7f7aebdbdd20fdb37d0d6e79e50905c7f5d5)