OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Handle location enabled setting null value"
TreeHugger Robot [Wed, 22 Feb 2017 01:26:53 +0000 (01:26 +0000)]
Merge "Handle location enabled setting null value"

7 years agoMerge "Allow default permission exceptions to be read from vendor partition"
TreeHugger Robot [Wed, 22 Feb 2017 00:38:15 +0000 (00:38 +0000)]
Merge "Allow default permission exceptions to be read from vendor partition"

7 years agoMerge "Revert "Update display contents when metrics change""
TreeHugger Robot [Wed, 22 Feb 2017 00:13:48 +0000 (00:13 +0000)]
Merge "Revert "Update display contents when metrics change""

7 years agoMerge "Use ArrayList instead of ArraySet for FillResponse.getDatasets()..."
TreeHugger Robot [Wed, 22 Feb 2017 00:12:04 +0000 (00:12 +0000)]
Merge "Use ArrayList instead of ArraySet for FillResponse.getDatasets()..."

7 years agoMerge "Added telephony manager set sim power state API"
Jack Yu [Tue, 21 Feb 2017 23:58:27 +0000 (23:58 +0000)]
Merge "Added telephony manager set sim power state API"

7 years agoMerge "Revert "Remove outdated emulator check which causes BT to not start"" am:...
Colin Cross [Tue, 21 Feb 2017 23:42:06 +0000 (23:42 +0000)]
Merge "Revert "Remove outdated emulator check which causes BT to not start"" am: 375ea2ae71 am: ebc05de919
am: cfbf226165  -s ours

Change-Id: I278d5afab4e15535dd2fc7b3501f805934e58f28

7 years agoMerge "Revert "Remove outdated emulator check which causes BT to not start"" am:...
Colin Cross [Tue, 21 Feb 2017 23:37:01 +0000 (23:37 +0000)]
Merge "Revert "Remove outdated emulator check which causes BT to not start"" am: 375ea2ae71
am: ebc05de919

Change-Id: Id61ee53f3147d90d8fbca053633e3115b69d3065

7 years agoMerge "Graphics: Make SurfaceTexture compile-time initializable"
Andreas Gampe [Tue, 21 Feb 2017 23:34:33 +0000 (23:34 +0000)]
Merge "Graphics: Make SurfaceTexture compile-time initializable"

7 years agoMerge "Revert "Remove outdated emulator check which causes BT to not start""
Colin Cross [Tue, 21 Feb 2017 23:32:32 +0000 (23:32 +0000)]
Merge "Revert "Remove outdated emulator check which causes BT to not start""
am: 375ea2ae71

Change-Id: I3d5abc52abf3f7c01ba4fbee47d7e487e99f5dda

7 years agoMerge "Mark new settings as being blacklisted for backup."
TreeHugger Robot [Tue, 21 Feb 2017 23:31:06 +0000 (23:31 +0000)]
Merge "Mark new settings as being blacklisted for backup."

7 years agoMerge "Revert "Remove outdated emulator check which causes BT to not start""
Colin Cross [Tue, 21 Feb 2017 23:25:05 +0000 (23:25 +0000)]
Merge "Revert "Remove outdated emulator check which causes BT to not start""

7 years agoMerge "Set default wait-for-network timeout to 0."
TreeHugger Robot [Tue, 21 Feb 2017 23:09:12 +0000 (23:09 +0000)]
Merge "Set default wait-for-network timeout to 0."

7 years agoMerge "Add metrics for default assist/voice input pickers"
TreeHugger Robot [Tue, 21 Feb 2017 23:02:22 +0000 (23:02 +0000)]
Merge "Add metrics for default assist/voice input pickers"

7 years agoMerge "Correct out of range error in getTopVisibleActivities."
TreeHugger Robot [Tue, 21 Feb 2017 23:00:58 +0000 (23:00 +0000)]
Merge "Correct out of range error in getTopVisibleActivities."

7 years agoMerge "Notify NPMS when uid becomes active or idle."
TreeHugger Robot [Tue, 21 Feb 2017 22:57:24 +0000 (22:57 +0000)]
Merge "Notify NPMS when uid becomes active or idle."

7 years agoMerge "AOD: Don't use doze states when unsupported"
TreeHugger Robot [Tue, 21 Feb 2017 22:34:13 +0000 (22:34 +0000)]
Merge "AOD: Don't use doze states when unsupported"

7 years agoUse ArrayList instead of ArraySet for FillResponse.getDatasets()...
Felipe Leme [Tue, 21 Feb 2017 21:44:50 +0000 (13:44 -0800)]
Use ArrayList instead of ArraySet for FillResponse.getDatasets()...

...otherwise it might not preserve the order.

Test: manual verification
BUG: 35348724

Change-Id: Ib19d364253ea4f0cbbeca8a73b08800482e74820

7 years agoMerge "Check bounds in offsetToPtr"
Fyodor Kupolov [Tue, 21 Feb 2017 22:29:32 +0000 (22:29 +0000)]
Merge "Check bounds in offsetToPtr"

7 years agoMerge "Making the notification always center horizonally"
Selim Cinek [Tue, 21 Feb 2017 22:05:18 +0000 (22:05 +0000)]
Merge "Making the notification always center horizonally"

7 years agoMerge "Make scrollbarSize in Material Design theme configurable"
TreeHugger Robot [Tue, 21 Feb 2017 21:56:54 +0000 (21:56 +0000)]
Merge "Make scrollbarSize in Material Design theme configurable"

7 years agoRevert "Update display contents when metrics change"
Bryce Lee [Tue, 21 Feb 2017 21:36:55 +0000 (21:36 +0000)]
Revert "Update display contents when metrics change"

This reverts commit d7f8f942e56ce96042879c582db1541283c78a3d.

Reason for revert: causing b/35349518

Fixes:35349518
Bug:35258051
Change-Id: I5233bee6696f76313868bb36fd0da4225e5ac038

7 years agoMerge "Add API to mark sanitized fields and implement it on TextView."
TreeHugger Robot [Tue, 21 Feb 2017 21:36:46 +0000 (21:36 +0000)]
Merge "Add API to mark sanitized fields and implement it on TextView."

7 years agoHandle location enabled setting null value
Svetoslav Ganov [Tue, 21 Feb 2017 21:24:09 +0000 (13:24 -0800)]
Handle location enabled setting null value

We have the notion of a null value object whose internal
value is null. If it happens that the setting was never
populated we get back the null object whose value is null
and the code does not expect null and crashes.

bug:35368238

Test: manual

Change-Id: I02c3771b94a45b4ee53e2141711eed134542ea0c

7 years agoCorrect out of range error in getTopVisibleActivities.
Robert Carr [Tue, 21 Feb 2017 21:01:47 +0000 (13:01 -0800)]
Correct out of range error in getTopVisibleActivities.

Looks like just a typo.

Test: Launch Settings > Google > Search > Voice > "OK Google" Detection. Train voice model. Say ok google.
Bug: 35590598
Change-Id: I882f5695a94940d0dc7df911b1f8d55e372d1828

7 years agoMerge "Log pm install time and package name"
TreeHugger Robot [Tue, 21 Feb 2017 21:01:16 +0000 (21:01 +0000)]
Merge "Log pm install time and package name"

7 years agoMark new settings as being blacklisted for backup.
Jeff Sharkey [Tue, 21 Feb 2017 20:57:31 +0000 (13:57 -0700)]
Mark new settings as being blacklisted for backup.

Test: builds, boots
Bug: 34690590
Change-Id: I8268d94fa47752fbdc3401e5b0f5bb6ef01c8521

7 years agoMerge "Clear cache space when allocating bytes."
Jeff Sharkey [Tue, 21 Feb 2017 20:56:56 +0000 (20:56 +0000)]
Merge "Clear cache space when allocating bytes."

7 years agoSet default wait-for-network timeout to 0.
Sudheer Shanka [Tue, 21 Feb 2017 20:48:51 +0000 (12:48 -0800)]
Set default wait-for-network timeout to 0.

Bug: 35523062
Test: manual
Change-Id: I7f2bb471bc92128cbb2bd03386c0aa1214d1a46c

7 years agoMerge "Fix sysui crashing on profile-only app open"
TreeHugger Robot [Tue, 21 Feb 2017 20:45:33 +0000 (20:45 +0000)]
Merge "Fix sysui crashing on profile-only app open"

7 years agoAOD: Don't use doze states when unsupported
Adrian Roos [Tue, 21 Feb 2017 14:42:20 +0000 (15:42 +0100)]
AOD: Don't use doze states when unsupported

Bug: 30876804
Test: runtest -x $ANDROID_BUILD_TOP/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/DozeScreenStatePreventingAdapterTest.java
Change-Id: Iff09aef0733e30f13723208ff4e7605d40449bb2

7 years agoMerge "Remove Session ID from ImsService APIs that do not need it." am: 975be6c065...
Brad Ebinger [Tue, 21 Feb 2017 20:32:16 +0000 (20:32 +0000)]
Merge "Remove Session ID from ImsService APIs that do not need it." am: 975be6c065 am: 50bc658e20
am: 8e8c26e25a

Change-Id: I7c7e02c23da5ef12bb0645be39eada1d11b8725c

7 years agoMerge "Remove Session ID from ImsService APIs that do not need it." am: 975be6c065
Brad Ebinger [Tue, 21 Feb 2017 20:28:09 +0000 (20:28 +0000)]
Merge "Remove Session ID from ImsService APIs that do not need it." am: 975be6c065
am: 50bc658e20

Change-Id: I2b2e4b0cbfcee5dd19f6d79ce5a949ca61140ffb

7 years agoMerge "Remove Session ID from ImsService APIs that do not need it."
Brad Ebinger [Tue, 21 Feb 2017 20:24:21 +0000 (20:24 +0000)]
Merge "Remove Session ID from ImsService APIs that do not need it."
am: 975be6c065

Change-Id: I09469d99bc68133a4de594507854c269e905c40e

7 years agoMerge "Remove Session ID from ImsService APIs that do not need it."
Treehugger Robot [Tue, 21 Feb 2017 20:19:19 +0000 (20:19 +0000)]
Merge "Remove Session ID from ImsService APIs that do not need it."

7 years agoMerge "[DO NOT MERGE] The system can post notifications for any package" into nyc...
Svetoslav Ganov [Tue, 21 Feb 2017 19:58:46 +0000 (19:58 +0000)]
Merge "[DO NOT MERGE] The system can post notifications for any package" into nyc-mr2-dev am: 1ddddee33f
am: 3b119f7822  -s ours

Change-Id: Iad53e592dbdff2ef42c10ba1dd10eef40f11298c

7 years agoMerge "Send LOGIN_ACCOUNTS_CHANGED broadcast to manifest receivers"
Chris Tate [Tue, 21 Feb 2017 19:54:27 +0000 (19:54 +0000)]
Merge "Send LOGIN_ACCOUNTS_CHANGED broadcast to manifest receivers"

7 years agoMerge "[DO NOT MERGE] The system can post notifications for any package" into nyc...
Svetoslav Ganov [Tue, 21 Feb 2017 19:54:06 +0000 (19:54 +0000)]
Merge "[DO NOT MERGE] The system can post notifications for any package" into nyc-mr2-dev
am: 1ddddee33f

Change-Id: Iaf9aacd39ea328f3a22f26987eb65df682ddccc5

7 years agoAdded telephony manager set sim power state API
Jack Yu [Thu, 16 Feb 2017 23:31:59 +0000 (15:31 -0800)]
Added telephony manager set sim power state API

The new API can be used to power up/down the SIM. This is equivalent
to inserting and removing the card.

Test: Telephony sanity tests
bug: 32224755

Change-Id: Ib82ab1eff613946e7c31c9b2131183a40d09af80

7 years agoAdd API to mark sanitized fields and implement it on TextView.
Felipe Leme [Thu, 16 Feb 2017 16:07:56 +0000 (08:07 -0800)]
Add API to mark sanitized fields and implement it on TextView.

When sending a ViewNode to the auto-fill service, it's necessary to sanitize
it so it does not contain PII (Personally Identifiable Information).

A good rule of thumb is to mark as sanitized nodes whose value were statically
set from resources. Ideally, that logic should belong to View, but View does
not know how its contexts are set, so the decision must be made by the
subclasses, and this CL implements that logic on TextView (which is the main
auto-fill type - others will come soon...)

Bug: 33269702

Test: CtsAutoFillServiceTestCases pass
Test: manual verification

Change-Id: I4dcdd8419a35812bd2f15a63a5be85f8cd97bb4e

7 years agoNotify NPMS when uid becomes active or idle.
Sudheer Shanka [Sat, 18 Feb 2017 03:12:11 +0000 (19:12 -0800)]
Notify NPMS when uid becomes active or idle.

We used to notify for these events but this got
regressed in ag/1829603.

Bug: 35523062
Test: manual
Change-Id: I05e1517384f1436ee07094cdc6c3a339941f75ff

7 years agoMerge "[DO NOT MERGE] The system can post notifications for any package" into nyc...
TreeHugger Robot [Tue, 21 Feb 2017 19:46:50 +0000 (19:46 +0000)]
Merge "[DO NOT MERGE] The system can post notifications for any package" into nyc-mr2-dev

7 years agoMerge "Fixed issues with child windows been IME targets"
TreeHugger Robot [Tue, 21 Feb 2017 19:44:45 +0000 (19:44 +0000)]
Merge "Fixed issues with child windows been IME targets"

7 years agoSend LOGIN_ACCOUNTS_CHANGED broadcast to manifest receivers
Christopher Tate [Tue, 21 Feb 2017 19:41:55 +0000 (11:41 -0800)]
Send LOGIN_ACCOUNTS_CHANGED broadcast to manifest receivers

Bug 35627018

Change-Id: I8255cbe0deff847a2feac4ea41d4a12902615caf

7 years agoMerge "Overhaul GraphicsStatsService"
TreeHugger Robot [Tue, 21 Feb 2017 19:23:43 +0000 (19:23 +0000)]
Merge "Overhaul GraphicsStatsService"

7 years agoAdd metrics for default assist/voice input pickers
Fan Zhang [Fri, 17 Feb 2017 20:05:48 +0000 (12:05 -0800)]
Add metrics for default assist/voice input pickers

Bug: 35203386
Test: Builds
Change-Id: Ic131eacfec84e79bcc3734f8f56b8e9848672e9b

7 years agoMerge changes I670fe942,I87eaf866,I4a729457
Rob Carr [Tue, 21 Feb 2017 19:04:06 +0000 (19:04 +0000)]
Merge changes I670fe942,I87eaf866,I4a729457

* changes:
  Pinned stack animation: Fix inset logic.
  Pinned stack animation: Trigger window preservation when dropping shadows.
  Pinned stack animation: Prevent window preservation during animation.

7 years agoMerge "Pinned stack animation: Correct scaling calculations."
Rob Carr [Tue, 21 Feb 2017 19:02:08 +0000 (19:02 +0000)]
Merge "Pinned stack animation: Correct scaling calculations."

7 years agoMerge "Pinned stack animation: Also clear finalClipRect."
Rob Carr [Tue, 21 Feb 2017 19:01:18 +0000 (19:01 +0000)]
Merge "Pinned stack animation: Also clear finalClipRect."

7 years agoMerge "TIF: fix NPE caused by invalid component name"
Conrad Chen [Tue, 21 Feb 2017 18:59:59 +0000 (18:59 +0000)]
Merge "TIF: fix NPE caused by invalid component name"

7 years agoMerge "Fixing NPE when there is no running activity."
TreeHugger Robot [Tue, 21 Feb 2017 18:52:21 +0000 (18:52 +0000)]
Merge "Fixing NPE when there is no running activity."

7 years agoClear cache space when allocating bytes.
Jeff Sharkey [Tue, 21 Feb 2017 17:51:23 +0000 (10:51 -0700)]
Clear cache space when allocating bytes.

Fleshes out remainder of allocation implementation, where we offer
to clear cached data to satisfy the allocation request.  To prevent
abuse, we never let apps allocate into either the minimum cache space
or low storage space.

Clean up quota APIs to require the caller to pass in the path they're
interested in, and we resolve the underlying filesystem for them.

Defines settings that can be used to tweak the minimum cache space.

Test: builds, boots
Bug: 34690590
Change-Id: I85bc07399f91ee4aa568a8a54c615646bf748ad4

7 years agoMerge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks" am:...
Peter Qiu [Tue, 21 Feb 2017 18:47:34 +0000 (18:47 +0000)]
Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks" am: b13de64a11 am: bedf92ed24
am: 763d6ab49b  -s ours

Change-Id: I2af0b7dc0a2048bb5d357080526668f2f3ffb5ef

7 years agoFix sysui crashing on profile-only app open
Jason Monk [Tue, 21 Feb 2017 18:45:36 +0000 (13:45 -0500)]
Fix sysui crashing on profile-only app open

Missing not installed flag.

Test: Launch app only installed on a profile
Change-Id: Ibbebe0cdeb71168aa7ce5c072eb2b3f4de8f9231
Fixes: 35618441

7 years agoMerge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks" am:...
Peter Qiu [Tue, 21 Feb 2017 18:43:11 +0000 (18:43 +0000)]
Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks" am: b13de64a11
am: bedf92ed24

Change-Id: Ibcbc93be7e0294e6a06976a6222adc8fe95582e7

7 years agoMerge "Add statusLabel in BatteryInfo"
Lei Yu [Tue, 21 Feb 2017 18:40:49 +0000 (18:40 +0000)]
Merge "Add statusLabel in BatteryInfo"

7 years agoMerge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks"
Peter Qiu [Tue, 21 Feb 2017 18:39:01 +0000 (18:39 +0000)]
Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks"
am: b13de64a11

Change-Id: I0e45cb17f11e8991d0d2c58cf7630f1e33296d97

7 years agoMerge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks"
Treehugger Robot [Tue, 21 Feb 2017 18:22:38 +0000 (18:22 +0000)]
Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks"

7 years agoMerge "Move wifi.proto to shared service .jar" am: 9ca5ddff4c am: d0dcf559c5
Glen Kuhne [Tue, 21 Feb 2017 18:14:22 +0000 (18:14 +0000)]
Merge "Move wifi.proto to shared service .jar" am: 9ca5ddff4c am: d0dcf559c5
am: f231c62802  -s ours

Change-Id: I78421f235461a8534c2b2995873f25b3c86121e8

7 years agoMerge "Reinstate USER_PRESENT for ConnectivityService" am: 2c8229456a am: 433631edfe
Robin Lee [Tue, 21 Feb 2017 18:13:12 +0000 (18:13 +0000)]
Merge "Reinstate USER_PRESENT for ConnectivityService" am: 2c8229456a am: 433631edfe
am: 4d00a13c35

Change-Id: Id22859b30b848418cbc1bcf46c74ebd2aa88cd06

7 years agoMerge "Don't request information on unregistered callbacks" am: 14e3db3de5 am: 042be0bd84
Erik Kline [Tue, 21 Feb 2017 18:12:07 +0000 (18:12 +0000)]
Merge "Don't request information on unregistered callbacks" am: 14e3db3de5 am: 042be0bd84
am: 507feec43a

Change-Id: I9d43269d4b3d3c61110a0ce07cb3cf8cd200aab6

7 years agoMerge "Turned ENABLE_CPUSETS into runtime decision." am: d95aa50b18 am: 7eca8f7073
Isaac Chen [Tue, 21 Feb 2017 18:10:18 +0000 (18:10 +0000)]
Merge "Turned ENABLE_CPUSETS into runtime decision." am: d95aa50b18 am: 7eca8f7073
am: d60d606eba

Change-Id: Ib114f65ca5eee84dca7510866a15459334ec6460

7 years agoMerge "Move wifi.proto to shared service .jar" am: 9ca5ddff4c
Glen Kuhne [Tue, 21 Feb 2017 18:06:31 +0000 (18:06 +0000)]
Merge "Move wifi.proto to shared service .jar" am: 9ca5ddff4c
am: d0dcf559c5

Change-Id: I7c0095922c87073732f29b623aee2d99608511cf

7 years agoMerge "Reinstate USER_PRESENT for ConnectivityService" am: 2c8229456a
Robin Lee [Tue, 21 Feb 2017 18:05:37 +0000 (18:05 +0000)]
Merge "Reinstate USER_PRESENT for ConnectivityService" am: 2c8229456a
am: 433631edfe

Change-Id: I2c5b9061435e17d8319a3109e28fa2a1b6f75154

7 years agoMerge "Don't request information on unregistered callbacks" am: 14e3db3de5
Erik Kline [Tue, 21 Feb 2017 18:04:38 +0000 (18:04 +0000)]
Merge "Don't request information on unregistered callbacks" am: 14e3db3de5
am: 042be0bd84

Change-Id: Idd102961c422be5c94e4bf92c3aaae7f660f4313

7 years agoMerge "Turned ENABLE_CPUSETS into runtime decision." am: d95aa50b18
Isaac Chen [Tue, 21 Feb 2017 18:02:59 +0000 (18:02 +0000)]
Merge "Turned ENABLE_CPUSETS into runtime decision." am: d95aa50b18
am: 7eca8f7073

Change-Id: I96e38dc38e372a27990b9cd1bda9f04676f13eb8

7 years agoMerge "Move wifi.proto to shared service .jar"
Glen Kuhne [Tue, 21 Feb 2017 17:56:13 +0000 (17:56 +0000)]
Merge "Move wifi.proto to shared service .jar"
am: 9ca5ddff4c

Change-Id: I3c10728fdbcd2882723a1bd519a47a63aeba0ac0

7 years agoMerge "Reinstate USER_PRESENT for ConnectivityService"
Robin Lee [Tue, 21 Feb 2017 17:55:07 +0000 (17:55 +0000)]
Merge "Reinstate USER_PRESENT for ConnectivityService"
am: 2c8229456a

Change-Id: If8b7239cdabdd79d9ea24baf99e95c6ec1a9acf3

7 years agoMerge "Don't request information on unregistered callbacks"
Erik Kline [Tue, 21 Feb 2017 17:54:13 +0000 (17:54 +0000)]
Merge "Don't request information on unregistered callbacks"
am: 14e3db3de5

Change-Id: I99bf9b6a092318cf5183b18d25bda36f9977ce4e

7 years agoMerge "Turned ENABLE_CPUSETS into runtime decision."
Isaac Chen [Tue, 21 Feb 2017 17:52:22 +0000 (17:52 +0000)]
Merge "Turned ENABLE_CPUSETS into runtime decision."
am: d95aa50b18

Change-Id: Ie31a736b2edd33c1cebbc08fbc39b555d501a349

7 years agoOverhaul GraphicsStatsService
John Reck [Thu, 19 Jan 2017 23:56:21 +0000 (15:56 -0800)]
Overhaul GraphicsStatsService

* LRU cache of recently-used is dead, replaced
  disk storage
* ASHMEM size is read from native by the system service,
  no longer requires keeping a sizeof() in sync with a
  constant in Java
* Supports dumping in proto format by passing --proto
* Rotates logs on a daily basis
* Keeps a history of the most recent 3 days

Bug: 33705836
Test: Manual. Verified log rotating works by setting it up to
rotate every minute instead of day. Confirmed /data/system/graphicsstats
only has the most recent 3 entries after several minutes

Change-Id: Ib84bafb26c58701cc86f123236de4fff01aaa4aa

7 years agoMerge "First pass at adding the cache quota suggestions."
Daniel Nishi [Tue, 21 Feb 2017 17:37:55 +0000 (17:37 +0000)]
Merge "First pass at adding the cache quota suggestions."

7 years agoMerge "Add developer setting to set the default GPU renderer."
Derek Sollenberger [Tue, 21 Feb 2017 17:37:35 +0000 (17:37 +0000)]
Merge "Add developer setting to set the default GPU renderer."

7 years agoMerge "Disable buffer age swap behavior for SkiaGL on Adreno gpus"
Derek Sollenberger [Tue, 21 Feb 2017 17:37:35 +0000 (17:37 +0000)]
Merge "Disable buffer age swap behavior for SkiaGL on Adreno gpus"

7 years agoMerge "Move wifi.proto to shared service .jar"
Glen Kuhne [Tue, 21 Feb 2017 17:27:03 +0000 (17:27 +0000)]
Merge "Move wifi.proto to shared service .jar"

7 years agoSettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks
Peter Qiu [Wed, 1 Feb 2017 19:49:15 +0000 (11:49 -0800)]
SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks

Previously, we were using provider name as the "SSID" for
Passpoint networks, and use it to compare against real SSIDs,
which obvious doesn't match.  So fix it.

Also removed the Passpoint specific logics in WifiTracker for
tracking Passpoint networks, since there shouldn't any
difference in tracking Passpoint APs and normal APs.

Additional work is still needed for managing installed
Passpoint configurations in the "Saved networks" page,
and it is being tracked by b/34207710. The Passpoint configuration
is not an "Access Point" per se, it is a network profile.

Bug: 34455883
Test: Install a Globla Reach Passpoint profile on a bullhead,
      verify device auto connects to a Global Reach AP and UI
      (QS, QS+, and Settings) correctly reflects it.

Change-Id: I63e66f683f8cb96e664516b130f5e7bc02358a10
Merged-In: I63e66f683f8cb96e664516b130f5e7bc02358a10

7 years agoMerge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks"
TreeHugger Robot [Tue, 21 Feb 2017 17:20:09 +0000 (17:20 +0000)]
Merge "SettingsLib: wifi: Fixed AccessPoint tracking for Passpoint networks"

7 years agoMerge "Add more instrumentation to BackupManager."
Stefano Tommasini [Tue, 21 Feb 2017 17:08:06 +0000 (17:08 +0000)]
Merge "Add more instrumentation to BackupManager."

7 years agoMerge "Move settings backup into separate class again"
Bryan Mawhinney [Tue, 21 Feb 2017 15:56:50 +0000 (15:56 +0000)]
Merge "Move settings backup into separate class again"

7 years agoMerge "Set MockView.setGravity to public"
Diego Perez [Tue, 21 Feb 2017 15:20:15 +0000 (15:20 +0000)]
Merge "Set MockView.setGravity to public"

7 years agoMerge "Ensure transactions cannot be run during controller state change"
George Mount [Tue, 21 Feb 2017 15:19:00 +0000 (15:19 +0000)]
Merge "Ensure transactions cannot be run during controller state change"

7 years agoMerge "Show policy transparency dialog after failed screenshot"
Philipp Weiß [Tue, 21 Feb 2017 15:13:51 +0000 (15:13 +0000)]
Merge "Show policy transparency dialog after failed screenshot"

7 years agoMerge "Reinstate USER_PRESENT for ConnectivityService"
Treehugger Robot [Tue, 21 Feb 2017 13:23:40 +0000 (13:23 +0000)]
Merge "Reinstate USER_PRESENT for ConnectivityService"

7 years agoMerge "Add support for aapt:attr attributes"
Diego Perez [Tue, 21 Feb 2017 12:55:10 +0000 (12:55 +0000)]
Merge "Add support for aapt:attr attributes"

7 years agoAdd more instrumentation to BackupManager.
Stefanot [Tue, 21 Feb 2017 10:48:18 +0000 (10:48 +0000)]
Add more instrumentation to BackupManager.

This CL continues work of: ag/1835775 and ag/1870141 adding a few more
logging constans described here:
https://docs.google.com/document/d/1sUboR28LjkT1wRXOwVOV3tLo0qisiCvzxIGmzCVEjbI/edit#

Test: manual

BUG: 34873525
Change-Id: I8c81d8cfea5538e89de94919062eeff6ae09dce4

7 years agoMove settings backup into separate class again
Bryan Mawhinney [Tue, 21 Feb 2017 10:58:23 +0000 (10:58 +0000)]
Move settings backup into separate class again

This reverts commit 871f47c2200b58e06f97c0bc1e5f99f412692857,
fixes the blacklist and enables @Presubmit.  Also removes
unnecessary @TargetApi.

Test: run FrameworksCoreTests
Change-Id: I20176b4585d25a023389b3af6fbff63fca432548

7 years agoMerge "Revert "Move settings backup tests to own class""
Bryan Mawhinney [Tue, 21 Feb 2017 10:52:59 +0000 (10:52 +0000)]
Merge "Revert "Move settings backup tests to own class""

7 years agoRevert "Move settings backup tests to own class"
Bryan Mawhinney [Tue, 21 Feb 2017 10:51:00 +0000 (10:51 +0000)]
Revert "Move settings backup tests to own class"

This reverts commit a990c74b2a45a1bcc7fd3683d67009b73a24ed48.

Change-Id: I0b1bef2af10ba9b3499c69764fed125b8a25b3e9

7 years agoSet MockView.setGravity to public
Diego Perez [Tue, 21 Feb 2017 10:40:39 +0000 (10:40 +0000)]
Set MockView.setGravity to public

The method is used from Studio so it needs to be public.

Test: N/A
Change-Id: I603de9ae0c8b719f5173eff152cc2558f734017e

7 years agoMerge "Move settings backup tests to own class"
Bryan Mawhinney [Tue, 21 Feb 2017 10:14:55 +0000 (10:14 +0000)]
Merge "Move settings backup tests to own class"

7 years agoMerge "Don't request information on unregistered callbacks"
Erik Kline [Tue, 21 Feb 2017 09:54:04 +0000 (09:54 +0000)]
Merge "Don't request information on unregistered callbacks"

7 years agoMerge "PackageParser: String interning fixes."
Narayan Kamath [Tue, 21 Feb 2017 09:47:04 +0000 (09:47 +0000)]
Merge "PackageParser: String interning fixes."

7 years agoAdd support for aapt:attr attributes
Diego Perez [Mon, 21 Nov 2016 17:01:50 +0000 (17:01 +0000)]
Add support for aapt:attr attributes

Test: Tested from the studio side
Change-Id: Id506801f53cfc976c7352bd7f9632804862668b7

7 years agoMerge "Fix BridgeContext.resolveThemeAttribute color parsing"
Diego Perez [Tue, 21 Feb 2017 09:30:00 +0000 (09:30 +0000)]
Merge "Fix BridgeContext.resolveThemeAttribute color parsing"

7 years agoDon't request information on unregistered callbacks
Erik Kline [Tue, 21 Feb 2017 07:21:46 +0000 (16:21 +0900)]
Don't request information on unregistered callbacks

Test: as follows
    - build (bullhead)
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131
Bug: 35608572
Change-Id: I489e510ac131a7a624a652b12165104202a49f85

7 years agoFixed issues with child windows been IME targets
Wale Ogunwale [Sun, 19 Feb 2017 19:57:53 +0000 (11:57 -0800)]
Fixed issues with child windows been IME targets

- Fixed issue with WindowState.getWindow() returning the parent window before
its children with positive sub-layers. Positive sub-layer children should be
returned first, then the parent window, and then negative sub-layer children.
This was causing the the parent window to be selected as the IME target
instead of the child on-top of it since they both can be IME targets and the
parent window was returned first.
- Fixed issue with WindowState.forAllWindow() not returning the IME window if
the current IME target is a child window.
- Add test WindowStateTest.testGetWindow(),
DisplayContentTests.testForAllWindows_WithChildWindowImeTarget(), and
DisplayContentTests.testComputeImeTarget() to cover the failing cases.

Change-Id: I0c93e0344601fc870011e8a8d84528f62b0a2a06
Fixes: 34786357
Fixes: 34306127
Fixes: 34711958
Fixes: 35362942
Test: bit FrameworksServicesTests:com.android.server.wm.WindowStateTests
Test: bit FrameworksServicesTests:com.android.server.wm.DisplayContentTests

7 years agoMerge "Turned ENABLE_CPUSETS into runtime decision."
Isaac Chen [Tue, 21 Feb 2017 02:05:22 +0000 (02:05 +0000)]
Merge "Turned ENABLE_CPUSETS into runtime decision."

7 years agoGraphics: Make SurfaceTexture compile-time initializable
Andreas Gampe [Tue, 21 Feb 2017 00:18:24 +0000 (16:18 -0800)]
Graphics: Make SurfaceTexture compile-time initializable

Ensure that all static initializer code can be executed in the
compiler. Move native field caching into the native method
registration function.

Bug: 34956610
Test: m
Test: Device boots (Pixel)
Change-Id: Icf68c8fbadcaaa133a152942a3a7ba7aba84a1df

7 years agoMerge "Suppress RescueParty when active USB connection."
TreeHugger Robot [Mon, 20 Feb 2017 20:08:29 +0000 (20:08 +0000)]
Merge "Suppress RescueParty when active USB connection."

7 years agoMerge "Guard against possible AMS/PMS deadlock."
TreeHugger Robot [Mon, 20 Feb 2017 19:57:19 +0000 (19:57 +0000)]
Merge "Guard against possible AMS/PMS deadlock."

7 years agoMerge "Use requesting userId for ApplicationInfo lookup"
Chad Brubaker [Mon, 20 Feb 2017 19:50:35 +0000 (19:50 +0000)]
Merge "Use requesting userId for ApplicationInfo lookup"