5257 Commits

Author SHA1 Message Date
Martijn Coenen
f4bf158328 Add host-based card emu feature to PackageManager.
Change-Id: Id55025e5ab8443be1e6ac23ac5d9ab93565a53f0
2013-07-22 12:10:18 -07:00
Elliott Hughes
6295aac184 am 269d3722: am 86aa1953: am 2a26547f: Merge "Track libcore API update."
* commit '269d3722762c74a766b9c3200a25832ba8307aa9':
  Track libcore API update.
2013-07-08 10:06:20 -07:00
Elliott Hughes
269d372276 am 86aa1953: am 2a26547f: Merge "Track libcore API update."
* commit '86aa19532896dc6ede04d53ee96708becde9b0dc':
  Track libcore API update.
2013-07-08 10:03:48 -07:00
Elliott Hughes
86aa195328 am 2a26547f: Merge "Track libcore API update."
* commit '2a26547fd391c8038ad9f57fcb51d62fba0ee543':
  Track libcore API update.
2013-07-08 10:01:17 -07:00
Elliott Hughes
2ecdbc5395 Track libcore API update.
Bug: 3484927
Change-Id: Icd8a45d33efd205a5eb21ac6a4fcf781f8b5e064
2013-07-08 09:41:06 -07:00
Dianne Hackborn
d9fb14a38a Merge "Misc memory stuff." 2013-07-02 18:30:43 +00:00
Dianne Hackborn
2286cdc0ca Misc memory stuff.
- New Activity.reportFullyDrawn() method that applicatins can call
  when they know they are fully drawn, allowing us to have better
  app launch time info.  This data is also included in usage stats.
- Added total and free memory data "dumpsys meminfo".
- Tuned the moderate memory levels to be more aggressive about
  considering the device getting low on RAM, and thus starting
  to prune RAM from processes.
- Fixed issues in processstats when reading old data as well as
  resetting and other various fixes.

Change-Id: I20efe7451afb4edfa1aeec448328ba601c24d869
2013-07-02 11:21:04 -07:00
Elliott Hughes
70673628ab am 9544df07: am e88fe7f4: am 94fed1c5: Merge "Track libcore API update."
* commit '9544df0767b7e3e7d9f807cb2290cd3afba73b7a':
  Track libcore API update.
2013-07-01 17:01:31 -07:00
Elliott Hughes
bd856a5516 am aaf16120: am 7c56325d: am c26e5505: Merge "Track libcore API update."
* commit 'aaf1612067451c30d1564f3ac4361527e4ab92c3':
  Track libcore API update.
2013-07-01 17:01:26 -07:00
Elliott Hughes
9544df0767 am e88fe7f4: am 94fed1c5: Merge "Track libcore API update."
* commit 'e88fe7f415334ae04a289f8bc697404212784df0':
  Track libcore API update.
2013-07-01 16:48:00 -07:00
Elliott Hughes
e88fe7f415 am 94fed1c5: Merge "Track libcore API update."
* commit '94fed1c5d570a92d357657451e5b47aba4feee12':
  Track libcore API update.
2013-07-01 16:45:33 -07:00
Elliott Hughes
bf1589d0df Track libcore API update.
Bug: 3484927
Change-Id: I04de17b1191295e3fa874c9e351ae686d9eecef5
2013-07-01 16:39:34 -07:00
Elliott Hughes
aaf1612067 am 7c56325d: am c26e5505: Merge "Track libcore API update."
* commit '7c56325d57c3c6022cfcb9b71343751c572bc656':
  Track libcore API update.
2013-07-01 16:24:48 -07:00
Elliott Hughes
7c56325d57 am c26e5505: Merge "Track libcore API update."
* commit 'c26e5505495f7a36163477e12098d5fd2822cae9':
  Track libcore API update.
2013-07-01 16:22:16 -07:00
Elliott Hughes
812990a9e5 Track libcore API update.
Bug: 3484927
Change-Id: I52a37bdeafe431255034543e0fad5f808955309f
2013-07-01 14:46:31 -07:00
Elliott Hughes
04971a736a am 1a6fe26d: am c63c0682: am e3b94f05: Merge "Track libcore API change."
* commit '1a6fe26d1bd5bcfbd44ed9e6d2cf52c027b764a2':
  Track libcore API change.
2013-06-28 18:15:40 -07:00
Elliott Hughes
1a6fe26d1b am c63c0682: am e3b94f05: Merge "Track libcore API change."
* commit 'c63c068228267b41fb106e22a6914ab19da9e5bc':
  Track libcore API change.
2013-06-28 18:13:29 -07:00
Elliott Hughes
c63c068228 am e3b94f05: Merge "Track libcore API change."
* commit 'e3b94f05b8be2b6305cbee77c23b7f7599bfcff7':
  Track libcore API change.
2013-06-28 18:11:10 -07:00
Elliott Hughes
97c538d5f3 Track libcore API change.
Bug: 3484927
Change-Id: If49d0389e4ecb826052e168e070b673894d91318
2013-06-28 18:03:46 -07:00
Zhijun He
b8b77bf59e Correct request template value for record and still
they should match the request template values defined in camera3.h.

Bug 9213377

Change-Id: Ib24aa33a0ed59aff14b115c5d213ac287ea0d948
2013-06-28 17:46:45 -07:00
Elliott Hughes
ebb77f55a9 am d1411efe: am 324993ab: am 5216f11e: Merge "Track libcore API update."
* commit 'd1411efee372a37fcd0178f3ccffd9bf1d67b70b':
  Track libcore API update.
2013-06-28 16:28:22 -07:00
Elliott Hughes
d1411efee3 am 324993ab: am 5216f11e: Merge "Track libcore API update."
* commit '324993abed48843da1cb63063668147151e4db5c':
  Track libcore API update.
2013-06-28 16:26:08 -07:00
Elliott Hughes
324993abed am 5216f11e: Merge "Track libcore API update."
* commit '5216f11e462b9f17704c0ac9e193d2149f3fa755':
  Track libcore API update.
2013-06-28 16:23:47 -07:00
Elliott Hughes
0e88a95480 Track libcore API update.
Bug: 3484927
Change-Id: I77c22d3da7b70d3dae4cf6c1903add948ae39406
2013-06-28 16:08:02 -07:00
Elliott Hughes
2687fa7f33 am 5d2d2222: am ce566b50: am ee66531f: Merge "Track libcore API update."
* commit '5d2d22221a61258ff7dad29792bbf1201c746e8d':
  Track libcore API update.
2013-06-28 16:04:44 -07:00
Elliott Hughes
5d2d22221a am ce566b50: am ee66531f: Merge "Track libcore API update."
* commit 'ce566b5068bb73b7e379bb40c3eb74922000bbd9':
  Track libcore API update.
2013-06-28 16:01:51 -07:00
Elliott Hughes
ce566b5068 am ee66531f: Merge "Track libcore API update."
* commit 'ee66531f2fa2b6aaa5ca064062f5e8d50b64ff44':
  Track libcore API update.
2013-06-28 15:58:45 -07:00
Elliott Hughes
6859af17ce Track libcore API update.
Bug: 3484927
Change-Id: I684d724000d09a52c840076fab5985242c77c908
2013-06-28 15:28:00 -07:00
Elliott Hughes
1f3ad678be am 34ba52a0: am a9510297: am 505974eb: Merge "Track libcore API update."
* commit '34ba52a060b01b5d91a64d8e7026387749c2bbb6':
  Track libcore API update.
2013-06-28 13:11:57 -07:00
Elliott Hughes
34ba52a060 am a9510297: am 505974eb: Merge "Track libcore API update."
* commit 'a9510297a656c574d063b299f044bc9893af7724':
  Track libcore API update.
2013-06-28 13:09:58 -07:00
Elliott Hughes
a9510297a6 am 505974eb: Merge "Track libcore API update."
* commit '505974eb736218d40b1d648ea4af548167a381b1':
  Track libcore API update.
2013-06-28 13:07:21 -07:00
Elliott Hughes
5931afdc0f Track libcore API update.
Bug: 3484927
Change-Id: I22fc7e003c3483a20988e91d2b8824626ec022b1
2013-06-28 10:55:14 -07:00
Christopher Tate
a3664247c7 New API: apps can request a wipe of their own data
Bug 9588299

Change-Id: I817a90e272ba279d7171f6dbe88dbafd7e42b050
2013-06-27 15:32:37 -07:00
Craig Mautner
5729b81ab5 Merge "Add API to convert translucent Activity to opaque." 2013-06-27 21:00:44 +00:00
Romain Guy
9feab843ac Merge "Refcount 9-patches and properly handle GC events" 2013-06-27 00:16:18 +00:00
Romain Guy
e3b0a0117a Refcount 9-patches and properly handle GC events
This change adds refcounting of Res_png_9patch instances, the native
data structure used to represent 9-patches. The Dalvik NinePatch class
now holds a native pointer instead of a Dalvik byte[]. This pointer
is used whenever we need to draw the 9-patch (software or hardware.)

Since we are now tracking garbage collection of NinePatch objects
libhwui's PatchCache must keep a list of free blocks in the VBO
used to store the meshes.

This change also removes unnecessary instances tracking from
GLES20DisplayList. Bitmaps and 9-patches are refcounted at the
native level and do not need to be tracked by the Dalvik layer.

Change-Id: Ib8682d573a538aaf1945f8ec5a9bd5da5d16f74b
2013-06-26 17:15:08 -07:00
Dianne Hackborn
49e9c44c4b Merge "Add new ActivityManager.isLowRamDevice()." 2013-06-26 23:16:48 +00:00
Zhijun He
89dc02a9be Merge "ImageReader: Implementation of ImageReader and Image APIs" 2013-06-26 23:05:40 +00:00
Amith Yamasani
5fa9f2b127 Merge "Single-user restrictions" 2013-06-26 23:04:32 +00:00
Zhijun He
212e78df9e ImageReader: Implementation of ImageReader and Image APIs
Used for direct image data access from producer like camera or video decoder.

Bug: 9254294
Change-Id: I1853af03f4487ac3585d86202f6140854471fa89
2013-06-26 15:56:27 -07:00
Dianne Hackborn
b4e1249493 Add new ActivityManager.isLowRamDevice().
This and the old isHighEndGfx() is set up through a
device configuration, rather than trying to compute it
automatically.

Change-Id: Ibc95c05791023a7ae6c88555b75bb61f2b613991
2013-06-26 15:50:02 -07:00
Igor Murashkin
70725500dc Initial camera device implementation
* Working streaming preview requests only
* Almost everything else returns empty objects that don't do anything

Bug: 9213377
Change-Id: Ie6f02a7c0952b0f5ebc41905425b15cae221f7d3
2013-06-26 13:19:45 -07:00
Igor Murashkin
e363fbb264 Partial CameraManager implementation
Bug: 9213377
Change-Id: I8f89fb94d7081a71b38e5cd0ad89116d219b4c33
2013-06-26 13:19:44 -07:00
Craig Mautner
4addfc5f39 Add API to convert translucent Activity to opaque.
Fixes bug 9298778.

Change-Id: If6198f42bdea8aa727a2abc672eb0062aaf63ca3
2013-06-25 16:56:37 -07:00
Amith Yamasani
655d0e2029 Single-user restrictions
Introduces a new "blocked" state for each package. This is used to temporarily
disable an app via Settings->Restrictions.

PIN creation and challenge activities for use by Settings and other apps. PIN
is stored by the User Manager and it manages the interval for retry attempts
across reboots.

Change-Id: I4915329d1f72399bbcaf93a9ca9c0d2e69d098dd
2013-06-25 16:03:55 -07:00
Igor Murashkin
a858308ed2 Revert "Partial CameraManager implementation"
This reverts commit e473f7d8f96b5682141522378b761913192d8114.

Change-Id: I23e92ca2def0ebf507f6c782442a4698745bc926
2013-06-25 05:15:02 +00:00
Igor Murashkin
e473f7d8f9 Partial CameraManager implementation
Bug: 9213377
Change-Id: I29864a5d1f7971ed589d1ffaddeefbb703e34018
2013-06-24 17:41:09 -07:00
Svetoslav
cf165a0ae0 Merge "Print APIs documentation update" 2013-06-24 18:34:33 +00:00
Svetoslav
fd90651cfc Print APIs documentation update
Change-Id: I0df438e45ef540cc42c9ee5baafc816ebafa1c7b
2013-06-24 09:05:38 -07:00
Andy McFadden
b32a7c7ca2 Merge "Minor fixes to android.opengl.Matrix" 2013-06-24 14:26:18 +00:00