OSDN Git Service

android-x86/frameworks-base.git
5 years agoRevert "RESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a...
Hui Yu [Wed, 13 Feb 2019 20:10:27 +0000 (20:10 +0000)]
Revert "RESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master"

This reverts commit a738111eeea622a25cb50ed7bcae5cbf0218b137.

Reason for revert: mistakenly used "RESTRICT AUTOMERGE" on the title.

Change-Id: I7ec9917887763912114405ba89eb5f0fac328d97

5 years agoRESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp...
Hui Yu [Fri, 8 Feb 2019 23:28:45 +0000 (15:28 -0800)]
RESTRICT AUTOMERGE: Manually merge 885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master

To pick up statsd atom ProcessStartTime.

Bug: None.
Test: NA.
Change-Id: If6b99c0b6b501036ffde1e9a45194a039a8d7c73
Merged-In: Ifcc0c80f1da45c2ff89f7c88da6407ba777473e2

5 years agoMerge "Schematize ADB system properties"
Treehugger Robot [Tue, 12 Feb 2019 18:35:23 +0000 (18:35 +0000)]
Merge "Schematize ADB system properties"

5 years agoMerge "Remove duplicate networkstack-aidl-interfaces-java"
Steven Moreland [Tue, 12 Feb 2019 18:29:24 +0000 (18:29 +0000)]
Merge "Remove duplicate networkstack-aidl-interfaces-java"

5 years agoMerge "Remove ParcelFileDescriptor.aidl"
Steven Moreland [Tue, 12 Feb 2019 17:51:35 +0000 (17:51 +0000)]
Merge "Remove ParcelFileDescriptor.aidl"

5 years agoMerge "Remove unused build variable framework_docs_args"
Treehugger Robot [Tue, 12 Feb 2019 17:32:40 +0000 (17:32 +0000)]
Merge "Remove unused build variable framework_docs_args"

5 years agoMerge "Removed unused variables in cat service"
Jack Yu [Tue, 12 Feb 2019 16:52:48 +0000 (16:52 +0000)]
Merge "Removed unused variables in cat service"

5 years agoRemove unused build variable framework_docs_args
Paul Duffin [Tue, 12 Feb 2019 12:37:20 +0000 (12:37 +0000)]
Remove unused build variable framework_docs_args

Bug: 124218911
Test: make checkbuild
Change-Id: I39c73bc8bee3824161e91967ec187ce60e838b48

5 years agoMerge "Add getOrCreateCanonicalAddressId"
Leland Miller [Tue, 12 Feb 2019 08:54:04 +0000 (08:54 +0000)]
Merge "Add getOrCreateCanonicalAddressId"

5 years agoMerge "Remove INTERACT_ACROSS_USERS_FULL for NetworkStack"
Remi NGUYEN VAN [Tue, 12 Feb 2019 04:47:43 +0000 (04:47 +0000)]
Merge "Remove INTERACT_ACROSS_USERS_FULL for NetworkStack"

5 years agoMerge "Remove hard-coded NetworkStack package name"
Remi NGUYEN VAN [Tue, 12 Feb 2019 03:58:09 +0000 (03:58 +0000)]
Merge "Remove hard-coded NetworkStack package name"

5 years agoMerge "Grant Shell ability to clear instant app"
Treehugger Robot [Tue, 12 Feb 2019 03:42:40 +0000 (03:42 +0000)]
Merge "Grant Shell ability to clear instant app"

5 years agoMerge "Unzip offline-sdk-docs for m offline-sdk-docs or m docs"
Treehugger Robot [Tue, 12 Feb 2019 03:36:58 +0000 (03:36 +0000)]
Merge "Unzip offline-sdk-docs for m offline-sdk-docs or m docs"

5 years agoMerge "Add get/set PreferredNetworkTypeBitmap"
Pengquan Meng [Tue, 12 Feb 2019 03:08:57 +0000 (03:08 +0000)]
Merge "Add get/set PreferredNetworkTypeBitmap"

5 years agoSchematize ADB system properties
Kiyoung Kim [Thu, 27 Dec 2018 05:29:54 +0000 (14:29 +0900)]
Schematize ADB system properties

Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: m -j
Change-Id: I654c0e1f234d097a66f79ba8c019b8bebc794816
Merged-In: I654c0e1f234d097a66f79ba8c019b8bebc794816

5 years agoRemove ParcelFileDescriptor.aidl
Steven Moreland [Tue, 12 Feb 2019 02:54:09 +0000 (18:54 -0800)]
Remove ParcelFileDescriptor.aidl

This is now a built-in type in AIDL.

Bug: N/A
Test: N/A
Change-Id: Ibbc1251ce3378fed39b7edeb611185358a1c0dc0

5 years agoMerge "Schematize Display system properties"
Treehugger Robot [Tue, 12 Feb 2019 02:50:08 +0000 (02:50 +0000)]
Merge "Schematize Display system properties"

5 years agoMerge "Convert Android.mk file to Android.bp"
Treehugger Robot [Tue, 12 Feb 2019 01:24:44 +0000 (01:24 +0000)]
Merge "Convert Android.mk file to Android.bp"

5 years agoRemove duplicate networkstack-aidl-interfaces-java
Steven Moreland [Tue, 12 Feb 2019 01:11:54 +0000 (17:11 -0800)]
Remove duplicate networkstack-aidl-interfaces-java

Bug: N/A
Test: N/A
Change-Id: Id34a25e54f742d20e7d451e88d2712c9ed9cdd05

5 years agoMerge "Make isRebootRequiredForModemConfigChange SystemApi"
Nazanin Bakhshi [Tue, 12 Feb 2019 00:37:43 +0000 (00:37 +0000)]
Merge "Make isRebootRequiredForModemConfigChange SystemApi"

5 years agoMerge "Convert Android.mk file to Android.bp"
Treehugger Robot [Tue, 12 Feb 2019 00:33:34 +0000 (00:33 +0000)]
Merge "Convert Android.mk file to Android.bp"

5 years agoMerge "Check PBAP Server before disconnecting"
Joseph Pirozzo [Tue, 12 Feb 2019 00:29:30 +0000 (00:29 +0000)]
Merge "Check PBAP Server before disconnecting"

5 years agoMerge "Add owners for accessibility"
Treehugger Robot [Tue, 12 Feb 2019 00:07:59 +0000 (00:07 +0000)]
Merge "Add owners for accessibility"

5 years agoMerge "Clarify PhoneStateListener documentation"
Jordan Liu [Mon, 11 Feb 2019 23:57:49 +0000 (23:57 +0000)]
Merge "Clarify PhoneStateListener documentation"

5 years agoMerge "Add API to check if a SIM card matches carrier restrictions."
Michele Berionne [Mon, 11 Feb 2019 23:47:25 +0000 (23:47 +0000)]
Merge "Add API to check if a SIM card matches carrier restrictions."

5 years agoMerge changes from topics "118348832", "120945564"
Xiangyu/Malcolm Chen [Mon, 11 Feb 2019 23:19:17 +0000 (23:19 +0000)]
Merge changes from topics "118348832", "120945564"

* changes:
  Adding validationBeforeSwitchSupported in phoneCapability.
  Add API to handle user's subscription selection changes.

5 years agoConvert Android.mk file to Android.bp
Sasha Smundak [Mon, 11 Feb 2019 22:41:25 +0000 (14:41 -0800)]
Convert Android.mk file to Android.bp

See build/soong/README.md for more information.

Bug: 122332340
Test: treehugger
Change-Id: I52416790e1e4493dd4fe57404095351b8d37ea22

5 years agoConvert Android.mk file to Android.bp
Sasha Smundak [Mon, 11 Feb 2019 22:29:27 +0000 (14:29 -0800)]
Convert Android.mk file to Android.bp

See build/soong/README.md for more information.

Bug: 122332340
Test: treehugger
Change-Id: I07364347c6bf178f2ff84ed64e1c39c97559b99d

5 years agoMerge "Unhide RcsMessageStore APIs"
Sahin Caliskan [Mon, 11 Feb 2019 22:25:16 +0000 (22:25 +0000)]
Merge "Unhide RcsMessageStore APIs"

5 years agoMerge "Adding READ_PRECISE_CALL_STATE permission in phone app."
Xiangyu/Malcolm Chen [Mon, 11 Feb 2019 22:18:41 +0000 (22:18 +0000)]
Merge "Adding READ_PRECISE_CALL_STATE permission in phone app."

5 years agoRemoved unused variables in cat service
Jack Yu [Mon, 11 Feb 2019 21:48:58 +0000 (13:48 -0800)]
Removed unused variables in cat service

Test: build
Change-Id: I62448494ffddbf2a578302873c8758321766e3d7

5 years agoClarify PhoneStateListener documentation
Jordan Liu [Mon, 11 Feb 2019 19:36:49 +0000 (11:36 -0800)]
Clarify PhoneStateListener documentation

onXStateChanged() methods are called when the X state changes, but also
once on initial registration. This is called out in the documentation
for TelephonyManager.listen(), but we should clarify it here too.

Fixes: 124204168
Test: no change to behavior
Change-Id: Ie0fe8c90ff5610597f810d6ba8425138b8a286ee

5 years agoMake isRebootRequiredForModemConfigChange SystemApi
Nazanin Bakhshi [Fri, 8 Feb 2019 20:45:31 +0000 (12:45 -0800)]
Make isRebootRequiredForModemConfigChange SystemApi

Bug: 124074656
Test: build
Change-Id: I32c6b0786d32b05d690cea862e977e6a2b756c90

5 years agoCheck PBAP Server before disconnecting
Joseph Pirozzo [Thu, 31 Jan 2019 18:58:22 +0000 (10:58 -0800)]
Check PBAP Server before disconnecting

Update disconnect logic to ensure that the proxy to the PBAP server
exists before issueing disconnect.  This brings the code in line with
several of the connect calls.

Bug: 123700890
Test: Disable PBAP server from config, and disconnect a paired device.
Change-Id: Ie14feb5c0fb70f1ed68ba21bc12b4d3349933cc6

5 years agoAdd getOrCreateCanonicalAddressId
Leland Miller [Fri, 25 Jan 2019 00:09:10 +0000 (16:09 -0800)]
Add getOrCreateCanonicalAddressId

This is used exclusively for RCS message storage to retrieve canonical
address IDs for participants.

Test: CtsRcsTestCases
Change-Id: Idd935b8d7787db9597b643551714f134d63b33c0

5 years agoUnhide RcsMessageStore APIs
Sahin Caliskan [Thu, 7 Feb 2019 22:46:21 +0000 (14:46 -0800)]
Unhide RcsMessageStore APIs

This change unhides the RcsMessageStore APIs

Test: Existing tests pass. Repo upload didn't complain about anything
API related

Bug:109759350
Change-Id: Ifc980dd9173df520bad899a7a6681e6da63e46fc

5 years agoMerge "Deprecate ref... methods in MethodHandleInfo"
Paul Duffin [Mon, 11 Feb 2019 15:25:55 +0000 (15:25 +0000)]
Merge "Deprecate ref... methods in MethodHandleInfo"

5 years agoMerge "Fix regression in Dalvik:HEAP_TOTAL"
Andrei-Valentin Onea [Mon, 11 Feb 2019 11:26:46 +0000 (11:26 +0000)]
Merge "Fix regression in Dalvik:HEAP_TOTAL"

5 years agoMerge "Added handover support in the factory"
Jack Yu [Sat, 9 Feb 2019 20:22:03 +0000 (20:22 +0000)]
Merge "Added handover support in the factory"

5 years agoAdded handover support in the factory
Jack Yu [Fri, 8 Feb 2019 18:03:36 +0000 (10:03 -0800)]
Added handover support in the factory

Test: Manual
Bug: 73659459
Merged-In: I10cf40bf32dc30393dd538477aaa411a48b4ccf2
Change-Id: I10cf40bf32dc30393dd538477aaa411a48b4ccf2
(cherry picked from commit 5f1186eca98a1c5b0de29b1e69a400f8c42e84f0)

5 years agoMerge "Atom: add more information to BluetootSocketConnectionStateChanged"
Treehugger Robot [Sat, 9 Feb 2019 04:09:45 +0000 (04:09 +0000)]
Merge "Atom: add more information to BluetootSocketConnectionStateChanged"

5 years agoMerge "WebView: propose myself as OWNER"
Treehugger Robot [Sat, 9 Feb 2019 01:59:29 +0000 (01:59 +0000)]
Merge "WebView: propose myself as OWNER"

5 years agoUnzip offline-sdk-docs for m offline-sdk-docs or m docs
Colin Cross [Fri, 8 Feb 2019 19:33:33 +0000 (11:33 -0800)]
Unzip offline-sdk-docs for m offline-sdk-docs or m docs

offline-sdk-docs is the most useful target for local developers
verifying documentation changes.  Unzip offline-sdk-docs.zip
into out/target/common/docs/offline-sdk/ whenever the offline-sdk-docs
or docs targets are built.

Fixes: 124115897
Test: m offline-sdk-docs
Change-Id: I92ce65742e7475cc64a688f2b1893c96ecfd2a52

5 years agoDeprecate ref... methods in MethodHandleInfo
Paul Duffin [Fri, 8 Feb 2019 14:59:46 +0000 (14:59 +0000)]
Deprecate ref... methods in MethodHandleInfo

These methods were mistakenly exposed as part of the public API in
Android 26. They do not appear to be used by any apps so this is a
prelude to removing them from the API completely.

Bug: 114175595
Test: make checkbuild
Change-Id: I17b7369a4fbb568bde5285d705d9194ac91e576d

5 years agoMerge "Disable view compiler for protected storage"
Mathieu Chartier [Fri, 8 Feb 2019 13:34:08 +0000 (13:34 +0000)]
Merge "Disable view compiler for protected storage"

5 years agoDisable view compiler for protected storage
Mathieu Chartier [Wed, 6 Feb 2019 20:54:23 +0000 (12:54 -0800)]
Disable view compiler for protected storage

Protected storage has selinux restrictions that currently prevent
views being generated there.

(cherry picked from commit c8aa8ff300761a2d8b1c4770bf38a4b30fe566cd)

Bug: 111895153
Bug: 123778117
Test: manual
Exempt-From-Owner-Approval: cherry-pick

Merged-In: Id386ebd1be7329ab1ea9657187dfbabb4f1bf73c
Change-Id: Id386ebd1be7329ab1ea9657187dfbabb4f1bf73c

5 years agoMerge "Add TEST_MAPPING for api specifications"
Paul Duffin [Fri, 8 Feb 2019 11:51:39 +0000 (11:51 +0000)]
Merge "Add TEST_MAPPING for api specifications"

5 years agoMerge "Fallback to other format for decoding pdu if needed."
Amit Mahajan [Fri, 8 Feb 2019 06:56:37 +0000 (06:56 +0000)]
Merge "Fallback to other format for decoding pdu if needed."

5 years agoRemove hard-coded NetworkStack package name
Remi NGUYEN VAN [Thu, 7 Feb 2019 12:29:57 +0000 (21:29 +0900)]
Remove hard-coded NetworkStack package name

Have the network stack pass its package name in
showProvisioningNotification instead.

Bug: 124033493
Test: flashed, WiFi and captive portal works
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I1f3312768ba1fb34e99a827e1fcdaf7510e318a8

5 years agoAdding validationBeforeSwitchSupported in phoneCapability.
Malcolm Chen [Thu, 24 Jan 2019 18:56:01 +0000 (10:56 -0800)]
Adding validationBeforeSwitchSupported in phoneCapability.

Bug: 118348832
Test: sanity
Change-Id: I7e9e18728a1db9fd31e92164d72b6656b964f1f4
Merged-In: I7e9e18728a1db9fd31e92164d72b6656b964f1f4

5 years agoAtom: add more information to BluetootSocketConnectionStateChanged
Jack He [Thu, 7 Feb 2019 21:52:45 +0000 (13:52 -0800)]
Atom: add more information to BluetootSocketConnectionStateChanged

* Add server_port field to track the server port number of a socket
* Add socket_role field to track whether the socket is a server listener
  or a connection socket
* Add uid field to track the owner of the socket

Bug: 112969790
Test: make, test drive with statsd
Change-Id: I0c86b724c748844009b8120befd454fb96137a61

5 years agoAdd API to handle user's subscription selection changes.
Malcolm Chen [Fri, 14 Dec 2018 03:24:03 +0000 (19:24 -0800)]
Add API to handle user's subscription selection changes.

When user selects a eSIM subscription, Settings app informs Telephony.
Telephony needs to take actions such as writting it into global
settings, switch profiles and notify registrants, for example
AlternativeNetworkAccessService.

Bug: 120945564
Test: unittest
Change-Id: I846d9444aac368d183e06744c9eb8aa0c08dfe6a
Merged-In: I846d9444aac368d183e06744c9eb8aa0c08dfe6a

5 years agoAdding READ_PRECISE_CALL_STATE permission in phone app.
Malcolm Chen [Tue, 22 Jan 2019 21:46:17 +0000 (13:46 -0800)]
Adding READ_PRECISE_CALL_STATE permission in phone app.

This is needed if internal component wants to listen to
precise call state change.

Bug: 117980553
Test: unittest
Change-Id: Id5a60519cbf1d724f939fc10b1f03cccfe5c1b5c
Merged-In: Id5a60519cbf1d724f939fc10b1f03cccfe5c1b5c

5 years agoMerge "Update CellInfo Documentation on Updates"
Nathan Harold [Fri, 8 Feb 2019 01:24:22 +0000 (01:24 +0000)]
Merge "Update CellInfo Documentation on Updates"

5 years agoMerge "Coerce Unreported BER from ASU=99 to UNAVAILABLE"
Nathan Harold [Fri, 8 Feb 2019 01:22:52 +0000 (01:22 +0000)]
Merge "Coerce Unreported BER from ASU=99 to UNAVAILABLE"

5 years agoAdd API to check if a SIM card matches carrier restrictions.
Michele [Tue, 5 Feb 2019 19:45:29 +0000 (11:45 -0800)]
Add API to check if a SIM card matches carrier restrictions.

Add API to check if one SIM card or a combination of SIM cards for
multisim devices is allowed on the terminal, based on the existing
carrier restriction rules.

Bug: 123939943
Test: added test cases for the new API
Change-Id: Ieaa3c25da75e04e2acb3b169e10638d967732f99

5 years agoMerge "Include phoneId as extra when subId is not available."
Amit Mahajan [Thu, 7 Feb 2019 23:53:18 +0000 (23:53 +0000)]
Merge "Include phoneId as extra when subId is not available."

5 years agoMerge "Provide java_defaults as a counterpart to the settings.mk file"
Alexander Smundak [Thu, 7 Feb 2019 23:03:02 +0000 (23:03 +0000)]
Merge "Provide java_defaults as a counterpart to the settings.mk file"

5 years agoMerge "Make RCS Message Store APIs ready to unhide"
Sahin Caliskan [Thu, 7 Feb 2019 22:05:00 +0000 (22:05 +0000)]
Merge "Make RCS Message Store APIs ready to unhide"

5 years agoMerge "Add use_app_image_startup_cache feature flag"
Mathieu Chartier [Thu, 7 Feb 2019 21:28:37 +0000 (21:28 +0000)]
Merge "Add use_app_image_startup_cache feature flag"

5 years agoInclude phoneId as extra when subId is not available.
Amit Mahajan [Thu, 7 Feb 2019 20:29:55 +0000 (12:29 -0800)]
Include phoneId as extra when subId is not available.

Test: basic sanity
Bug: 122819162
Change-Id: Ia55b5550930b1e34e14e46c718261ec11ac56f43

5 years agoFallback to other format for decoding pdu if needed.
Amit Mahajan [Thu, 7 Feb 2019 20:13:05 +0000 (12:13 -0800)]
Fallback to other format for decoding pdu if needed.

The specified format is mostly a guess based on the current phone
type/voice RAT. It may not always be correct and so we should always
fallback to the other format.

Test: basic sanity
Bug: 20015718
Change-Id: Ia1177d19035ff485ca27175ba2375e0f6fe2a966

5 years agoMake RCS Message Store APIs ready to unhide
Sahin Caliskan [Wed, 6 Feb 2019 18:11:39 +0000 (10:11 -0800)]
Make RCS Message Store APIs ready to unhide

This change makes necessary changes to unhide the APIs in a future
commit. All the classes that end with Parameters needed to be converted
to Params, which resulted in a rather large change. I also had to reintroduce
RcsOutgoingMessageCreationParameters as it was required to make
Parcelables final, which means I had to make this new class parcelable
and RcsMessageCreationParameters non-parcelable and non-final

Test: Existing tests pass

Bug:109759350
Change-Id: I2fe9382d28a9abf02ad22ec7ccdeaedc55ae4337

5 years agoAdd owners for accessibility
Phil Weaver [Thu, 7 Feb 2019 18:49:59 +0000 (10:49 -0800)]
Add owners for accessibility

Test: Relying on treehugger. No functional changes.
Change-Id: I2511b04e56301bd34a8eaced7be8dd8582cc3cc7

5 years agoFix regression in Dalvik:HEAP_TOTAL
Andrei Onea [Wed, 6 Feb 2019 14:44:22 +0000 (14:44 +0000)]
Fix regression in Dalvik:HEAP_TOTAL

Make HiddenApiUsageLogger a singleton initialised in Zygote pre-fork and
rely on copy-on-write to prevent heap size increases

Test: atest google/perf/memory/memory-test
Bug: 123705750
Change-Id: I384d3bdefa6525fcce494783c548e85979bce4d5
Merged-In: Idc5ad13d4e158659009290f410ce721013345308

5 years agoMerge "Deprecate BreakIterator.getTitleInstance() functions and KIND_TITLE field"
Treehugger Robot [Thu, 7 Feb 2019 10:20:01 +0000 (10:20 +0000)]
Merge "Deprecate BreakIterator.getTitleInstance() functions and KIND_TITLE field"

5 years agoMerge "Move hiddenapi rules to Soong"
Treehugger Robot [Thu, 7 Feb 2019 07:27:33 +0000 (07:27 +0000)]
Merge "Move hiddenapi rules to Soong"

5 years agoAdd get/set PreferredNetworkTypeBitmap
Pengquan Meng [Tue, 11 Dec 2018 19:37:25 +0000 (11:37 -0800)]
Add get/set PreferredNetworkTypeBitmap

Bug: 111453000
Test: build
Merged-In: Icbd3b2108ce8eb75e863dcf38fb8249c1e37ea91
Change-Id: Icbd3b2108ce8eb75e863dcf38fb8249c1e37ea91

5 years agoMerge "Add default code reviewers into OWNERS"
Chih-hung Hsieh [Thu, 7 Feb 2019 06:21:24 +0000 (06:21 +0000)]
Merge "Add default code reviewers into OWNERS"

5 years agoAdd default code reviewers into OWNERS
Chih-Hung Hsieh [Wed, 6 Feb 2019 18:21:48 +0000 (10:21 -0800)]
Add default code reviewers into OWNERS

Bug: 33166666
Test: gerrit uploader
Change-Id: Ief5d4bf9005bb3a712803101f98dd2b876662eb8

5 years agoMerge "Check MAINLINE_NETWORK_STACK in ConnectivityService"
Remi NGUYEN VAN [Thu, 7 Feb 2019 03:33:54 +0000 (03:33 +0000)]
Merge "Check MAINLINE_NETWORK_STACK in ConnectivityService"

5 years agoRemove INTERACT_ACROSS_USERS_FULL for NetworkStack
Remi NGUYEN VAN [Mon, 4 Feb 2019 05:26:32 +0000 (14:26 +0900)]
Remove INTERACT_ACROSS_USERS_FULL for NetworkStack

Replace with INTERACT_ACROSS_USERS, which is needed to send the
ACTION_NETWORK_CONDITIONS_MEASURED broadcast.

Also cleanup some non-privileged permissions that were added to the
priv-app file.

Test: built, booted, broadcast and captive portal login work
Bug: 123846255
Change-Id: I3c97c166e80c19bf57fa047709c8b91fca75d635

5 years agoMerge "Add API for NetworkStack to start captive portal"
Remi NGUYEN VAN [Thu, 7 Feb 2019 02:39:17 +0000 (02:39 +0000)]
Merge "Add API for NetworkStack to start captive portal"

5 years agoMerge "Avoid NPE caused by null encodedBearerData in privateGetSubmitPdu"
Amit Mahajan [Thu, 7 Feb 2019 01:31:18 +0000 (01:31 +0000)]
Merge "Avoid NPE caused by null encodedBearerData in privateGetSubmitPdu"

5 years agoMerge "Use correct PLMN info for an incoming CB-SMS"
Amit Mahajan [Thu, 7 Feb 2019 01:30:09 +0000 (01:30 +0000)]
Merge "Use correct PLMN info for an incoming CB-SMS"

5 years agoMerge "Update navigation bar upon change of display density"
Treehugger Robot [Wed, 6 Feb 2019 23:44:05 +0000 (23:44 +0000)]
Merge "Update navigation bar upon change of display density"

5 years agoMerge "Work around clang-tidy bug in dex_builder.cc."
Chih-hung Hsieh [Wed, 6 Feb 2019 22:01:44 +0000 (22:01 +0000)]
Merge "Work around clang-tidy bug in dex_builder.cc."

5 years agoMerge "Add connect time to conference participant."
Youming Ye [Wed, 6 Feb 2019 21:55:06 +0000 (21:55 +0000)]
Merge "Add connect time to conference participant."

5 years agoMerge "Atom: Add BluetoothSocketConnectionStateChanged"
Treehugger Robot [Wed, 6 Feb 2019 20:36:24 +0000 (20:36 +0000)]
Merge "Atom: Add BluetoothSocketConnectionStateChanged"

5 years agoAdd use_app_image_startup_cache feature flag
Mathieu Chartier [Mon, 4 Feb 2019 21:28:36 +0000 (13:28 -0800)]
Add use_app_image_startup_cache feature flag

Passed down to the zygote if the corresponding system property is set:
runtime_native / use_app_image_startup_cache.

Bug: 123524494
Bug: 116059983
Test: adb shell device_config put runtime_native use_app_image_startup_cache true

(cherry picked from commit ced7e08129902f007afa7a87bdcf5a122fd67658)

Merged-In: I27c0b9ea9533b2b6ad1ccd45f0fb9292c4cfca02
Change-Id: I27c0b9ea9533b2b6ad1ccd45f0fb9292c4cfca02

5 years agoAtom: Add BluetoothSocketConnectionStateChanged
Jack He [Thu, 31 Jan 2019 01:24:55 +0000 (17:24 -0800)]
Atom: Add BluetoothSocketConnectionStateChanged

* Logs when a Bluetooth socket's connection state is changed
* A Bluetooth socket can be:
  - RFCOMM socket
  - SCO socket
  - BR/EDR L2CAP socket
  - BLE L2CAP socket

Bug: 112969790
Test: make, test drive with statsd
Change-Id: I97b1e650e197a0dad1e2959e2f5b4dd98370d892
Merged-In: I97b1e650e197a0dad1e2959e2f5b4dd98370d892
(cherry picked from commit 815cdbaae0577654a6c019abbbd6d596e8cdb703)

5 years agoProvide java_defaults as a counterpart to the settings.mk file
Sasha Smundak [Fri, 11 Jan 2019 01:15:18 +0000 (17:15 -0800)]
Provide java_defaults as a counterpart to the settings.mk file

Test: treehugger
Change-Id: I9e57744737430ff7e1ab57891dc81d1dd3bbcb83
Merged-In: I9e57744737430ff7e1ab57891dc81d1dd3bbcb83

5 years agoMerge "Revert "Minimum viable TimeZoneDetectorService""
Neil Fuller [Wed, 6 Feb 2019 18:02:38 +0000 (18:02 +0000)]
Merge "Revert "Minimum viable TimeZoneDetectorService""

5 years agoMerge "[KA07] Drop TCP keepalive ack packets"
Chalard Jean [Wed, 6 Feb 2019 17:54:28 +0000 (17:54 +0000)]
Merge "[KA07] Drop TCP keepalive ack packets"

5 years agoMerge "Implementation of RcsMessageStore APIs [base]"
Sahin Caliskan [Wed, 6 Feb 2019 17:44:09 +0000 (17:44 +0000)]
Merge "Implementation of RcsMessageStore APIs [base]"

5 years agoMerge "Fix reference leak on TvInputManagerService"
nchalko [Wed, 6 Feb 2019 16:33:19 +0000 (16:33 +0000)]
Merge "Fix reference leak on TvInputManagerService"

5 years agoImplementation of RcsMessageStore APIs [base]
Sahin Caliskan [Thu, 24 Jan 2019 22:32:12 +0000 (14:32 -0800)]
Implementation of RcsMessageStore APIs [base]

This change adds the implementation of RcsMessageStore. Please see the
bug for the design and one-pager

Test: Added unit tests

Bug: 109759350
Change-Id: I6049dcf74ef9e19a38ce58148a89497992bc1c98

5 years agoMerge "[KA04] Expose TCP socket keepalive API"
Chalard Jean [Wed, 6 Feb 2019 15:13:02 +0000 (15:13 +0000)]
Merge "[KA04] Expose TCP socket keepalive API"

5 years agoAdd TEST_MAPPING for api specifications
Paul Duffin [Mon, 4 Feb 2019 15:43:20 +0000 (15:43 +0000)]
Add TEST_MAPPING for api specifications

Changes to the various api directories will run the
tests which make use of the API specification in those directories.

Could not include CtsSystemApiSignatureTestCases as it is broken on
git_master because of bug 116632058.

Bug: 123254057
Test: atest
Change-Id: I1fe4ca498cbd0393aba7cf4c1386a6325ace7937

5 years ago[KA07] Drop TCP keepalive ack packets
Aaron Huang [Tue, 15 Jan 2019 08:53:51 +0000 (16:53 +0800)]
[KA07] Drop TCP keepalive ack packets

To support TCP keepalive offload, APF filter needs to add program
for dropping keepalive ack packets when offload is starting.

Bug: 114151147
Test: runtest frameworks-net -c android.net.apf.ApfTest
Change-Id: If16a9bc04eb29dfedb950b6e4c85fe9ad4cf259f

5 years ago[KA04] Expose TCP socket keepalive API
junyulai [Tue, 8 Jan 2019 12:04:33 +0000 (20:04 +0800)]
[KA04] Expose TCP socket keepalive API

The new set of API allows applications to request keepalives
offload for established TCP sockets over wifi.

However, the application must not write to or read from the
socket after calling this method, until specific callbacks are
called.

Bug: 114151147
Test: atest FrameworksNetTests FrameworksWifiTests NetworkStackTests

Change-Id: I3880505dbc35fefa34ef6c79555458ecf5d296a4

5 years agoMerge "Add Os.bind, Os.sendTo to public API"
Remi NGUYEN VAN [Wed, 6 Feb 2019 10:58:54 +0000 (10:58 +0000)]
Merge "Add Os.bind, Os.sendTo to public API"

5 years agoFix reference leak on TvInputManagerService
Kyeongkab.Nam [Wed, 16 Jan 2019 01:44:37 +0000 (10:44 +0900)]
Fix reference leak on TvInputManagerService

Fix reference leak when TV input changed.

Test: 1. Modify to call android.os.Debug.dumpReferenceTables() in
TvInputManagerService#onServiceConnected
2. Build and run
3. Repeat to launch and finish TV player application with logcat output
4. Confirm Global Reference Table information on logcat whether
reference increase

Change-Id: I9b9896115088d8b179a9cf29ddca88e8a8fa529a

5 years agoMerge "[KA03.5] Add stable AIDL parcelable for TcpKeepalivePacketData"
Chalard Jean [Wed, 6 Feb 2019 09:19:07 +0000 (09:19 +0000)]
Merge "[KA03.5] Add stable AIDL parcelable for TcpKeepalivePacketData"

5 years agoCheck MAINLINE_NETWORK_STACK in ConnectivityService
Remi NGUYEN VAN [Thu, 31 Jan 2019 07:42:12 +0000 (16:42 +0900)]
Check MAINLINE_NETWORK_STACK in ConnectivityService

Treat NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK as equivalent to
NETWORK_STACK, CONNECTIVITY_INTERNAL and NETWORK_SETTINGS combined.
NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK is defined as signature
permission in NetworkStackPermissionStub, which is signed with the
platform certificate, so requirements are the same for both permissions.

The permission is defined by NetworkStackPermissionStub and only used by
NetworkStack, which must be signed with the same key as the stub.

Test: flashed, booted, WiFi works, also with changes on top removing
      CONNECTIVITY_INTERNAL and NETWORK_SETTINGS
Bug: 112869080
Change-Id: I9d0ea8fc99eadf7e902421efdba9b8bf535658b8

5 years agoMerge "Deprecate getActiveLinkProperties."
Treehugger Robot [Wed, 6 Feb 2019 08:32:10 +0000 (08:32 +0000)]
Merge "Deprecate getActiveLinkProperties."

5 years agoAdd API for NetworkStack to start captive portal
Remi NGUYEN VAN [Mon, 4 Feb 2019 02:32:20 +0000 (11:32 +0900)]
Add API for NetworkStack to start captive portal

Endpoints protected with INTERACT_ACROSS_USERS_FULL, such as
startActivityAsUser, should only be used by modules signed with the
platform cert. The NetworkStack needs to have the system server start
the application so this restriction can be applied.

Bug: 123846255
Test: flashed, captive portal works from primary and secondary user
Change-Id: Ib3e427b3fd03ced80c02985e795f79b096a2ec9a

5 years agoMerge "Give owneship of packages/NetworkStack to Android Core Networking"
Bernie Innocenti [Wed, 6 Feb 2019 07:22:01 +0000 (07:22 +0000)]
Merge "Give owneship of packages/NetworkStack to Android Core Networking"

5 years agoGive owneship of packages/NetworkStack to Android Core Networking
Bernie Innocenti [Wed, 6 Feb 2019 06:21:09 +0000 (15:21 +0900)]
Give owneship of packages/NetworkStack to Android Core Networking

Test: ../../build/make/tools/checkowners.py packages/NetworkStack/OWNERS
Change-Id: I6254f1ac2a24611ca6901f8f940d9e5babaaf373

5 years agoDeprecate getActiveLinkProperties.
Chalard Jean [Fri, 11 Jan 2019 07:47:53 +0000 (16:47 +0900)]
Deprecate getActiveLinkProperties.

There are other, more idiomatic ways to do this. Deprecating this
with usage limited to P will curb usage and reduce the maintenance
load.
This also deprecates the extra EXTRA_NETWORK_TYPE, which has
survived from an old world but has only been used in deprecated
broadcasts for some time.

Bug: 109783091
Test: eyeball current.txt
Change-Id: I87b74833bb4ec362ee3fd07511a66d318c29067d