Commit Graph

56655 Commits

Author SHA1 Message Date
Hans Boehm
cc9c83dbd4 Merge "Improve grammar in startService() documentation."
am: e3a25ad692

* commit 'e3a25ad692cf88455222522542fe374a41024ccf':
  Improve grammar in startService() documentation.

Change-Id: Iaa95eb5d01d45b8352f1eeb0a7f1519b1958ddd4
2016-05-06 17:36:11 +00:00
Hans Boehm
fb9f6acd6f Improve grammar in startService() documentation.
Change-Id: If72f710caa2e85512636d6f7ddacff2426cfb835
2016-05-05 13:09:28 -07:00
Sebastian Kaspari
eae68e4d94 Merge "FloatingToolbar: Fix javadoc for closeOverflow()."
am: daf6bdba0e

* commit 'daf6bdba0eac4abc03afdfe60b7736f3f8bd461e':
  FloatingToolbar: Fix javadoc for closeOverflow().

Change-Id: Ie260992f75f9f41b46a1e90e4a87d7e76cac34dc
2016-04-29 09:41:34 +00:00
Sebastian Kaspari
eb101a700c FloatingToolbar: Fix javadoc for closeOverflow().
Change-Id: I450fc603ae5fe49f08f580594352cc1120cc104d
2016-04-28 16:34:33 +00:00
Dimitry Ivanov
fa8b96c6c1 Merge changes from topic \'target-sdk-0-fix\'
am: 493576b

* commit '493576bc5db94068b5a767021a4a5c8b6963c836':
  Create linker namespace for the system server classloader
  Extract pathclassloader initialization to a separate class

Change-Id: Ifbebd0a98c3d80620b53bf7ebef76222e57ca923
2016-04-27 18:33:55 +00:00
Dimitry Ivanov
eb5866d4b0 Create linker namespace for the system server classloader
Bug: http://b/27702070
Change-Id: I12c9448e877202937cf558de75042bcb46f6a933
2016-04-27 10:22:09 -07:00
Dimitry Ivanov
5d7d777fa6 Extract pathclassloader initialization to a separate class
To be able to reuse this code when creating a classloader for
the system_server.

Bug: http://b/27245894
Bug: http://b/27702070
Change-Id: I928175a39a1beb0446d863a5b8f5edf94686e768
2016-04-26 13:16:54 -07:00
Tobias Thierer
71502c44fa Merge "Avoid instantiations of Boolean that are immediately unboxed."
am: 823e05b

* commit '823e05b2db229549c33892a0aa303fd7fb10a214':
  Avoid instantiations of Boolean that are immediately unboxed.

Change-Id: I170bf470d63faec93c228ae897796a2e6067da7e
2016-04-25 09:14:15 +00:00
Tobias Thierer
ca01820735 Avoid instantiations of Boolean that are immediately unboxed.
Replaced Boolean.valueOf() -> parseBoolean() across frameworks/base
(not including Am.java, which I'm leaving for a separate change).

Also fixed a couple of other valueOf()s in SyncStorageEngine.

Bug: 28289401
Change-Id: I2c6fb39a465885e7e625ed8894b1b9f8a30da5bc
2016-04-22 14:21:12 +01:00
Tobias Thierer
8e9bd59555 Merge "frameworks/base: Avoid Long object allocations in Long.valueOf()"
am: 09ae4931a9

* commit '09ae4931a98cb0cb7edac257db30169098ab56c7':
  frameworks/base: Avoid Long object allocations in Long.valueOf()

Change-Id: I23e77831c7f167da8329143710cd9c4fb389df0e
2016-04-22 10:42:36 +00:00
Tobias Thierer
4bd017d6a5 frameworks/base: Avoid Long object allocations in Long.valueOf()
Replace usages where the Long is immediately unboxed or thrown
away with Long.parseLong().
In TaskRecord.java, I also fixed up similar uses of
{Boolean,Integer}.valueOf()

Tested: built frameworks/base successfully.

Bug: 28289401
Change-Id: I1fad536853a68c7b0707cbf02989aca155064843
2016-04-21 16:23:56 +01:00
Henrik Baard
790699db64 Merge "Doze settings example not matching real keys"
am: 570a13f

* commit '570a13f0cb233b4a216243025a9fed3df3c72849':
  Doze settings example not matching real keys

Change-Id: I62dade8bece244e9033a230c1f116f8caad35a6f
2016-04-20 22:51:47 +00:00
Henrik Baard
eac10ab5f4 Doze settings example not matching real keys
The keys used in the example for the Doze timeouts does
not match any real key. To avoid confusion the example
should match the existing keys.

Change-Id: I0306c542dac9e38aea7d172a3e0f7472d327c73c
2016-04-19 07:50:24 +02:00
Ajay Panicker
418a7601b2 Merge "Allow factory reset when bluetooth is off (1/2)"
am: 1dfa47e

* commit '1dfa47ee3e55592249a76cb72f9e16be664f2b40':
  Allow factory reset when bluetooth is off (1/2)

Change-Id: I0e9300c86a6ec1f07d5b1a5c83f1b87a2c5ffaa5
2016-04-01 23:56:42 +00:00
Ajay Panicker
1dfa47ee3e Merge "Allow factory reset when bluetooth is off (1/2)" 2016-04-01 23:46:33 +00:00
Andre Eisenbach
984df4ed93 Merge "Always use Write Request for GATT descriptor writes"
am: 2358043

* commit '235804398300e46baf5ebf14bb5c36badf8dd286':
  Always use Write Request for GATT descriptor writes

Change-Id: Ifb3a81c527cf21fc90a6cd77901eae85f29ab0cc
2016-04-01 00:28:20 +00:00
Andre Eisenbach
ddae22044d Merge "Fix log spam in getCharacteristicById()"
am: 7bf9e19

* commit '7bf9e19892434a256a9cbef63ab7ff958df32436':
  Fix log spam in getCharacteristicById()

Change-Id: I980c8e7f169b565f068c949bc6740650518ecc19
2016-04-01 00:28:19 +00:00
Andre Eisenbach
2358043983 Merge "Always use Write Request for GATT descriptor writes" 2016-04-01 00:18:48 +00:00
Ajay Panicker
db005bdce9 Allow factory reset when bluetooth is off (1/2)
Bug: 27348444
Change-Id: I6c2709371b86581709649d7faf09391230449b9b
2016-03-31 23:39:15 +00:00
Andre Eisenbach
060956bf67 Fix log spam in getCharacteristicById()
Bug: 27744135
Change-Id: I43f6358484729dedd85eb52432ad9805a66ff81e
2016-03-31 18:00:14 +00:00
Andre Eisenbach
942aebc959 Always use Write Request for GATT descriptor writes
According to the Bluetooth Core specification v4.2, Vol 3, Part G,
section 4.12.3: "The Attribute Protocol WRITE REQUEST is used used
for this sub-procedure".

Change-Id: I86e4e1d3a8bfd7d78dfed8419f8abd2d7e89b2bc
2016-03-31 17:59:44 +00:00
Andreas Gampe
46fd870e5e Merge "Frameworks/base: Refactor package manager"
am: 453a77c

* commit '453a77c702f0c857b4900aeb5772e37d0a309b1f':
  Frameworks/base: Refactor package manager

Change-Id: Ia8003f32edfa9cb22e4e2378c2b733a736cb8da1
2016-03-29 21:33:36 +00:00
Andreas Gampe
453a77c702 Merge "Frameworks/base: Refactor package manager" 2016-03-29 21:24:19 +00:00
Markus Michler
ae975aba73 Merge "Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()"
am: 7160459

* commit '71604596117c02a885da356cd0015c29493e48bc':
  Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()

Change-Id: I5d522742dc4c7a46a74dfe4838c5bde8aadd8789
2016-03-29 18:30:31 +00:00
Adam Lesinski
7160459611 Merge "Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()" 2016-03-29 18:24:39 +00:00
Andreas Gampe
288e3f50dd Frameworks/base: Refactor package manager
Minimal cherry-pick to keep things alive.

Bug: 27689078

(cherry picked from commit bdd30d86ef)

Change-Id: I06b9d75f58c59cb07ef5170f784ea6745168efaa
2016-03-29 11:05:03 -07:00
Shuo Gao
177e1594f8 Merge "Enable shader cache for applications that shared UID with multiple packages too"
am: f3edaf6

* commit 'f3edaf6a4397859d3558a2df07e4bd5011ebddd3':
  Enable shader cache for applications that shared UID with multiple packages too
2016-03-22 14:31:25 +00:00
John Reck
f3edaf6a43 Merge "Enable shader cache for applications that shared UID with multiple packages too" 2016-03-22 14:25:35 +00:00
Jakub Pawlowski
9ab424a9fb Merge "Use handles to identify GATT attributes (4/4)"
am: f8cba89

* commit 'f8cba89883b8fecb2d392444daa97703c2840874':
  Use handles to identify GATT attributes (4/4)
2016-03-22 02:42:29 +00:00
Jakub Pawlowski
a9e27ec0ab Use handles to identify GATT attributes (4/4)
Bug: 27778668
Change-Id: I01e095939df2f8dc433f14b473957c815ecade74
2016-03-22 00:39:28 +00:00
doheon1.lee
2969a453f0 Merge "Changes of root storage space unmounting time on Zygote Process"
am: 2a87493

* commit '2a8749354a7d9759e91bf0885f58cfc40081d846':
  Changes of root storage space unmounting time on Zygote Process
2016-03-21 21:11:56 +00:00
Elliott Hughes
2a8749354a Merge "Changes of root storage space unmounting time on Zygote Process" 2016-03-21 21:06:09 +00:00
Shuo Gao
1c7083cf85 Enable shader cache for applications that shared UID with multiple packages too
Frameworks supported a mature mechanism for shader cache per each package already,
but as a special case such as Settings APP, if there are several packages in this
application which means that multiple packages shared the same SharedUserID with it,
it won't initialize the graphics disk caches, thereby APP like Settings have to
rebuild and relink shader every time during launch, which cause a bad launching
performance, so here to enable the GFX and RS cache initialization for multiple
shared packages case too.

Change-Id: If0f927e3399b775804abf1d9a868887951f471c5
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
2016-03-21 11:32:06 +08:00
Ajay Panicker
e999bba2a5 Merge "Make BluetoothManagerCallback oneway to prevent waiting on response"
am: ca430a8

* commit 'ca430a881f29ee88ade7a541fa34799c9f47d345':
  Make BluetoothManagerCallback oneway to prevent waiting on response
2016-03-19 00:16:27 +00:00
Ajay Panicker
d455c8cd43 Make BluetoothManagerCallback oneway to prevent waiting on response
Bug: 27384453
Change-Id: I2cd0f1bc03c7a1e887c89faa18d5baa6ca5be24a
2016-03-18 22:47:26 +00:00
Jakub Pawlowski
d1ce469a2e Merge "Change how services are passed up to the stack"
am: 2ebc12b

* commit '2ebc12bb485f401e27504c235da2a935ab327937':
  Change how services are passed up to the stack
2016-03-18 22:19:41 +00:00
Jakub Pawlowski
8d312a84d6 Change how services are passed up to the stack
Right now we pass all services, characteristics and descriptors one by one.
This patch changes that - now we pass whole GATT database at once.

Bug: 27455533
Change-Id: Ie42cd80072538e411904b9c9b011a978f26158b9
2016-03-18 12:57:33 -07:00
David Srbecky
1b4afc275f Merge "[DO NOT MERGE] Add flag to "am start" to enable native debugging" 2016-03-16 17:11:09 +00:00
Ian Rogers
9b222c8fda Extra generic type information to aid certain javacs.
In particular this is needed for the code to compile using the error prone
analyzer.

Change-Id: I09904705ced909ead750cb30d0f96c994132a51c
2016-03-15 21:09:40 -07:00
Tamas Berghammer
21bdaf14a2 [DO NOT MERGE] Add flag to "am start" to enable native debugging
[Backported form internal CL854980]

Specifying the new flag will enable several features in the runtime
required by the native debugger to debug Java and C++ code at the same
time.

The enabled features:
* Force JIT (never use the interpreter)
* Debug info generation
* Disable some optimizations

Change-Id: Iaf5ab649715a0c274bd1b0fc64e483705da53cd0
2016-03-14 11:48:40 +00:00
Daniel Micay
084ee67b35 fix SeekBarPreference support for summaries
Overriding getSummary breaks support for summaries even though it's
supported in the layout for SeekBarPreference. If there's no summary the
return value is already null in the inherited implementation.

Change-Id: I2e72ea3c4a624acbf200e9617173eb072572fa57
2016-03-09 21:50:30 -05:00
Calin Juravle
76ac402779 Merge "Update DexFile.getDexOptNeeded in framework" 2016-03-09 11:57:36 +00:00
Calin Juravle
451ff5a8f3 Merge "Fix VMRuntime.registerAppInfo usage" 2016-03-09 11:57:24 +00:00
Calin Juravle
6ce213fe2c Update DexFile.getDexOptNeeded in framework
Partial cherry pick from commit 693f997cc8

Change-Id: I0fe34541e3cf77fb6e6dbe689b7cf55cb78dbe05
2016-03-08 15:50:19 +00:00
Calin Juravle
9036a97847 Fix VMRuntime.registerAppInfo usage
Partial cherry pick from git commit
d479b52d12

Change-Id: I1de6e7eda23e6029c87896d8c01e063b98e39f74
2016-03-08 15:49:13 +00:00
Adam Powell
68ab418cb4 Merge "Restore auto-launch behavior for ACTION_CHOOSER with a single choice"
am: 9d39648de4

* commit '9d39648de4c9070ddc770d301e822bdc72db4ba9':
  Restore auto-launch behavior for ACTION_CHOOSER with a single choice
2016-03-07 23:50:51 +00:00
Adam Powell
9d39648de4 Merge "Restore auto-launch behavior for ACTION_CHOOSER with a single choice" 2016-03-07 23:46:15 +00:00
Dimitry Ivanov
0e29efd164 Merge "Create linker-namespace for the classloader"
am: c6b66d3fb7

* commit 'c6b66d3fb763f7ebb9c3946377a3008bad315bc3':
  Create linker-namespace for the classloader
2016-03-03 17:08:20 +00:00
Markus Michler
d8dfbef6b2 Fix javadoc for View.getMeasuredHeight() and View.getMeasuredHeightAndState()
Change-Id: I772bb9fc2f09bec31276e859d21735dc4282c1f3
2016-03-02 12:31:17 +01:00
Dimitry Ivanov
ea90281082 Create linker-namespace for the classloader
With this change ApplicationLoaders.getClassLoader()
creates linker-namespace for the classloader at the
construction time. Before this change the namespace
was created on first load of a jni library.

With this change we ensure that every classloader
has initialized namespace associated with it.

As an additional advantage we now can avoid storing
namespace-specific fields in the classloaders.

Bug: http://b/27189432
Bug: http://b/22548808
Change-Id: I3b160bd478a55171008682c40b2ebc13bdbd9882
(cherry picked from commit a55c7f15a3)
2016-02-26 10:16:11 -08:00