108064 Commits

Author SHA1 Message Date
Dianne Hackborn
0149db4693 Merge "Improve process tracking." 2013-06-12 19:40:18 +00:00
Michael Wright
2f1cd7e68b Fix possible NPE in PointerLocationView
Change-Id: I36577d6882db898ff4d4d9090454cdf71a440fd5
2013-06-12 12:11:17 -07:00
John Spurlock
0497a3030c Merge "Organize the imports in systemui." 2013-06-12 18:51:35 +00:00
John Spurlock
de84f0e77e Organize the imports in systemui.
To follow android conventions, more importantly to remove the
unused.

Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
2013-06-12 14:50:47 -04:00
Dianne Hackborn
78a369c90f Improve process tracking.
We now keep track of when each process is running, batched
by the current memory status of the device.  In addition,
the stats are organized by package first, and then processes
associated with each package inside of that.  Finally, we
also keep track of the overall time spent in each memory
status.

This should start to actually get us to some information
we can reach some conclusions about.  The total time spent
in each memory status gives us some indication of how much
we are running while memory is low; the new package organization
batched by memory status lets us see what packages have
what processes running when memory is low.

Change-Id: I389d62d39d115a846126cf354e4c20070d8f1180
2013-06-12 11:45:27 -07:00
John Spurlock
7ac4fc4cb8 Merge "Remove only file in systemui with windows line endings." 2013-06-12 18:45:05 +00:00
Dianne Hackborn
2321d242b4 Merge "ArrayMap is great, so how about ArraySet!" 2013-06-12 18:35:50 +00:00
Craig Mautner
037aa8d434 Centralize all system InputEventReceiver monitors.
Implement all system level InputEvent monitors as new
InputEventListeners. Only one InputChannel required and monitoring
can be enabled or disabled by registering with WindowManagerService.

Change-Id: I64714ab858342ed183c62b421098478ffb6637bc
2013-06-12 10:59:16 -07:00
Baligh Uddin
9b9955730e Import translations. DO NOT MERGE
Change-Id: I2d495385d9abb76e0e92f7019a86b7894e56f8b4
Auto-generated-cl: translation import
2013-06-12 10:39:43 -07:00
Baligh Uddin
d4f64a317a Import translations. DO NOT MERGE
Change-Id: Ic6b8f9443618863dbe34ca26e5832bee11ccc014
Auto-generated-cl: translation import
2013-06-12 10:38:17 -07:00
Baligh Uddin
73e80fb9f5 Import translations. DO NOT MERGE
Change-Id: I104b63e718e396a784c1fea3fa323d9aa5868fba
Auto-generated-cl: translation import
2013-06-12 10:09:33 -07:00
John Spurlock
43cfbed80c Remove only file in systemui with windows line endings.
Change-Id: I7b0e8b58a7c14afa6d2e7c1ce97ebacc5ffbb538
2013-06-12 12:54:06 -04:00
Baligh Uddin
96acc0e5f1 Import translations. DO NOT MERGE
Change-Id: I41cb7ffb3961af387e425a6a80726e1213ae10f1
Auto-generated-cl: translation import
2013-06-12 09:52:55 -07:00
Baligh Uddin
66b9cb2549 Import translations. DO NOT MERGE
Change-Id: Ib7914f77925d5edb99c62999ff3ae29856adf399
Auto-generated-cl: translation import
2013-06-12 09:50:05 -07:00
Narayan Kamath
68a3cd7955 Update HttpResponseCache to use the new cache API.
The new API was introduced in

https://android-review.googlesource.com/#/c/59985/

Change-Id: Ie64de7fc64b818bebf1077dff407813865769387
2013-06-12 15:48:18 +01:00
The Android Open Source Project
97f41383eb am fabda589: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
* commit 'fabda5894c2793b37650ce3bc1697effd86af88b':
  Need to explicitly disable scan-always when turning off wifi
  Let RemoteControlDisplay know more about playback position
  Unhide MediaExtractor.getPsshInfo()
2013-06-12 07:25:57 -07:00
The Android Open Source Project
fabda5894c Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
Change-Id: Ife328fef3a7cc1a88562fd88a85daa626b19c930
2013-06-12 07:23:31 -07:00
The Android Automerger
b543526c97 merge in jb-mr2-zeroday-release history after reset to jb-mr2-dev 2013-06-12 05:55:58 -07:00
Torne (Richard Coles)
e151d9b3c7 Merge "WebViewChromium: don't use a separate class loader." 2013-06-12 12:25:43 +00:00
Christopher Tate
0041684255 Need to explicitly disable scan-always when turning off wifi
... when you want wifi to be really most sincerely off, because
settings restore is about to rewrite the conf file.

Bug 9032154

Change-Id: I6a3a34ac3f14ec43aa9d9cc0159fca6168ccd0a2
2013-06-11 17:53:08 -07:00
Jean-Michel Trivi
d61650a0ad Let RemoteControlDisplay know more about playback position
The BT stack needs to differentiate between applications that use
 the new RemoteControlClient APIs to pass a playback position but
 don't have one yet, and applications that use the legacy API and
 will never pass a position.

Bug 9294855

Change-Id: I05cba82a073e6e0aaea1d8bbf9cc8c99da715f58
2013-06-11 17:52:58 -07:00
Marco Nelissen
05e2b6be66 Unhide MediaExtractor.getPsshInfo()
b/9373882

Change-Id: I2af42656d6a7eb19e8e9ec798b615dab0d9d33cb
2013-06-11 17:52:50 -07:00
Alan Viverette
5542103589 Add getters for ListView header & footer divider drawing attrs.
Bug: 6104055
Change-Id: I874d631ec6fbb0e99790a3f37d00d589c1d63d34
2013-06-11 17:50:56 -07:00
Romain Guy
1e4795ab64 Merge "Avoid 9patch cache lookups when possible" 2013-06-12 00:23:27 +00:00
Romain Guy
4c2547fa92 Avoid 9patch cache lookups when possible
This optimization saves up to 0.3ms per frame on the Play Store's
front page, on a Nexus 4 device.

Change-Id: Iaa4ef33c6e3b37e175efd5b9eea9ef59b43f14f3
2013-06-11 17:14:59 -07:00
Dianne Hackborn
fc74f85f2e Merge "Fix build." 2013-06-12 00:14:45 +00:00
Dianne Hackborn
fd20604704 Fix build.
Change-Id: I166c744e0f6bf62ac06b4797b87e064e14d0b85e
2013-06-11 17:13:52 -07:00
Jeff Sharkey
126713d8d7 Merge "Explicit locale when formatting machine strings." 2013-06-11 23:52:17 +00:00
Dianne Hackborn
a283fc9518 Merge "Add new API to retrieve a dumpsys of a single package." 2013-06-11 23:33:32 +00:00
Igor Murashkin
4d3adce05a Merge "Fix build break due to javadoc linking error" 2013-06-11 22:59:05 +00:00
Glenn Kasten
5c137a7688 Merge "Fix build" 2013-06-11 22:41:14 +00:00
Christopher Tate
2b3329bb73 am 1bc14ed9: am 76b76666: Merge "Need to explicitly disable scan-always when turning off wifi" into jb-mr2-dev
* commit '1bc14ed9c3bb0fae28c2cdf9319b2f5f892409eb':
  Need to explicitly disable scan-always when turning off wifi
2013-06-11 15:37:12 -07:00
The Android Open Source Project
b243f791d6 am 799f031a: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
* commit '799f031a64d3930b85b9232bac344b1f9f216717':
  Import translations. DO NOT MERGE
  Do not allow 0 or smaller periodicity for syncs. b/9295383
  Save Notification large icon to extras.
  Workaround possible use after delete
  Do not block notifications or toasts for SYSTEM_UID or PHONE_UID.
  Don't orphan footers with transient state Bug #8725945
  Avoid logging sensitive data.
2013-06-11 15:37:06 -07:00
Glenn Kasten
2a6b702521 Fix build
Change-Id: Iacac057570e9fcfe850ee597c0a26b2d06ab7910
2013-06-11 15:36:06 -07:00
Igor Murashkin
a1b02dbb6e Fix build break due to javadoc linking error
Change-Id: I9da1cb03afef25c11844ec863200f7b5b009e77a
2013-06-11 15:25:20 -07:00
Scott Main
239f3eec6b add ninepatch search tag
Change-Id: Ia53e839abfccffe316b54e62da9bd89011f2251a
2013-06-11 15:08:54 -07:00
Ken Sumrall
8b8675f2dd Merge "Don't wait for the MountService to be ready when encrypting" 2013-06-11 22:07:27 +00:00
Christopher Tate
1bc14ed9c3 am 76b76666: Merge "Need to explicitly disable scan-always when turning off wifi" into jb-mr2-dev
* commit '76b76666f5c28751db6ed8791fd54ec430d4361a':
  Need to explicitly disable scan-always when turning off wifi
2013-06-11 15:07:00 -07:00
Christopher Tate
76b76666f5 Merge "Need to explicitly disable scan-always when turning off wifi" into jb-mr2-dev 2013-06-11 22:04:38 +00:00
The Android Open Source Project
799f031a64 Reconcile with jb-mr2-release jb-mr2-zeroday-release - do not merge
Change-Id: I7100db02d39d7d91bb3c2b8eea070a48a8f7c139
2013-06-11 14:56:52 -07:00
Dianne Hackborn
21ab6f4991 ArrayMap is great, so how about ArraySet!
Also a few little tweaks to the ArrayMap implementation.  Note that
these are fairly parallel implementations; I looked at what I could
abstract out as a base class, but there isn't really all that much without
making the resulting code more general and thus slower.  If we kept
the data structure for ArraySet the same as map, where the array has
two values per entry, then they could probably share a lot of code.
I couldn't really bring myself to do that at this point, though...

Change-Id: I9e0dd8baa8e1febcc1033ecef61623ad59ce4aae
2013-06-11 14:37:54 -07:00
Jeff Sharkey
fea17de7aa Explicit locale when formatting machine strings.
Bug: 9390451
Change-Id: I3581c53407554a1dffd541fb42b06d68f20a7be0
2013-06-11 14:36:41 -07:00
Dianne Hackborn
cbfd23ee6f Add new API to retrieve a dumpsys of a single package.
Adds a platform API, and pm command.  Fixes some issues with
dumping per-package data in package manager, makes battery
stats able to dump per-package state.

Change-Id: I76ee6d059f0ba17f7a7061886792b1b716d46d2d
2013-06-11 14:26:53 -07:00
Daniel Sandler
ea28f9bc62 am 4a9fcaf4: am cd5b3310: Merge "Add LTE overlays for signal strength indicators." into jb-mr2-dev
* commit '4a9fcaf49f6da3f28334bb8e5eddea51c0b6fc59':
  Add LTE overlays for signal strength indicators.
2013-06-11 14:13:58 -07:00
Zhihai Xu
352e56ee97 am 36e90664: am bcc6ae88: Merge "Let RemoteControlDisplay know more about playback position" into jb-mr2-dev
* commit '36e90664c7b74bd90b56b17afb407729f7949108':
  Let RemoteControlDisplay know more about playback position
2013-06-11 14:13:56 -07:00
Scott Main
3ae015bc7d am 994c7b47: am 276c72b7: am 8f678878: am 6e15b52e: am 7728e1d6: replace obsolete links. bug: 9380063
* commit '994c7b4768b661f86542a1096b199f772e8a94a2':
  replace obsolete links. bug: 9380063
2013-06-11 14:13:53 -07:00
Marco Nelissen
8d7f9f813d am 3826e8bd: am 37490462: Merge "Unhide MediaExtractor.getPsshInfo()" into jb-mr2-dev
* commit '3826e8bd6e30dbda90f330e4b3facbccc8c4bb9e':
  Unhide MediaExtractor.getPsshInfo()
2013-06-11 14:13:51 -07:00
Scott Main
06c05c4070 am be173f6a: am 8fb120b6: Merge "add ViewGroup\'s layoutMode attribute to public resources bug: 9359960" into jb-mr2-dev
* commit 'be173f6a16619ed82469bda7cf0df7c3763d3c81':
  add ViewGroup's layoutMode attribute to public resources bug: 9359960
2013-06-11 14:13:48 -07:00
Scott Main
a14bd3045b am 2ccb564d: am 938e8b67: am d731c902: am f0380a26: am 343f581d: Merge "fix typo and clarify class references in database lesson bug: 9372560" into jb-mr1.1-ub-dev
* commit '2ccb564d8066972847d8a5e4b8820c72638134b1':
  fix typo and clarify class references in database lesson bug: 9372560
2013-06-11 14:13:46 -07:00
Baligh Uddin
0f195aa548 am 26560925: (-s ours) am ebb17713: Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
* commit '26560925f7326f8144d5b58419adb6b24bb9a0fd':
  Import translations. DO NOT MERGE
2013-06-11 14:13:43 -07:00