OSDN Git Service

android-x86/frameworks-base.git
10 years agoam f0ffa8a3: Merge "app_process: use LOCAL_MULTILIB := both"
Colin Cross [Thu, 27 Mar 2014 17:30:01 +0000 (17:30 +0000)]
am f0ffa8a3: Merge "app_process: use LOCAL_MULTILIB := both"

* commit 'f0ffa8a38e90f64912686833dba9823b251fae57':
  app_process: use LOCAL_MULTILIB := both

10 years agoMerge "app_process: use LOCAL_MULTILIB := both"
Colin Cross [Thu, 27 Mar 2014 17:26:07 +0000 (17:26 +0000)]
Merge "app_process: use LOCAL_MULTILIB := both"

10 years agoapp_process: use LOCAL_MULTILIB := both
Colin Cross [Thu, 27 Mar 2014 17:20:29 +0000 (10:20 -0700)]
app_process: use LOCAL_MULTILIB := both

Use LOCAL_MULTILIB := both to build app_process64 instead of
duplicating the build rule.

Also causes PRODUCT_PACKAGES := app_process to install both
versions on 64-bit platforms, as the module names for both
app_process and app_process64 are now app_process.

Change-Id: Ia3c3265d15475771b0cae8bace53b8fbf351c186

10 years agoam cd3f60f3: Merge "AArch64: Make frameworks/base code more portable"
Narayan Kamath [Thu, 27 Mar 2014 12:36:10 +0000 (12:36 +0000)]
am cd3f60f3: Merge "AArch64: Make frameworks/base code more portable"

* commit 'cd3f60f30366a34b4499aab5a47b622069ba9cd6':
  AArch64: Make frameworks/base code more portable

10 years agoMerge "AArch64: Make frameworks/base code more portable"
Narayan Kamath [Thu, 27 Mar 2014 12:30:53 +0000 (12:30 +0000)]
Merge "AArch64: Make frameworks/base code more portable"

10 years agoAArch64: Make frameworks/base code more portable
Ashok Bhat [Tue, 25 Mar 2014 20:51:35 +0000 (20:51 +0000)]
AArch64: Make frameworks/base code more portable

Changes in this patch include

[x] Use %zu for size_t, %zd for ssize_t

[x] Some minor changes have been done to conform with
    standard JNI practice (e.g. use of jint instead of int
    in JNI function prototypes)

Change-Id: Id1aaa7894a7d0b85ac7ecd7b2bfd8cc40374261f
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Craig Barber <craig.barber@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
10 years agoam 57f2764b: Merge "CertificateChainValidator: initialize TrustManagerFactory"
Kenny Root [Wed, 26 Mar 2014 23:59:11 +0000 (23:59 +0000)]
am 57f2764b: Merge "CertificateChainValidator: initialize TrustManagerFactory"

* commit '57f2764bf104b0fe7b5cd67ad5b2cae9bc8352ed':
  CertificateChainValidator: initialize TrustManagerFactory

10 years agoMerge "CertificateChainValidator: initialize TrustManagerFactory"
Kenny Root [Wed, 26 Mar 2014 22:51:52 +0000 (22:51 +0000)]
Merge "CertificateChainValidator: initialize TrustManagerFactory"

10 years agoam 5daf51c0: Merge "jni: 64-bit compile issue"
Mark Salyzyn [Wed, 26 Mar 2014 19:56:02 +0000 (12:56 -0700)]
am 5daf51c0: Merge "jni: 64-bit compile issue"

* commit '5daf51c0fe6d5bea858c37291fed88bd3094d3ec':
  jni: 64-bit compile issue

10 years agoMerge "jni: 64-bit compile issue"
Mark Salyzyn [Wed, 26 Mar 2014 19:52:11 +0000 (19:52 +0000)]
Merge "jni: 64-bit compile issue"

10 years agojni: 64-bit compile issue
Mark Salyzyn [Thu, 20 Mar 2014 19:09:01 +0000 (12:09 -0700)]
jni: 64-bit compile issue

- switch to PRId64
- some unused parameter warning suppression

Change-Id: Ia36bd1a247bb6e866a6b1050ab1362ebc9d31786

10 years agoam 491eaf22: Merge "Note libselinux dependency on packages.list format changes."
Nick Kralevich [Wed, 26 Mar 2014 15:47:39 +0000 (08:47 -0700)]
am 491eaf22: Merge "Note libselinux dependency on packages.list format changes."

* commit '491eaf2255a95186e84092eae4ec43582eebb37b':
  Note libselinux dependency on packages.list format changes.

10 years agoMerge "Note libselinux dependency on packages.list format changes."
Nick Kralevich [Wed, 26 Mar 2014 15:41:14 +0000 (15:41 +0000)]
Merge "Note libselinux dependency on packages.list format changes."

10 years agoCertificateChainValidator: initialize TrustManagerFactory
Kenny Root [Wed, 26 Mar 2014 15:40:43 +0000 (08:40 -0700)]
CertificateChainValidator: initialize TrustManagerFactory

Need to call TrustManagerFactory#init before use. I suspect this class
isn't used anywhere since this hasn't caused a problem yet.

Change-Id: I17425d0bba4795d71960062361a755830abba7de

10 years agoNote libselinux dependency on packages.list format changes.
Stephen Smalley [Wed, 26 Mar 2014 13:19:12 +0000 (09:19 -0400)]
Note libselinux dependency on packages.list format changes.

Change-Id: I3c34a86f5706c4fca826a8634936131e4e4fc297
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
10 years agoam 80470cdf: Merge "Solve three memory leaks related to PatchCache"
Chris Craik [Tue, 25 Mar 2014 20:21:01 +0000 (13:21 -0700)]
am 80470cdf: Merge "Solve three memory leaks related to PatchCache"

* commit '80470cdf6c6995f4afe8d5e2c4b6e898625173fb':
  Solve three memory leaks related to PatchCache

10 years agoMerge "Solve three memory leaks related to PatchCache"
Chris Craik [Tue, 25 Mar 2014 20:11:33 +0000 (20:11 +0000)]
Merge "Solve three memory leaks related to PatchCache"

10 years agoam 77ceb5e8: Merge "Use X509ExtendedTrustManager and not Conscrypt"
Kenny Root [Tue, 25 Mar 2014 17:19:27 +0000 (10:19 -0700)]
am 77ceb5e8: Merge "Use X509ExtendedTrustManager and not Conscrypt"

* commit '77ceb5e8f18608cdbf19831f6188db87a5e0c058':
  Use X509ExtendedTrustManager and not Conscrypt

10 years agoam 2cacc619: Merge "Don\'t wait for finishing animation when second display is discon...
Craig Mautner [Tue, 25 Mar 2014 17:19:24 +0000 (10:19 -0700)]
am 2cacc619: Merge "Don\'t wait for finishing animation when second display is disconnected"

* commit '2cacc619d62f58ee8a9d0fcfac942c6d5faf7031':
  Don't wait for finishing animation when second display is disconnected

10 years agoMerge "Use X509ExtendedTrustManager and not Conscrypt"
Kenny Root [Tue, 25 Mar 2014 17:06:54 +0000 (17:06 +0000)]
Merge "Use X509ExtendedTrustManager and not Conscrypt"

10 years agoMerge "Don't wait for finishing animation when second display is disconnected"
Craig Mautner [Tue, 25 Mar 2014 17:01:27 +0000 (17:01 +0000)]
Merge "Don't wait for finishing animation when second display is disconnected"

10 years agoam 5f0d44f6: Merge "Fix scaleNinePatch."
Narayan Kamath [Tue, 25 Mar 2014 14:27:11 +0000 (07:27 -0700)]
am 5f0d44f6: Merge "Fix scaleNinePatch."

* commit '5f0d44f69768a39b0bcd9d1d072ce3606a1ca1ed':
  Fix scaleNinePatch.

10 years agoMerge "Fix scaleNinePatch."
Narayan Kamath [Tue, 25 Mar 2014 13:56:51 +0000 (13:56 +0000)]
Merge "Fix scaleNinePatch."

10 years agoDon't wait for finishing animation when second display is disconnected
Koji Fukui [Fri, 14 Mar 2014 12:20:21 +0000 (21:20 +0900)]
Don't wait for finishing animation when second display is disconnected

Basically WindowManagerService wait for finishing animation when
a window is removed. But when second display is disconnected, windows
on second display can't be shown even if animation is waited for.
On the contrary, it keeps on waiting for finishing the animation
in special case.

With this fix windows are immediately removed without waiting for
animation when second display is disconnected.

Change-Id: I1354c193c04db394a21a11c174e10c8e7da17a0e

10 years agoSolve three memory leaks related to PatchCache
Jens Gulin [Tue, 4 Feb 2014 16:38:02 +0000 (17:38 +0100)]
Solve three memory leaks related to PatchCache

A Patch can be fairly large, holding bitmap data, but
is also frequently leaked which adds to the severity.
The feature is used in many important processes such
as Home, SystemUI and Chrome.

The following leaks are solved:

1. The Patch itself was not always freed.
PatchCache::removeDeferred() can mark patches to be
cared for by PatchCache::clearGarbage(). But
mCache.remove() would only destroy the container
and the pointer, not the Patch object itself.

2. The vertices stored in the Patch at Patch::createMesh()
would always leak. The empty/default destructor in Patch
would not properly destroy "vertices" since it's just a
pointer.

3. A BufferBlock that's added to the mFreeBlocks
in PatchCache could leak. The leak happened when a
patch later needed the entire free block, because the
object was removed from the list but never deleted
in PatchCache::setupMesh().

Change-Id: I41e60824479230b67426fc546d3dbff294c8891f

10 years agoUse X509ExtendedTrustManager and not Conscrypt
Kenny Root [Mon, 24 Mar 2014 17:18:18 +0000 (10:18 -0700)]
Use X509ExtendedTrustManager and not Conscrypt

This allows the new X509ExtendedTrustManager to be used instead of
Conscrypt directly.

Bug: 13103812
Change-Id: I736f475342395f26657f2371828a6d3a0065a50a

10 years agoam 557a93e1: Merge "Set ScreenshotSurface secure if any secure content is shown."
Craig Mautner [Mon, 24 Mar 2014 14:34:59 +0000 (07:34 -0700)]
am 557a93e1: Merge "Set ScreenshotSurface secure if any secure content is shown."

* commit '557a93e104f1fec69ed05b2d0ff26c78bca4c5d6':
  Set ScreenshotSurface secure if any secure content is shown.

10 years agoMerge "Set ScreenshotSurface secure if any secure content is shown."
Craig Mautner [Mon, 24 Mar 2014 14:31:38 +0000 (14:31 +0000)]
Merge "Set ScreenshotSurface secure if any secure content is shown."

10 years agoFix scaleNinePatch.
Narayan Kamath [Tue, 11 Mar 2014 16:50:30 +0000 (16:50 +0000)]
Fix scaleNinePatch.

Use yDivs for yDivs, and not xDivs.

bug: 13394494

(cherry picked from commit 42a51ae8812bccde7ff370cc2688f7955e489ad4)

Change-Id: Ia0a7d701a170945216ab247a483e7f972b6fe17e

10 years agoam 88517170: Merge "Adjust to the change in the private SSLParameterImpl API."
Alex Klyubin [Fri, 21 Mar 2014 18:41:38 +0000 (11:41 -0700)]
am 88517170: Merge "Adjust to the change in the private SSLParameterImpl API."

* commit '88517170cbb09b45324d5b457a0e5e840cc7d09b':
  Adjust to the change in the private SSLParameterImpl API.

10 years agoMerge "Adjust to the change in the private SSLParameterImpl API."
Alex Klyubin [Fri, 21 Mar 2014 18:36:07 +0000 (18:36 +0000)]
Merge "Adjust to the change in the private SSLParameterImpl API."

10 years agoAdjust to the change in the private SSLParameterImpl API.
Alex Klyubin [Fri, 21 Mar 2014 18:13:50 +0000 (11:13 -0700)]
Adjust to the change in the private SSLParameterImpl API.

Conscrypt's SSLParameterImpl getDefaultTrustManager was renamed to
getDefaultX509TrustManager.

Bug: 13563574
Change-Id: I601c651d631f5a2e4a04d21941186553988e5286

10 years agoam 4308a523: Merge "bootanimation: build 32-bit if 64-bit gl libraries are not available"
Colin Cross [Thu, 20 Mar 2014 17:33:20 +0000 (10:33 -0700)]
am 4308a523: Merge "bootanimation: build 32-bit if 64-bit gl libraries are not available"

* commit '4308a5230e2887c1ee12e7bdc60e0b93212637ab':
  bootanimation: build 32-bit if 64-bit gl libraries are not available

10 years agoMerge "bootanimation: build 32-bit if 64-bit gl libraries are not available"
Colin Cross [Thu, 20 Mar 2014 17:28:11 +0000 (17:28 +0000)]
Merge "bootanimation: build 32-bit if 64-bit gl libraries are not available"

10 years agoam 0da4ad42: Merge "Don\'t register methods when there\'s nothing to register."
Narayan Kamath [Thu, 20 Mar 2014 10:13:27 +0000 (03:13 -0700)]
am 0da4ad42: Merge "Don\'t register methods when there\'s nothing to register."

* commit '0da4ad425d52d1aeec16b31b784c456753532dc2':
  Don't register methods when there's nothing to register.

10 years agoMerge "Don't register methods when there's nothing to register."
Narayan Kamath [Thu, 20 Mar 2014 10:08:37 +0000 (10:08 +0000)]
Merge "Don't register methods when there's nothing to register."

10 years agoSet ScreenshotSurface secure if any secure content is shown.
Minoru Aoi [Thu, 13 Mar 2014 03:00:34 +0000 (12:00 +0900)]
Set ScreenshotSurface secure if any secure content is shown.

The screenrecord command can record secure content during rotation.
This is because the ScreenshotSurface surface for rotation animation
is not set secure even though its screenshot contains secure content.

Change-Id: I5a70be71ddfc26de4230e7d4fe547210c2154210

10 years agoam dac29800: Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"
Chris Craik [Thu, 20 Mar 2014 02:24:53 +0000 (19:24 -0700)]
am dac29800: Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"

* commit 'dac298005ce3c1361e27bb740e4b518765d43d77':
  Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON

10 years agoMerge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"
Chris Craik [Thu, 20 Mar 2014 02:19:53 +0000 (02:19 +0000)]
Merge "Prevent Lockscreen album art from activating FLAG_KEEP_SCREEN_ON"

10 years agoam 83725810: Merge "Get rid of noise during boot."
Nick Kralevich [Thu, 20 Mar 2014 01:47:45 +0000 (18:47 -0700)]
am 83725810: Merge "Get rid of noise during boot."

* commit '8372581089422364f4f8bc948b9cbdcf5f8c2e91':
  Get rid of noise during boot.

10 years agoMerge "Get rid of noise during boot."
Nick Kralevich [Thu, 20 Mar 2014 01:37:38 +0000 (01:37 +0000)]
Merge "Get rid of noise during boot."

10 years agoGet rid of noise during boot.
Dianne Hackborn [Thu, 20 Mar 2014 00:49:09 +0000 (17:49 -0700)]
Get rid of noise during boot.

This log is not an error, it is a warning, don't spam a stack
crawl when it happens.

Change-Id: I6038e3625cc0c16af9e54887b5e7ec451d9f864d

10 years agoam 19fc55e1: Merge "build app_process64 on 64-bit targets"
Colin Cross [Thu, 20 Mar 2014 01:19:25 +0000 (18:19 -0700)]
am 19fc55e1: Merge "build app_process64 on 64-bit targets"

* commit '19fc55e1e3a51aba4db985d186d1f4ec075d7ca1':
  build app_process64 on 64-bit targets

10 years agoMerge "build app_process64 on 64-bit targets"
Colin Cross [Thu, 20 Mar 2014 01:14:43 +0000 (01:14 +0000)]
Merge "build app_process64 on 64-bit targets"

10 years agobootanimation: build 32-bit if 64-bit gl libraries are not available
Colin Cross [Thu, 20 Mar 2014 01:09:01 +0000 (18:09 -0700)]
bootanimation: build 32-bit if 64-bit gl libraries are not available

Set LOCAL_32_BIT_ONLY if TARGET_32_BIT_SURFACEFLINGER is set.

Change-Id: I76396cc9fe3fe45d1e98a44bf911d6e70922555a

10 years agobuild app_process64 on 64-bit targets
Colin Cross [Thu, 20 Mar 2014 00:47:39 +0000 (17:47 -0700)]
build app_process64 on 64-bit targets

On 64-bit platforms builds two copies of app_process, the 32-bit
app_process and 64-bit app_process64.

Change-Id: I59d739b5df398ad0bd040c954c57640ff7ab3e72

10 years agoam bfc44092: Merge "mediaeditor shouldn\'t depend on audioflinger."
Glenn Kasten [Wed, 19 Mar 2014 21:05:23 +0000 (14:05 -0700)]
am bfc44092: Merge "mediaeditor shouldn\'t depend on audioflinger."

* commit 'bfc440923ecb8f32448c675095a2096049fe7ebe':
  mediaeditor shouldn't depend on audioflinger.

10 years agoam c1f3d4c1: Merge "Fix 64 bit compile failures in renderscript"
Glenn Kasten [Wed, 19 Mar 2014 21:05:20 +0000 (14:05 -0700)]
am c1f3d4c1: Merge "Fix 64 bit compile failures in renderscript"

* commit 'c1f3d4c1ba7903d1b72c2341b5284da12b79ee46':
  Fix 64 bit compile failures in renderscript

10 years agoMerge "mediaeditor shouldn't depend on audioflinger."
Glenn Kasten [Wed, 19 Mar 2014 21:02:38 +0000 (21:02 +0000)]
Merge "mediaeditor shouldn't depend on audioflinger."

10 years agoMerge "Fix 64 bit compile failures in renderscript"
Glenn Kasten [Wed, 19 Mar 2014 21:01:57 +0000 (21:01 +0000)]
Merge "Fix 64 bit compile failures in renderscript"

10 years agoam 5c8e1a6e: Merge "Allow PMS to restorecon directories under /data."
Nick Kralevich [Wed, 19 Mar 2014 20:20:37 +0000 (13:20 -0700)]
am 5c8e1a6e: Merge "Allow PMS to restorecon directories under /data."

* commit '5c8e1a6ed4b7e12632c7c82b94e1909ae82b0706':
  Allow PMS to restorecon directories under /data.

10 years agoMerge "Allow PMS to restorecon directories under /data."
Nick Kralevich [Wed, 19 Mar 2014 20:17:40 +0000 (20:17 +0000)]
Merge "Allow PMS to restorecon directories under /data."

10 years agoam 0b472ae1: Merge "androidfw: resolve 64-bit build issues"
Mark Salyzyn [Wed, 19 Mar 2014 19:42:15 +0000 (12:42 -0700)]
am 0b472ae1: Merge "androidfw: resolve 64-bit build issues"

* commit '0b472ae13d38dd166a1a35782e028ade85bf2975':
  androidfw: resolve 64-bit build issues

10 years agoam d6408735: Merge "PacProcessor should be 32 bit only."
Glenn Kasten [Wed, 19 Mar 2014 19:38:41 +0000 (12:38 -0700)]
am d6408735: Merge "PacProcessor should be 32 bit only."

* commit 'd6408735b9b2ca9378886a4b30e3d691c0923817':
  PacProcessor should be 32 bit only.

10 years agoMerge "androidfw: resolve 64-bit build issues"
Mark Salyzyn [Wed, 19 Mar 2014 19:36:51 +0000 (19:36 +0000)]
Merge "androidfw: resolve 64-bit build issues"

10 years agoMerge "PacProcessor should be 32 bit only."
Glenn Kasten [Wed, 19 Mar 2014 19:34:07 +0000 (19:34 +0000)]
Merge "PacProcessor should be 32 bit only."

10 years agoandroidfw: resolve 64-bit build issues
Mark Salyzyn [Wed, 19 Mar 2014 18:00:06 +0000 (11:00 -0700)]
androidfw: resolve 64-bit build issues

- uid_t/gid_t cast to unsigned long
- unused argument warnings
- tab and space requirements

Change-Id: Ib446d8165b9082be02edb55e6b71fd1a03ea3431

10 years agomediaeditor shouldn't depend on audioflinger.
Narayan Kamath [Wed, 19 Mar 2014 11:41:32 +0000 (11:41 +0000)]
mediaeditor shouldn't depend on audioflinger.

Change-Id: I7e1b999b03a3ee5eff2e10a460f64abeba16ba90

10 years agoAllow PMS to restorecon directories under /data.
Robert Craig [Tue, 4 Mar 2014 16:57:23 +0000 (11:57 -0500)]
Allow PMS to restorecon directories under /data.

This change applies a relabel to both /data/data and
/data/user directories on boot. Not every boot will
apply this relabeling however. The appropriate
seapp_contexts is hashed and compared to
/data/system/seapp_hash to decide if the relabel
should occur.

Change-Id: I05e8b438950ddb908e46c9168ea6ee601e6d674f
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
10 years agoFix 64 bit compile failures in renderscript
Narayan Kamath [Wed, 19 Mar 2014 10:15:51 +0000 (10:15 +0000)]
Fix 64 bit compile failures in renderscript

Use uintptr_t for pointers (and not uint32_t) and
also don't assume that size_t is 32 bits wide.

Also uses java longs for passing pointers across
JNI boundaries.

Change-Id: Ie52bd8ae967fbddc911eda3a43cc799d53bbce66

10 years agoDon't register methods when there's nothing to register.
Narayan Kamath [Wed, 19 Mar 2014 14:13:27 +0000 (14:13 +0000)]
Don't register methods when there's nothing to register.

Change-Id: I6d0233f79bb90089426d702b4076ec5750e82475

10 years agoPacProcessor should be 32 bit only.
Narayan Kamath [Wed, 19 Mar 2014 11:39:43 +0000 (11:39 +0000)]
PacProcessor should be 32 bit only.

It depends on external/v8, which isn't ready for 64 bit yet.

Change-Id: Ibc9705665b81d3667826dedd6217f2eb6d451c81

10 years agoam 7cb1dfe6: Merge "Insufficient ProcessRecord cleanup when persistent process is...
Dianne Hackborn [Tue, 18 Mar 2014 18:31:34 +0000 (11:31 -0700)]
am 7cb1dfe6: Merge "Insufficient ProcessRecord cleanup when persistent process is killed"

* commit '7cb1dfe690b2d700ce212712287dfd59c2c8e43f':
  Insufficient ProcessRecord cleanup when persistent process is killed

10 years agoMerge "Insufficient ProcessRecord cleanup when persistent process is killed"
Dianne Hackborn [Tue, 18 Mar 2014 18:28:16 +0000 (18:28 +0000)]
Merge "Insufficient ProcessRecord cleanup when persistent process is killed"

10 years agoam 7c0dfed5: Merge "Pass int32_t for JNI calls to java Input/Output streams."
Narayan Kamath [Tue, 18 Mar 2014 09:38:24 +0000 (02:38 -0700)]
am 7c0dfed5: Merge "Pass int32_t for JNI calls to java Input/Output streams."

* commit '7c0dfed535bd23ce7cce0f8c498a8d6d3f14ff0f':
  Pass int32_t for JNI calls to java Input/Output streams.

10 years agoMerge "Pass int32_t for JNI calls to java Input/Output streams."
Narayan Kamath [Tue, 18 Mar 2014 09:34:43 +0000 (09:34 +0000)]
Merge "Pass int32_t for JNI calls to java Input/Output streams."

10 years agoInsufficient ProcessRecord cleanup when persistent process is killed
Akira Numata [Thu, 13 Mar 2014 04:36:31 +0000 (13:36 +0900)]
Insufficient ProcessRecord cleanup when persistent process is killed

When persistent process with Service restarts, ActivityManagerService
does not reset ProcessRecord#hasClientActivites to false
(because ProcessRecord of persistent process is continued using
after killing).

It disturbs updating LRU list in ActivityManagerService, and then,
when new process calls ActivityManagerProxy#publishContentProviders,
SecurityException happens because of no entry in the list.

Bug: 13517358

Change-Id: I46b064f71a4f7025ade1bf117801352a7ab22e6a

10 years agoam d88d8174: Merge "Null pointer exception in FileRotator.java"
Jeff Sharkey [Mon, 17 Mar 2014 16:36:03 +0000 (09:36 -0700)]
am d88d8174: Merge "Null pointer exception in FileRotator.java"

* commit 'd88d817498327462f42e50348239eac59147f310':
  Null pointer exception in FileRotator.java

10 years agoMerge "Null pointer exception in FileRotator.java"
Jeff Sharkey [Mon, 17 Mar 2014 16:32:05 +0000 (16:32 +0000)]
Merge "Null pointer exception in FileRotator.java"

10 years agoPass int32_t for JNI calls to java Input/Output streams.
Ashok Bhat [Wed, 5 Mar 2014 12:40:53 +0000 (12:40 +0000)]
Pass int32_t for JNI calls to java Input/Output streams.

Passing size_t is problematic on 64 bit platforms where
it's 8 bytes in size. Conversion to int32_t is safe because
the size argument is always clamped to fCapacity, which is
4 bytes wide.

Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Change-Id: I58558561a4f56451485f1a5fc6cdeda677247071

10 years agoam d93e7b24: Merge "Don\'t attempt to launch disabled activities in smoke test."
Steve Moyer [Sun, 16 Mar 2014 17:29:25 +0000 (10:29 -0700)]
am d93e7b24: Merge "Don\'t attempt to launch disabled activities in smoke test."

* commit 'd93e7b2424b7ab442065b0d9cecb8b72a9c5c8ed':
  Don't attempt to launch disabled activities in smoke test.

10 years agoMerge "Don't attempt to launch disabled activities in smoke test."
Steve Moyer [Sun, 16 Mar 2014 17:26:43 +0000 (17:26 +0000)]
Merge "Don't attempt to launch disabled activities in smoke test."

10 years agoam 47653f2d: Merge "Move options buffers to top scope"
Dave Allison [Fri, 14 Mar 2014 21:18:40 +0000 (14:18 -0700)]
am 47653f2d: Merge "Move options buffers to top scope"

* commit '47653f2d0823bcebefc23cc2441db1f8d9e55b4c':
  Move options buffers to top scope

10 years agoMerge "Move options buffers to top scope"
Dave Allison [Fri, 14 Mar 2014 21:15:25 +0000 (21:15 +0000)]
Merge "Move options buffers to top scope"

10 years agoMove options buffers to top scope
Dave Allison [Fri, 14 Mar 2014 15:54:33 +0000 (08:54 -0700)]
Move options buffers to top scope

It is important that the char buffers for options do
not go out of scope as the mOptions.add() does not copy
the buffer.  This moves all the buffers to the top
level scope of the function to prevent accidental
overwriting when they go out of scope.

Bug: 13448497
Change-Id: I5a97ddd32ff34f237915927906e1e1f833ff036e

10 years agoam 4cde7734: Merge "remove unnecessary switchUser call"
Victoria Lease [Fri, 14 Mar 2014 17:51:45 +0000 (10:51 -0700)]
am 4cde7734: Merge "remove unnecessary switchUser call"

* commit '4cde773435074809672f9de6a47b26de902a83d1':
  remove unnecessary switchUser call

10 years agoMerge "remove unnecessary switchUser call"
Victoria Lease [Fri, 14 Mar 2014 17:48:00 +0000 (17:48 +0000)]
Merge "remove unnecessary switchUser call"

10 years agoam 629daddd: Merge "Fix layoutlib build."
Narayan Kamath [Fri, 14 Mar 2014 14:19:24 +0000 (07:19 -0700)]
am 629daddd: Merge "Fix layoutlib build."

* commit '629daddd03b598616de7c30a13b1f9f9b11b98fe':
  Fix layoutlib build.

10 years agoMerge "Fix layoutlib build."
Narayan Kamath [Fri, 14 Mar 2014 14:12:35 +0000 (14:12 +0000)]
Merge "Fix layoutlib build."

10 years agoFix layoutlib build.
Narayan Kamath [Fri, 14 Mar 2014 14:10:30 +0000 (14:10 +0000)]
Fix layoutlib build.

Was using private data structures from libcore.

Change-Id: I5bd43190081891659e18b5c871686e6078efcc81

10 years agoam f3a2895a: Merge "NsdService does not clean up after exiting clients"
Dave Platt [Thu, 13 Mar 2014 23:38:59 +0000 (16:38 -0700)]
am f3a2895a: Merge "NsdService does not clean up after exiting clients"

* commit 'f3a2895a31069a7c01c69d011b290fcfb3298b3c':
  NsdService does not clean up after exiting clients

10 years agoMerge "NsdService does not clean up after exiting clients"
Dave Platt [Thu, 13 Mar 2014 23:35:15 +0000 (23:35 +0000)]
Merge "NsdService does not clean up after exiting clients"

10 years agoNsdService does not clean up after exiting clients
Dave Platt [Fri, 7 Mar 2014 22:48:22 +0000 (14:48 -0800)]
NsdService does not clean up after exiting clients

When a client of the NsdService exits, NsdService should
clean up the requests it has sent to the mDNS daemon:
cancel any pending resource-discovery and resource-resolution
queries, and remove any services registered by this client.

If this isn't done, several bad things happen. The daemon will
continue to run unnecessarily, will report service discoveries
that can't be forwarded on to the client, and will continue to
advertise service ports for an application which is no longer
running until the device is rebooted (mDNS pollution).

Bug: 9801184
Change-Id: I0aa7311480322aefcff16f902fbbf34f50985d38

10 years agoNull pointer exception in FileRotator.java
Mikael Gullstrand [Fri, 13 Dec 2013 09:44:50 +0000 (10:44 +0100)]
Null pointer exception in FileRotator.java

Sometimes a null pointer exception is thrown when examining files
managed by the file rotator.

The logs from the test show that the Wifi state is changed a large
number of times. On every state change, a write operation is
initiated on the file system. This will eventually result in out
of memory and the call to mBasePath.list() in the maybeRotate(...)
method in FileRotator.java will return null so the iteration will
throw a NullPointerException.

Change-Id: I5d5980d9593bc9ec75281169ca27ee591809903f

10 years agoremove unnecessary switchUser call
Jianzheng Zhou [Thu, 10 Oct 2013 06:02:09 +0000 (14:02 +0800)]
remove unnecessary switchUser call

If userId doesn't change, no need to do switchuser.or it will
introduce some tweak for gps modules in quick off/on because
they need cost time in off/on.

Change-Id: Ie5e408dc8be69c8a63a18bcb2cfe478cef4d70e6
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com>
10 years agoam 792f38dd: Merge "Fix the delegate method signatures in LayoutLib"
Deepanshu Gupta [Tue, 11 Mar 2014 23:16:18 +0000 (16:16 -0700)]
am 792f38dd: Merge "Fix the delegate method signatures in LayoutLib"

* commit '792f38ddd9e8d25b2c8bf0d67363dbfa56550636':
  Fix the delegate method signatures in LayoutLib

10 years agoMerge "Fix the delegate method signatures in LayoutLib"
Deepanshu Gupta [Tue, 11 Mar 2014 21:22:39 +0000 (21:22 +0000)]
Merge "Fix the delegate method signatures in LayoutLib"

10 years agoam a79af364: Merge "Remove java.io.tmpdir assignment in AndroidRuntime (again)."
Narayan Kamath [Tue, 11 Mar 2014 15:14:26 +0000 (08:14 -0700)]
am a79af364: Merge "Remove java.io.tmpdir assignment in AndroidRuntime (again)."

* commit 'a79af3647f7f93825b84cc25187527b5aac60a69':
  Remove java.io.tmpdir assignment in AndroidRuntime (again).

10 years agoMerge "Remove java.io.tmpdir assignment in AndroidRuntime (again)."
Narayan Kamath [Tue, 11 Mar 2014 15:09:44 +0000 (15:09 +0000)]
Merge "Remove java.io.tmpdir assignment in AndroidRuntime (again)."

10 years agoRemove java.io.tmpdir assignment in AndroidRuntime (again).
Narayan Kamath [Tue, 11 Mar 2014 15:02:10 +0000 (15:02 +0000)]
Remove java.io.tmpdir assignment in AndroidRuntime (again).

This was brought back by a bad merge conflict resolution
in change 0efbd9a463c848118c7685f4bfc8765a82caa761.

Change-Id: I0c7cbe8ee396293619eabf4d0a3c2f06c76bdd6e

10 years agoam 0f3fd6c6: Merge "Remove stray logging statement."
Narayan Kamath [Tue, 11 Mar 2014 12:03:36 +0000 (05:03 -0700)]
am 0f3fd6c6: Merge "Remove stray logging statement."

* commit '0f3fd6c66e8376e62ed61dd2b92ea4807571b3de':
  Remove stray logging statement.

10 years agoMerge "Remove stray logging statement."
Narayan Kamath [Tue, 11 Mar 2014 12:00:54 +0000 (12:00 +0000)]
Merge "Remove stray logging statement."

10 years agoRemove stray logging statement.
Narayan Kamath [Tue, 11 Mar 2014 11:08:41 +0000 (11:08 +0000)]
Remove stray logging statement.

bug: https://code.google.com/p/android/issues/detail?id=66974
Change-Id: Ie34c102de143cf6aeb16c78778dda3ef5e928380

10 years agoam 6d71e165: Merge "Round off when calculate next step in Seekbar"
Jeff Brown [Tue, 11 Mar 2014 00:11:57 +0000 (17:11 -0700)]
am 6d71e165: Merge "Round off when calculate next step in Seekbar"

* commit '6d71e165ba961251f0705b75aafed74eba1bc570':
  Round off when calculate next step in Seekbar

10 years agoam a41ddccd: Merge "Fixed typo errors in documentation"
Jeff Brown [Tue, 11 Mar 2014 00:08:27 +0000 (17:08 -0700)]
am a41ddccd: Merge "Fixed typo errors in documentation"

* commit 'a41ddccdc67ace7c9363efebbf6e51710928ce12':
  Fixed typo errors in documentation

10 years agoam c3f5d694: Merge "Hang off call by power button while screen is on"
Jeff Brown [Tue, 11 Mar 2014 00:08:24 +0000 (17:08 -0700)]
am c3f5d694: Merge "Hang off call by power button while screen is on"

* commit 'c3f5d694324fbe2831405ce60bc43bd0d0183d07':
  Hang off call by power button while screen is on

10 years agoam 35c8ebab: Merge "take account of RotationVector\'s new extra parameter"
Jeff Brown [Tue, 11 Mar 2014 00:08:21 +0000 (17:08 -0700)]
am 35c8ebab: Merge "take account of RotationVector\'s new extra parameter"

* commit '35c8ebab0ac66bf2c12b6986f90a07be402e0076':
  take account of RotationVector's new extra parameter

10 years agoMerge "Round off when calculate next step in Seekbar"
Jeff Brown [Tue, 11 Mar 2014 00:06:40 +0000 (00:06 +0000)]
Merge "Round off when calculate next step in Seekbar"

10 years agoMerge "Fixed typo errors in documentation"
Jeff Brown [Tue, 11 Mar 2014 00:06:24 +0000 (00:06 +0000)]
Merge "Fixed typo errors in documentation"

10 years agoMerge "Hang off call by power button while screen is on"
Jeff Brown [Tue, 11 Mar 2014 00:06:01 +0000 (00:06 +0000)]
Merge "Hang off call by power button while screen is on"