OSDN Git Service

android-x86/frameworks-base.git
5 years agoReconcile logging of blocking helper and manual notification management.
Will Brockman [Wed, 30 Jan 2019 15:59:36 +0000 (10:59 -0500)]
Reconcile logging of blocking helper and manual notification management.

Unify on ACTION_NOTE_CONTROLS for opening of a NotificationInfo, with
subtype to distinguish whether it's for BlockingHelper or not.

In the non-blocking-helper case, don't log user clicks, just the
action. We can come back to this, but the logs are currently
inaccurate and they aren't essential.

Bug: 123519980
Change-Id: I9189d52f9bd20126b0df5568c8be264107d569b3
Test: atest SystemUITests and manual testing.

5 years agoMerge "Add privacy platform flags."
TreeHugger Robot [Tue, 29 Jan 2019 19:00:10 +0000 (19:00 +0000)]
Merge "Add privacy platform flags."

5 years agoMerge "new API for IMS call fail cause"
Chen Xu [Tue, 29 Jan 2019 18:37:10 +0000 (18:37 +0000)]
Merge "new API for IMS call fail cause"

5 years agoMerge "WifiNetworkConfigBuilder: Split into 2 separate builders"
Roshan Pius [Tue, 29 Jan 2019 18:25:21 +0000 (18:25 +0000)]
Merge "WifiNetworkConfigBuilder: Split into 2 separate builders"

5 years agoMerge "Fixed NPE on MainContentCaptureSession.handleFlushIfNeeded"
TreeHugger Robot [Tue, 29 Jan 2019 18:24:33 +0000 (18:24 +0000)]
Merge "Fixed NPE on MainContentCaptureSession.handleFlushIfNeeded"

5 years agoMerge "Merge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1...
Android Build Merger (Role) [Tue, 29 Jan 2019 18:23:58 +0000 (18:23 +0000)]
Merge "Merge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into pi-dev-plus-aosp am: 894ee44b53"

5 years agoWifiNetworkConfigBuilder: Split into 2 separate builders
Roshan Pius [Fri, 25 Jan 2019 16:33:48 +0000 (08:33 -0800)]
WifiNetworkConfigBuilder: Split into 2 separate builders

Split the existing WifiNetworkConfigBuilder into 2 separate builders,
one for building WifiNetworkSuggestion and one for WifiNetworkSpecifier.

Other changes in the CL:
a) Marked the constructor of the abstract NetworkSpecifier class public
to allow WifiNetworkSpecifier.Builder() (& hence WifiNetworkSpecifier) to
be public. The alternative is to put the builder for WifiNetworkSpecifier
in some other file (like WifiManager)
b) Mark WifiNetworkSpecifier class public to make it's builder visible.
c) Modify the documentation (& usage example) for WifiNetworkSpecifier
builder to explicitly call out that this can only be used for a local
wifi connection (i.e no internet capability).

Bug: 123313291
Test: ./frameworks/base/wifi/tests/runtests.sh
Test: make docs
Change-Id: I1a5fcff886124010222e112dbca92797a514b6d9

5 years agoMerge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into...
Michele Berionne [Tue, 29 Jan 2019 18:23:17 +0000 (10:23 -0800)]
Merge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into pi-dev-plus-aosp
am: 894ee44b53

Change-Id: I9e90faa04a0da3bcbbbdbc7e96f322540434bc64

5 years agoMerge "Moved Content Capture settings to DeviceConfig."
TreeHugger Robot [Tue, 29 Jan 2019 18:22:07 +0000 (18:22 +0000)]
Merge "Moved Content Capture settings to DeviceConfig."

5 years agoMerge "Define more thresholds for opportunistic data"
Sooraj Sasindran [Tue, 29 Jan 2019 18:19:18 +0000 (18:19 +0000)]
Merge "Define more thresholds for opportunistic data"

5 years agoMerge "Support a ring buffer or a queue to store window manager traces"
TreeHugger Robot [Tue, 29 Jan 2019 18:10:38 +0000 (18:10 +0000)]
Merge "Support a ring buffer or a queue to store window manager traces"

5 years agoMerge "Fix LauncherApps.isActivityEnalbed()"
Makoto Onuki [Tue, 29 Jan 2019 18:01:05 +0000 (18:01 +0000)]
Merge "Fix LauncherApps.isActivityEnalbed()"

5 years ago[automerger skipped] Merge "[DO NOT MERGE]Add check for slot index value" into pi...
Andy Chou [Tue, 29 Jan 2019 17:51:12 +0000 (09:51 -0800)]
[automerger skipped] Merge "[DO NOT MERGE]Add check for slot index value" into pi-dev am: dbf0f79d4a -s ours
am: 8c8249d1ac -s ours
am skip reason: subject contains skip directive

Change-Id: I7688e90ce2a3a661ba7bcc6ef9d824722ed23f72

5 years agoMerge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into...
Android Build Merger (Role) [Tue, 29 Jan 2019 17:45:39 +0000 (17:45 +0000)]
Merge "Merge "Add check for slot index value" am: d8148b6c8c am: e7d03a6ff1" into pi-dev-plus-aosp

5 years agoMerge "Add check for slot index value" am: d8148b6c8c
Michele Berionne [Tue, 29 Jan 2019 17:45:09 +0000 (09:45 -0800)]
Merge "Add check for slot index value" am: d8148b6c8c
am: e7d03a6ff1

Change-Id: I57c57b70484ec0c08bcd7b02e880fbe28e2cde9e

5 years ago[automerger skipped] Merge "[DO NOT MERGE]Add check for slot index value" into pi-dev
Andy Chou [Tue, 29 Jan 2019 17:43:53 +0000 (09:43 -0800)]
[automerger skipped] Merge "[DO NOT MERGE]Add check for slot index value" into pi-dev
am: dbf0f79d4a -s ours
am skip reason: SHA1 dbf0f79d4a skipped by user mberionne

Change-Id: I74f89c391a079b57a36ed79a97c63f5e96e8d7c3

5 years agoMerge "Use a specific theme for the car user switching dialog."
TreeHugger Robot [Tue, 29 Jan 2019 17:43:30 +0000 (17:43 +0000)]
Merge "Use a specific theme for the car user switching dialog."

5 years agoMerge "Add check for slot index value"
Michele Berionne [Tue, 29 Jan 2019 17:34:53 +0000 (09:34 -0800)]
Merge "Add check for slot index value"
am: d8148b6c8c

Change-Id: I33be18a2fb8b3e35e521bdea28354ba1b7daa5b9

5 years agoMerge "Add check for slot index value"
Michele Berionne [Tue, 29 Jan 2019 17:25:17 +0000 (17:25 +0000)]
Merge "Add check for slot index value"

5 years agoMerge "Fix job scheduler constant"
Makoto Onuki [Tue, 29 Jan 2019 17:23:22 +0000 (17:23 +0000)]
Merge "Fix job scheduler constant"

5 years agoMerge "passpoint-r2: set CA certificate for remediation server"
Ecco Park [Tue, 29 Jan 2019 17:18:41 +0000 (17:18 +0000)]
Merge "passpoint-r2: set CA certificate for remediation server"

5 years agoMerge "audio: Fix NULL check"
Greg Kaiser [Tue, 29 Jan 2019 17:12:02 +0000 (17:12 +0000)]
Merge "audio: Fix NULL check"

5 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 29 Jan 2019 16:57:23 +0000 (16:57 +0000)]
Merge "Import translations. DO NOT MERGE"

5 years agoMerge "Bring more visibility logic from stack to activity."
TreeHugger Robot [Tue, 29 Jan 2019 16:53:03 +0000 (16:53 +0000)]
Merge "Bring more visibility logic from stack to activity."

5 years agoMerge "Merge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3 am: f9cd2cb7...
Android Build Merger (Role) [Tue, 29 Jan 2019 16:43:54 +0000 (16:43 +0000)]
Merge "Merge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3 am: f9cd2cb759 am: ea23830f1b"

5 years agoMerge "Non-framework location management - remove roaming handling"
Anil Admal [Tue, 29 Jan 2019 16:43:33 +0000 (16:43 +0000)]
Merge "Non-framework location management - remove roaming handling"

5 years agoMerge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3 am: f9cd2cb759
Adrian Roos [Tue, 29 Jan 2019 16:43:16 +0000 (08:43 -0800)]
Merge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3 am: f9cd2cb759
am: ea23830f1b

Change-Id: Ifaf2deff0451455d26a3301354753b751c3b464d

5 years agoMerge "Support Slices in Settings Search"
TreeHugger Robot [Tue, 29 Jan 2019 16:40:57 +0000 (16:40 +0000)]
Merge "Support Slices in Settings Search"

5 years agoMerge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3
Adrian Roos [Tue, 29 Jan 2019 16:33:45 +0000 (08:33 -0800)]
Merge "apilint: Allow parsing 3.0 signature files" am: 34b11c92b3
am: f9cd2cb759

Change-Id: I0ef6e376da489473f777cbc8abf43c0381a9376c

5 years agoMerge "[DPP] Add metrics"
Hai Shalom [Tue, 29 Jan 2019 16:33:36 +0000 (16:33 +0000)]
Merge "[DPP] Add metrics"

5 years agoMerge "apilint: Allow parsing 3.0 signature files"
Adrian Roos [Tue, 29 Jan 2019 16:23:14 +0000 (08:23 -0800)]
Merge "apilint: Allow parsing 3.0 signature files"
am: 34b11c92b3

Change-Id: I0cc45b11f079c7a0d383b49e74d55658a8915d71

5 years agoMerge "[Blocking Helper logs] Modify blocking helper to category"
Will Brockman [Tue, 29 Jan 2019 16:18:21 +0000 (16:18 +0000)]
Merge "[Blocking Helper logs] Modify blocking helper to category"

5 years agoMerge "Fix the test format."
TreeHugger Robot [Tue, 29 Jan 2019 16:18:12 +0000 (16:18 +0000)]
Merge "Fix the test format."

5 years agoMerge "apilint: Allow parsing 3.0 signature files"
Adrian Roos [Tue, 29 Jan 2019 16:05:21 +0000 (16:05 +0000)]
Merge "apilint: Allow parsing 3.0 signature files"

5 years agoMerge "Initialise hidden api usage logger pre-fork"
Andrei-Valentin Onea [Tue, 29 Jan 2019 15:31:14 +0000 (15:31 +0000)]
Merge "Initialise hidden api usage logger pre-fork"

5 years agoMerge "Specify status results for RollbackManager.commitRollback."
TreeHugger Robot [Tue, 29 Jan 2019 15:25:38 +0000 (15:25 +0000)]
Merge "Specify status results for RollbackManager.commitRollback."

5 years agoMerge "Log notification location when a notification action is clicked."
TreeHugger Robot [Tue, 29 Jan 2019 15:19:28 +0000 (15:19 +0000)]
Merge "Log notification location when a notification action is clicked."

5 years ago[automerger skipped] Merge "Revert "Extract network observer code from NetworkManagem...
Remi NGUYEN VAN [Tue, 29 Jan 2019 15:17:06 +0000 (07:17 -0800)]
[automerger skipped] Merge "Revert "Extract network observer code from NetworkManagementService."" am: 9fdc6d2963 am: 04f4e4ed88
am: 1c073368f5 -s ours
am skip reason: change_id Ib4e7da3274e49f25676505a08e6ce7e7b0dfdb8d with SHA1 9ebc3fc82f is in history

Change-Id: If41fd9c044de94607c60ddf7684dd683034c560c

5 years agoMerge "Frameworks: Add APEX e2e tests to presubmit"
TreeHugger Robot [Tue, 29 Jan 2019 15:03:18 +0000 (15:03 +0000)]
Merge "Frameworks: Add APEX e2e tests to presubmit"

5 years agoMerge "[Multi-user] Schedule full backup jobs immediately"
Annie Meng [Tue, 29 Jan 2019 15:00:14 +0000 (15:00 +0000)]
Merge "[Multi-user] Schedule full backup jobs immediately"

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService."" am...
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:59:13 +0000 (06:59 -0800)]
Merge "Revert "Extract network observer code from NetworkManagementService."" am: 9fdc6d2963
am: 04f4e4ed88

Change-Id: I75e37fb6e8681b2f64831ddc2dade382426e4859

5 years agoMerge "reset path before append glyph outlines, to match old SkPaint behavior"
TreeHugger Robot [Tue, 29 Jan 2019 14:52:16 +0000 (14:52 +0000)]
Merge "reset path before append glyph outlines, to match old SkPaint behavior"

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService.""
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:47:16 +0000 (06:47 -0800)]
Merge "Revert "Extract network observer code from NetworkManagementService.""
am: 9fdc6d2963

Change-Id: Ib4a7b32a143b3c8f029ccd92191494cd9579e8bd

5 years agoaudio: Fix NULL check
Greg Kaiser [Tue, 29 Jan 2019 14:37:11 +0000 (06:37 -0800)]
audio: Fix NULL check

We already know jAudioAttributeArray is non-NULL (or else we'd
crash when dereferencing it).  We really want to check if the
contents of jAudioAttributeArray is NULL or not, so we fix this
check.

Test: TreeHugger
Change-Id: I956d99fe608f5e1b9cd0bc3e7c4075e343a6b5ab

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService.""
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:30:56 +0000 (14:30 +0000)]
Merge "Revert "Extract network observer code from NetworkManagementService.""

5 years ago[Blocking Helper logs] Modify blocking helper to category
Eyal Posener [Thu, 24 Jan 2019 07:54:08 +0000 (09:54 +0200)]
[Blocking Helper logs] Modify blocking helper to category

Remove MetricsEvent.NOTIFICATION_ITEM from log category,
and use the NOTIFICATION_BLOCKING_HELPER constant as the log
category.

Bug: 112482290
Test: atest SystemUITests and manual testing.

Change-Id: I8a119f625c81df2bbdd30fc9f3e4d3a2ad478ac2

5 years agoMerge "Add microphone pemrission on default to content catprue service package"
Nadav Bar [Tue, 29 Jan 2019 14:14:54 +0000 (14:14 +0000)]
Merge "Add microphone pemrission on default to content catprue service package"

5 years agoapilint: Allow parsing 3.0 signature files
Adrian Roos [Tue, 29 Jan 2019 14:01:28 +0000 (15:01 +0100)]
apilint: Allow parsing 3.0 signature files

Test: python apilint_test.py
Change-Id: I59df950229c05329afde93f94efc13adb4640ad7

5 years agoreset path before append glyph outlines, to match old SkPaint behavior
Mike Reed [Tue, 29 Jan 2019 13:07:50 +0000 (08:07 -0500)]
reset path before append glyph outlines, to match old SkPaint behavior

Bug: 123503704
Bug: 123541872
Test: make and open Maps

Change-Id: I2fed9518e84bcd8124b9a8da1b16f3f06246c1e1

5 years agoSpecify status results for RollbackManager.commitRollback.
Richard Uhler [Mon, 28 Jan 2019 17:33:48 +0000 (17:33 +0000)]
Specify status results for RollbackManager.commitRollback.

Rather than implicitly reusing the PackageInstaller status codes.

Bug: 112431924
Test: atest RollbackTest
Change-Id: I86929c0c1a5153c7f58e255e104b30fe96ddeca8

5 years agoLog notification location when a notification action is clicked.
Gustav Sennton [Mon, 28 Jan 2019 21:09:54 +0000 (21:09 +0000)]
Log notification location when a notification action is clicked.

Bug: 120767764
Test: press a smart action from notification shade, and one from a
heads-up notification to ensure the correct notification locations are
logged.
Change-Id: I2fb10bec9c0c1da0807581a0337f8f6b1adc620e

5 years agoMerge "Add a way to record causePackages for rollbacks."
TreeHugger Robot [Tue, 29 Jan 2019 13:17:22 +0000 (13:17 +0000)]
Merge "Add a way to record causePackages for rollbacks."

5 years agoMerge "Revert "Extract network observer code from NetworkManagementService.""
TreeHugger Robot [Tue, 29 Jan 2019 13:08:35 +0000 (13:08 +0000)]
Merge "Revert "Extract network observer code from NetworkManagementService.""

5 years agoMerge "Foldables: Add IDisplayFoldListener"
TreeHugger Robot [Tue, 29 Jan 2019 12:38:10 +0000 (12:38 +0000)]
Merge "Foldables: Add IDisplayFoldListener"

5 years agoInitialise hidden api usage logger pre-fork
Andrei Onea [Fri, 25 Jan 2019 16:29:44 +0000 (16:29 +0000)]
Initialise hidden api usage logger pre-fork

Change-Id: I80f82092ef779a7dc1f1322cb7c05ebf5e59939b
Topic: hidden-api-reporting-upcall
Test: m
Bug: 119217680

5 years agoMerge "Move FdEventsReader to the shared area." am: 4a838a68d6 am: 06318332ef
Chalard Jean [Tue, 29 Jan 2019 12:34:56 +0000 (04:34 -0800)]
Merge "Move FdEventsReader to the shared area." am: 4a838a68d6 am: 06318332ef
am: 04c1e6533b

Change-Id: I6f08c2a2fb43ca34297a1e3289fca9da7cfe7213

5 years agoMerge "[DO NOT MERGE]Add check for slot index value" into pi-dev
Andy Chou [Tue, 29 Jan 2019 12:28:47 +0000 (12:28 +0000)]
Merge "[DO NOT MERGE]Add check for slot index value" into pi-dev

5 years agoMerge "Move FdEventsReader to the shared area." am: 4a838a68d6
Chalard Jean [Tue, 29 Jan 2019 12:20:52 +0000 (04:20 -0800)]
Merge "Move FdEventsReader to the shared area." am: 4a838a68d6
am: 06318332ef

Change-Id: I0f4418b73b455f9b37ae8f5b2ca1a19884c51ff9

5 years agoMerge "Run IpClientLinkObserver on Binder thread" am: f89a1cfd21 am: d91372e4cb
Remi NGUYEN VAN [Tue, 29 Jan 2019 12:14:30 +0000 (04:14 -0800)]
Merge "Run IpClientLinkObserver on Binder thread" am: f89a1cfd21 am: d91372e4cb
am: 8a308349e3

Change-Id: I099d14301ab5f92ff21741059d4213ea1b639ce7

5 years agoMerge "Move FdEventsReader to the shared area."
Chalard Jean [Tue, 29 Jan 2019 12:11:44 +0000 (04:11 -0800)]
Merge "Move FdEventsReader to the shared area."
am: 4a838a68d6

Change-Id: I27ecc795228c7bd91c8443a9ba3dad19d8010cf8

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo" am: 1e002eede3 am: dfa16fe772
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:53:19 +0000 (03:53 -0800)]
Merge "Add utils connect, setsockopt, bind, sendTo" am: 1e002eede3 am: dfa16fe772
am: 031e0aa44e

Change-Id: I7a1f7071d7b13b5e92fdf1af1686abdd8ceea3d6

5 years agoAdd microphone pemrission on default to content catprue service package
Nadav Bar [Thu, 10 Jan 2019 08:52:11 +0000 (10:52 +0200)]
Add microphone pemrission on default to content catprue service package

This is required for capturing playback audio for Tap2Captions. (Live
Captions).
Read the content capture service package name from the content capture
service name defined in the resources.

Change-Id: I6190e1eddf67a9f1d3d3718f61b22a0f235a05e9
Bug: 120408493
Test: manually that actions services has the permissions granted.

5 years agoMerge "Move FdEventsReader to the shared area."
Treehugger Robot [Tue, 29 Jan 2019 11:45:15 +0000 (11:45 +0000)]
Merge "Move FdEventsReader to the shared area."

5 years agoMerge "Run IpClientLinkObserver on Binder thread" am: f89a1cfd21
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:45:10 +0000 (03:45 -0800)]
Merge "Run IpClientLinkObserver on Binder thread" am: f89a1cfd21
am: d91372e4cb

Change-Id: Icd4bd866a14f3da2e74049fa8cda44bcbd5728f3

5 years agoMerge "Add NetworkUtils utilities to SystemApi" am: 9cc31061fe am: ca1d65e707
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:39:27 +0000 (03:39 -0800)]
Merge "Add NetworkUtils utilities to SystemApi" am: 9cc31061fe am: ca1d65e707
am: 08747c5ccb

Change-Id: Ib755bbfc5bb6bff4ada3995b70dfe8fc2d40b4f9

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo" am: 1e002eede3
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:34:23 +0000 (03:34 -0800)]
Merge "Add utils connect, setsockopt, bind, sendTo" am: 1e002eede3
am: dfa16fe772

Change-Id: Ib5ebe3134fb1d53581b9d91b4f4f142afb5e9fb3

5 years agoMerge "Add NetworkUtils utilities to SystemApi" am: 9cc31061fe
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:29:01 +0000 (03:29 -0800)]
Merge "Add NetworkUtils utilities to SystemApi" am: 9cc31061fe
am: ca1d65e707

Change-Id: I978bdb626c1f4c8bbe736c8bad1c74fb6a67b4b5

5 years agoMerge "Run IpClientLinkObserver on Binder thread"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:25:26 +0000 (03:25 -0800)]
Merge "Run IpClientLinkObserver on Binder thread"
am: f89a1cfd21

Change-Id: I13c2a2c9c03c26777eb9c57e0ec62eab3d2df7da

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:21:22 +0000 (03:21 -0800)]
Merge "Add utils connect, setsockopt, bind, sendTo"
am: 1e002eede3

Change-Id: Ida2a99f35affe3cb9213f71ba622ace51c4d6f57

5 years agoMerge "Add NetworkUtils utilities to SystemApi"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:17:41 +0000 (03:17 -0800)]
Merge "Add NetworkUtils utilities to SystemApi"
am: 9cc31061fe

Change-Id: I82f20718d86b08cd0916ee33300ca0ee734305a6

5 years agoMerge "Run IpClientLinkObserver on Binder thread"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:42 +0000 (11:07 +0000)]
Merge "Run IpClientLinkObserver on Binder thread"

5 years agoMerge "Add utils connect, setsockopt, bind, sendTo"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:20 +0000 (11:07 +0000)]
Merge "Add utils connect, setsockopt, bind, sendTo"

5 years agoMerge "Add NetworkUtils utilities to SystemApi"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:04 +0000 (11:07 +0000)]
Merge "Add NetworkUtils utilities to SystemApi"

5 years agoMerge "Game Driver: rename GUP to Game Driver"
TreeHugger Robot [Tue, 29 Jan 2019 10:51:26 +0000 (10:51 +0000)]
Merge "Game Driver: rename GUP to Game Driver"

5 years agoMerge "Foldables: Implement emulation for folded screen"
TreeHugger Robot [Tue, 29 Jan 2019 10:39:48 +0000 (10:39 +0000)]
Merge "Foldables: Implement emulation for folded screen"

5 years agoRevert "Extract network observer code from NetworkManagementService."
Remi NGUYEN VAN [Tue, 29 Jan 2019 04:03:38 +0000 (04:03 +0000)]
Revert "Extract network observer code from NetworkManagementService."

This reverts commit d8bc829a85c9c9bb390e18b59ef1455b6d0b94ec.

Reason for revert: Refactoring was unnecessary

Merged-In: Ib4e7da3274e49f25676505a08e6ce7e7b0dfdb8d
Change-Id: Iff332c680315b560f0b762c1d7311ec83d539115

5 years agoRevert "Extract network observer code from NetworkManagementService."
Remi NGUYEN VAN [Tue, 29 Jan 2019 10:12:13 +0000 (19:12 +0900)]
Revert "Extract network observer code from NetworkManagementService."

This reverts commit d8bc829a85c9c9bb390e18b59ef1455b6d0b94ec.

Reason for revert: Refactoring was unnecessary
(Cherry-pick of aosp/888319 with conflicts with go/ag/4230697)

Test: m
Change-Id: Ib4e7da3274e49f25676505a08e6ce7e7b0dfdb8d

5 years agoMerge "Remove IpClient usage of NetworkManagementService" am: 9fe79edfd2 am: 3af3f76129
Remi NGUYEN VAN [Tue, 29 Jan 2019 09:51:16 +0000 (01:51 -0800)]
Merge "Remove IpClient usage of NetworkManagementService" am: 9fe79edfd2 am: 3af3f76129
am: 117a843303

Change-Id: Idfb517c8665f813838ce312a8b67bd33656ce1e2

5 years agoMerge "uce: Updating UCE API to accept ICC-ID." am: d20bdb915a am: f0b1c48141
Gnaneshwar Gatla [Tue, 29 Jan 2019 09:42:48 +0000 (01:42 -0800)]
Merge "uce: Updating UCE API to accept ICC-ID." am: d20bdb915a am: f0b1c48141
am: 76557cc012

Change-Id: I2842a05e0cb9c867e8a1eb726fe8204e567a4d2f

5 years agoMerge "Fix issue in ValueMetricProducer where values are not reported"
Misha Wagner [Tue, 29 Jan 2019 09:36:17 +0000 (09:36 +0000)]
Merge "Fix issue in ValueMetricProducer where values are not reported"

5 years agoMerge "Disable view compilation for privileged apps" am: 3c496729de am: ff52af9cdd
Mathieu Chartier [Tue, 29 Jan 2019 09:35:34 +0000 (01:35 -0800)]
Merge "Disable view compilation for privileged apps" am: 3c496729de am: ff52af9cdd
am: b8b007cb65

Change-Id: Ib297b9c14fda2d49200661c7c6836c6242dfb11b

5 years agoMove FdEventsReader to the shared area.
Chalard Jean [Tue, 29 Jan 2019 09:30:03 +0000 (18:30 +0900)]
Move FdEventsReader to the shared area.

This is necessary both in the network stack app and the
framework.

Test: FrameworksNetTests
Change-Id: I48af0ab29405501f0581a6c0c9ce6e5d4a32c8b4

5 years ago[automerger skipped] Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist" am...
Kulwinder Singh [Tue, 29 Jan 2019 09:28:42 +0000 (01:28 -0800)]
[automerger skipped] Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist" am: 23b144eb40 am: 0e3645d84b
am: fc8a7159e0 -s ours
am skip reason: SHA1 fc8a7159e0 skipped by user robertchou

Change-Id: I7c91d97e83a8e087b78570ac30b578fd778779fb

5 years agoMerge "Remove IpClient usage of NetworkManagementService" am: 9fe79edfd2
Remi NGUYEN VAN [Tue, 29 Jan 2019 09:27:43 +0000 (01:27 -0800)]
Merge "Remove IpClient usage of NetworkManagementService" am: 9fe79edfd2
am: 3af3f76129

Change-Id: I56ab41ca39dc745554534f3e85f5fc4257cc902a

5 years agoAdd a way to record causePackages for rollbacks.
Richard Uhler [Mon, 28 Jan 2019 15:26:37 +0000 (15:26 +0000)]
Add a way to record causePackages for rollbacks.

By passing a new causePackages list of VersionedPackage to
commitRollback and adding a RollbackInfo.getCausePackages() method to
retrieve the cause packages for committed rollbacks.

Bug: 112431924
Test: atest RollbackTest
Change-Id: I3b52511fd7e31b6304e7a7c34180dbb4d20f6dbf

5 years agoMerge "Remove IpClient usage of NetworkManagementService"
Remi NGUYEN VAN [Tue, 29 Jan 2019 09:16:21 +0000 (01:16 -0800)]
Merge "Remove IpClient usage of NetworkManagementService"
am: 9fe79edfd2

Change-Id: Ia66a457d3cb73c92c97de025348724fa3f5cbc55

5 years agoFoldables: Add IDisplayFoldListener
Adrian Roos [Tue, 27 Nov 2018 14:11:46 +0000 (15:11 +0100)]
Foldables: Add IDisplayFoldListener

Include ag/5663399 to unregister display fold listener.

Bug: 123245311
Test: atest WmTests
Change-Id: I60776fddd4a671b7443cd33220271fed84503b27

5 years agoMerge "Remove IpClient usage of NetworkManagementService"
Remi NGUYEN VAN [Tue, 29 Jan 2019 08:58:32 +0000 (08:58 +0000)]
Merge "Remove IpClient usage of NetworkManagementService"

5 years agoAdd utils connect, setsockopt, bind, sendTo
Remi NGUYEN VAN [Tue, 29 Jan 2019 06:17:00 +0000 (15:17 +0900)]
Add utils connect, setsockopt, bind, sendTo

The utilities are not supported as public API but required as SystemApi
for the NetworkStack.

Test: flashed, boots, WiFi works
Bug: 112869080
Change-Id: Ia64b3bf9c6c33cf61bed76469ea9963b550bed2b

5 years agoMerge "Speed up Zygote connection retry."
Martijn Coenen [Tue, 29 Jan 2019 08:34:05 +0000 (08:34 +0000)]
Merge "Speed up Zygote connection retry."

5 years agoAdd NetworkUtils utilities to SystemApi
Remi NGUYEN VAN [Tue, 29 Jan 2019 03:08:43 +0000 (12:08 +0900)]
Add NetworkUtils utilities to SystemApi

attach*Filter and addArpEntry are necessary for the NetworkStack but are
only usable for apps that have system permissions.
Also includes system API for IpPrefix, LinkAddress, LinkProperties,
Network, and static modifier in ApfCapabilities that were missed in
previous CLs.

Test: Builds, flashed, WiFi works
Bug: 112869080
Change-Id: If141ae6a2f9145f5af64ba002ca44938f39b90a9

5 years agoFoldables: Implement emulation for folded screen
Adrian Roos [Sun, 14 Oct 2018 12:50:33 +0000 (14:50 +0200)]
Foldables: Implement emulation for folded screen

Include ag/5696684 to fix an issue where the folded state was not
properly applied if a display override was restored after boot.

Bug: 123245311
Test: adb root && adb shell setprop persist.debug.force_foldable true && adb shell stop && adb shell start; covering the proximity sensor will half the available display area.
Test: Fold, power off, unfold, power on, verify entire display is usable.
Test: atest WmTests
Change-Id: I4d1eda8e7796bf30549c1154e3e041f9520bea24

5 years agoRun IpClientLinkObserver on Binder thread
Remi NGUYEN VAN [Tue, 29 Jan 2019 07:46:48 +0000 (16:46 +0900)]
Run IpClientLinkObserver on Binder thread

This restores previous behavior, where callbacks would not be called on
the IpClient handler thread.

Test: atest FrameworksNetTests NetworkStackTests
Test: flashed, WiFi works
Bug: 123062477
Change-Id: I3015566b0922d76ac7cf70579a1de3e033bf7b4a

5 years ago[automerger skipped] Merge "new SystemAPI to getSimLocale" am: 5cf41e47fe am: 1b607c875f
Pengquan Meng [Tue, 29 Jan 2019 07:55:19 +0000 (23:55 -0800)]
[automerger skipped] Merge "new SystemAPI to getSimLocale" am: 5cf41e47fe am: 1b607c875f
am: 59691cc266 -s ours
am skip reason: change_id I8f78ba00abf0ef74bd2b2147755596edaee156cf with SHA1 108f948ffa is in history

Change-Id: I0e040ce7e13d67d8b805bc31988cf1ddb04abdfa

5 years agoMerge "uce: Updating UCE API to accept ICC-ID." am: d20bdb915a
Gnaneshwar Gatla [Tue, 29 Jan 2019 07:53:35 +0000 (23:53 -0800)]
Merge "uce: Updating UCE API to accept ICC-ID." am: d20bdb915a
am: f0b1c48141

Change-Id: Iebacfbd592a36da5736b4979c6a6c0e47fa0effc

5 years agoMerge "Add SocketUtils for NetworkStack" am: cec60fa56a am: 27ae908282
Remi NGUYEN VAN [Tue, 29 Jan 2019 07:47:36 +0000 (23:47 -0800)]
Merge "Add SocketUtils for NetworkStack" am: cec60fa56a am: 27ae908282
am: ca7c41f5fa

Change-Id: I6d059f9cd1a694659bfd7ac09a32022d29c03f85

5 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 29 Jan 2019 07:46:53 +0000 (23:46 -0800)]
Import translations. DO NOT MERGE

Change-Id: I565265ff23471b5d0be1e0d5b67e9dc1d5310205
Auto-generated-cl: translation import

5 years agoMerge "Disable view compilation for privileged apps" am: 3c496729de
Mathieu Chartier [Tue, 29 Jan 2019 07:45:27 +0000 (23:45 -0800)]
Merge "Disable view compilation for privileged apps" am: 3c496729de
am: ff52af9cdd

Change-Id: I0ed2bcdd5b4618707a1586708e47abbfa1afff0e

5 years agoMerge changes Ib3c350ba,I9f6b17a6
Jaewan Kim [Tue, 29 Jan 2019 07:38:46 +0000 (07:38 +0000)]
Merge changes Ib3c350ba,I9f6b17a6

* changes:
  MediaController: Make getTag() public
  MediaRouter: Remove hidden annotation usages

5 years agoMerge "Make hidden constructor of PlaybackInfo as @SystemApi"
Hyundo Moon [Tue, 29 Jan 2019 07:33:58 +0000 (07:33 +0000)]
Merge "Make hidden constructor of PlaybackInfo as @SystemApi"