188775 Commits

Author SHA1 Message Date
Joe Fernandez
726466c225 am 11002022: am 5b6e91a6: am af5f2000: Merge "docs: Add Cross-References to Material Design Spec" into lmp-docs
* commit '110020229e0a31b060a329dfe55181f98a31e802':
  docs: Add Cross-References to Material Design Spec
2015-04-15 00:45:20 +00:00
Hiroshi Yamauchi
50f65404fb Unhide Debug.getRuntimeStat().
Export runtime stats (currently GC stats) through this method.

Bug: 19825248
Change-Id: I8f859a2bc497e604f4c4f23f6b45b49ac4f99790
2015-04-14 17:43:36 -07:00
Hiroshi Yamauchi
c969424772 am 4bb374bb: am d83a598c: am 82992b72: Merge "Fix javadoc error in Debug.getRuntimeStats()."
* commit '4bb374bb359c01055ad1f35a9424a12dcadd2d2b':
  Fix javadoc error in Debug.getRuntimeStats().
2015-04-15 00:40:27 +00:00
David Christie
377ac63a07 Merge "Ensure GeofenceHardware will return capabilities for old implementations." 2015-04-15 00:30:43 +00:00
Hiroshi Yamauchi
4bb374bb35 am d83a598c: am 82992b72: Merge "Fix javadoc error in Debug.getRuntimeStats()."
* commit 'd83a598c392af8daf9c82f28b5c920955712f528':
  Fix javadoc error in Debug.getRuntimeStats().
2015-04-15 00:24:58 +00:00
Andres Morales
205bbc40b4 Fix build
cast param

Change-Id: I150773ab0701c2551e3bd292aa228083259b5dd6
2015-04-14 17:16:25 -07:00
Hiroshi Yamauchi
d83a598c39 am 82992b72: Merge "Fix javadoc error in Debug.getRuntimeStats()."
* commit '82992b7270842637d1af3dcc7c9ae954bdfa312c':
  Fix javadoc error in Debug.getRuntimeStats().
2015-04-15 00:11:01 +00:00
Dan Albert
39606e9f78 am 7b09e7a9: am 44d7989a: am 571c5a26: Merge "Fix UB in ResourceTable::stringToInt."
* commit '7b09e7a9f3ef804e9cd159023b64eac1ef8b7931':
  Fix UB in ResourceTable::stringToInt.
2015-04-15 00:07:01 +00:00
Jeff Sharkey
4c08b1bab2 Merge "Checkpoint of storage notifications." 2015-04-15 00:02:13 +00:00
Ben Gruver
df0db7fe83 Merge "Don't verify signatures in ConfigUpdateInstallReceiver" 2015-04-14 23:56:34 +00:00
Dan Albert
7b09e7a9f3 am 44d7989a: am 571c5a26: Merge "Fix UB in ResourceTable::stringToInt."
* commit '44d7989abfe41ffa2d4a5cfba8c0d2f880ac9b8d':
  Fix UB in ResourceTable::stringToInt.
2015-04-14 23:55:35 +00:00
Andres Morales
fcfff2842a Merge "Add notify keystore method to FPS JNI" 2015-04-14 23:55:00 +00:00
Chong Zhang
b6e809bfab Merge "MediaRecorderTest: verify capture fps meta key is set" 2015-04-14 23:54:18 +00:00
Andres Morales
af0479d16d Add notify keystore method to FPS JNI
Change-Id: I0b29a9e4a15e9386586df98be419be9e0b0c8f7b
2015-04-14 23:52:08 +00:00
Hiroshi Yamauchi
82992b7270 Merge "Fix javadoc error in Debug.getRuntimeStats()." 2015-04-14 23:49:03 +00:00
Jeff Sharkey
56bd312913 Checkpoint of storage notifications.
Rewrite of storage notifications to support multiple disks/volumes,
handling the state of each independently.  Update strings to match
spec.  Include actions to jump into wizard when adoptable, otherwise
browse or eject.

Move browse intent creation to common place on VolumeInfo.  Also add
well-formed extra names.  VolumeInfo now carries the parent disk ID
along with it to avoid races when unmounting.

Bug: 19993667
Change-Id: I236ddc7f8112490355f438b828bec8d40c331fdd
2015-04-14 16:46:27 -07:00
Amith Yamasani
d1500d8ff1 Merge "Always set the dataDir for the given userId" 2015-04-14 23:45:13 +00:00
Dan Albert
44d7989abf am 571c5a26: Merge "Fix UB in ResourceTable::stringToInt."
* commit '571c5a26f767f67118f34ca0d426aeeb4a287b2c':
  Fix UB in ResourceTable::stringToInt.
2015-04-14 23:44:51 +00:00
Yorke Lee
3ba6474e3e Merge "Hide Phone proximity sensor methods" 2015-04-14 23:37:45 +00:00
Eino-Ville Talvala
ad916f7fd3 Camera2: Add prepare method for output buffer pre-allocation
Normally, buffers for camera output Surfaces are allocated as
needed. This minimizes memory overhead and time to first frame.

However, if allocation takes a long time, as it can do for full-resolution
output buffers, full frame rate may not be maintainable with the added
allocation overhead.

The prepare() method allows an application to indicate that buffers for
a given output Surface should be preallocated by the camera device.
Once the allocation is complete, the onSurfacePrepared callback is invoked.
The application may then use the prepared Surface without concerns about
allocation-caused delays.

Change-Id: I4f616dc87dd4346f408cf1ea37d48a642ceb57da
2015-04-14 16:36:50 -07:00
Dan Albert
571c5a26f7 Merge "Fix UB in ResourceTable::stringToInt." 2015-04-14 23:25:27 +00:00
Vinit Deshpande
80047faad9 am b5e0cfb..557d2f5 from mirror-m-wireless-internal-release
557d2f5 Merge "Add ConnectivityManager.reportNetworkConnectivity() API" into m-wireless-dev
ab5267a Fix onLost/onFound logic in isSettingsAndFilterComboAllowed
bfd17b7 Add ConnectivityManager.reportNetworkConnectivity() API
238e0f9 OBEX Over L2CAP + SDP search API for BT profiles
31a94f4 Add ConnectivityManager.getActiveNetwork(). Rework NetID allocation in ConnectivityService so registerNetworkAgent() can return the allocated NetID.
bf18bed Merge "Non-functional code cleanup of ConnectivityService." into m-wireless-dev
db8784e Merge "Cleanup of Video Call pause functionality." into m-wireless-dev
e75b9e3 Non-functional code cleanup of ConnectivityService.
e593d0a Onfound onlost feature.
0326f58 Merge "API for config app." into m-wireless-dev
e9b056f API for config app.
d5351e7 RTT framework interface update
582b868 Unhide Network.openConnection(URL, Proxy).
0d719ca Fix typos in ConnectivityManager documentation.

Change-Id: Ib4c88f6d7ad1b24227b032555c62a5804194384b
2015-04-14 16:15:02 -07:00
Hiroshi Yamauchi
d8001676ea Fix javadoc error in Debug.getRuntimeStats().
Bug: 19825248
Change-Id: Id7131732d30f01c3edd01c6d4c7c391095ffd054
2015-04-14 16:08:49 -07:00
Sasha Levitskiy
f4f2693fc9 Merge "Fingerprint: Add hw token to the enroll() function." 2015-04-14 22:53:15 +00:00
Sasha Levitskiy
7ba38ef0df Fingerprint: Add hw token to the enroll() function.
Change-Id: I3308a2567cac9290540bb7692d343ccad98b40ed
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2015-04-14 15:48:30 -07:00
Amith Yamasani
1742cfbd8a Always set the dataDir for the given userId
Don't try to optimize for userId != 0 when generating the
ApplicationInfo.

Change-Id: I2eb2d43f36677a781643a1e86a19c8850d517411
2015-04-14 15:41:20 -07:00
Adam Powell
a87cc375f1 Merge "Add ComponentName.createRelative methods" 2015-04-14 22:38:23 +00:00
John Reck
c294d128d0 A bunch more cleanups
Switch a few places to using android::canvas
instead of SkCanvas as well which eliminated
some JNI

Change-Id: I8f98b56442a06362b82b984cd1bd3a92398d8dbc
2015-04-14 15:38:22 -07:00
Amith Yamasani
6f63bb0052 Merge "Handle null package argument" 2015-04-14 22:37:26 +00:00
Amith Yamasani
abedd3890b Handle null package argument
Null package passed in during charging implies all sync adapters
can now be synced.

Bug: 20066058
Change-Id: Ic5927893e52f7324083bdd63afa69d3bde7349de
2015-04-14 15:34:32 -07:00
Adam Powell
ecee322e59 Add ComponentName.createRelative methods
In a number of places, it's convenient to be able to refer to
ComponentName classes with relative package paths as they are
interpreted in manifest parsing. Express the official (yet simple)
policy for this in a simple pair of factory methods for ComponentName.

Change-Id: I81a40c81b7975445dd9f06292363b69bb072b16d
2015-04-14 15:20:16 -07:00
Yorke Lee
0604427a25 Changes for TelecomManager API review
* clearAccounts -> clearPhoneAccounts
* handleMMi(PhoneAccountHandle, String) -> handleMMi(String, PhoneAccountHandle)
* hasMultipleCallCapableAccounts -> removed
Bug: 20160799

Change-Id: Ifcd26474f04b71aa725299b6016004151b76bc31
2015-04-14 15:16:59 -07:00
Jean-Michel Trivi
cc98c67ef7 Define AudioMix state constants
Bug 20226914

Change-Id: Ie513fcdaaffd4ae3ed7fbd8d24fe8683959739e3
2015-04-14 15:10:30 -07:00
Tim Murray
9cb16a2f91 Add BNNM intrinsic.
Change-Id: I05fc9835786455e28d69f2b4ffe70c3292a01404
2015-04-14 15:10:19 -07:00
Mady Mellor
e556198495 Recognize stylus touch + press button as a longpress in AbsListView
The gesture is: stylus touching screen + button pressed, the event
is recognized when the button is pressed, not when it's released.
It can be pressed during DOWN or MOVE.

Bug: 19620479
Change-Id: I4ce2cea4eb058e308ba88ef3dd3bed278bdca555
2015-04-14 15:06:40 -07:00
Ronghua Wu
4fd31a2a71 media: Add reason to CodecException.
Bug: 19620911
Change-Id: Ic7244a2369a04bfd69e703415a8c9aacdcbf3c57
2015-04-14 15:00:32 -07:00
David Christie
b808440014 Ensure GeofenceHardware will return capabilities for old implementations.
New FLP HAL implementations will explicitly return their capabilities,
but old versions won't (the implicit capability in old versions was
GNNS).  Ensure that the getCapabilities feature of GeofenceHardware
will return GNNS for old binaries, so GmsCore doesn't have to worry
about versioning.

Change-Id: I4b1c942b0d68d87bfbb18b8c06fd9d8b8f68efa6
2015-04-14 14:54:48 -07:00
Svetoslav
7f24225e5e Lower protection level of access mock location permission
The ACCESS_MOCK_LOCATION permission is gated by a secure setting
toggled in developer options by the user. Hence, there is no need
for getting yet another consent from the user for accessing it.

Change-Id: Ica1a72f587a712d7da7c00cfc4a8ca228064286e
2015-04-14 14:44:15 -07:00
Alex Klyubin
2eabe5b7a9 Merge "resolved conflicts for merge of 1d5a2592 to master" 2015-04-14 21:38:03 +00:00
David Christie
71bcd2aa5c Merge "Add versioning to FLP HAL." 2015-04-14 21:37:02 +00:00
Alex Klyubin
338e74648d resolved conflicts for merge of 1d5a2592 to master
Change-Id: Ia1ea7c9c8c23eeffcd596b96506e961989ccb7a6
2015-04-14 14:23:07 -07:00
Selim Gurun
30982c778d Enable onProvideVirtualAssistStructure API
Bug: b/19771298

onProvideVirtualAssistStructure API was hardwired to call the super
method prevent any crashes when assist gesture is used. Enable it.

Change-Id: I333f9f024ffb34af6a2cfa7e4b66ae233d73eb41
2015-04-14 14:20:45 -07:00
Jorim Jaggi
7caa691652 Merge "Fix fingerprint API for 3rd party apps" 2015-04-14 21:12:27 +00:00
Ronghua Wu
41eedcf311 Revert "media: add new MediaCodec Callback onCodecReleased."
This reverts commit 4c302e8b141cd490733130e86e44fa4f216de457.

Change-Id: I563ba6419cf61968bf356c5b096445dde55abac2
2015-04-14 21:12:07 +00:00
Jorim Jaggi
ccdfa93f60 Fix fingerprint API for 3rd party apps
Change-Id: Id68d04b4deef9940a683d2b40f1db231845b00e3
2015-04-14 14:02:16 -07:00
Alan Viverette
bd1c50d1d0 Merge "Don't crash if an application has an invalid icon" 2015-04-14 20:56:53 +00:00
Alex Klyubin
1d5a259276 am 6a38c86d: am d693690a: Merge "No need to specify EC curve name in EcIesParameterSpec."
* commit '6a38c86dd892b272a354d2b1164e78eebaaf907e':
  No need to specify EC curve name in EcIesParameterSpec.
2015-04-14 20:55:34 +00:00
Alex Klyubin
8e5fbc70e1 am fa2bd4fe: am 888f5cb7: am ecfda064: Merge "Make specifying self-signed cert parameters optional."
* commit 'fa2bd4fe5c10b8132a155f0f8d0207435ca2c8dc':
  Make specifying self-signed cert parameters optional.
2015-04-14 20:43:54 +00:00
Alex Klyubin
6a38c86dd8 am d693690a: Merge "No need to specify EC curve name in EcIesParameterSpec."
* commit 'd693690aee3ee94878ab59ee86d8db8ce5bb3789':
  No need to specify EC curve name in EcIesParameterSpec.
2015-04-14 20:43:46 +00:00
Alex Klyubin
fa2bd4fe5c am 888f5cb7: am ecfda064: Merge "Make specifying self-signed cert parameters optional."
* commit '888f5cb7166936f468831d64ac88197c15f0584f':
  Make specifying self-signed cert parameters optional.
2015-04-14 20:31:02 +00:00