OSDN Git Service

android-x86/frameworks-base.git
9 years agoCommand to change force adoptable state.
Jeff Sharkey [Fri, 15 May 2015 20:45:00 +0000 (13:45 -0700)]
Command to change force adoptable state.

Since user builds can't setprop, add an explicit "sm" verb to change
the force adoptable state.

Bug: 21191915
Change-Id: I719d9b18c1a98c97442a5ddb1cc5512e8e4d3d3f

9 years agoInitial pass at storage benchmarks.
Jeff Sharkey [Fri, 15 May 2015 04:07:42 +0000 (21:07 -0700)]
Initial pass at storage benchmarks.

Offer an interface for Settings to invoke benchmarks on various
attached volumes.

Bug: 21172095
Change-Id: I847ddc87c58285457d1324be87f70ce10507accb

9 years agoDetermine if we have adoptable disks.
Jeff Sharkey [Wed, 13 May 2015 20:54:30 +0000 (13:54 -0700)]
Determine if we have adoptable disks.

Bug: 19993667
Change-Id: I9b21b05736c22d34ca22f5ad6e1a6ebec440cfb6

9 years agoHide API not ready for prime time.
Jeff Sharkey [Wed, 13 May 2015 19:52:06 +0000 (12:52 -0700)]
Hide API not ready for prime time.

Bug: 20642684
Change-Id: I133f023ba7d1d9572175a8f6a3e3c8314c5a897d

9 years agoRewriting should fail when any paths are null.
Jeff Sharkey [Wed, 13 May 2015 19:38:16 +0000 (12:38 -0700)]
Rewriting should fail when any paths are null.

Bug: 21017105
Change-Id: I0c5e9c5bdf397d51e2799b06a52bc5bd0bdd09b0

9 years agoUpdated storage notification icons.
Jeff Sharkey [Wed, 13 May 2015 18:40:30 +0000 (11:40 -0700)]
Updated storage notification icons.

Bug: 19993667
Change-Id: Ibecb634ad7993dc8d1b244654396a6176a0891b9

9 years agoNew "sm" shell tool to call StorageManager.
Jeff Sharkey [Tue, 12 May 2015 22:27:15 +0000 (15:27 -0700)]
New "sm" shell tool to call StorageManager.

Surface basic StorageManager commands through shell tool, like
simple listing of disks and volumes, and commands like mounting and
partitioning.

The output is designed to be parsed by host-side testing tools,
instead of relying on fragile dumpsys parsing.

Bug: 19993667
Change-Id: I993e92ecf57996678965945f0ae648b392a77ea2

9 years agoFix devices with primary physical storage.
Jeff Sharkey [Sun, 10 May 2015 21:53:34 +0000 (14:53 -0700)]
Fix devices with primary physical storage.

Always assume the factory-reset default primary storage before parsing
storage settings.  Without this, we'd always default to picking
internal emulated storage during first boot or upgrade.

Bump version code to re-evaluate this for devices that default to
physical storage as primary.

Also restrict available move targets when storage is physical, since
we can't really translate between multi-user and non-multi-user aware
storage.

Bug: 20836019
Change-Id: I186ded1aa3dd9cea67497a4f53b0973031174ccd

9 years agoam d3b2d050: am 674b1fcb: Doc change: Update cards and landing contents.
Dirk Dougherty [Sat, 9 May 2015 04:49:22 +0000 (04:49 +0000)]
am d3b2d050: am 674b1fcb: Doc change: Update cards and landing contents.

* commit 'd3b2d0502dd30039789f2a2b6380a4344fdc865e':
  Doc change: Update cards and landing contents.

9 years agoam 674b1fcb: Doc change: Update cards and landing contents.
Dirk Dougherty [Sat, 9 May 2015 04:37:37 +0000 (04:37 +0000)]
am 674b1fcb: Doc change: Update cards and landing contents.

* commit '674b1fcbaae2142666a6fb8eea4595fa8c64e406':
  Doc change: Update cards and landing contents.

9 years agoDoc change: Update cards and landing contents.
Dirk Dougherty [Fri, 8 May 2015 03:39:50 +0000 (20:39 -0700)]
Doc change: Update cards and landing contents.

Change-Id: Iecb6a6aa0fd3835750979bea49ac782abaa3364a

9 years agoMerge "allow top sleeping state in app process verification" into mnc-dev
Guang Zhu [Sat, 9 May 2015 00:27:55 +0000 (00:27 +0000)]
Merge "allow top sleeping state in app process verification" into mnc-dev

9 years agoMerge "Replace usages of deprecated version of TextView.setTextAppearance()" into...
Alan Viverette [Sat, 9 May 2015 00:20:01 +0000 (00:20 +0000)]
Merge "Replace usages of deprecated version of TextView.setTextAppearance()" into mnc-dev

9 years agoMerge "Disable multi-user background recording" into mnc-dev
Fyodor Kupolov [Sat, 9 May 2015 00:19:40 +0000 (00:19 +0000)]
Merge "Disable multi-user background recording" into mnc-dev

9 years agoReplace usages of deprecated version of TextView.setTextAppearance()
Alan Viverette [Sat, 9 May 2015 00:17:44 +0000 (17:17 -0700)]
Replace usages of deprecated version of TextView.setTextAppearance()

Change-Id: Ie501affe2e3a275d3172ce8ed584ba1cd5494da8

9 years agoDisable multi-user background recording
Fyodor Kupolov [Sat, 18 Apr 2015 00:59:14 +0000 (17:59 -0700)]
Disable multi-user background recording

On user switch, kill existing processes of the background user with
android.permission.RECORD_AUDIO permission. Home activity should not be
killed to avoid an expensive restart of the home launcher, when the
user switches back.

Introduced DISALLOW_RECORD_AUDIO user restriction, which is enabled for the
background user, and removed for the foreground user.

Introduced a concept of system controlled user restriction, which can only
be set by the system, rather than device administrator.

Bug: 20346194
Change-Id: Ic942fd565e80d14424230dae612965a8e229c4ef

9 years agoallow top sleeping state in app process verification
Guang Zhu [Sat, 9 May 2015 00:10:29 +0000 (17:10 -0700)]
allow top sleeping state in app process verification

This happens when an app is launched but has a dialog shown on
top of it. Typical reason is a licensing prompt of sorts.

Change-Id: Id73f45f54767b869873c62f13aeeb470c1a5cd81

9 years agoMerge "MediaSync: address API review." into mnc-dev
Wei Jia [Fri, 8 May 2015 23:23:43 +0000 (23:23 +0000)]
Merge "MediaSync: address API review." into mnc-dev

9 years agoMerge "Remove restrictions PIN functionality" into mnc-dev
Fyodor Kupolov [Fri, 8 May 2015 23:10:29 +0000 (23:10 +0000)]
Merge "Remove restrictions PIN functionality" into mnc-dev

9 years agoMerge "Document when encrypted AndroidKeyStore keys are wiped." into mnc-dev
Alex Klyubin [Fri, 8 May 2015 23:09:15 +0000 (23:09 +0000)]
Merge "Document when encrypted AndroidKeyStore keys are wiped." into mnc-dev

9 years agoDocument when encrypted AndroidKeyStore keys are wiped.
Alex Klyubin [Fri, 8 May 2015 22:25:48 +0000 (15:25 -0700)]
Document when encrypted AndroidKeyStore keys are wiped.

This also drops the boolean parameter from
KeyGeneratorSpec.Builder.setEncryptionRequired to match the already
launched KeyPairGeneratorSpec.Builder.setEncryptionRequired.

Bug: 18088752
Change-Id: I91a3e8c77958971b1bda8329319f1a0d8043b669

9 years agoMerge "media: merge CodecException's getErrorCode and getReason." into mnc-dev
Ronghua Wu [Fri, 8 May 2015 22:53:32 +0000 (22:53 +0000)]
Merge "media: merge CodecException's getErrorCode and getReason." into mnc-dev

9 years agoBootReceiver: scrub APANIC
Mark Salyzyn [Wed, 8 Apr 2015 17:56:59 +0000 (10:56 -0700)]
BootReceiver: scrub APANIC

(Cherry pick from commit b49dd577f421adbc4e2c7aa7aa88174905b76242)

Bug: 19525200
Change-Id: I940e25a6dd20d53d44ad8848f490ac18c5e971e9

9 years agoam e8334254: am 4f35e169: am 4475e7df: am ea2c4033: Mark persistent apps as such...
Christopher Tate [Fri, 8 May 2015 22:46:13 +0000 (22:46 +0000)]
am e8334254: am 4f35e169: am 4475e7df: am ea2c4033: Mark persistent apps as such when the ProcessRecord is created

* commit 'e83342540b2b7dc7571c12768007697685a6add5':
  Mark persistent apps as such when the ProcessRecord is created

9 years agoMerge "Clean-up component states in AMS when component is disabled" into mnc-dev
Wale Ogunwale [Fri, 8 May 2015 22:34:29 +0000 (22:34 +0000)]
Merge "Clean-up component states in AMS when component is disabled" into mnc-dev

9 years agoam 4f35e169: am 4475e7df: am ea2c4033: Mark persistent apps as such when the ProcessR...
Christopher Tate [Fri, 8 May 2015 22:32:18 +0000 (22:32 +0000)]
am 4f35e169: am 4475e7df: am ea2c4033: Mark persistent apps as such when the ProcessRecord is created

* commit '4f35e1699a4b62bd71bed27fece85e2c026210d1':
  Mark persistent apps as such when the ProcessRecord is created

9 years agomedia: merge CodecException's getErrorCode and getReason.
Ronghua Wu [Fri, 8 May 2015 21:40:49 +0000 (14:40 -0700)]
media: merge CodecException's getErrorCode and getReason.

And unhide getErrorCode.

Bug: 20950388
Change-Id: I19c5ddaadfcdd446777e341f73edb75ca184d32f

9 years agoMerge "Zen QS: Tweak segmented button + introduction styling." into mnc-dev
John Spurlock [Fri, 8 May 2015 22:29:24 +0000 (22:29 +0000)]
Merge "Zen QS: Tweak segmented button + introduction styling." into mnc-dev

9 years agoMerge "Zen: Tweak default automatic rules." into mnc-dev
John Spurlock [Fri, 8 May 2015 22:29:09 +0000 (22:29 +0000)]
Merge "Zen: Tweak default automatic rules." into mnc-dev

9 years agoMerge "Zen: Simplify notification policy api, add zenmode api." into mnc-dev
John Spurlock [Fri, 8 May 2015 22:28:49 +0000 (22:28 +0000)]
Merge "Zen: Simplify notification policy api, add zenmode api." into mnc-dev

9 years agoMediaSync: address API review.
Wei Jia [Fri, 8 May 2015 22:23:28 +0000 (15:23 -0700)]
MediaSync: address API review.

Rename *Settings to *Params;
Remove size parameter from MediaSync.queueAudio();

Bug: 20887706
Change-Id: I4c572da92ada51458031a482b96b3f624224e608

9 years agoClean-up component states in AMS when component is disabled
Wale Ogunwale [Fri, 1 May 2015 22:35:39 +0000 (15:35 -0700)]
Clean-up component states in AMS when component is disabled

Bug: 15804187
Change-Id: I2b5856c5a0a012f34698fb64f8596d32924bbd1f

9 years agoMerge "BluetoothMidiDevice: Cleanup and error handling improvements" into mnc-dev
Mike Lockwood [Fri, 8 May 2015 22:19:55 +0000 (22:19 +0000)]
Merge "BluetoothMidiDevice: Cleanup and error handling improvements" into mnc-dev

9 years agoZen QS: Tweak segmented button + introduction styling.
John Spurlock [Fri, 8 May 2015 22:16:54 +0000 (18:16 -0400)]
Zen QS: Tweak segmented button + introduction styling.

 - Add a rounded rect background to the segmented buttons.
 - Remove the spacing between the segmented buttons.
 - Increase the minheight + font weight of the button text.
 - Remove the embedded divider line.
 - Add a rounded rect background to the intro messages.
 - Tweak margins, mostly 8dp -> 16dp in a few places.

Bug: 20949290
Bug: 20947407
Change-Id: Ic497c772aa7228423c8884d6ec7b9ccbfdda365a

9 years agoam 4475e7df: am ea2c4033: Mark persistent apps as such when the ProcessRecord is...
Christopher Tate [Fri, 8 May 2015 22:14:53 +0000 (22:14 +0000)]
am 4475e7df: am ea2c4033: Mark persistent apps as such when the ProcessRecord is created

* commit '4475e7dfa12e684df64c59a9053c110d79d83c1f':
  Mark persistent apps as such when the ProcessRecord is created

9 years agoMerge "DeviceInitializerStatus API review changes" into mnc-dev
Craig Lafayette [Fri, 8 May 2015 22:12:53 +0000 (22:12 +0000)]
Merge "DeviceInitializerStatus API review changes" into mnc-dev

9 years agoMerge "More Javadocs for AndroidKeyStore public classes." into mnc-dev
Alex Klyubin [Fri, 8 May 2015 22:03:19 +0000 (22:03 +0000)]
Merge "More Javadocs for AndroidKeyStore public classes." into mnc-dev

9 years agoam ea2c4033: Mark persistent apps as such when the ProcessRecord is created
Christopher Tate [Fri, 8 May 2015 21:55:08 +0000 (21:55 +0000)]
am ea2c4033: Mark persistent apps as such when the ProcessRecord is created

* commit 'ea2c403311f741f5a0a9688847cfd17041c81c0d':
  Mark persistent apps as such when the ProcessRecord is created

9 years agoMerge "Cleanup keystore password changing and unlocking" into mnc-dev
Chad Brubaker [Fri, 8 May 2015 21:51:03 +0000 (21:51 +0000)]
Merge "Cleanup keystore password changing and unlocking" into mnc-dev

9 years agoMerge "Fix: Hard to modify multi-line selection." into mnc-dev
Mady Mellor [Fri, 8 May 2015 21:45:34 +0000 (21:45 +0000)]
Merge "Fix: Hard to modify multi-line selection." into mnc-dev

9 years agoZen: Tweak default automatic rules.
John Spurlock [Fri, 8 May 2015 21:35:22 +0000 (17:35 -0400)]
Zen: Tweak default automatic rules.

 - Add a new default rule for calendar events.
 - Rename all default rules to singular form. i.e. Weekend/Weeknight/Event

Bug: 20064962
Change-Id: Iee13238e0479fd2a05abdef4a5584455dcdd0c53

9 years agoMerge "Switch libjnigraphics.so to hash-style=both" into mnc-dev
Dmitriy Ivanov [Fri, 8 May 2015 21:20:44 +0000 (21:20 +0000)]
Merge "Switch libjnigraphics.so to hash-style=both" into mnc-dev

9 years agoMerge "Fix kSkippedFrame setting" into mnc-dev
John Reck [Fri, 8 May 2015 21:19:37 +0000 (21:19 +0000)]
Merge "Fix kSkippedFrame setting" into mnc-dev

9 years agoSwitch libjnigraphics.so to hash-style=both
Dmitriy Ivanov [Fri, 8 May 2015 21:03:19 +0000 (14:03 -0700)]
Switch libjnigraphics.so to hash-style=both

Bug: http://b/19059885
Change-Id: I15f70b434b1d450e5b62ca7c204c628e2dc9edcc
(cherry picked from commit 2e84bc6948bb24ec67bf289ee1d0ed937a0fd4ff)

9 years agoMerge "AudioManager: add previous AudioPort list" into mnc-dev
Eric Laurent [Fri, 8 May 2015 21:17:15 +0000 (21:17 +0000)]
Merge "AudioManager: add previous AudioPort list" into mnc-dev

9 years agoMerge "Compatibility hack" into mnc-dev
John Reck [Fri, 8 May 2015 21:13:42 +0000 (21:13 +0000)]
Merge "Compatibility hack" into mnc-dev

9 years agoFix kSkippedFrame setting
John Reck [Fri, 8 May 2015 21:10:57 +0000 (14:10 -0700)]
Fix kSkippedFrame setting

It was only set previously if RenderThread dropped the frame,
but not if the UI thread frame was dropped. Unify the
two paths

Change-Id: If2574edde3cb0949deed4e47f3daaddb890a1b28

9 years agoMerge "Add 'App Summary' section to meminfo." into mnc-dev
Richard Uhler [Fri, 8 May 2015 21:11:44 +0000 (21:11 +0000)]
Merge "Add 'App Summary' section to meminfo." into mnc-dev

9 years agoMerge "Add feature for pro audio" into mnc-dev
Glenn Kasten [Fri, 8 May 2015 21:11:07 +0000 (21:11 +0000)]
Merge "Add feature for pro audio" into mnc-dev

9 years agoMerge "Allow ContextImpl.setTheme(int) to be called after getTheme()" into mnc-dev
Alan Viverette [Fri, 8 May 2015 21:10:02 +0000 (21:10 +0000)]
Merge "Allow ContextImpl.setTheme(int) to be called after getTheme()" into mnc-dev

9 years agoCompatibility hack
John Reck [Fri, 8 May 2015 20:59:01 +0000 (13:59 -0700)]
Compatibility hack

Bug: 20940526

Rather than throwing an exception on accessing a recycled()
bitmap let certain operations succeed and just return dummy
values. Apps appear to be relying on this.

Change-Id: I74df2efdc29d93facd8553ed31cda3addf0b28eb

9 years agoMerge "Fix issue #20655182: API Review: ViewAssistStructure" into mnc-dev
Dianne Hackborn [Fri, 8 May 2015 20:42:11 +0000 (20:42 +0000)]
Merge "Fix issue #20655182: API Review: ViewAssistStructure" into mnc-dev

9 years agoMerge "Don't call updateDisplayListIfDirty outside draw." into mnc-dev
George Mount [Fri, 8 May 2015 20:30:07 +0000 (20:30 +0000)]
Merge "Don't call updateDisplayListIfDirty outside draw." into mnc-dev

9 years agoMark persistent apps as such when the ProcessRecord is created
Christopher Tate [Fri, 8 May 2015 18:10:43 +0000 (11:10 -0700)]
Mark persistent apps as such when the ProcessRecord is created

...rather than only during the OS's "time to start the persistent apps"
boot phase.  This closes a window of opportunity during which a
persistent app container may be live without having been properly
noted as such, because it wound up being launched prior to the
[rather late] boot phase at which the persistent apps are directly
enumerated and bookkeeping for them established.

Bug 20855725

Change-Id: I41822b412de4540dbdeab300b38089303678f76c

9 years agoMerge "Un-@hiding some missed VT APIs." into mnc-dev
Tyler Gunn [Fri, 8 May 2015 19:57:39 +0000 (19:57 +0000)]
Merge "Un-@hiding some missed VT APIs." into mnc-dev

9 years agoMerge "DevicePolicyManager API review changes" into mnc-dev
Craig Lafayette [Fri, 8 May 2015 19:55:32 +0000 (19:55 +0000)]
Merge "DevicePolicyManager API review changes" into mnc-dev

9 years agoAdd 'App Summary' section to meminfo.
Richard Uhler [Fri, 13 Mar 2015 19:38:38 +0000 (12:38 -0700)]
Add 'App Summary' section to meminfo.

The 'App Summary' section is shown by default when other memory
details are shown. This adds a new meminfo flag '-s' to show only the
App Summary section.

Change-Id: I66913673cd3afca873a8b13e45abe071d4c57b82

9 years agoAudioManager: add previous AudioPort list
Eric Laurent [Fri, 8 May 2015 18:43:05 +0000 (11:43 -0700)]
AudioManager: add previous AudioPort list

Maintain a cache of previously attached audio ports used
to create lists of added and removed devices following
a port list update callback.

Change-Id: Iad1c95b85c8ae9bdbed79eb0cdc46aeedeafccea

9 years agoUn-@hiding some missed VT APIs.
Tyler Gunn [Fri, 8 May 2015 18:35:55 +0000 (11:35 -0700)]
Un-@hiding some missed VT APIs.

Bug: 20947116
Change-Id: Idda9b7c7debafbea8c42eaadb75c3375b2c8ddb2

9 years agoMerge "Use correct array index for Theme.getTheme()" into mnc-dev
Alan Viverette [Fri, 8 May 2015 18:15:47 +0000 (18:15 +0000)]
Merge "Use correct array index for Theme.getTheme()" into mnc-dev

9 years agoCleanup keystore password changing and unlocking
Chad Brubaker [Thu, 7 May 2015 17:02:22 +0000 (10:02 -0700)]
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.

Change-Id: I324914c00195d762cbaa8c63084e41fa796b7df8

9 years agoMerge "Add eglSwapBuffersWithDamageKHR support" into mnc-dev
John Reck [Fri, 8 May 2015 18:06:51 +0000 (18:06 +0000)]
Merge "Add eglSwapBuffersWithDamageKHR support" into mnc-dev

9 years agoMerge "Switch to KeyguardManager.isDeviceSecure." into mnc-dev
Alex Klyubin [Fri, 8 May 2015 18:06:34 +0000 (18:06 +0000)]
Merge "Switch to KeyguardManager.isDeviceSecure." into mnc-dev

9 years agoUse correct array index for Theme.getTheme()
Alan Viverette [Fri, 8 May 2015 18:04:47 +0000 (11:04 -0700)]
Use correct array index for Theme.getTheme()

Change-Id: Ic462a7b8a81bb87bf08136bb30e3432f10269918

9 years agoMerge "Add Build.VERSION.PREVIEW_SDK_INT" into mnc-dev
Adam Powell [Fri, 8 May 2015 17:59:29 +0000 (17:59 +0000)]
Merge "Add Build.VERSION.PREVIEW_SDK_INT" into mnc-dev

9 years agoAdd eglSwapBuffersWithDamageKHR support
John Reck [Fri, 8 May 2015 17:04:36 +0000 (10:04 -0700)]
Add eglSwapBuffersWithDamageKHR support

BUG: 20761426
Disabled temporarily

Change-Id: I0b6b6f0eebab886145e13fa35aefe76826965cf5

9 years agoZen: Simplify notification policy api, add zenmode api.
John Spurlock [Thu, 7 May 2015 21:38:50 +0000 (17:38 -0400)]
Zen: Simplify notification policy api, add zenmode api.

 - Remove the concept of a notification policy management token
   in favor of a simple grant/deny per app.  Currently, all requests
   are immediately granted.
 - Add zen mode getter/setting, limit to apps that have been granted
   policy access.
 - Add intent for zen mode changes.
 - Public name for zen mode = "interruption filter", moved from
   NotificationListenerService to NotificationManager.
 - Add settings metadata for new DND access Settings screen.
 - Add the split sender settings for calls vs messages to the public
   Policy api.
 - This change is meant to finalize the public api, persisting
   granted app status and showing the user-visible dialog will be
   done as followups.

Bug: 18298798
Change-Id: I511be98d69939f057c0c7dc1a6dfe63d1c468193

9 years agoam 4e19b9a0: am 27e82e7b: Merge "Doc change: remove design content that has moved...
Dirk Dougherty [Fri, 8 May 2015 17:19:50 +0000 (17:19 +0000)]
am 4e19b9a0: am 27e82e7b: Merge "Doc change: remove design content that has moved to material spec." into mnc-preview-docs

* commit '4e19b9a01e1a9b37aa4b2b02ff2baac764824a33':
  Doc change: remove design content that has moved to material spec.

9 years agoam 259a73b5: am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference...
Joe Fernandez [Fri, 8 May 2015 17:19:40 +0000 (17:19 +0000)]
am 259a73b5: am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page

* commit '259a73b560b3acbd653167b2617810920a6f4b22':
  docs: remove obsolete renderscript reference framer page

9 years agoMerge "Fix IMMS#mInputShown state inconsistency." into mnc-dev
Yohei Yukawa [Fri, 8 May 2015 17:11:21 +0000 (17:11 +0000)]
Merge "Fix IMMS#mInputShown state inconsistency." into mnc-dev

9 years agoAdd feature for pro audio
Glenn Kasten [Wed, 6 May 2015 22:54:49 +0000 (15:54 -0700)]
Add feature for pro audio

The specification for CDD is in progress

Bug: 20877157
Change-Id: Iaf37b2ccb21562170a080b53668a41b85c410241

9 years agoMore Javadocs for AndroidKeyStore public classes.
Alex Klyubin [Fri, 8 May 2015 00:34:24 +0000 (17:34 -0700)]
More Javadocs for AndroidKeyStore public classes.

This adds more detailed class-level Javadocs (incl. examples) for the
following public API of Android KeyStore facility:
* KeyPairGeneratorSpec,
* KeyGeneratorSpec,
* KeyStoreParameter,
* KeyStoreKeySpec.

This also clarifies what encryption at rest means.

Bug: 18088752
Change-Id: I9951a528c34dea322534763b596902a2b6ac64f9

9 years agoMerge "Replace "TEE" with "secure hardware"." into mnc-dev
Alex Klyubin [Fri, 8 May 2015 16:23:58 +0000 (16:23 +0000)]
Merge "Replace "TEE" with "secure hardware"." into mnc-dev

9 years agoMerge "multiuser: postpone user cleanup to systemready" into mnc-dev
Xiaohui Chen [Fri, 8 May 2015 16:06:30 +0000 (16:06 +0000)]
Merge "multiuser: postpone user cleanup to systemready" into mnc-dev

9 years agoReplace "TEE" with "secure hardware".
Alex Klyubin [Fri, 8 May 2015 16:02:38 +0000 (09:02 -0700)]
Replace "TEE" with "secure hardware".

This is to make the Android KeyStore API more generic.

Bug: 18088752
Change-Id: I18bcc96db4af17127e5dc038becc9deb85bb48aa

9 years agoSwitch to KeyguardManager.isDeviceSecure.
Alex Klyubin [Fri, 8 May 2015 15:44:59 +0000 (08:44 -0700)]
Switch to KeyguardManager.isDeviceSecure.

isKeyguardSecure also returns true when SIM PIN is required. We don't
care about that because entering SIM PIN does not unlock keys
requiring user authentication. isDeviceSecure returns true only if
secure lock screen is set up, which is exactly what we want.

Bug: 18088752
Change-Id: I47b21f3351f55c11e8e9bcfd7654762973dd9271

9 years agoMerge "Always destroy virtual display on Binder death." into mnc-dev
Michael Wright [Fri, 8 May 2015 14:58:11 +0000 (14:58 +0000)]
Merge "Always destroy virtual display on Binder death." into mnc-dev

9 years agoDon't call updateDisplayListIfDirty outside draw.
George Mount [Fri, 8 May 2015 14:48:19 +0000 (07:48 -0700)]
Don't call updateDisplayListIfDirty outside draw.

Bug 20909826

Change-Id: If332319ba192606cc30fc8d0de00086fc5135deb

9 years agoMerge "Optionally add a default MOBILE request." into mnc-dev
Erik Kline [Fri, 8 May 2015 07:27:27 +0000 (07:27 +0000)]
Merge "Optionally add a default MOBILE request." into mnc-dev

9 years agoOptionally add a default MOBILE request.
Erik Kline [Thu, 30 Apr 2015 03:58:40 +0000 (12:58 +0900)]
Optionally add a default MOBILE request.

This enables persisting the mobile internet data connection, even
when Wi-Fi is enabled and serving as the default network (for faster
network switching).

Change-Id: I9d1512b3a8413c4f163c63d57e66bded017101e4

9 years agoam 27e82e7b: Merge "Doc change: remove design content that has moved to material...
Dirk Dougherty [Fri, 8 May 2015 03:46:49 +0000 (03:46 +0000)]
am 27e82e7b: Merge "Doc change: remove design content that has moved to material spec." into mnc-preview-docs

* commit '27e82e7b3824b886ae1179c58c2f7073831d6c6a':
  Doc change: remove design content that has moved to material spec.

9 years agoFix IMMS#mInputShown state inconsistency.
Seigo Nonaka [Wed, 15 Apr 2015 09:31:32 +0000 (18:31 +0900)]
Fix IMMS#mInputShown state inconsistency.

The goal of this CL is to keep IMMS#mInputShown consistent with the
actual visibility of the software keyboard.  Doing it indeed fixes many
user-visible inconsistency, especially when a physical keyboards is
attached.

It turned out that there are much more cases where IMMS#mInputShown
should have been updated.  Basically every time when the software
keyboard is shown or hiden by non-user actions, IMMS#mInputShown was not
updated to the new state.  Typical cases are:
 - the IME shows its Emoji keyboard when the ALT key is pressed.
 - the system hides software keyboard when physical keyboard is
   connected.

With this CL, all known issues will disapper by updating
IMMS#mInputShown in IMMS#setImeWindowStatus().

Note that this CL depends on following preparation CLs directly or
indirectly.
- I7002ff063e490928309e9a9a0f6557ce3d12e6aa
- I1e50ee42838a1bf64a612da4904aa93458d44ea4
- I3decaf37198e5864a1763a059df4a36ebc70c5a7
- Id156c85535a221235737ea6dcc15a67f1c4b9f71
- I9f797d07ba02363fab58ceb9aecb3cc11fbc407e
- I60963f1474457ff37cca85e262460dca8105acff

Simply cherry-picking this CL into L branch is supposed to be
insufficient to fix all the issues and would result in different
regressions indeed.

BUG: 18722991
BUG: 20763994
BUG: 20764441
BUG: 20926844
Change-Id: I20ae2749a93bc33840df560aa71d4635e9ec849a

9 years agoMerge "Doc change: remove design content that has moved to material spec." into mnc...
Dirk Dougherty [Fri, 8 May 2015 03:35:56 +0000 (03:35 +0000)]
Merge "Doc change: remove design content that has moved to material spec." into mnc-preview-docs

9 years agoFix: Hard to modify multi-line selection.
Keisuke Kuroyanagi [Thu, 7 May 2015 08:34:21 +0000 (17:34 +0900)]
Fix: Hard to modify multi-line selection.

mTouchWordOffset was not appropriately updated when a
selection is modified across multiple lines.

Bug: 20650838
Change-Id: I46f5393970dc8d806719467bac489feac0fbe1a5

9 years agoMerge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev
Selim Cinek [Fri, 8 May 2015 02:04:51 +0000 (02:04 +0000)]
Merge "Fixed a bug where the heads-up would not show when full screen" into mnc-dev

9 years agoMerge "Use new hierarchy viewer protocol in all View subclasses" into mnc-dev
Siva Velusamy [Fri, 8 May 2015 01:51:19 +0000 (01:51 +0000)]
Merge "Use new hierarchy viewer protocol in all View subclasses" into mnc-dev

9 years agoMerge "Improve hierarchy viewer dump hierarchy latency" into mnc-dev
Siva Velusamy [Fri, 8 May 2015 01:50:43 +0000 (01:50 +0000)]
Merge "Improve hierarchy viewer dump hierarchy latency" into mnc-dev

9 years agoUse new hierarchy viewer protocol in all View subclasses
Siva Velusamy [Tue, 5 May 2015 22:07:00 +0000 (15:07 -0700)]
Use new hierarchy viewer protocol in all View subclasses

A previous CL introduced a new way of encoding view properties for
use by heirarchy viewer. This CL updates all views using the old
@ExportedProperty annotation to use this new method. The older
mechanism will be removed in a subsequent CL.

Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452

9 years agoImprove hierarchy viewer dump hierarchy latency
Siva Velusamy [Wed, 22 Apr 2015 17:23:56 +0000 (10:23 -0700)]
Improve hierarchy viewer dump hierarchy latency

Hierarchy Viewer obtains the properties for each view by using
reflection and looking for fields and methods that have the
@ExportedProperty annotation. Using reflection made it quite slow
for large view hierarchies.

This CL adds a new method (encode) to each class that wishes to
export data to hiererachy viewer. Inside this method, the object
can write a sequence of key, value pairs corresponding to the
values it wants exported.

With this change, the dump hierarchy operation that used to take
more than 10 seconds can be performed in a few hundred milliseconds.

Change-Id: I199ac2e7ca3c59ebcfec7e6bd201e134c41fd583

9 years agoFixed a bug with svelte and voice assist
Selim Cinek [Fri, 8 May 2015 01:12:51 +0000 (18:12 -0700)]
Fixed a bug with svelte and voice assist

Handling the case that no info is around.
Bug: 20925281

Change-Id: Id5a4c4373877909a898c8852891a854eacbc1f6c

9 years agoMerge "Add URL bar to captive portal login app." into mnc-dev
Paul Jensen [Fri, 8 May 2015 01:08:52 +0000 (01:08 +0000)]
Merge "Add URL bar to captive portal login app." into mnc-dev

9 years agoMerge "Allow obtaining BLE capabilities in BLE scan only mode." into mnc-dev
Wei Wang [Fri, 8 May 2015 00:40:26 +0000 (00:40 +0000)]
Merge "Allow obtaining BLE capabilities in BLE scan only mode." into mnc-dev

9 years agoFixed a bug where the heads-up would not show when full screen
Selim Cinek [Thu, 7 May 2015 19:50:19 +0000 (12:50 -0700)]
Fixed a bug where the heads-up would not show when full screen

Bug: 20728541
Change-Id: I74bc74c4936b003a4c0c37b7c7da2d1fa138c077

9 years agoFix issue #20655182: API Review: ViewAssistStructure
Dianne Hackborn [Thu, 7 May 2015 21:21:38 +0000 (14:21 -0700)]
Fix issue #20655182: API Review: ViewAssistStructure

Fix the various view assist related APIs.

Also remove the blockAssist view attribute, and instead use
the window's FLAG_SECURE to drive blocking of the entire
hierarchy (which is semantically correct, and will protect
existing apps that have already indicated they need it).

Change-Id: I6beebc86b202809cba0a356cae9607d8d0fb5e78

9 years agoAllow obtaining BLE capabilities in BLE scan only mode.
Wei Wang [Thu, 7 May 2015 23:25:33 +0000 (16:25 -0700)]
Allow obtaining BLE capabilities in BLE scan only mode.

Bug:20923734
Change-Id: I7f3e5fd4410da39922be4512e4ba6ccdeb32887d

9 years agoUpdate LayoutLib for theme key changes to fix build
Alan Viverette [Thu, 7 May 2015 23:24:10 +0000 (16:24 -0700)]
Update LayoutLib for theme key changes to fix build

Change-Id: I47b400b320f16688cd32c1d8955a660637d93f4d

9 years agoMediaPlayer: pause media time when buffering
Chong Zhang [Wed, 6 May 2015 20:14:59 +0000 (13:14 -0700)]
MediaPlayer: pause media time when buffering

bug: 20500732
Change-Id: Ife7f75f5cc587af56451c85ea8adbdc380f38348

9 years agoam b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page
Joe Fernandez [Thu, 7 May 2015 22:42:50 +0000 (22:42 +0000)]
am b2152a43: am 1dc26b8c: docs: remove obsolete renderscript reference framer page

* commit 'b2152a43ea8b44772fab5d29dea436f2a4ddc89b':
  docs: remove obsolete renderscript reference framer page

9 years agoam 1dc26b8c: docs: remove obsolete renderscript reference framer page
Joe Fernandez [Thu, 7 May 2015 22:29:55 +0000 (22:29 +0000)]
am 1dc26b8c: docs: remove obsolete renderscript reference framer page

* commit '1dc26b8c1eaa6b5aa288cecf9202e77217507fd3':
  docs: remove obsolete renderscript reference framer page

9 years agodocs: remove obsolete renderscript reference framer page
Joe Fernandez [Thu, 7 May 2015 22:14:31 +0000 (15:14 -0700)]
docs: remove obsolete renderscript reference framer page

Change-Id: I9ec7ad462584d2e2b7132b1ddbf9306c9df83b10