OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Added mitigation for b/122921367"
Christian Wailes [Thu, 24 Jan 2019 01:26:10 +0000 (17:26 -0800)]
Merge "Added mitigation for b/122921367"
am: 80c398b74c

Change-Id: I29c437ba51ff3f4cc90671a0581f41a70581d5a8

5 years agoMerge "Removed false positives from the greylist."
Chris Wailes [Thu, 24 Jan 2019 01:21:27 +0000 (17:21 -0800)]
Merge "Removed false positives from the greylist."
am: 5d33fe94e4

Change-Id: I499062c50b5e0ab5ad2e28f1968b2790adee028e

5 years agoMerge "Added mitigation for b/122921367"
Christian Wailes [Thu, 24 Jan 2019 01:05:02 +0000 (01:05 +0000)]
Merge "Added mitigation for b/122921367"

5 years agoMerge "Removed false positives from the greylist."
Treehugger Robot [Thu, 24 Jan 2019 01:02:26 +0000 (01:02 +0000)]
Merge "Removed false positives from the greylist."

5 years agoAdded mitigation for b/122921367
Chris Wailes [Thu, 17 Jan 2019 22:57:10 +0000 (14:57 -0800)]
Added mitigation for b/122921367

Without this patch aosp/870566 will cause clang to abort during x86-eng
asan builds (due to b/122921367).  This is being committed separately to
enable easy reversion in the future.

Test: m
Bug: 122921367
Change-Id: Id38a6ccabdcd0da02a53e76c47850e197016e781
Merged-In: Id38a6ccabdcd0da02a53e76c47850e197016e781

5 years agoRemoved false positives from the greylist.
Chris Wailes [Thu, 10 Jan 2019 23:03:29 +0000 (15:03 -0800)]
Removed false positives from the greylist.

This commit removes several Zygote related functions and types from the
greylist that are not required to be there.

Topic: zygote-prefork
Test: make
Bug: 68253328
Change-Id: I25022d976e7444489aad1aeb1ce6b05736233476
Merged-In: I25022d976e7444489aad1aeb1ce6b05736233476

5 years agoMerge "Replace annotation_processors with plugins"
Colin Cross [Wed, 23 Jan 2019 20:37:11 +0000 (12:37 -0800)]
Merge "Replace annotation_processors with plugins"
am: bc40469e19

Change-Id: I0f91aa05eca9635ce0bc59e40714adff908af682

5 years agoMerge "Replace annotation_processors with plugins"
Colin Cross [Wed, 23 Jan 2019 20:18:02 +0000 (20:18 +0000)]
Merge "Replace annotation_processors with plugins"

5 years agoMerge "jarjar hidl core libs."
Steven Moreland [Wed, 23 Jan 2019 18:20:23 +0000 (10:20 -0800)]
Merge "jarjar hidl core libs."
am: 436e2ad4c7

Change-Id: I05314143d12bab29062d1309074c7d710a38b1f4

5 years agoMerge "jarjar hidl core libs."
Steven Moreland [Wed, 23 Jan 2019 18:05:25 +0000 (18:05 +0000)]
Merge "jarjar hidl core libs."

5 years agoMerge "Deprecate Duplicate SignalStrength Methods"
Nathan Harold [Wed, 23 Jan 2019 17:55:26 +0000 (09:55 -0800)]
Merge "Deprecate Duplicate SignalStrength Methods"
am: a3ab270ce1

Change-Id: Ifacba0cbb949fa0b35e1f22bf3225f5c608f36a6

5 years agoMerge "Deprecate Duplicate SignalStrength Methods"
Nathan Harold [Wed, 23 Jan 2019 17:37:03 +0000 (17:37 +0000)]
Merge "Deprecate Duplicate SignalStrength Methods"

5 years agoMerge "[view compilation] Add --compile-layouts flag to `pm compile`"
Mathieu Chartier [Wed, 23 Jan 2019 17:26:26 +0000 (09:26 -0800)]
Merge "[view compilation] Add --compile-layouts flag to `pm compile`"
am: 52cf4adf70

Change-Id: I0ad866ef309f31b9dbbc62887f14adf3fcfd7ae4

5 years agoMerge "Improvements to Bugreporting API."
Nandana Dutt [Wed, 23 Jan 2019 17:17:50 +0000 (09:17 -0800)]
Merge "Improvements to Bugreporting API."
am: 212353c896

Change-Id: I1afa04707bcf84aed87bc99695c33b8fdfb08ac4

5 years agoMerge "[view compilation] Add --compile-layouts flag to `pm compile`"
Mathieu Chartier [Wed, 23 Jan 2019 17:02:31 +0000 (17:02 +0000)]
Merge "[view compilation] Add --compile-layouts flag to `pm compile`"

5 years agoMerge "Improvements to Bugreporting API."
Treehugger Robot [Wed, 23 Jan 2019 17:00:48 +0000 (17:00 +0000)]
Merge "Improvements to Bugreporting API."

5 years agoMerge changes I1250730c,I7d00848c
Remi NGUYEN VAN [Wed, 23 Jan 2019 16:26:33 +0000 (08:26 -0800)]
Merge changes I1250730c,I7d00848c
am: e693d49c0a

Change-Id: I2f19490a2340bdc2630162dfe9a277dffc5041fa

5 years agoMerge "Add OWNERS"
Todd Kennedy [Wed, 23 Jan 2019 16:19:26 +0000 (08:19 -0800)]
Merge "Add OWNERS"
am: 78cccf728d

Change-Id: I448ebe48d5306ca7bc50df23412a45d0988eac53

5 years agoMerge "Stop depending on the ConnectivityService default request."
Lorenzo Colitti [Wed, 23 Jan 2019 16:14:33 +0000 (08:14 -0800)]
Merge "Stop depending on the ConnectivityService default request."
am: e62097f71d

Change-Id: Iae908cb959d50870923bce4dbe1bfed5f4c26c2c

5 years agoMerge changes I1250730c,I7d00848c
Remi NGUYEN VAN [Wed, 23 Jan 2019 15:05:00 +0000 (15:05 +0000)]
Merge changes I1250730c,I7d00848c

* changes:
  Create a wrapper for IpClient
  Move IpClient to NetworkStack

5 years agoMerge "Add OWNERS"
Treehugger Robot [Wed, 23 Jan 2019 14:48:19 +0000 (14:48 +0000)]
Merge "Add OWNERS"

5 years agoMerge "Stop depending on the ConnectivityService default request."
Lorenzo Colitti [Wed, 23 Jan 2019 12:29:40 +0000 (12:29 +0000)]
Merge "Stop depending on the ConnectivityService default request."

5 years agoMerge "Netd unsolicited event porting"
Luke Huang [Wed, 23 Jan 2019 12:14:17 +0000 (04:14 -0800)]
Merge "Netd unsolicited event porting"
am: 98f0c30911

Change-Id: I13d8a53368850b07a65e42adc5d3f5fd0575c12a

5 years agoMerge "Netd unsolicited event porting"
Luke Huang [Wed, 23 Jan 2019 12:02:14 +0000 (12:02 +0000)]
Merge "Netd unsolicited event porting"

5 years agoMerge "[MS11] Implement findL2Key"
Chalard Jean [Wed, 23 Jan 2019 11:14:56 +0000 (03:14 -0800)]
Merge "[MS11] Implement findL2Key"
am: 773f3f5bf3

Change-Id: If429108eddc802f0c13f7b10048b1fe87bd51b22

5 years agoMerge "[MS11] Implement findL2Key"
Treehugger Robot [Wed, 23 Jan 2019 11:01:43 +0000 (11:01 +0000)]
Merge "[MS11] Implement findL2Key"

5 years agoImprovements to Bugreporting API.
Nandana Dutt [Wed, 23 Jan 2019 08:39:05 +0000 (08:39 +0000)]
Improvements to Bugreporting API.

* Add cancelBugreport method.
* Remove unused arguments to onFinished listener call.
* Publish the system service now that sepolicy for it
  is submitted.
* Use the new bugreportd service.

Test: boots
BUG:111441001
Change-Id: I12d72e0e1f4ca72d285fd02a3fc1a44f5c179885

5 years agoStop depending on the ConnectivityService default request.
Lorenzo Colitti [Wed, 23 Jan 2019 08:54:08 +0000 (17:54 +0900)]
Stop depending on the ConnectivityService default request.

This avoids the need to expose ConnectivityService implementation
details as @SystemApi and the complexities that would be required
to make NetworkCapabilities parcelable in stable AIDL.

Bug: 112869080
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: Icd5d25b9b8e9b7a7d1899b000c92dc4976c3b3d7

5 years agoMerge changes from topic "Java async dns"
Luke Huang [Wed, 23 Jan 2019 09:06:19 +0000 (01:06 -0800)]
Merge changes from topic "Java async dns"
am: 31ff0616d1

Change-Id: Ia08a8300887315d673f398b1340b2f44ce501b14

5 years agoMerge changes from topic "Java async dns"
Luke Huang [Wed, 23 Jan 2019 08:48:23 +0000 (08:48 +0000)]
Merge changes from topic "Java async dns"

* changes:
  Add asynchronous DNS query API in Java
  Add jni method for DnsResolver

5 years agoNetd unsolicited event porting
Luke Huang [Tue, 4 Sep 2018 09:08:18 +0000 (17:08 +0800)]
Netd unsolicited event porting

Test: atest FrameworksNetTests passes
Test: 1. manual test datacall/wifi work
      2. manual test tethering work
      3. run cts StrictModeTest pass
      4. manual test data alert work
      5. manual test idletimer work

Change-Id: Ia4c12510c9c97fed76e4b31fb9756c28fff72853

5 years ago[MS11] Implement findL2Key
Chalard Jean [Fri, 18 Jan 2019 11:21:26 +0000 (20:21 +0900)]
[MS11] Implement findL2Key

Bug: 113554482
Test: old tests pass, new tests added
Change-Id: I2e93c88c30eae614a6db04abe698e8edf7fa6a43

5 years agoMerge "Skeleton implementation of Bluetooth metadata APIs"
Ugo Yu [Wed, 23 Jan 2019 07:50:13 +0000 (23:50 -0800)]
Merge "Skeleton implementation of Bluetooth metadata APIs"
am: 625a1f4461

Change-Id: I770732a7bd5f7af8779dd4b06cc137570a4028b7

5 years agoCreate a wrapper for IpClient
Remi NGUYEN VAN [Wed, 23 Jan 2019 07:24:30 +0000 (16:24 +0900)]
Create a wrapper for IpClient

The wrapper allows migrating clients of the IpClient in the NetworkStack
independently.

Test: atest FrameworksNetTests NetworkStackTests FrameworksWifiTests
Bug: 112869080
Change-Id: I1250730c07166298bee2816f05351ba95416994a

5 years agoMove IpClient to NetworkStack
Remi NGUYEN VAN [Thu, 10 Jan 2019 10:12:46 +0000 (19:12 +0900)]
Move IpClient to NetworkStack

Test: atest FrameworksNetTests NetworkStackTests
Bug: b/112869080
Change-Id: I7d00848c052382cd1b6ce458868bed6a1e9e8ec5

5 years agoMerge "Skeleton implementation of Bluetooth metadata APIs"
Treehugger Robot [Wed, 23 Jan 2019 07:38:06 +0000 (07:38 +0000)]
Merge "Skeleton implementation of Bluetooth metadata APIs"

5 years agoMerge "Add UserHandle constants to SystemApi"
Remi NGUYEN VAN [Wed, 23 Jan 2019 07:23:59 +0000 (23:23 -0800)]
Merge "Add UserHandle constants to SystemApi"
am: 0a9054639d

Change-Id: I2652807a0a44b885abe00c8ec64b14de503db2b7

5 years agoMerge "Add UserHandle constants to SystemApi"
Remi NGUYEN VAN [Wed, 23 Jan 2019 07:06:44 +0000 (07:06 +0000)]
Merge "Add UserHandle constants to SystemApi"

5 years agoMerge "Add System API to enable / disable a logical modem."
Xiangyu/Malcolm Chen [Wed, 23 Jan 2019 05:54:20 +0000 (21:54 -0800)]
Merge "Add System API to enable / disable a logical modem."
am: 8df9d17289

Change-Id: Ie73f7dc14b6367fe50c4a47157b6ce386788cb1e

5 years agoMerge "Add System API to enable / disable a logical modem."
Xiangyu/Malcolm Chen [Wed, 23 Jan 2019 05:40:04 +0000 (05:40 +0000)]
Merge "Add System API to enable / disable a logical modem."

5 years agoAdd OWNERS
Todd Kennedy [Tue, 22 Jan 2019 23:49:01 +0000 (15:49 -0800)]
Add OWNERS

Test: None
Change-Id: I3c58436a02eb61f9c822f0003165223eaf8f317a

5 years agoMerge "Add get/set user selected outgoing phone account APIs."
Tyler Gunn [Wed, 23 Jan 2019 03:32:13 +0000 (19:32 -0800)]
Merge "Add get/set user selected outgoing phone account APIs."
am: bf10036306

Change-Id: I992722f1eccf85ca4ec64e457197f72505b8ebbb

5 years agoMerge "Add get/set user selected outgoing phone account APIs."
Tyler Gunn [Wed, 23 Jan 2019 02:45:29 +0000 (02:45 +0000)]
Merge "Add get/set user selected outgoing phone account APIs."

5 years agoMerge "Enable phone apps to mute the BLUETOOTH_SCO stream"
Tomoharu Kasahara [Wed, 23 Jan 2019 02:13:53 +0000 (18:13 -0800)]
Merge "Enable phone apps to mute the BLUETOOTH_SCO stream"
am: 09d13a2232

Change-Id: I2e49205fd3c1c4af909972a0a9b943876ef24ddd

5 years agoAdd UserHandle constants to SystemApi
Remi NGUYEN VAN [Wed, 23 Jan 2019 02:06:18 +0000 (11:06 +0900)]
Add UserHandle constants to SystemApi

The affected constants are already SystemApi in internal.

Bug: 112869080
Test: m
Change-Id: Iacefdefa59346eaebd8b92743fe8710845edcc29
Merged-In: I261dfcc5cfdfc76bda5d70181785e11c2715a558

5 years agoMerge "Enable phone apps to mute the BLUETOOTH_SCO stream"
Treehugger Robot [Wed, 23 Jan 2019 01:54:28 +0000 (01:54 +0000)]
Merge "Enable phone apps to mute the BLUETOOTH_SCO stream"

5 years agoMerge "Add getAvoidBadWifi system API"
Remi NGUYEN VAN [Wed, 23 Jan 2019 01:41:46 +0000 (17:41 -0800)]
Merge "Add getAvoidBadWifi system API"
am: 58582a36fc

Change-Id: Ifdf913669df84df3e3b158d5527895236e6758b7

5 years agoMerge "Add getAvoidBadWifi system API"
Remi NGUYEN VAN [Wed, 23 Jan 2019 01:13:01 +0000 (01:13 +0000)]
Merge "Add getAvoidBadWifi system API"

5 years agoMerge "Update config file documentation and examples for network type propagation"
Sal Savage [Wed, 23 Jan 2019 00:43:27 +0000 (16:43 -0800)]
Merge "Update config file documentation and examples for network type propagation"
am: bfd44b60ef

Change-Id: I0b1690102776065a7f1c1156e9c4808a8c111e29

5 years agoMerge "Update config file documentation and examples for network type propagation"
Sal Savage [Wed, 23 Jan 2019 00:10:24 +0000 (00:10 +0000)]
Merge "Update config file documentation and examples for network type propagation"

5 years agoEnable phone apps to mute the BLUETOOTH_SCO stream
Tomoharu Kasahara [Fri, 18 Jan 2019 11:04:38 +0000 (20:04 +0900)]
Enable phone apps to mute the BLUETOOTH_SCO stream

This change adds support for privileged apps with the MODIFY_PHONE_STATE
permission to mute the bluetooth sco stream using the adjustStreamVolume
method.
The change adds specific handling for BLUETOOTH_SCO as a mutable stream.

Bug: 111195322
Test: Mute works by AudioManager.adjustStreamVolume
 (STREAM_BLUETOOTH_SCO, ADJUST_MUTE, 0)

Change-Id: I932f9e152e9b6df93a749b083a7bcc7e08c2ad70

5 years agoMerge "UsbDebuggingActivity.java: OK -> Allow"
Nick Kralevich [Tue, 22 Jan 2019 23:19:11 +0000 (15:19 -0800)]
Merge "UsbDebuggingActivity.java: OK -> Allow"
am: f9718dbe17

Change-Id: I597e50b031334ff67641f9252d8081fbfca7f4b4

5 years agoMerge changes If71fadd2,I42047185
Chalard Jean [Tue, 22 Jan 2019 23:12:54 +0000 (15:12 -0800)]
Merge changes If71fadd2,I42047185
am: 022daeb874

Change-Id: Ie15258f09adb7f1cc53c558e1d3d5fdaf8d93476

5 years agoMerge "UsbDebuggingActivity.java: OK -> Allow"
Treehugger Robot [Tue, 22 Jan 2019 23:09:39 +0000 (23:09 +0000)]
Merge "UsbDebuggingActivity.java: OK -> Allow"

5 years agoSkeleton implementation of Bluetooth metadata APIs
Ugo Yu [Tue, 8 Jan 2019 01:00:09 +0000 (09:00 +0800)]
Skeleton implementation of Bluetooth metadata APIs

Bug: 121051445
Test: Build pass
Change-Id: I5e80210205b37294b1eb8356502ebf242e627ce4

5 years agoMerge changes If71fadd2,I42047185
Chalard Jean [Tue, 22 Jan 2019 22:50:21 +0000 (22:50 +0000)]
Merge changes If71fadd2,I42047185

* changes:
  [MS10] Address leftover comments on MS03 and MS07
  [MS09] Implement isSameNetwork.

5 years agoMerge "Migrate ICaptivePortal to stable AIDL"
Remi NGUYEN VAN [Tue, 22 Jan 2019 22:25:09 +0000 (14:25 -0800)]
Merge "Migrate ICaptivePortal to stable AIDL"
am: eb7c53718a

Change-Id: Id0844ec4d438dcc1f6c1028552dd21da6bd76584

5 years agoMerge "Migrate ICaptivePortal to stable AIDL"
Remi NGUYEN VAN [Tue, 22 Jan 2019 22:03:44 +0000 (22:03 +0000)]
Merge "Migrate ICaptivePortal to stable AIDL"

5 years agoMerge changes from topic "move sched_policy functions"
Suren Baghdasaryan [Tue, 22 Jan 2019 21:21:57 +0000 (13:21 -0800)]
Merge changes from topic "move sched_policy functions"
am: 2a2b4eec35

Change-Id: I1b72c5676b1d3ec18e7432cf7f5e3336f956051c

5 years agoAdd libprocessgroup dependency and fix sched_policy include
Suren Baghdasaryan [Tue, 22 Jan 2019 21:14:22 +0000 (13:14 -0800)]
Add libprocessgroup dependency and fix sched_policy include
am: 09a29e161f

Change-Id: I4bde60447975339250dd4e755530e4bc390461c7

5 years agojarjar hidl core libs.
Steven Moreland [Thu, 17 Jan 2019 20:24:54 +0000 (12:24 -0800)]
jarjar hidl core libs.

Otherwise, these might conflict with priv-apps that use them.

Bug: 86259915
Test: boot Pixel 2/3, look for relevant logs

Change-Id: I5f088303ba33cc2d641eea622dcdca2a642a7cd2

5 years agoMerge changes from topic "move sched_policy functions"
Suren Baghdasaryan [Tue, 22 Jan 2019 20:58:16 +0000 (20:58 +0000)]
Merge changes from topic "move sched_policy functions"

* changes:
  Add libprocessgroup dependency
  Add libprocessgroup dependency and fix sched_policy include

5 years agoUpdate config file documentation and examples for network type propagation
Sal Savage [Wed, 9 Jan 2019 23:31:30 +0000 (15:31 -0800)]
Update config file documentation and examples for network type propagation

Bug: 112588045
Test: N/A -- only updates comments
Change-Id: Iae5363e06d3f79e308f49cd64c286695722adf73

5 years agoMerge "Mark NEW_OUTGOING_CALL broadcast as deprecated."
Tyler Gunn [Tue, 22 Jan 2019 20:08:48 +0000 (12:08 -0800)]
Merge "Mark NEW_OUTGOING_CALL broadcast as deprecated."
am: 1e08a90339

Change-Id: I9894a0bfa6eecf0fa23ee799a22078e432b5716c

5 years agoMerge "Check whether cardId is valid in EuiccManager#isEnabled."
Holly Jiuyu Sun [Tue, 22 Jan 2019 19:57:56 +0000 (11:57 -0800)]
Merge "Check whether cardId is valid in EuiccManager#isEnabled."
am: feb047acb3

Change-Id: I29c25297b91bb8c31addf4d88d126adaa440db8b

5 years agoMerge "Mark NEW_OUTGOING_CALL broadcast as deprecated."
Tyler Gunn [Tue, 22 Jan 2019 19:42:29 +0000 (19:42 +0000)]
Merge "Mark NEW_OUTGOING_CALL broadcast as deprecated."

5 years agoReplace annotation_processors with plugins
Colin Cross [Tue, 22 Jan 2019 05:45:20 +0000 (21:45 -0800)]
Replace annotation_processors with plugins

The annotation_processors property is deprecated, replace it with
plugins, and use java_plugin for modules that provide annotation
processors.

Bug: 77284273
Test: m checkbuild
Change-Id: I14ed4d81e097510866cbb9a27c72be4426117885

5 years agoMerge "Check whether cardId is valid in EuiccManager#isEnabled."
Holly Jiuyu Sun [Tue, 22 Jan 2019 19:03:58 +0000 (19:03 +0000)]
Merge "Check whether cardId is valid in EuiccManager#isEnabled."

5 years agoDeprecate Duplicate SignalStrength Methods
Nathan Harold [Mon, 14 Jan 2019 22:30:08 +0000 (14:30 -0800)]
Deprecate Duplicate SignalStrength Methods

This change cleans up access and deprecates method
on the SignalStrength class that are no longer needed
due to the support of getCellSignalStrengths(). These
methods are generally technology-specific getters. In
addition, this tags non-public methods that were also
of this type to restrict their access to apps
targeting P or earlier via the @UnsupportedAppUsage
annotation.

In addition, deprecate the semantically incorrect
isGsm().

Lastly, deprecate the NotifierBundle() methods that
rely heavily on implementation details that changed
in this release, and which should also be unneeded due
to getCellSignalStrengths() giving access to the
internal storage classes of SignalStrength.

Bug: 122845432
Test: make update-api && make offline-sdk-docs && make
      (no functional change).
Change-Id: Iec794aee337099dee91d0820f7269fda433e8b01

5 years agoMerge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause"
Jack Yu [Tue, 22 Jan 2019 18:31:11 +0000 (10:31 -0800)]
Merge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause"
am: 3788e9147d

Change-Id: I01620d1fa5bc8417ba154b76ad854fa64d6d042f

5 years agoMerge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause"
Jack Yu [Tue, 22 Jan 2019 18:18:20 +0000 (18:18 +0000)]
Merge "Support radio HAL V1.4 SetupDataCallResult and DataCallFailCause"

5 years agoAdd libprocessgroup dependency
Suren Baghdasaryan [Thu, 17 Jan 2019 17:47:51 +0000 (09:47 -0800)]
Add libprocessgroup dependency

Because set_sched_policy is moved into libprocessgroup an additional
dependency is required for its users. libframeworksnettestsjni requires
libprocessgroup otherwise com.android.frameworks.tests.net fails with
error:
dlopen failed: library "libprocessgroup.so" not found

Exempt-From-Owner-Approval: janitorial

Bug: 111307099
Test: builds, boots

Merged-In: Ia8bc5b447efa568fd1c822746919fa1496cc42a6
Change-Id: Ia8bc5b447efa568fd1c822746919fa1496cc42a6
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
5 years agoAdd libprocessgroup dependency and fix sched_policy include
Suren Baghdasaryan [Fri, 4 Jan 2019 20:16:57 +0000 (12:16 -0800)]
Add libprocessgroup dependency and fix sched_policy include

Because android_runtime is using set_sched_policy which is moved
into libprocessgroup an additional dependency is added and header
file change is made.

Exempt-From-Owner-Approval: janitorial

Bug: 111307099
Test: builds, boots
Merged-In: I98a7a6f9a9d6be8595b3604fb73dafc05412c482
Change-Id: I98a7a6f9a9d6be8595b3604fb73dafc05412c482
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
5 years ago[view compilation] Add --compile-layouts flag to `pm compile`
Eric Holk [Mon, 7 Jan 2019 21:58:25 +0000 (13:58 -0800)]
[view compilation] Add --compile-layouts flag to `pm compile`

This allows us to generate precompiled layouts for installed applications.

If the system property view.precompiled_layout_enabled is set, then
PackageMannager will also automatically generate precompiled layouts for apps at
install or upgrade time.

Bug: 111895153
Test: manual
Merged-In: If6455e1b9b0542a36882af9f3e29d0185a53393c
Change-Id: Iea40f5bc90bca0d2605c3c5221159cef13e1e447

5 years agoMerge "Deprecate SSLCertificateSocketFactory"
Tobias Thierer [Tue, 22 Jan 2019 17:13:20 +0000 (09:13 -0800)]
Merge "Deprecate SSLCertificateSocketFactory"
am: f86156158c

Change-Id: I30dafbd9577dbaced7712b7497ecb0e0324c75f5

5 years agoMerge "Deprecate SSLCertificateSocketFactory"
Tobias Thierer [Tue, 22 Jan 2019 16:57:50 +0000 (16:57 +0000)]
Merge "Deprecate SSLCertificateSocketFactory"

5 years agoMark NEW_OUTGOING_CALL broadcast as deprecated.
Tyler Gunn [Tue, 15 Jan 2019 16:57:57 +0000 (08:57 -0800)]
Mark NEW_OUTGOING_CALL broadcast as deprecated.

Mark NEW_OUTGOING_CALL broadcast as deprecated and document that callers
should use the CallRedirectionService API.

Test: Build APIs.
Bug: 64959558
Change-Id: I9192b50b16be2ff0cdc0f864ee99b42b83e261e9

5 years agoAdd asynchronous DNS query API in Java
Luke Huang [Fri, 4 Jan 2019 11:56:29 +0000 (19:56 +0800)]
Add asynchronous DNS query API in Java

DnsResolver for asynchronous DNS querying
DnsPacket for parsing answer

Test: built, flashed, booted
      atest DnsResolverTest
      atest DnsPacketTest

Change-Id: Id014bc7387dd940cfaa270f68e7d4d85fab320a0

5 years agoAdd jni method for DnsResolver
Luke Huang [Fri, 4 Jan 2019 11:46:47 +0000 (19:46 +0800)]
Add jni method for DnsResolver

Test: built, flashed, booted
      atest DnsResolverTest

Change-Id: Iff730ec918f4db1ba0216f90a12550fe26e271d0

5 years agoAdd getAvoidBadWifi system API
Remi NGUYEN VAN [Sun, 20 Jan 2019 11:35:06 +0000 (20:35 +0900)]
Add getAvoidBadWifi system API

This helps remove the dependency on MultinetworkPolicyTracker from
IpClient.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Change-Id: If56791dbed564772f25a859f301b8b52d84e38a3

5 years agoMigrate ICaptivePortal to stable AIDL
Remi NGUYEN VAN [Sun, 20 Jan 2019 05:00:34 +0000 (14:00 +0900)]
Migrate ICaptivePortal to stable AIDL

Also add required API for the captive portal app to stop using hidden
members.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Merged-In: I62b457e709fa199822bb8f80b0eab990be4ded93
Change-Id: I62b457e709fa199822bb8f80b0eab990be4ded93

5 years agoAdd get/set user selected outgoing phone account APIs.
Tyler Gunn [Thu, 15 Nov 2018 15:29:49 +0000 (07:29 -0800)]
Add get/set user selected outgoing phone account APIs.

Promoting getUserSelectedOutgoingPhoneAccount to a public API accessible
to the default dialer app, as well as to system priv apps such as the
settings app.

Promoting setUserSelectedOutgoingPhoneAccount to a system API accessible
to apps such as the settings app.

Add telecom shell commands to support changing the outgoing phone account
in CTS tests.

Bug: 119227574
Test: Manual
Test: Added and ran new CTS test
Change-Id: I204b2f01a1b6746aa35faf8aaacd30ebf53b9a5d

5 years agoMerge "Support for treating single party IMS conference as a standalone call."
Tyler Gunn [Tue, 22 Jan 2019 15:09:11 +0000 (07:09 -0800)]
Merge "Support for treating single party IMS conference as a standalone call."
am: 89e53d81ce

Change-Id: Ic9de1989c156a1dd111465c20d84bd1c7c37e69f

5 years agoMerge "Add API for VPN apps to query always-on and lockdown."
Pavel Grafov [Tue, 22 Jan 2019 15:00:53 +0000 (07:00 -0800)]
Merge "Add API for VPN apps to query always-on and lockdown."
am: 479c0769f1

Change-Id: Icb11cdd5c7384eacf1df9b7a0c42e451641f0e04

5 years agoMerge "Support for treating single party IMS conference as a standalone call."
Tyler Gunn [Tue, 22 Jan 2019 14:57:10 +0000 (14:57 +0000)]
Merge "Support for treating single party IMS conference as a standalone call."

5 years agoMerge "Add API for VPN apps to query always-on and lockdown."
Pavel Grafov [Tue, 22 Jan 2019 14:43:06 +0000 (14:43 +0000)]
Merge "Add API for VPN apps to query always-on and lockdown."

5 years agoMerge "Expose UIDs for NetworkStack permission checks"
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:53:20 +0000 (05:53 -0800)]
Merge "Expose UIDs for NetworkStack permission checks"
am: 3b887bdf4a

Change-Id: I893fbd359e9d5e7731e3b640b86ec9dd05b829f3

5 years agoMerge "Expose UIDs for NetworkStack permission checks"
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:40:57 +0000 (13:40 +0000)]
Merge "Expose UIDs for NetworkStack permission checks"

5 years agoMerge "Remove InterfaceController dependency on NMS"
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:25:12 +0000 (05:25 -0800)]
Merge "Remove InterfaceController dependency on NMS"
am: 06adb08d27

Change-Id: I24c129d143f49434c126855dd90f7a0436d00ca5

5 years agoMerge changes Ieef54d84,Ica3e88c2
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:14:58 +0000 (05:14 -0800)]
Merge changes Ieef54d84,Ica3e88c2
am: 491f53523a

Change-Id: Ia60c1dd733a8de0e777dce78cde67738f6d466bd

5 years agoMerge "Remove InterfaceController dependency on NMS"
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:14:06 +0000 (13:14 +0000)]
Merge "Remove InterfaceController dependency on NMS"

5 years agoMerge changes Ieef54d84,Ica3e88c2
Remi NGUYEN VAN [Tue, 22 Jan 2019 13:00:10 +0000 (13:00 +0000)]
Merge changes Ieef54d84,Ica3e88c2

* changes:
  Remove NetworkStack dependencies on hidden members
  Expose ServiceSpecificException as @SystemApi.

5 years agoMerge "Add SystemApi utility for raw sockets."
Remi NGUYEN VAN [Tue, 22 Jan 2019 12:53:05 +0000 (04:53 -0800)]
Merge "Add SystemApi utility for raw sockets."
am: 91c81c13b6

Change-Id: I91392d479ca24cfcc114ca6f9cf349c833f5f9c5

5 years agoMerge "Add SystemApi utility for raw sockets."
Remi NGUYEN VAN [Tue, 22 Jan 2019 12:38:33 +0000 (12:38 +0000)]
Merge "Add SystemApi utility for raw sockets."

5 years agoExpose UIDs for NetworkStack permission checks
Remi NGUYEN VAN [Sun, 20 Jan 2019 03:23:32 +0000 (12:23 +0900)]
Expose UIDs for NetworkStack permission checks

The UIDs are unlikely to change and added as public API.

Test: m
Bug: 112869080
Change-Id: I5477093a4c8593dd9ada7587b86c65352e628c34

5 years agoRemove InterfaceController dependency on NMS
Remi NGUYEN VAN [Tue, 22 Jan 2019 07:13:57 +0000 (16:13 +0900)]
Remove InterfaceController dependency on NMS

Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Change-Id: Ib3773068b087f58f4ac3394291cda132b00b2dcc

5 years agoMerge "Deprecate JapaneseCalendar.CURRENT_ERA"
vichang [Tue, 22 Jan 2019 11:19:03 +0000 (03:19 -0800)]
Merge "Deprecate JapaneseCalendar.CURRENT_ERA"
am: 0f5893ee60

Change-Id: I29548ec04dd5a37d5a672430002b380ff56667d9

5 years agoMerge "Add LinkProps and NetworkCaps methods to SystemApi"
Remi NGUYEN VAN [Tue, 22 Jan 2019 11:14:19 +0000 (03:14 -0800)]
Merge "Add LinkProps and NetworkCaps methods to SystemApi"
am: 4bde11491b

Change-Id: I7ba317e49a6ad7a7413d9ff4e312aed0b700e695

5 years agoMerge "apilint: correctly parse enum_constant"
Adrian Roos [Tue, 22 Jan 2019 11:07:22 +0000 (03:07 -0800)]
Merge "apilint: correctly parse enum_constant"
am: d8b953078e

Change-Id: I633edc113833f49a4d96fafe4dfa1d9a1b49c357

5 years agoMerge changes I38145a51,Iac1fdabc,I90f18181,I76b979dd,Id2e17923, ...
Adrian Roos [Tue, 22 Jan 2019 11:03:20 +0000 (03:03 -0800)]
Merge changes I38145a51,Iac1fdabc,I90f18181,I76b979dd,Id2e17923, ...
am: 137f8f2e5a

Change-Id: Ic44c73e0c96b9beed999319996b36ba1c9b0efb0