190298 Commits

Author SHA1 Message Date
Bryce Lee
023de22cf2 Add configuration to allow animations during low power mode.
On Android Wear, the stream ui needs to continue to be animated during
low power mode.

Bug: 20696607
Change-Id: I24a87eba8d86169d04a72012e0311357622db00a
2015-04-29 18:34:44 -07:00
Miao Wang
cecc00aba1 [RenderScript] L2 BLAS, fix element type in ZHER
Change-Id: I99f9f9ff8942522d6581ff60b9a2d75e33e66ff6
2015-04-29 18:15:36 -07:00
Rich Slogar
e4dc509393 docs: studio 1.2 downloads
Change-Id: I43c1d1bad9c110e0e87383ce6ff95ee5706e777e
2015-04-29 18:12:49 -07:00
Jean-Michel Trivi
5a56109d1f AudioService receives callback for dynamic policy mix state changes
AudioService registers a callback for dynamic policies from
  AudioSystem.
AudioSystem keeps track of a single callback for dynamic policies.

Bug 20226914

Change-Id: I48899d20d1dbb47bb680e733a3bc9fd064b60f07
2015-04-29 17:56:19 -07:00
Svet Ganov
82863f137e Merge "Add permission to ap op mappings for all runtime permissions." into mnc-dev 2015-04-30 00:41:40 +00:00
Jeff Sharkey
9e98dce6ad Merge "Returning to wizard, split move events." into mnc-dev 2015-04-30 00:38:32 +00:00
Andy Hung
f3d3856f3e Merge "Check for null codec from AMediaCodec_createDecoderByType" into mnc-dev 2015-04-30 00:37:58 +00:00
Svet Ganov
6e8f67c444 Add permission to ap op mappings for all runtime permissions.
Change-Id: I1b41fac9405352f135b3d0137cc924ce51388e1e
2015-04-29 17:35:19 -07:00
Jeff Sharkey
50a0545479 Returning to wizard, split move events.
Finish wiring up notifications to jump back into in-progress wizard
flow, using moveId as identifier.

Split move events back into separate creation and progress events,
and pass details as bundle to pass extra stuff like UUID.  Null
package still means moving primary storage.

Add explicit "volume forgotten" event for PackageManager to clean
up internal state with.

Plumb through internal path reported by vold, and bring back FUSE
bypass rewriting optimization.

Bug: 19993667
Change-Id: I0f43edbba36c58c5cd33550022c54c4eb9f01a48
2015-04-29 17:24:12 -07:00
Mike Lockwood
3f9dc836c4 Merge "MidiFramer: Support realtime messages contained within SysEx messages." into mnc-dev 2015-04-30 00:14:26 +00:00
Dianne Hackborn
f7b795ca1a Merge "Update use of procstate for services." into mnc-dev 2015-04-30 00:08:45 +00:00
Miao Wang
508a2870e9 Merge "[RenderScript] Enable L2 BLAS APIs" into mnc-dev 2015-04-30 00:07:30 +00:00
Miao Wang
a57a8a8cc9 Merge "[RenderScript] improve & minor fixes of L2 BLAS validation." into mnc-dev 2015-04-30 00:06:37 +00:00
Dianne Hackborn
d69e4c1460 Update use of procstate for services.
Now that we have a separate foreground service proc state
(above a sleeping top app), update various system services
to put their bindings into this state when appropriate.

There are two new bind flags for this -- one that just always
makes it a foreground service, another that only does it when
the device is awake (useful for things like the wallpaper).

And with all of that, tweak network policy manager to only
include apps that are at least foreground service state when
in power save and device idle modes.  This will allow us to
further reduce the set of apps that have network access
(in particular not giving access to the current top app when
the screen is off), hopefully leading to even better battery
life.

Change-Id: I91d85a5c5ed64e856149e9a5d94a634a7925ec7f
2015-04-29 17:04:50 -07:00
Miao Wang
634160a056 Merge "[RenderScript] Fix HEMM and SYRK in IntrinscBLAS to correctly handle complex 'Alpha' and 'Beta'" into mnc-dev 2015-04-30 00:04:12 +00:00
Miao Wang
37ae07c643 [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-04-29 17:00:28 -07:00
Alan Viverette
b4004dfc84 ActionBar SearchView's default hint shouldn't override SearchableInfo
Moves the queryHint to defaultQueryHint, specifies the override order
as queryHint > SearchableInfo > defaultQueryHint.

Cleans up annotations and comments for several related methods.

Bug: 20614122
Change-Id: Ib58ec309e6814cd512df147d789ec0cd546018af
2015-04-29 16:55:42 -07:00
Alan Viverette
0f1a3972c1 Merge "Stash modulation alpha until ColorStateList has resolved base color" into mnc-dev 2015-04-29 23:53:19 +00:00
Vinit Deshpande
8cc1d3dba4 Merge changes from topic 'PasspointUI' into mnc-dev
* changes:
  Implement 'Available via Passpoint' feature [DO NOT MERGE]
  Fix settings UI for passpoint networks [DO NOT MERGE]
2015-04-29 23:51:59 +00:00
Andy Hung
1afdbe3b77 Merge "Pass PlaybackSettings as class object for AudioTrack JNI" into mnc-dev 2015-04-29 23:50:46 +00:00
Alex Klyubin
33c9dde90d Merge "Add KeyPermanentlyInvalidatedException." into mnc-dev 2015-04-29 23:48:14 +00:00
Vinit Deshpande
dcf00c9d0f Implement 'Available via Passpoint' feature [DO NOT MERGE]
This also fixes the issues related to explicit connection
to passpoint AP, and fixes occassional mention of
'connected via Wi-Fi Assistent'

Change-Id: I152cebafa6259194f1d09a6972a3508156335cb6
(cherry picked from commit ff783cd6cfc82870a6126fe1ef019d21131423fc)
2015-04-29 16:40:51 -07:00
Vinit Deshpande
fc40600e30 Fix settings UI for passpoint networks [DO NOT MERGE]
This change includes showing the friendly name in saved
networks list and 'Connected via provider' addition for
passpoint connections.

Change-Id: If330baa96dedb099d5989b3df5b9778bbbcb15e3
(cherry picked from commit 597f49cdda63fef1b583e2053341485e8d4e2371)
2015-04-29 16:32:01 -07:00
Yorke Lee
f1a349bda3 Add default dialer checks to Telecom/Telephony
Check for the default dialer or the modify phone state permission
for various TelecomManager/TelephonyManager methods.

Make sure to check the user-selected default rather than the
hardcoded package name.

Exercise this code in TestDialerActivity.

Bug: 20304458
Change-Id: Ic04cd8f2ba98e1d54c39549ae89d3e11cd5cdafb
2015-04-29 16:21:00 -07:00
Roozbeh Pournader
47dd50ea16 Rename Noto Han fonts to their latest names.
NotoSansHans has been renamed to NotoSansSC and NotoSansHant has been
renamed to NotoSansTC.

Change-Id: I3c416d1aa753dc9be2c0e4ee1a8d77cdb9cdd4b1
2015-04-29 16:20:07 -07:00
Simranjit Singh Kohli
490d23bf55 Merge "[Update API]: Rename accountAuthenticated to notifyAccountAuthenticated and other changes." into mnc-dev 2015-04-29 23:13:34 +00:00
destradaa
db2af23408 Merge "Update use of A-GPS modes in GpsLocationProvider b/20664846" into mnc-dev 2015-04-29 23:09:53 +00:00
Rich Slogar
e5eceefff9 docs: plugin 1.2.0 revision updates
Change-Id: Ic58da005e16c4a51dacff741ac3e5a7856ac3edb
2015-04-29 15:58:27 -07:00
John Spurlock
b351db7239 Merge "Volume: dismiss volume UI to avoid HUNs." into mnc-dev 2015-04-29 22:57:20 +00:00
Roozbeh Pournader
09404dd159 Merge "Rename FONT_NOTOSANS_FULL to FONT_NOTOSANS_JP_FULL." into mnc-dev 2015-04-29 22:48:06 +00:00
Svetoslav
4af76a51d5 Add use fingerprint app op - framework
Change-Id: Ibbd1c70e1fc771b804a8b0099d29d4fbd8360966
2015-04-29 15:43:38 -07:00
Svetoslav
c656e6fba6 Add process outgoing calls app op - framework
Change-Id: If662b47372a1ddb6ff60ccdbd910192577abc924
2015-04-29 15:43:38 -07:00
Svetoslav
5335b6793c Add SIP app op - framework.
Change-Id: Iac552a12e0ed5d1cf585179430c468d8603b6c01
2015-04-29 15:43:38 -07:00
Roozbeh Pournader
5f49c28bfc Rename FONT_NOTOSANS_FULL to FONT_NOTOSANS_JP_FULL.
This clarifies the meaning of the variable, that this switch only
affects the Noto Sans Japanese font.

Change-Id: I28043ed41ec51af0273a071692426d51352ef849
2015-04-29 15:38:07 -07:00
Alan Viverette
f601440e21 Stash modulation alpha until ColorStateList has resolved base color
Fixes an issue where specifying an explicit modulation alpha and a
theme-dependent base color discarded the modulation alpha during
applyTheme().

Sets the YOU MESSED UP YOUR THEME color to magenta, which matches the
behavior for RippleDrawable and should expose any remaining issues in
a painfully obvious way.

Bug: 20690409
Change-Id: I7a44f4bc4a5a85be6d3f27087b2d6c9ea12e1d29
2015-04-29 15:36:11 -07:00
Amith Yamasani
fa4eda443e Merge "Remove network access for idle apps" into mnc-dev 2015-04-29 22:31:19 +00:00
Chris Craik
e74ff81e05 Merge "Remove concept of layer alpha override" into mnc-dev 2015-04-29 22:16:11 +00:00
Ben Kwa
94d07cb7ef Merge "Properly unparcel the PFDs passed to android.content.ContentProviderProxy.openFile." into mnc-dev 2015-04-29 22:12:08 +00:00
Adrian Roos
e632dc35d8 Merge "Clarify javadoc of isKeyguardSecure and isDeviceSecure" into mnc-dev 2015-04-29 21:57:52 +00:00
destradaa
bfb3bdb918 Update use of A-GPS modes in GpsLocationProvider
b/20664846

This change reflects the documentation changes made in gps.h for the
upcoming Android release.

Change-Id: Id3e04492febdabd42e91a12e221d1192947b8061
2015-04-29 14:49:39 -07:00
Andrew Solovay
5fb97fe9ba docs: Minor formatting cleanup.
Code sample had an overlong line, which caused a horizontal scroll-
bar in the generated doc.

Change-Id: I55b0318049be9e4ff473bdc739bb8265ca2da248
2015-04-29 14:37:22 -07:00
Alan Viverette
edcaf7c933 Merge "Don't propagate level or RTL in LayerDrawable.setDrawable()" into mnc-dev 2015-04-29 21:29:30 +00:00
Alan Viverette
1f29e71c46 Don't propagate level or RTL in LayerDrawable.setDrawable()
The developer used to be responsible for this and automatically
propagating the values breaks some use cases (ex. in Camera).

Bug: 20696311
Change-Id: Ia8ddc132c6d629bcc27d66f654baf30d9f078568
2015-04-29 14:28:25 -07:00
Wale Ogunwale
00758a3b37 Merge "Some code clean-up." into mnc-dev 2015-04-29 21:24:46 +00:00
Amith Yamasani
15e47235c0 Remove network access for idle apps
Track apps going in and out of idle in the NetworkPolicyManagerService.
Apply DROP rules in firewall controller if app is to be blacklisted
for network access.

Firewall can now be in whitelist (old) or blacklist mode. When in
blacklist, it allows all by default and we can selectively DENY
some uids.

Track app idle in UsageStats and update periodically.
Track charging/discharging states.

TODO: Check for appidle temporary parole state

Bug: 20066058
Change-Id: Ia65d7544204b3bcb78a517310ef4adcc05aac6fb
2015-04-29 14:21:53 -07:00
Svet Ganov
e35380839e Merge "Add API to get app op for a permission" into mnc-dev 2015-04-29 21:15:25 +00:00
Andy Hung
26eca01c49 Check for null codec from AMediaCodec_createDecoderByType
NULL codec can now occur if codec cannot be created.

Bug: 20566134
Change-Id: I08d54e733a01d0614313673dc49a6f5e702633ac
2015-04-29 14:09:45 -07:00
Andy Hung
fe48e0dfb9 Pass PlaybackSettings as class object for AudioTrack JNI
Change-Id: Ic7fb5f84ed1fc4cc2286e5c207fee5298a64a5a4
2015-04-29 14:09:18 -07:00
Adrian Roos
c39b4fc686 Clarify javadoc of isKeyguardSecure and isDeviceSecure
Bug: 20642788
Change-Id: I1114150cd645ee3de8e4617cdb79ff351e01b9df
2015-04-29 14:02:55 -07:00
Mike Lockwood
e1d003958d Merge "MidiDeviceInfo: Add version string property" into mnc-dev 2015-04-29 20:50:35 +00:00