107766 Commits

Author SHA1 Message Date
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
Dianne Hackborn
be4e6aaa02 Initial super-primitive process tracker.
The goal of this is to keep track of what app processes
are doing, to determine who is being abusive, when the system
is getting into memory constrained situations, and help the
user determine how to resolve this.

Right now it doesn't really do any of that, just keeps track
of how long every process has been running since boot.

Also update the activity manager to use "cached" as the terminology
for what it used to interchangeably call hidden and background
processes, and switch ProcessMap over to using ArrayMap.

Change-Id: I270b0006aab1f38e17b7d9b65728679173c343f2
2013-06-07 15:09:17 -07:00
Romain Guy
2df804462b Merge "Fix the build" 2013-06-07 21:54:47 +00:00
Romain Guy
28323a425f Fix the build
Change-Id: I506b24e2228d49badc513fdd839671ba50bb2faf
2013-06-07 14:54:01 -07:00
Eino-Ville Talvala
b2675542c2 Initial commit of new camera API, mostly just the interface.
- New core API classes in android.hardware.photography
- android.media.Image and android.media.ImageReader classes for
  application access to direct hardware image buffers.
- Additions to android.graphics.ImageFormat to describe new image
  types needed by new camera API.
- Some documentation included; very little implementation.

Bug: 9111736
Change-Id: I0680f35944d1cb8845b7dc0c67edc8c0f0864573
2013-06-07 21:29:45 +00:00
Craig Mautner
8c4a8243c7 Merge "Finish InputEvents." 2013-06-07 21:25:42 +00:00
Romain Guy
81056427e8 Merge "Remove unnecessary Rect, better reuse of NinePatch objects" 2013-06-07 20:14:58 +00:00
Romain Guy
f3187b7df1 Remove unnecessary Rect, better reuse of NinePatch objects
Cloning drawables (which happens a lot) was creating copies of NinePatch
objects, which would cause the hardware renderer to generate more meshes
than necessary. Also avoid keeping a String we don't need (it was interned
but still.) Last but not least, remove 1 RectF per NinePatch in the system.

Change-Id: If4dbfa0c30892c9b00d68875e334fd5c2bde8b94
2013-06-07 12:17:11 -07:00
Adam Powell
a4d04291d4 am 87c79d64: am d3cb6bcf: am 8152c794: Merge "Fix incorrect fragment animation used for hiding fragments"
* commit '87c79d64abeb65468a49729f23c97c7e3b9d7e49':
  Fix incorrect fragment animation used for hiding fragments
2013-06-07 11:56:56 -07:00
Adam Powell
87c79d64ab am d3cb6bcf: am 8152c794: Merge "Fix incorrect fragment animation used for hiding fragments"
* commit 'd3cb6bcf0f63317d1078a2f897d4824ba91402a6':
  Fix incorrect fragment animation used for hiding fragments
2013-06-07 11:52:36 -07:00
Adam Powell
d3cb6bcf0f am 8152c794: Merge "Fix incorrect fragment animation used for hiding fragments"
* commit '8152c7940a10f11a9edb16ae1daeca8a6fe2e6bb':
  Fix incorrect fragment animation used for hiding fragments
2013-06-07 11:49:32 -07:00
Adam Powell
8152c7940a Merge "Fix incorrect fragment animation used for hiding fragments" 2013-06-07 18:46:18 +00:00
Romain Guy
3f5e9e8019 Merge "Avoid Binder call when getting the Window service" 2013-06-07 18:07:18 +00:00
Craig Mautner
d982e6d965 Finish InputEvents.
StackTapDetector was leaking InputEvents. Fixes bug 9180347.

Change-Id: Ib526768024b54021ca02e6183bae847e217bb68d
2013-06-07 11:05:08 -07:00
Romain Guy
e50848bfba Avoid Binder call when getting the Window service
Change-Id: Ie4f01838402bec4b387e40ce02a1af7f12941538
2013-06-07 10:57:25 -07:00
Adam Powell
2756293910 Fix incorrect fragment animation used for hiding fragments
Mirror of support lib patch
https://android-review.googlesource.com/#/c/60032/ into
frameworks/base.

Change-Id: I8d1cb2e217721336674b8e3e2ef8722a8d9baefd
2013-06-07 10:19:22 -07:00
Scott Main
20b53f89fa am ad47f8c2: am 00d17f7a: add attributes to accessibility service info
* commit 'ad47f8c2dc31247ce9f504eccf21d50d115129d7':
  add attributes to accessibility service info
2013-06-07 09:46:50 -07:00
Scott Main
ad47f8c2dc am 00d17f7a: add attributes to accessibility service info
* commit '00d17f7aab54ef055d35da603dab5a7bae751876':
  add attributes to accessibility service info
2013-06-07 09:44:18 -07:00
John Spurlock
d3b3c063e8 Merge "Put overlay system bar testing behind a setting." 2013-06-07 16:23:27 +00:00
Baligh Uddin
b0a32e8139 Merge "Import translations. DO NOT MERGE" 2013-06-07 15:53:31 +00:00
Baligh Uddin
1e87dd58bd Merge "Import translations. DO NOT MERGE" 2013-06-07 15:49:56 +00:00
John Spurlock
245fd017b3 Put overlay system bar testing behind a setting.
And disable the system gesture by default.  Also remove observer
for obsolete "fancy_rotation_anim" setting.

Change-Id: I08012c164e10bfa5f10a1df8a3db4a3f0203f236
2013-06-07 11:02:53 -04:00
Chet Haase
5133dcb838 Merge "Additional functionality and performance for ArrayMap" 2013-06-07 14:05:46 +00:00
Satoshi Kataoka
65ea41541b Merge "Fix an issue where "SuggestionSpan"s are not removed properly" 2013-06-07 07:59:44 +00:00
Chong Zhang
799d4af8cf Merge "wifi-display: set display to unavailable if p2p device is unavailable" 2013-06-07 03:28:11 +00:00
Scott Main
00d17f7aab add attributes to accessibility service info
Change-Id: I3651544164f718003b8eb1235a7d723f1bcee5be
2013-06-06 18:37:59 -07:00
Scott Main
8c8391ad6a am cdad1772: am b8e4d95c: am a7ba45ec: am 7381c7e5: am b2b216e7: add links to a couple intellij docs for Eclipse users
* commit 'cdad1772e18e6f6f563b369c41d453e181a5169c':
  add links to a couple intellij docs for Eclipse users
2013-06-06 17:57:59 -07:00
Scott Main
cdad1772e1 am b8e4d95c: am a7ba45ec: am 7381c7e5: am b2b216e7: add links to a couple intellij docs for Eclipse users
* commit 'b8e4d95c22e0f44aee5cb3001262b5154bf90cb7':
  add links to a couple intellij docs for Eclipse users
2013-06-06 17:55:15 -07:00
Scott Main
b8e4d95c22 am a7ba45ec: am 7381c7e5: am b2b216e7: add links to a couple intellij docs for Eclipse users
* commit 'a7ba45ec7cbaaa1dbfcd6601bb42abd5ea39547f':
  add links to a couple intellij docs for Eclipse users
2013-06-06 17:51:20 -07:00
Romain Guy
241ef0cc42 Merge "Assume a texture is unbound after deleting it Bug #9316260" 2013-06-07 00:07:05 +00:00
Svetoslav
494cb689d0 Merge "Optimizing AccessibilityNodeInfo caching." 2013-06-07 00:04:57 +00:00
Chet Haase
f4130cf35f Additional functionality and performance for ArrayMap
Added equals() and hashCode() to ArrayMap to allow equals() tests
of maps with the same key/value pairs to return true.

Changed putAll() to handle the case of an empty map faster, just copying
the arrays instead of adding elements one by one.

Added to ArrayMapTests to test new equals() and copy constructor
functionality.

Issue #9299310 Optimize ArrayMap copy constructor

Change-Id: I1186a0eddd1fd53a0f380c2f3972fc1942cdf879
2013-06-06 16:43:41 -07:00
Romain Guy
be1b127c7b Assume a texture is unbound after deleting it
Bug #9316260

The GL specification indicates that deleting a bound texture has
the side effect of binding the default texture (name=0). This change
replaces all calls to glDeleteTextures() by Caches::deleteTexture()
to properly keep track of texture bindings.

Change-Id: Ifbc60ef433e0f9776a668dd5bd5f0adbc65a77a0
2013-06-06 16:26:51 -07:00
Chong Zhang
21f603996e wifi-display: set display to unavailable if p2p device is unavailable
Bug 9229799

Change-Id: I680015943f40cded45645dfa0eae42bbce5ce9a3
2013-06-06 15:49:16 -07:00
Scott Main
a7ba45ec7c am 7381c7e5: am b2b216e7: add links to a couple intellij docs for Eclipse users
* commit '7381c7e54b8dfb91b6fac5c7e00a62738c849135':
  add links to a couple intellij docs for Eclipse users
2013-06-06 15:40:05 -07:00
Scott Main
7381c7e54b am b2b216e7: add links to a couple intellij docs for Eclipse users
* commit 'b2b216e79880884f7ebbea6ee997fc88edc229fc':
  add links to a couple intellij docs for Eclipse users
2013-06-06 15:38:16 -07:00
Scott Main
b2b216e798 add links to a couple intellij docs for Eclipse users
Change-Id: I6f373c62781e9d4b6b296d92242f4296b1fe6fe4
2013-06-06 15:22:30 -07:00
John Spurlock
fd6f77dc6a Merge "Remove obsolete class from proguard." 2013-06-06 22:07:52 +00:00
John Spurlock
d213407f2a Merge "Remove fonts from sysui package." 2013-06-06 22:07:16 +00:00
Jeff Sharkey
7a1c3fce47 Accumulate network statistics based on deltas.
Network stats are now read out of the kernel in one sweep, instead of
reading per-UID.  We now accumulate the delta traffic between each
stats snapshot using the well-tested SamplingCounter pattern.

Since Wi-Fi and mobile traffic have different costs, track each
separately.  Avoids counting misc interfaces like loopback and
ethernet under total.

Bug: 5543387
Change-Id: I642004dc530113c27ef79f2abbae51d8af30117f
2013-06-06 14:35:34 -07:00
Chris Craik
34bff87b32 Merge "Add support for post-decode density scaling with reuse" 2013-06-06 21:04:49 +00:00
Romain Guy
c840a13342 Merge "Remove unnecessary allocations" 2013-06-06 21:02:35 +00:00
Elliott Hughes
0d6123e48f am 20c3a1b4: am 47aa51d0: am 70b74646: Merge "Track libcore changes."
* commit '20c3a1b47abc630cd18ac0c113529f9082a8af9b':
  Track libcore changes.
2013-06-06 13:58:31 -07:00
Elliott Hughes
20c3a1b47a am 47aa51d0: am 70b74646: Merge "Track libcore changes."
* commit '47aa51d029b613a518a569eb798607f2fbda9330':
  Track libcore changes.
2013-06-06 13:56:03 -07:00
Elliott Hughes
47aa51d029 am 70b74646: Merge "Track libcore changes."
* commit '70b74646b8114b7ee9e35ce4283ecab8c8528dcc':
  Track libcore changes.
2013-06-06 13:53:54 -07:00
Elliott Hughes
70b74646b8 Merge "Track libcore changes." 2013-06-06 20:51:30 +00:00
John Spurlock
cd686b5b6d Migrate systemui Slog calls to Log
Change-Id: Ib6734c85960f06fed646599565b8eeba26b9e98e
2013-06-06 16:40:56 -04:00
Elliott Hughes
598a16f71e Track libcore changes.
Bug: 3484927
Change-Id: I3a3c4a9f0ad6055261f705987bc576cd28bebb46
2013-06-06 13:40:21 -07:00
John Spurlock
c9083f1a64 Merge "Remove remaining universe bits from sysui." 2013-06-06 20:26:59 +00:00
Scott Main
f05723350b am c0b998d2: am 865047f8: am 6e3c1222: am 47029086: am 2f55af55: add redirects for UI guideline docs, as per change: I9b896e6c88701044f572ab79813d43c2f34b81b9
* commit 'c0b998d295b509349f21bd12ab2e5ca34576ea8e':
  add redirects for UI guideline docs, as per change: I9b896e6c88701044f572ab79813d43c2f34b81b9
2013-06-06 12:56:56 -07:00