OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Methods to calculate user and external disk usage." am: 6a9ad14172
Jeff Sharkey [Tue, 10 Jan 2017 04:42:52 +0000 (04:42 +0000)]
Merge "Methods to calculate user and external disk usage." am: 6a9ad14172
am: 7beb2b75a9

Change-Id: I236eb3357b597cac26f5234a72551a471919a411

7 years agoMerge "Methods to calculate user and external disk usage."
Jeff Sharkey [Tue, 10 Jan 2017 04:38:15 +0000 (04:38 +0000)]
Merge "Methods to calculate user and external disk usage."
am: 6a9ad14172

Change-Id: Ie4ab045a5425b35ce1bdd245f7c6ab248c796df2

7 years agoMerge "Methods to calculate user and external disk usage."
Jeff Sharkey [Tue, 10 Jan 2017 04:30:46 +0000 (04:30 +0000)]
Merge "Methods to calculate user and external disk usage."

7 years agoMerge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age" am: f66126c828
John Reck [Tue, 10 Jan 2017 00:44:29 +0000 (00:44 +0000)]
Merge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age" am: f66126c828
am: 620d4c24de

Change-Id: I4fdb8ecba5a08f712871d3b99e0286c61f6d0806

7 years agoMerge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
John Reck [Tue, 10 Jan 2017 00:39:28 +0000 (00:39 +0000)]
Merge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
am: f66126c828

Change-Id: I649478ca7aa33de82a1524dfe9925c0a2d82a7a7

7 years agoMerge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age"
Treehugger Robot [Tue, 10 Jan 2017 00:26:42 +0000 (00:26 +0000)]
Merge "Support EGL_KHR_partial_update without EGL_EXT_buffer_age"

7 years agoMethods to calculate user and external disk usage.
Jeff Sharkey [Mon, 9 Jan 2017 00:06:58 +0000 (17:06 -0700)]
Methods to calculate user and external disk usage.

Add method to calculate user disk usage, which will be faster than
making a Binder call for every single appId under a user.  Add method
to calculate external disk usage, which uses file extensions to track
usage with "audio", "video", and "images" categories.

Start measuring internal and external storage space separately; new
GIDs are coming in a future CL.  Pass down all package names, inodes,
and code paths, since shared UIDs host more than one.

Test: builds, boots, stats are consistent
Bug: 2794881732206268
Change-Id: Icbb82a30fe711ef05e9a16bb1dc740dc943a9ddc

7 years agoMerge "Cherrypick: Create ScoredNetwork Badging API changes." am: e34e47d645
Sundeep Ghuman [Mon, 9 Jan 2017 23:55:47 +0000 (23:55 +0000)]
Merge "Cherrypick: Create ScoredNetwork Badging API changes." am: e34e47d645
am: 3098d3839f

Change-Id: I5f7d741dbd7f91518495f02de995bca6d191aa4e

7 years agoMerge "Expose fields in WifiConfiguration." am: 1ea4180c3a
Amin Shaikh [Mon, 9 Jan 2017 23:54:30 +0000 (23:54 +0000)]
Merge "Expose fields in WifiConfiguration." am: 1ea4180c3a
am: ce13838ade

Change-Id: Ia391a1b115646ad0409c5b52fee664d42901dd18

7 years agoMerge "Cherrypick: Create ScoredNetwork Badging API changes."
Sundeep Ghuman [Mon, 9 Jan 2017 23:51:07 +0000 (23:51 +0000)]
Merge "Cherrypick: Create ScoredNetwork Badging API changes."
am: e34e47d645

Change-Id: Ibeb6c60c30c302e12c45c7f35a7e4af904a4a6d5

7 years agoMerge "Expose fields in WifiConfiguration."
Amin Shaikh [Mon, 9 Jan 2017 23:45:15 +0000 (23:45 +0000)]
Merge "Expose fields in WifiConfiguration."
am: 1ea4180c3a

Change-Id: I6a145981692cbaf791b735d55a1a9b7aa24aee62

7 years agoMerge "Cherrypick: Create ScoredNetwork Badging API changes."
Treehugger Robot [Mon, 9 Jan 2017 23:39:47 +0000 (23:39 +0000)]
Merge "Cherrypick: Create ScoredNetwork Badging API changes."

7 years agoMerge "Expose fields in WifiConfiguration."
Treehugger Robot [Mon, 9 Jan 2017 23:33:24 +0000 (23:33 +0000)]
Merge "Expose fields in WifiConfiguration."

7 years agoMerge "Moved implicit intents into explicit intents" am: ccda81e58f
Jack Yu [Mon, 9 Jan 2017 23:19:55 +0000 (23:19 +0000)]
Merge "Moved implicit intents into explicit intents" am: ccda81e58f
am: b7db5ac6d8  -s ours

Change-Id: I13a65c3d132c465b43baa64d195ce9f03f96e167

7 years agoMerge commit '5d14d99e434af815ed7fff224d178d3d72c164eb' into manual_merge_5d14d99e434a
Jack Yu [Mon, 9 Jan 2017 23:11:23 +0000 (23:11 +0000)]
Merge commit '5d14d99e434af815ed7fff224d178d3d72c164eb' into manual_merge_5d14d99e434a
am: 9f60453361  -s ours

Change-Id: I20385bd6216925de59d6ea2ac107b04e374b03b7

7 years agoMerge "Moved implicit intents into explicit intents"
Jack Yu [Mon, 9 Jan 2017 23:10:55 +0000 (23:10 +0000)]
Merge "Moved implicit intents into explicit intents"
am: ccda81e58f

Change-Id: I90ccdbceba9492f95c658a7fabd113a35dcc8ae2

7 years agoMerge "Check if the activity translucency was converted before converted back." into...
Michael Kwan [Mon, 9 Jan 2017 23:06:25 +0000 (23:06 +0000)]
Merge "Check if the activity translucency was converted before converted back." into cw-f-dev
am: 6d7dc11e01

Change-Id: I1ad11517c50cda3b37d3193ace983bb8b1a58c36

7 years agoCheck if the activity translucency was converted before converted back.
Michael Kwan [Mon, 9 Jan 2017 23:06:21 +0000 (23:06 +0000)]
Check if the activity translucency was converted before converted back.
am: 39dd370d8e

Change-Id: Ib0705da70acd8abceedd5c1deeacae5023032543

7 years agoMerge "Check if the activity translucency was converted before converted back." into...
TreeHugger Robot [Mon, 9 Jan 2017 22:59:50 +0000 (22:59 +0000)]
Merge "Check if the activity translucency was converted before converted back." into cw-f-dev

7 years agoHold a wake lock while DeviceIdleController is going idle.
Joe Onorato [Mon, 9 Jan 2017 22:43:24 +0000 (22:43 +0000)]
Hold a wake lock while DeviceIdleController is going idle.
am: b08db484c2

Change-Id: I7a1d1ea87541de8f0e12d687440efccc8956a5c1

7 years agoSupport EGL_KHR_partial_update without EGL_EXT_buffer_age
John Reck [Tue, 27 Sep 2016 21:45:28 +0000 (14:45 -0700)]
Support EGL_KHR_partial_update without EGL_EXT_buffer_age

Bug: 31334677
Test: manual && hwuimacro --onscreen partialdamage

Change-Id: I9b346b4053ec12c8a78a143a4dc0e708c44888a2

7 years agoMerge commit '5d14d99e434af815ed7fff224d178d3d72c164eb' into manual_merge_5d14d99e434a
Jack Yu [Mon, 9 Jan 2017 22:33:12 +0000 (14:33 -0800)]
Merge commit '5d14d99e434af815ed7fff224d178d3d72c164eb' into manual_merge_5d14d99e434a

Test: manual
Change-Id: I228ed62db45eeb5d384049b5b0fef57b0bcf9ac6

7 years agoMerge "Moved implicit intents into explicit intents"
Treehugger Robot [Mon, 9 Jan 2017 22:02:36 +0000 (22:02 +0000)]
Merge "Moved implicit intents into explicit intents"

7 years agoCheck if the activity translucency was converted before converted back.
Michael Kwan [Mon, 9 Jan 2017 21:43:52 +0000 (13:43 -0800)]
Check if the activity translucency was converted before converted back.

Bug: 34084490
Change-Id: Ib04c76549a31c7e523649f9d284637d44d7477ae

7 years agoHold a wake lock while DeviceIdleController is going idle.
Joe Onorato [Fri, 9 Dec 2016 01:48:49 +0000 (17:48 -0800)]
Hold a wake lock while DeviceIdleController is going idle.

The inputs to DeviceIdleController (alarm manager, sensors)
hold wake locks while they call it.  But then the real work
happens in a handler which is outside of the wakelock, so
listeners don't get a chance to run right away, which in
the case of NetworkPolicyManager means the device is in a
higher power state than it should be.

It's not clear that this will 100% fix the bug, because
NetworkPolicyManagerService also has its own internal
Handler, and isn't holding its own wakelock for this,
but this change allows NPMS to be fixed if it really
needed to be.

Bug: 31900521
Test: adb shell dumpsys deviceidle step ... adb shell dumpsys power has no wakelocks held
Change-Id: I799f45221a6b327e7f63745cadc95ca644c064c6
(cherry picked from commit 8f0e9cede145bbc1668e25cfd6f850fe3fde3ae3)

7 years agoMerge "Make REQUEST_NETWORK_SCORES signature only." am: 1f89f3d1da
Jeremy Joslin [Mon, 9 Jan 2017 21:09:09 +0000 (21:09 +0000)]
Merge "Make REQUEST_NETWORK_SCORES signature only." am: 1f89f3d1da
am: 99b73c61f2

Change-Id: I5959ba9a45dd3c895421b131fd34db6b37c6e405

7 years agoMerge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED....
Jeremy Joslin [Mon, 9 Jan 2017 21:07:48 +0000 (21:07 +0000)]
Merge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED." am: 4c456d7ddf
am: 542aad4c75

Change-Id: I3b35ec04e65f6b14f75f266dfcf15c10a12a4d74

7 years agoMerge "Make REQUEST_NETWORK_SCORES signature only."
Jeremy Joslin [Mon, 9 Jan 2017 21:00:13 +0000 (21:00 +0000)]
Merge "Make REQUEST_NETWORK_SCORES signature only."
am: 1f89f3d1da

Change-Id: I4fff314194584e78c86e3b0ae1de40fd7f2501f4

7 years agoMerge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED."
Jeremy Joslin [Mon, 9 Jan 2017 20:58:50 +0000 (20:58 +0000)]
Merge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED."
am: 4c456d7ddf

Change-Id: I441cae5096b922419763832d5b38faa95818e337

7 years agoCherrypick: Create ScoredNetwork Badging API changes.
Sundeep Ghuman [Fri, 16 Dec 2016 21:30:45 +0000 (13:30 -0800)]
Cherrypick: Create ScoredNetwork Badging API changes.

Defines an attribute bundles key to hold the badging curve, the
enums for badge values, and an API to retrieve a badge for a
specific RSSI.

OCL: ag/1727147
Bug: 33457699
Test: Unit tests
Change-Id: If9e8a60c4670b51c395fb501f55ddece8a72981e
Merged-In: If9e8a60c4670b51c395fb501f55ddece8a72981e

7 years agoMerge "Make REQUEST_NETWORK_SCORES signature only."
Treehugger Robot [Mon, 9 Jan 2017 20:51:33 +0000 (20:51 +0000)]
Merge "Make REQUEST_NETWORK_SCORES signature only."

7 years agoMerge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED."
Treehugger Robot [Mon, 9 Jan 2017 20:45:51 +0000 (20:45 +0000)]
Merge "Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED."

7 years agoMerge "Moved implicit intents into explicit intents" into nyc-mr1-dev-plus-aosp
TreeHugger Robot [Mon, 9 Jan 2017 20:44:32 +0000 (20:44 +0000)]
Merge "Moved implicit intents into explicit intents" into nyc-mr1-dev-plus-aosp

7 years agoMake REQUEST_NETWORK_SCORES signature only.
Jeremy Joslin [Fri, 6 Jan 2017 22:38:57 +0000 (14:38 -0800)]
Make REQUEST_NETWORK_SCORES signature only.

There are no use cases where it's needed by a privileged app today.

Test: Built and ran
BUG: 33752149
Change-Id: Ia63a86eca1f60644d25f037d395a08c541a06a08
Merged-In: Iae689e878fdb60b506536c918079a4fcff527a71

7 years agoMoved implicit intents into explicit intents
Jack Yu [Thu, 5 Jan 2017 23:19:31 +0000 (15:19 -0800)]
Moved implicit intents into explicit intents

Moved two intents SMS_EMERGENCY_CB_RECEIVED_ACTION and
SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION are
now sent to the default cell broadcast receiver only.

The default cell broadcast receiver can be changed through
the resource overlay. Otherwise it is default to
com.android.cellbroadcastreceiver

bug: 33783447
Test: manual
Change-Id: I64db3b05400513bacf278ff9f93236495860803e
Merged-In: I64db3b05400513bacf278ff9f93236495860803e

7 years agoMerge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into...
Mark Renouf [Mon, 9 Jan 2017 19:14:02 +0000 (19:14 +0000)]
Merge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into cw-f-dev
am: 5df216f209

Change-Id: I9ad8c851d9c634d26b470456dc07b26e15f61900

7 years agoOmit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN
Mark Renouf [Mon, 9 Jan 2017 19:13:55 +0000 (19:13 +0000)]
Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN
am: 9b32a35aa7

Change-Id: I99d041ae3a1771e17c94a168cf672f8b73ce572d

7 years agoCheck for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED.
Jeremy Joslin [Fri, 6 Jan 2017 22:36:54 +0000 (14:36 -0800)]
Check for REQUEST_NETWORK_SCORES instead of BROADCAST_NETWORK_PRIVILEGED.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
BUG: 33752149
Change-Id: I3dd352c98bbc34b128ab9c2a28f81e1261ae2669
Merged-In: I7d91fa9a4f6ef4f9170c6af98567ce443c805e74

7 years agoMerge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into...
Mark Renouf [Mon, 9 Jan 2017 19:00:02 +0000 (19:00 +0000)]
Merge "Omit NavigationGuard if the input method uses FLAG_LAYOUT_IN_OVERSCAN" into cw-f-dev

7 years agoExpose fields in WifiConfiguration.
Amin Shaikh [Fri, 6 Jan 2017 18:00:33 +0000 (10:00 -0800)]
Expose fields in WifiConfiguration.

hasNoInternetAccess and isNoInternetAccessExpected are key signals needed
to determine whether Wi-Fi should be woken up for a given saved network.

Test: make
Bug: 33224312
Change-Id: I3f48735ebae72e15fbdb0a3057cf7c71fb0cc307
Merged-In: I3f48735ebae72e15fbdb0a3057cf7c71fb0cc307

7 years agoMerge "StorageManager: Improve exception handling" am: cf3a4a68bd
Alex Naidis [Mon, 9 Jan 2017 17:04:32 +0000 (17:04 +0000)]
Merge "StorageManager: Improve exception handling" am: cf3a4a68bd
am: 545cf37844

Change-Id: I452e3fcbda9cfa24db5b2bfdd077b7e5a7b241b4

7 years agoMerge "StorageManager: Improve exception handling"
Alex Naidis [Mon, 9 Jan 2017 16:59:56 +0000 (16:59 +0000)]
Merge "StorageManager: Improve exception handling"
am: cf3a4a68bd

Change-Id: Id421cb483655dab6d379251d983da2bdcafe598d

7 years agoMerge "StorageManager: Improve exception handling"
Treehugger Robot [Mon, 9 Jan 2017 16:48:35 +0000 (16:48 +0000)]
Merge "StorageManager: Improve exception handling"

7 years agoStorageManager: Improve exception handling
Alex Naidis [Wed, 4 Jan 2017 17:52:36 +0000 (18:52 +0100)]
StorageManager: Improve exception handling

When "getPrimaryStorageSize" provides a path
to "readLong", the option that the path
doesn't exist is expected, since it tries
all paths from "INTERNAL_STORAGE_SIZE_PATHS"
until there is success.

This patch makes us catch the "FileNotFoundException"
and "NumberFormatException" seperately.

For the above reason a "FileNotFoundException"
is now treated as an information only.
The "NumberFormatException" and other exceptions
are now treated as error since those are not
expected to happen.

Change-Id: I5316f9c3108e36c31b27dc5df8bf8ac4d4257629
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
7 years agoMerge "Track libcore/jsr-166 update" am: f6f36d7d9a
Przemyslaw Szczepaniak [Mon, 9 Jan 2017 11:21:46 +0000 (11:21 +0000)]
Merge "Track libcore/jsr-166 update" am: f6f36d7d9a
am: 44cc1f23bf

Change-Id: Ic9537f84f8210960c98d64891f1267f017186763

7 years agoMerge "Track libcore/jsr-166 update"
Przemyslaw Szczepaniak [Mon, 9 Jan 2017 11:17:06 +0000 (11:17 +0000)]
Merge "Track libcore/jsr-166 update"
am: f6f36d7d9a

Change-Id: I6ba30b86fa45403631233ede5994eac0748d9b37

7 years agoMerge "Track libcore/jsr-166 update"
Przemyslaw Szczepaniak [Mon, 9 Jan 2017 11:08:34 +0000 (11:08 +0000)]
Merge "Track libcore/jsr-166 update"

7 years agoTrack libcore/jsr-166 update
Przemyslaw Szczepaniak [Thu, 29 Dec 2016 14:28:51 +0000 (14:28 +0000)]
Track libcore/jsr-166 update

No functional changes.

Update after the switch from custom to openJdk-based implementation of
java.util.concurrent.CopyOnWriteArrayList class.
Tracks libcore commit 29957558cf0db700bfaae360a80c42dc3871d0e5.

Test: make -j 32
Bug: 30860904
Change-Id: I4435bc1fb5ef9fc4ee5f882370073ba8ce2bcfba

7 years agoMerge "Dumps total size of primary storage." am: 55dc66dde4
Nick Kralevich [Sun, 8 Jan 2017 15:04:54 +0000 (15:04 +0000)]
Merge "Dumps total size of primary storage." am: 55dc66dde4
am: 12b387dd87

Change-Id: I08e98467d212a7f9ec01b16a46540bc3d059ee51

7 years agoMerge "Dumps total size of primary storage."
Nick Kralevich [Sun, 8 Jan 2017 15:00:18 +0000 (15:00 +0000)]
Merge "Dumps total size of primary storage."
am: 55dc66dde4

Change-Id: Ifc3537d3aeda5e6eb3b1c003a4eaf392d07bcf86

7 years agoMerge "Dumps total size of primary storage."
Nick Kralevich [Sun, 8 Jan 2017 14:53:08 +0000 (14:53 +0000)]
Merge "Dumps total size of primary storage."

7 years agoMerge "wifi: hotspot2: Passpoint configuration APIs update" am: b1c9bc5ea5
Peter Qiu [Sun, 8 Jan 2017 07:06:20 +0000 (07:06 +0000)]
Merge "wifi: hotspot2: Passpoint configuration APIs update" am: b1c9bc5ea5
am: fdbc827a52

Change-Id: Ifaf73023a932b2866ed3da1d81abeed920e8427b

7 years agoMerge "wifi: hotspot2: Passpoint configuration APIs update"
Peter Qiu [Sun, 8 Jan 2017 07:00:57 +0000 (07:00 +0000)]
Merge "wifi: hotspot2: Passpoint configuration APIs update"
am: b1c9bc5ea5

Change-Id: I47d8e12fbb7bc3faefabbed02b7235396eb6dbe5

7 years agoMerge "wifi: hotspot2: Passpoint configuration APIs update"
Treehugger Robot [Sun, 8 Jan 2017 06:51:51 +0000 (06:51 +0000)]
Merge "wifi: hotspot2: Passpoint configuration APIs update"

7 years agoDumps total size of primary storage.
Felipe Leme [Tue, 11 Oct 2016 00:12:20 +0000 (17:12 -0700)]
Dumps total size of primary storage.

BUG: 32069168
Test: manual verification

(cherry picked from commit 281389ac5475e483d10a2e8aa31195b9e9875246)

Change-Id: If5dee52a99c03a00dada22736c09d953dc0b66d1

7 years agoMerge "[AWARE] Remove reason from discovery session terminate callback" am: bbbe5e6ccd
Etan Cohen [Sat, 7 Jan 2017 20:18:23 +0000 (20:18 +0000)]
Merge "[AWARE] Remove reason from discovery session terminate callback" am: bbbe5e6ccd
am: dce01e235b

Change-Id: I0e693ff19f8c08212c4daadebc3b6af33e239eda

7 years agoMerge "[AWARE] Remove reason from discovery session terminate callback"
Etan Cohen [Sat, 7 Jan 2017 20:13:33 +0000 (20:13 +0000)]
Merge "[AWARE] Remove reason from discovery session terminate callback"
am: bbbe5e6ccd

Change-Id: Iede092421659c5ae55475f153d940d97dac6b7b0

7 years agoMerge "[AWARE] Remove reason from discovery session terminate callback"
Etan Cohen [Sat, 7 Jan 2017 20:05:37 +0000 (20:05 +0000)]
Merge "[AWARE] Remove reason from discovery session terminate callback"

7 years agoMerge "[AWARE] Simplify Wi-Fi Aware API namespace" am: 834a87d525
Etan Cohen [Sat, 7 Jan 2017 18:29:13 +0000 (18:29 +0000)]
Merge "[AWARE] Simplify Wi-Fi Aware API namespace" am: 834a87d525
am: fd23421472

Change-Id: I6ba8709fcce9e68b85811959400c5240e2a2bb36

7 years agoMerge "[AWARE] Simplify Wi-Fi Aware API namespace"
Etan Cohen [Sat, 7 Jan 2017 18:20:31 +0000 (18:20 +0000)]
Merge "[AWARE] Simplify Wi-Fi Aware API namespace"
am: 834a87d525

Change-Id: I243194a658ee8e9c5a21301601a473149eaa8a2f

7 years agoMerge "[AWARE] Simplify Wi-Fi Aware API namespace"
Etan Cohen [Sat, 7 Jan 2017 18:12:33 +0000 (18:12 +0000)]
Merge "[AWARE] Simplify Wi-Fi Aware API namespace"

7 years agoMoved implicit intents into explicit intents
Jack Yu [Thu, 5 Jan 2017 23:19:31 +0000 (15:19 -0800)]
Moved implicit intents into explicit intents

Moved two intents SMS_EMERGENCY_CB_RECEIVED_ACTION and
SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION are
now sent to the default cell broadcast receiver only.

The default cell broadcast receiver can be changed through
the resource overlay. Otherwise it is default to
com.android.cellbroadcastreceiver

bug: 33783447
Test: manual
Change-Id: I64db3b05400513bacf278ff9f93236495860803e
Merged-In: I64db3b05400513bacf278ff9f93236495860803e

7 years agoMerge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f88582...
David Friedman [Sat, 7 Jan 2017 02:51:16 +0000 (02:51 +0000)]
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826 am: c3b564e266 am: bcc449eeca
am: d8e95f6bda

Change-Id: I1638d0b407db1a990b0c32f3cb14344f524ba8a4

7 years agoDocs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b...
Dave Friedman [Sat, 7 Jan 2017 02:50:18 +0000 (02:50 +0000)]
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b am: a111e0f7f0
am: eedb695579

Change-Id: Ia5922ed50290cc8f47d07f1516bc5a21b0bec270

7 years agoMerge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f88582...
David Friedman [Sat, 7 Jan 2017 02:46:33 +0000 (02:46 +0000)]
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826 am: c3b564e266
am: bcc449eeca

Change-Id: I070f5c7088ce237995f995c2aa097e1f04cc4000

7 years agoDocs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b
Dave Friedman [Sat, 7 Jan 2017 02:43:44 +0000 (02:43 +0000)]
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe am: e0fd4c8a3b
am: a111e0f7f0

Change-Id: Ic5d7e0ce01bd573e0882122d0709cbc2da56f448

7 years agoMerge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826
David Friedman [Sat, 7 Jan 2017 02:39:33 +0000 (02:39 +0000)]
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev am: 101f885826
am: c3b564e266

Change-Id: I23fdc92b08e32c643de8009bebf4e02c41741c7e

7 years agoDocs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe
Dave Friedman [Sat, 7 Jan 2017 02:38:45 +0000 (02:38 +0000)]
Docs: Updates Javadoc documentation. Bug: 32532540 am: 2a3ebadcbe
am: e0fd4c8a3b

Change-Id: I8f65ad71433efbe1121e0617c6d7575b7db3a051

7 years agoMerge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev
David Friedman [Sat, 7 Jan 2017 02:30:48 +0000 (02:30 +0000)]
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev
am: 101f885826

Change-Id: I5e6d948373c8f8ff2892c843329a7d2b540b8706

7 years agoDocs: Updates Javadoc documentation. Bug: 32532540
Dave Friedman [Sat, 7 Jan 2017 02:30:45 +0000 (02:30 +0000)]
Docs: Updates Javadoc documentation. Bug: 32532540
am: 2a3ebadcbe

Change-Id: Ibee55c5e73d9b51e5f5df24be01b0b797fa8a7a5

7 years agoMerge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev
David Friedman [Sat, 7 Jan 2017 02:24:54 +0000 (02:24 +0000)]
Merge "Docs: Updates Javadoc documentation. Bug: 32532540" into nyc-dev

7 years agoMerge "DefaultPermissionGrantPolicy: Pass correct arguments" am: 0b325c6634
Alex Naidis [Sat, 7 Jan 2017 01:44:14 +0000 (01:44 +0000)]
Merge "DefaultPermissionGrantPolicy: Pass correct arguments" am: 0b325c6634
am: fd55f834c8

Change-Id: Ia53faad0ba004233d0ee031e1ca83d705f5bd379

7 years agoMerge "DefaultPermissionGrantPolicy: Pass correct arguments"
Alex Naidis [Sat, 7 Jan 2017 01:40:42 +0000 (01:40 +0000)]
Merge "DefaultPermissionGrantPolicy: Pass correct arguments"
am: 0b325c6634

Change-Id: I5d217037bececb7a096ccfa018fafaa4280e4537

7 years agoMerge "DefaultPermissionGrantPolicy: Pass correct arguments"
Treehugger Robot [Sat, 7 Jan 2017 01:33:18 +0000 (01:33 +0000)]
Merge "DefaultPermissionGrantPolicy: Pass correct arguments"

7 years agoMerge "Add Bluetooth Codec selection UI to the Developer Options" am: bfd7f9a1f8
Pavlin Radoslavov [Sat, 7 Jan 2017 01:29:44 +0000 (01:29 +0000)]
Merge "Add Bluetooth Codec selection UI to the Developer Options" am: bfd7f9a1f8
am: d190040dd1

Change-Id: I051932a98729e91f4e6512c9fa84a7e261b8cd96

7 years agoMerge "Add Bluetooth Codec selection UI to the Developer Options"
Pavlin Radoslavov [Sat, 7 Jan 2017 01:25:34 +0000 (01:25 +0000)]
Merge "Add Bluetooth Codec selection UI to the Developer Options"
am: bfd7f9a1f8

Change-Id: I0cc5f64f292a56e6301b294974c1bd3cc72664c0

7 years agoMerge "Add Bluetooth Codec selection UI to the Developer Options"
Treehugger Robot [Sat, 7 Jan 2017 01:19:33 +0000 (01:19 +0000)]
Merge "Add Bluetooth Codec selection UI to the Developer Options"

7 years agoDocs: Updates Javadoc documentation.
Dave Friedman [Thu, 5 Jan 2017 02:27:26 +0000 (18:27 -0800)]
Docs: Updates Javadoc documentation.
Bug: 32532540

Change-Id: Ia811d9a51812206b18b75a98f6c5a55b92627404

7 years ago[AWARE] Remove reason from discovery session terminate callback
Etan Cohen [Sat, 24 Dec 2016 20:44:59 +0000 (12:44 -0800)]
[AWARE] Remove reason from discovery session terminate callback

Only valid reason is per request (destroy or timeout/count).

Bug: 32670068
Test: unit tests & integration tests (sl4a) passing
Change-Id: I85d417442e26a16d7f09d6d2d4cbb8ae7a9eba7e

7 years ago[AWARE] Simplify Wi-Fi Aware API namespace
Etan Cohen [Mon, 19 Dec 2016 23:54:51 +0000 (15:54 -0800)]
[AWARE] Simplify Wi-Fi Aware API namespace

Simplify Wi-fi Aware API namespace. Rely on project and remove WifiAware
prefix from most classes.

(pure rename operation: no functional changes)

Bug: 31470256
Test: unit-tests + integration (sl4a) tests.
Change-Id: I38b8137c1730c8f40c482c6770caafcaeafd5c46

7 years agoAdd Bluetooth Codec selection UI to the Developer Options
Pavlin Radoslavov [Thu, 5 Jan 2017 18:46:08 +0000 (10:46 -0800)]
Add Bluetooth Codec selection UI to the Developer Options

Test: A2DP streaming to headsets and manual UI interaction
Bug: 30958229
Change-Id: I88f6efedf1c89b524c863543135ef7be9b7e1a7c

7 years agoDefaultPermissionGrantPolicy: Pass correct arguments
Alex Naidis [Tue, 3 Jan 2017 17:24:57 +0000 (18:24 +0100)]
DefaultPermissionGrantPolicy: Pass correct arguments

After parsing the xml files in the "default-permissions"
system, we are passing the arguments in the wrong order.

The method we are targeting is:
private void grantRuntimePermissionsLPw(PackageParser.Package pkg, Set<String> permissions,
            boolean systemFixed, boolean isDefaultPhoneOrSms, int userId) {

However we are passing our argument for "systemFixed"
to "isDefaultPhoneOrSms" and the other way around too.

This patch fixes it by using the version of the method
which takes 4 arguments and sets "isDefaultPhoneOrSms"
as false.

Change-Id: I3604a5d6045aadcd91b6dd3f6f1b47b561403b23
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
7 years agowifi: hotspot2: Passpoint configuration APIs update
Peter Qiu [Thu, 15 Dec 2016 23:38:56 +0000 (15:38 -0800)]
wifi: hotspot2: Passpoint configuration APIs update

- renamed addPasspointConfiguration to addOrUpdatePasspointConfiguration
  to match the implementation of the API
- updated getPasspointConfigurations to return an empty list instead of
  a null when no configuration is installled

Bug: 33587910
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: Id40185edb08910c01454c44b77957e2d5c0df722

7 years agoMerge "Unversion NDK stub libraries." am: ddc7ac8ba6
Dan Albert [Fri, 6 Jan 2017 21:03:24 +0000 (21:03 +0000)]
Merge "Unversion NDK stub libraries." am: ddc7ac8ba6
am: e2b4d4a38a

Change-Id: I57440577773e47f60e6af4e9112523b78741f9fa

7 years agoMerge "Unversion NDK stub libraries."
Dan Albert [Fri, 6 Jan 2017 20:54:52 +0000 (20:54 +0000)]
Merge "Unversion NDK stub libraries."
am: ddc7ac8ba6

Change-Id: I0cf382ae983796b948acfe84e1bb9b639de86a65

7 years agoMerge "Unversion NDK stub libraries."
Treehugger Robot [Fri, 6 Jan 2017 20:44:18 +0000 (20:44 +0000)]
Merge "Unversion NDK stub libraries."

7 years agoUnversion NDK stub libraries.
Dan Albert [Fri, 6 Jan 2017 00:01:14 +0000 (16:01 -0800)]
Unversion NDK stub libraries.

The system versions of these libraries aren't versioned yet.

Bug: https://github.com/android-ndk/ndk/issues/278
Test: make ndk
Change-Id: I74e988be8f60f8728a0bfa7360091cbd9f5b1186

7 years agoMerge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." am: cc4203221b
Ruchi Kandoi [Fri, 6 Jan 2017 19:03:07 +0000 (19:03 +0000)]
Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings." am: cc4203221b
am: 388980d88f

Change-Id: I8d5498492cae8ffe9048422720427855eaad5ca8

7 years agoMerge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings."
Ruchi Kandoi [Fri, 6 Jan 2017 18:58:17 +0000 (18:58 +0000)]
Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings."
am: cc4203221b

Change-Id: I4add3ce1cf3170aff887865302964b4425094692

7 years agoMerge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings."
Ruchi Kandoi [Fri, 6 Jan 2017 18:49:44 +0000 (18:49 +0000)]
Merge "nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings."

7 years agonfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings.
Ruchi Kandoi [Thu, 29 Dec 2016 21:31:43 +0000 (13:31 -0800)]
nfc: Adds NFC_PAYMENT_DEFAULT_COMPONENT to the backed up settings.

Bug: 32881476
Test: Manual; backup, change settings, restore

Change-Id: Ibc31b23f632c50a2c7120734fc96e7d855df062e
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
7 years agobools: fix use_lock_pattern_drawable javadoc.
Alain Vongsouvanh [Fri, 6 Jan 2017 17:41:43 +0000 (17:41 +0000)]
bools: fix use_lock_pattern_drawable javadoc.
am: c4046b5542

Change-Id: I381d005e73d6100e619dabf607b27cb18a969d7f

7 years agoMerge "resolve merge conflicts of 2fda2ce15958 to nyc-mr1-dev-plus-aosp" into nyc...
TreeHugger Robot [Fri, 6 Jan 2017 10:40:33 +0000 (10:40 +0000)]
Merge "resolve merge conflicts of 2fda2ce15958 to nyc-mr1-dev-plus-aosp" into nyc-mr1-dev-plus-aosp

7 years agoMerge "Fix LOCAL_SDK_VERSION of 3 multidex apks" am: 43c98c74fe
Yohann Roussel [Fri, 6 Jan 2017 09:42:44 +0000 (09:42 +0000)]
Merge "Fix LOCAL_SDK_VERSION of 3 multidex apks" am: 43c98c74fe
am: ef5d1cb3b4

Change-Id: Ia2f1b08cf63b6543be1e50786ba9090ffedc1431

7 years agoMerge "Fix LOCAL_SDK_VERSION of 3 multidex apks"
Yohann Roussel [Fri, 6 Jan 2017 09:38:33 +0000 (09:38 +0000)]
Merge "Fix LOCAL_SDK_VERSION of 3 multidex apks"
am: 43c98c74fe

Change-Id: I8475d98d4d4eaf3801c9c13570f36a10c525daa3

7 years agoMerge "Fix LOCAL_SDK_VERSION of 3 multidex apks"
Yohann Roussel [Fri, 6 Jan 2017 09:29:25 +0000 (09:29 +0000)]
Merge "Fix LOCAL_SDK_VERSION of 3 multidex apks"

7 years agobools: fix use_lock_pattern_drawable javadoc.
Alain Vongsouvanh [Fri, 6 Jan 2017 06:54:07 +0000 (22:54 -0800)]
bools: fix use_lock_pattern_drawable javadoc.

Change-Id: If135544edb499ee64117bf81c6e3d0eebbfcff00

7 years agoMerge "Prevent LocalSocket from creating an fd if fd is already there" am: 616910fd53
Ajay Panicker [Fri, 6 Jan 2017 01:46:10 +0000 (01:46 +0000)]
Merge "Prevent LocalSocket from creating an fd if fd is already there" am: 616910fd53
am: d76576b6d1

Change-Id: I0b59b10a095bf23d4f26856690bf6be2a5304cbc

7 years agoMerge "Prevent LocalSocket from creating an fd if fd is already there"
Ajay Panicker [Fri, 6 Jan 2017 01:41:09 +0000 (01:41 +0000)]
Merge "Prevent LocalSocket from creating an fd if fd is already there"
am: 616910fd53

Change-Id: I90192dd7e656b9bec62815ad628fc4e67f806240

7 years agoMerge "Prevent LocalSocket from creating an fd if fd is already there"
Treehugger Robot [Fri, 6 Jan 2017 01:29:46 +0000 (01:29 +0000)]
Merge "Prevent LocalSocket from creating an fd if fd is already there"