175062 Commits

Author SHA1 Message Date
Chad Brubaker
d88fffa58d Cleanup keystore password changing and unlocking
Add KeyStore.onUserPasswordChanged for the lockscreen to call when
the user changes their password. Keystore will then handle the logic of
deleting keys. Instead of calling Keystore.password_uid for both
unlocking and password changes the behavior has been split into
Keystore.unlock and onUserPasswordChanged.

(cherry-picked from commit a91a8504191d91d288c55821caa5bf00c9be26a2)

Change-Id: I324914c00195d762cbaa8c63084e41fa796b7df8
2015-05-11 11:20:59 -07:00
Alex Klyubin
6a317432de Merge "Fix KeyStoreTest now that begin requires parameters." 2015-05-11 17:37:24 +00:00
Alex Klyubin
c5e4d7af22 Fix KeyStoreTest now that begin requires parameters.
Keystore's begin operation now requires parameters which describe the
operation (e.g., algorithm, block mode, padding). This adjusts
KeyStoreTest to provide the necessary parameters.

Bug: 19509156
Change-Id: I8205288d8cbdd37196acde32548a0994763be38c
2015-05-11 10:33:09 -07:00
Mark Salyzyn
0720a542dd Merge "BootReceiver: scrub APANIC" 2015-05-08 22:47:05 +00:00
Chih-Hung Hsieh
af622b1a98 Merge "Fix print format error." 2015-05-08 22:22:23 +00:00
Dmitriy Ivanov
fcdc032fe5 Merge "Switch libjnigraphics.so to hash-style=both" 2015-05-08 21:17:09 +00:00
Dmitriy Ivanov
2e84bc6948 Switch libjnigraphics.so to hash-style=both
Bug: http://b/19059885
Change-Id: I15f70b434b1d450e5b62ca7c204c628e2dc9edcc
2015-05-08 21:07:29 +00:00
Chih-Hung Hsieh
bce4220c36 Fix print format error.
Change-Id: I284c5e9c44f6dd56a7bb6ff93a1a86cc8f2deefa
2015-05-08 11:05:12 -07:00
Yang Ni
496c07d754 Merge "Moved limit constants for kernel and script group" 2015-05-08 17:41:27 +00:00
tiger_huang
5b36c49aea Use the correct parent size to initialize animations
The original logic would use out-of-date parent sizes to initialize
animations. If the screen size is changed after assigning mAnimDw and
mAnimDh in the constructor of WindowStateAnimator, the fromDeltaY
(in the most cases) of TranslateAnimation would be initialized
incorrectly.

In this change, we always use up-to-date parent sizes to initialize
animations to prevent the issue.

https://code.google.com/p/android/issues/detail?id=170348

Change-Id: Ib9c609121228934bdb463263feb1924eb389c1d2
2015-05-08 13:08:47 +00:00
Miao Wang
809a7645e3 Merge "[RenderScript] Make L2 BLAS methods pulic field." 2015-05-08 00:58:03 +00:00
Miao Wang
6517eb635a [RenderScript] Make L2 BLAS methods pulic field.
Change-Id: Ia5f6a747c4998203f8155c67111aea70301af24a
2015-05-07 17:56:05 -07:00
Miao Wang
9a0d47d942 Merge "[RenderScript] typo fix in BLAS, TRMM & TSMM" 2015-05-07 23:29:46 +00:00
Miao Wang
ec155e5091 Merge "[RenderScript] typo fix in rs BLAS jni, to correctly handle complex params." 2015-05-07 23:29:18 +00:00
Miao Wang
b517a327ec Merge "[RenderScript] fix edges cases about Transpose for SYMM & SYR2K" 2015-05-07 23:28:37 +00:00
Miao Wang
ae546f9448 Merge "[RenderScript] L2 BLAS, fix element type in ZHER" 2015-05-07 23:28:13 +00:00
Miao Wang
2478bd52ac Merge "[RenderScript] fixes for L3 BLAS APIs" 2015-05-07 23:27:49 +00:00
Miao Wang
5380bd4c02 Merge "[RenderScript] improve & minor fixes of L2 BLAS validation." 2015-05-07 23:27:26 +00:00
Miao Wang
328919aeb5 [RenderScript] typo fix in BLAS, TRMM & TSMM
Change-Id: I78f014a864700369c7ccdfb46a257851a45abd7c
2015-05-07 15:53:30 -07:00
Miao Wang
e8cb7b32ac [RenderScript] typo fix in rs BLAS jni, to correctly handle complex
params.

Change-Id: Ie44f430dc7ed4155f40aa9f9c2864fb0429c97fe
2015-05-07 15:50:07 -07:00
Miao Wang
e1cf095071 [RenderScript] fix edges cases about Transpose for SYMM & SYR2K
Change-Id: Id86d5fe8475060a22f49b06b6e1f8f3eae7c7e9f
2015-05-07 15:48:04 -07:00
Miao Wang
cc711795e2 [RenderScript] L2 BLAS, fix element type in ZHER
Change-Id: I99f9f9ff8942522d6581ff60b9a2d75e33e66ff6
2015-05-07 15:44:08 -07:00
Miao Wang
b530d8ec79 [RenderScript] fixes for L3 BLAS APIs
- Typo for validateUplo
  - Typo in ZHEMM, element should be FLOAT64_2.
  - For GEMM and SYMM, SYRK, 'CONJ_TRANSPOSE' should also be handled in the
    validation process.
  - For SYMM, check matrix A is symmetric.
  - For HERK, the dimension validation was switched for Transpose case.
    Also, only Conj Trans is allowed in this case.
  - FOR SYR2K, fix the dimension check for Matrix C.
  - For TRMM & TRSM, fix the validation part for dimension check.

Change-Id: I559b5c5695aa82604de2955ae2327b694236d3ed
2015-05-07 15:41:37 -07:00
Miao Wang
2b6fad9339 [RenderScript] improve & minor fixes of L2 BLAS validation.
Change-Id: If8dd0f9d4c7db03df22763a80fa6d600539be7c1
2015-05-07 15:39:50 -07:00
Miao Wang
23be1c20d4 Merge "[RenderScript] Fix HEMM and SYRK in IntrinscBLAS to correctly handle complex 'Alpha' and 'Beta'" 2015-05-07 22:37:09 +00:00
Miao Wang
333bcc0485 [RenderScript] Fix HEMM and SYRK in IntrinscBLAS to correctly handle
complex 'Alpha' and 'Beta'

Change-Id: I0aed57d41b0199d5c6dd3c31ca33644a5634dc35
2015-05-07 15:34:50 -07:00
Chad Brubaker
5c6c2b65b5 Merge "Fix testAuthNeeded test" 2015-05-07 19:32:15 +00:00
Chad Brubaker
b0addbaaf2 Fix testAuthNeeded test
begin now returns OP_AUTH_REQUIRED for per operations with per op
authorization instead of NO_ERROR.

Change-Id: I1f472125f46155833e03ab30bf18363ff51b2c58
2015-05-07 11:31:32 -07:00
Evgenii Stepanov
e740b17d24 Update asan/app_process.
Build both 32 and 64-bit versions and don't limit it to eng.

Change-Id: I5d6cc8005291100d5fe0f1385e8a0b4ba5f4d630
2015-05-07 10:55:59 -07:00
Andreas Gampe
f40149ff1f Merge "Frameworks/base: Fix null-pointer access" 2015-05-07 15:47:31 +00:00
Dan Albert
0cdf4e1175 Merge "Fix setting hotspot bounds in a drawable container" 2015-05-06 22:49:31 +00:00
Yang Ni
7b2a46fee0 Moved limit constants for kernel and script group
b/20728113

so that we can share them with support lib.

Change-Id: I231c0d20c41ee53342d8a975c2db5a31854b9d40
2015-05-06 15:43:46 -07:00
Dan Albert
798cdaebdd Merge "Don't use stlport." 2015-05-06 19:53:41 +00:00
Dan Albert
30d0fcb95a Don't use stlport.
Bug: http://b/15193147
Change-Id: I8afa633d2c100393e5501553ea389d71a2701c8d
2015-05-06 19:51:33 +00:00
Michael Wright
75ce939756 Merge "optimize wallpaper load,avoid show black wallpaper." 2015-05-06 15:35:46 +00:00
longyu.huang
6b53fd28e5 optimize wallpaper load,avoid show black wallpaper.
[Preconditions]
open auto-rotate

[Procedures]
1.enter Contacts app, and rotate 90 degrees to the right
2.press power key to lock screen,and unlock
3.rotare 90 degrees to the left and exit Contacts app
4.the wallpaper will be black first,then show the really wallpaper
2015-05-06 01:57:36 -07:00
tingna_sung
1f7092ebdf Don't apply animation clip to dialog activities
If launching a dialog activity from Recents app UI, the top region
of this dialog will be clipped. This is caused by applying clip rect
animation effect for Recents app scale up/down transition.

However, the clip rect animation is not needed for non-inset decor
app window, e.g. dialog activity.

https://code.google.com/p/android/issues/detail?id=161362
Bug: 20652683
Bug: 19523205

Change-Id: Ida8c3b28b3789061d6ebb662bc08738d7daec3a0
2015-05-06 13:06:00 +08:00
Ying Wang
e8d735c70a Merge "Remove all_modules's dependency on keymaps validation." 2015-05-05 23:32:49 +00:00
Ying Wang
366d6d0d12 Remove all_modules's dependency on keymaps validation.
With this we won't try to run validatekeymaps.exe when you run
"USE_MINGW=1 mma".
Also it seems it's too much to run the validation for every mma/mmma.
Validation in just platform build (droidcore) should be enough.

Change-Id: I22431009d4c2dd765bbd14b24eb5c8729b53d6c1
2015-05-05 16:12:41 -07:00
Alexander Martinz
859df3b7b3 Fix setting hotspot bounds in a drawable container
We are passing the wrong parameters for setting hotspot bounds.
Bottom and right are in the wrong order, correct it.

Change-Id: I2762fc3a4c29f05ba8b7e71a5c6cad0be16c2ae0
2015-05-06 00:44:24 +02:00
Jason Sams
d5c780a787 Merge "Fix Allocation-less launches" 2015-05-05 21:57:27 +00:00
Jean-Luc Brouillet
2f91dd18fa Merge "Overhaul of the RenderScript reference documentation." 2015-05-05 21:31:14 +00:00
Hiroshi Yamauchi
ab3dd9fc62 Merge "Fix binder force gc will block binder thread" 2015-05-05 18:58:22 +00:00
Chih-Hung Hsieh
5bd20a3eca Merge "Remove unused aapt target." 2015-05-04 23:36:23 +00:00
Chih-Hung Hsieh
97627314a4 Remove unused aapt target.
BUG: 20765163
Change-Id: I13f36f76541216c5c1c20ae8866e09038e08e6f8
2015-05-04 15:49:46 -07:00
Yang Ni
46358df676 Merge "Sanity checks in JNI code for closure creation" 2015-05-04 22:02:44 +00:00
Chris Tate
a51f14d00e Merge "Fix NPE in JobServiceContext when closing job." 2015-05-02 01:29:45 +00:00
Yang Ni
4e90b9b57c Sanity checks in JNI code for closure creation
b/20728113

In case the requested size for memory allocation overflows, or memory
allocation fails.

Change-Id: I8dac132dd4d0210938660ffbb82cbe44000d2a90
2015-05-01 14:39:02 -07:00
mark_chen
d916c233f0 Fix binder force gc will block binder thread
Symptom: Force gc caused activity launch time took longer
Root Cause: Runtime.getRuntime().gc will block binder thread
Solution: Use VMRuntime.requestConcurrentGC() will not block binder
thread

Bug: 20554807
Change-Id: I48a103c8241c4c85ced4d9a0b231d9f1dc200f35
2015-05-01 13:42:43 -07:00
Mathieu Chartier
5cc626bb0e Merge "Look at map extensions before /dev/ + ashmem." 2015-05-01 20:18:06 +00:00