OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "API updated for ICU4J 60.1" am: 71b25c06a7
vichang [Tue, 19 Dec 2017 18:35:40 +0000 (18:35 +0000)]
Merge "API updated for ICU4J 60.1" am: 71b25c06a7
am: 68f1995d19

Change-Id: I572007ea58f4011d24004c90730b14e154cfae92

6 years agoMerge "API updated for ICU4J 60.1"
vichang [Tue, 19 Dec 2017 18:24:59 +0000 (18:24 +0000)]
Merge "API updated for ICU4J 60.1"
am: 71b25c06a7

Change-Id: I3968eda2e73fe3641abd45684f6ae992d6e780d3

6 years agoMerge "API updated for ICU4J 60.1"
vichang [Tue, 19 Dec 2017 13:13:13 +0000 (13:13 +0000)]
Merge "API updated for ICU4J 60.1"

6 years agoMerge "Rename set_wakeup_callback" am: 7e3de17f3d
Steve Paik [Tue, 19 Dec 2017 00:40:59 +0000 (00:40 +0000)]
Merge "Rename set_wakeup_callback" am: 7e3de17f3d
am: 5611305abe

Change-Id: I3434d6657ca905b12fb73beca65473f3149202bb

6 years agoMerge "Private API became public..." am: eb44ebbfcd
Elliott Hughes [Tue, 19 Dec 2017 00:35:58 +0000 (00:35 +0000)]
Merge "Private API became public..." am: eb44ebbfcd
am: 85fc4d6dd6

Change-Id: I9ccfc88dc7d86462e323e32ce2b13726e05ec1c3

6 years agoMerge "Rename set_wakeup_callback"
Steve Paik [Tue, 19 Dec 2017 00:29:22 +0000 (00:29 +0000)]
Merge "Rename set_wakeup_callback"
am: 7e3de17f3d

Change-Id: Ic4a3d630d76e333e71a746a237d45a5fb3414994

6 years agoMerge "[ipsec-qtaguid] Tag sockets upon creation of encap sockets" am: d0ac50bcad
Benedict Wong [Tue, 19 Dec 2017 00:27:57 +0000 (00:27 +0000)]
Merge "[ipsec-qtaguid] Tag sockets upon creation of encap sockets" am: d0ac50bcad
am: 8caa274ade

Change-Id: I2f27c76a1f493ff4f0bd423c06f159e629866d4d

6 years agoMerge "Private API became public..."
Elliott Hughes [Tue, 19 Dec 2017 00:24:28 +0000 (00:24 +0000)]
Merge "Private API became public..."
am: eb44ebbfcd

Change-Id: I9ec4e8bb8609a29ed48d2862913c007d8f4e83c6

6 years agoMerge "[ipsec-qtaguid] Tag sockets upon creation of encap sockets"
Benedict Wong [Tue, 19 Dec 2017 00:16:29 +0000 (00:16 +0000)]
Merge "[ipsec-qtaguid] Tag sockets upon creation of encap sockets"
am: d0ac50bcad

Change-Id: If2f71108d0c3d5742ee39b041f5fa886aac820cb

6 years agoMerge "Rename set_wakeup_callback"
Treehugger Robot [Tue, 19 Dec 2017 00:06:15 +0000 (00:06 +0000)]
Merge "Rename set_wakeup_callback"

6 years agoMerge changes I798d8fec,I4a2d5866 am: c5212b6654
Hugo Benichi [Tue, 19 Dec 2017 00:06:00 +0000 (00:06 +0000)]
Merge changes I798d8fec,I4a2d5866 am: c5212b6654
am: 99be302c71

Change-Id: I41b507c4e4bf9b8b9082f5e7eaab8985b5bbef41

6 years agoMerge "Private API became public..."
Elliott Hughes [Mon, 18 Dec 2017 23:58:15 +0000 (23:58 +0000)]
Merge "Private API became public..."

6 years agoMerge changes I798d8fec,I4a2d5866
Hugo Benichi [Mon, 18 Dec 2017 23:57:15 +0000 (23:57 +0000)]
Merge changes I798d8fec,I4a2d5866
am: c5212b6654

Change-Id: Idf04186ece2738c113e2e33c5e7a5133aa437933

6 years agoMerge "[ipsec-qtaguid] Tag sockets upon creation of encap sockets"
Benedict Wong [Mon, 18 Dec 2017 23:50:52 +0000 (23:50 +0000)]
Merge "[ipsec-qtaguid] Tag sockets upon creation of encap sockets"

6 years agoMerge changes I798d8fec,I4a2d5866
Hugo Benichi [Mon, 18 Dec 2017 23:43:06 +0000 (23:43 +0000)]
Merge changes I798d8fec,I4a2d5866

* changes:
  MacAddress: address api review comments
  Expose the MacAddress class in the api

6 years agoMerge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL" am: 7be7d422a2
Ying Xu [Mon, 18 Dec 2017 23:42:03 +0000 (23:42 +0000)]
Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL" am: 7be7d422a2
am: 784a690ec7

Change-Id: I0e4098cfd0fe0d78e2d5de33a193da1095974ea6

6 years agoMerge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL"
Ying Xu [Mon, 18 Dec 2017 23:34:51 +0000 (23:34 +0000)]
Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL"
am: 7be7d422a2

Change-Id: I9d71fb9956f2300d683893da8dd3a78ca8320bc8

6 years agoMerge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL"
Ying Xu [Mon, 18 Dec 2017 23:26:25 +0000 (23:26 +0000)]
Merge "Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL"

6 years agoMerge "Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID." am:...
Android Build Merger (Role) [Mon, 18 Dec 2017 21:57:05 +0000 (21:57 +0000)]
Merge "Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID." am: bef8c59634 am: 826657a9c2" into oc-mr1-dev-plus-aosp

6 years agoMerge "[CHERRY-PICK] API for apps to tag sockets with their own UID." am: bef8c59634
Benedict Wong [Mon, 18 Dec 2017 21:56:41 +0000 (21:56 +0000)]
Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID." am: bef8c59634
am: 826657a9c2

Change-Id: Ia06653e6c1cccddcd2de17dd88a9ef47263f5c79

6 years agodocs: Touch-up edits to ShortcutManager class reference.
Kevin Hufnagle [Mon, 18 Dec 2017 21:55:02 +0000 (21:55 +0000)]
docs: Touch-up edits to ShortcutManager class reference.
am: 4777f37f78

Change-Id: Ibc90a8a2771a3e9fe5e59398be986b75490c60c2

6 years agoMerge "[CHERRY-PICK] API for apps to tag sockets with their own UID."
Benedict Wong [Mon, 18 Dec 2017 21:46:18 +0000 (21:46 +0000)]
Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID."
am: bef8c59634

Change-Id: I38da928c8484eb0bbb5d9cbc473d6d36de35e1e8

6 years agoMerge "[CHERRY-PICK] API for apps to tag sockets with their own UID."
Benedict Wong [Mon, 18 Dec 2017 21:32:10 +0000 (21:32 +0000)]
Merge "[CHERRY-PICK] API for apps to tag sockets with their own UID."

6 years ago[ipsec-qtaguid] Tag sockets upon creation of encap sockets
Benedict Wong [Mon, 4 Dec 2017 03:42:36 +0000 (19:42 -0800)]
[ipsec-qtaguid] Tag sockets upon creation of encap sockets

Added calls to tag encap sockets to that of the UID for which the encap
socket is being created on behalf of. This ensures that all data
accounting generated for the UDP-encap-ESP socket is correctly billed to
the right UID.

Bug: 62994731
Test: New tests added to IpSecServiceTest.java, passing
Change-Id: I15365ea9c982fd7b4e3cdeff314ddfba2289c86e

6 years ago[CHERRY-PICK] API for apps to tag sockets with their own UID.
Jeff Sharkey [Wed, 29 Nov 2017 18:18:23 +0000 (11:18 -0700)]
[CHERRY-PICK] API for apps to tag sockets with their own UID.

This enables app A to create a socket, pass it to app B, and have
app B accept blame for the traffic performed on that socket.

Also adds helpful public APIs for tagging raw FileDescriptor sockets
instead of making developers go through shady SocketImpl wrappers.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests#testAppFailAccessPrivateData
Bug: 63932076
Change-Id: I08925c843974675fc82e4080cec2eaab9ab7cd41
Merged-In: I08925c843974675fc82e4080cec2eaab9ab7cd41
(cherry picked from commit 70dc4f4d16082c598cd1774d366c1e60c2016126)

6 years agodocs: Touch-up edits to ShortcutManager class reference.
Kevin Hufnagle [Mon, 18 Dec 2017 17:57:39 +0000 (09:57 -0800)]
docs: Touch-up edits to ShortcutManager class reference.

Test: make ds-docs -j16

Bug: 64727234
Change-Id: Ieb2c2f6ee6706f206e2cc0d5be8bc3a5cdd9f345

6 years agoRename set_wakeup_callback
Steve Paik [Mon, 18 Dec 2017 18:23:31 +0000 (10:23 -0800)]
Rename set_wakeup_callback

Part of refactoring libsuspend.  Renamed set_wakeup_callback
to be consistent with rest of autosuspend_* interfaces.

Bug: 70669809
Test:  Compiles
Change-Id: I15fc8757b2343447ed79d1dd1af162afd5401007

6 years agoAPI updated for ICU4J 60.1
Victor Chang [Wed, 13 Dec 2017 19:04:37 +0000 (19:04 +0000)]
API updated for ICU4J 60.1

API details:
- New DisplayContext value for initializing LocaleDisplayNames
  It's an option to set whether locale display name should fallback to
  use default value when lang data is not available in attribtues, e.g. separator
  See CTS test ULocaleTest.TestDisplayNames for its usage
  Upstream ticket: http://bugs.icu-project.org/trac/ticket/12700
- New method MeasureFormat.getUnitDisplayName to to get unit display names
  CTS: MeasureUnitTest.testDisplayNames
  Upstream ticket: http://bugs.icu-project.org/trac/ticket/12029
- New getters and setters in String type for DecimalFormatSymbols
  Useful when the symbol can't be presented by one 2-byte java char
  Upstream ticket: http://bugs.icu-project.org/trac/ticket/10368
- Expose TimeZone.SystemTimeZoneType values b/65475899
  Existing method TimeZone.getAvailableIDs takes the enum type
  but there was no such value exposed in the Android SDK
- New constants for Unicode 10.0
  Details: http://unicode.org/versions/Unicode10.0.0/
  UScript, UCharacter, UProperty
- New contants in MeasureUnit

Bug: 68208236
Bug: 65475899
Test: m
Test: m update-api
Merged-In: I116b0e6f5a3ffb0820ed3802f7e063f9c052dd53
Change-Id: I1ee96619856098177513f5aaf564787dc3c34cc8

6 years agoMerge "Publish Bluetooth HID Device Profile Service API" am: fbd4ea125f
Hansong Zhang [Mon, 18 Dec 2017 18:06:19 +0000 (18:06 +0000)]
Merge "Publish Bluetooth HID Device Profile Service API" am: fbd4ea125f
am: 6047c90e9b

Change-Id: Icd57d9a0d70bd4bc0dfe1396335254ccef9528b4

6 years agoMerge "Publish Bluetooth HID Device Profile Service API"
Hansong Zhang [Mon, 18 Dec 2017 17:59:44 +0000 (17:59 +0000)]
Merge "Publish Bluetooth HID Device Profile Service API"
am: fbd4ea125f

Change-Id: I97a3b9f865af9d50d52674702c6706729f9ab419

6 years agoMerge "docs: Revised wording, section order for ShortcutManager API ref." into oc...
Kevin Hufnagle [Mon, 18 Dec 2017 17:52:36 +0000 (17:52 +0000)]
Merge "docs: Revised wording, section order for ShortcutManager API ref." into oc-mr1-dev
am: d642148c84

Change-Id: Iabb204baf3772b44b6852ec9d7135db0baf228bc

6 years agoMerge "Publish Bluetooth HID Device Profile Service API"
Treehugger Robot [Mon, 18 Dec 2017 17:47:35 +0000 (17:47 +0000)]
Merge "Publish Bluetooth HID Device Profile Service API"

6 years agoMerge "docs: Revised wording, section order for ShortcutManager API ref." into oc...
Kevin Hufnagle [Mon, 18 Dec 2017 17:42:48 +0000 (17:42 +0000)]
Merge "docs: Revised wording, section order for ShortcutManager API ref." into oc-mr1-dev

6 years agoMacAddress: address api review comments
Hugo Benichi [Fri, 15 Dec 2017 01:07:35 +0000 (10:07 +0900)]
MacAddress: address api review comments

1) toSafeString() is renamed to toOuiString()
2) toOuiString() returns a String that only contains the first 3 bytes
   of the mac address.

Bug: 70336442
Test: runtest frameworks-net
Change-Id: I798d8fec32dbff5687a682028e5d90eb941f81c1

6 years agoExpose the MacAddress class in the api
Hugo Benichi [Tue, 5 Dec 2017 01:30:31 +0000 (10:30 +0900)]
Expose the MacAddress class in the api

Test: built,  flashed, $ runtest frameworks-net
Bug: 69390696
Change-Id: Ica5efdf5ffe8ad2500a87f574508a2bcd074b33d
Merged-In: Ica5efdf5ffe8ad2500a87f574508a2bcd074b33d

(cherry picked from commit d411cf61ed5b948aaf6f6234217d6c6999c35159)

6 years agoMerge "Minimal reformat to match internal master." am: 0d75603ea7
Elliott Hughes [Sat, 16 Dec 2017 00:40:08 +0000 (00:40 +0000)]
Merge "Minimal reformat to match internal " am: 0d75603ea7
am: 5df94f6c14

Change-Id: I33cc16e2a9ecd91e97b0824834760f88b13cac2e

6 years agoMerge "Minimal reformat to match internal master."
Elliott Hughes [Sat, 16 Dec 2017 00:32:22 +0000 (00:32 +0000)]
Merge "Minimal reformat to match internal master."
am: 0d75603ea7

Change-Id: I0447a57265c8a73f40dc6f75964516d31f175165

6 years agoPrivate API became public...
Elliott Hughes [Thu, 14 Dec 2017 06:06:56 +0000 (22:06 -0800)]
Private API became public...

...but is now automatically called by the Context constructor.

Bug: N/A
Test: builds
Change-Id: Ic78bc4561adfec5047ed45589b8b936c506bd2b2

6 years agoMerge "Minimal reformat to match internal master."
Elliott Hughes [Sat, 16 Dec 2017 00:15:02 +0000 (00:15 +0000)]
Merge "Minimal reformat to match internal master."

6 years agoPublish Bluetooth HID Device Profile Service API
Hansong Zhang [Thu, 7 Dec 2017 00:20:22 +0000 (16:20 -0800)]
Publish Bluetooth HID Device Profile Service API

Enable the BluetoothHidDevice API in framework.

Bug: 63384609
Test: SL4A HID test; test with apps using BluetoothHidDevice
Merged-In: I52ca4674f11179f865bdff22e0289dfe893c40f5
Change-Id: I52ca4674f11179f865bdff22e0289dfe893c40f5
(cherry picked from commit 7bb587d72b8bb5ba8bd2d7530dbd89b4faac289f)

6 years agodocs: Revised wording, section order for ShortcutManager API ref.
Kevin Hufnagle [Sat, 2 Dec 2017 00:01:36 +0000 (16:01 -0800)]
docs: Revised wording, section order for ShortcutManager API ref.

Provided more thorough description of static shortcut options,
integrated shortcut limits section with the "updating shortcuts"
example, added more links to narrative documentation.

Test: make ds-docs -j8

Bug: 64727234
Change-Id: I70c16082e3e85a31b501c8e313d93200d827c7f4

6 years agoMerge "Fixed create app shortcut text and icon alignment in RTL Language" am: 29f61c21f4
susanta.patra [Fri, 15 Dec 2017 22:16:02 +0000 (22:16 +0000)]
Merge "Fixed create app shortcut text and icon alignment in RTL Language" am: 29f61c21f4
am: c1a2cd2175

Change-Id: Id0fc2be3255620089a632236af2997213a9d6003

6 years agoMerge "Fixed create app shortcut text and icon alignment in RTL Language"
susanta.patra [Fri, 15 Dec 2017 22:10:00 +0000 (22:10 +0000)]
Merge "Fixed create app shortcut text and icon alignment in RTL Language"
am: 29f61c21f4

Change-Id: Iaa0829e9844278731e403e13b2cc8a3400969bb4

6 years agoMerge "Fixed create app shortcut text and icon alignment in RTL Language"
Treehugger Robot [Fri, 15 Dec 2017 21:58:07 +0000 (21:58 +0000)]
Merge "Fixed create app shortcut text and icon alignment in RTL Language"

6 years agodocs: Added code tag to meta-data name and fixed some @see tags
Ricardo Loo Foronda [Fri, 15 Dec 2017 20:31:18 +0000 (20:31 +0000)]
docs: Added code tag to meta-data name and fixed some @see tags
am: f2a8aea735

Change-Id: If5601165a816e0dadc672008f8d5049563ee577f

6 years agoAdd new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL
yinxu [Wed, 29 Nov 2017 23:02:05 +0000 (15:02 -0800)]
Add new key KEY_CARRIER_CONFIG_OVERRIDE_BOOL

When user gets the carrier config bundle, the value of this new key in
the bundle will indicate whether this bundle contains the default config
or carrier specific config.

Bug: 70400384
Test: Basic telephony sanity
Change-Id: I3480665398ad2b7517b71e808c3e4242d113ea46

6 years agoMinimal reformat to match internal master.
Elliott Hughes [Fri, 15 Dec 2017 18:37:01 +0000 (10:37 -0800)]
Minimal reformat to match internal master.

Internal master SHA 1bcacfdcab0eaa0cee92bd7f5a1b5e271dd68e52 reformats
this entire project. To be able to update google-benchmark I need to
make a small change to this file. This is the minimal change that avoids
merge conflicts.

Bug: N/A
Test: builds
Change-Id: If3568a0f59a7c007858435953e127167f5862825

6 years agoMerge "Adds MMTel APIs in temporary namespace" am: 4e54d6092b
Brad Ebinger [Fri, 15 Dec 2017 18:12:49 +0000 (18:12 +0000)]
Merge "Adds MMTel APIs in temporary namespace" am: 4e54d6092b
am: ac0d27659a

Change-Id: I815f2ea36c951f71c7b8feb85a42546eeea47000

6 years agoMerge "Adds MMTel APIs in temporary namespace"
Brad Ebinger [Fri, 15 Dec 2017 18:05:43 +0000 (18:05 +0000)]
Merge "Adds MMTel APIs in temporary namespace"
am: 4e54d6092b

Change-Id: I95ad16f1e08ff11f9af8f626f6a8827308e806dd

6 years agoMerge "Adds MMTel APIs in temporary namespace"
Brad Ebinger [Fri, 15 Dec 2017 17:53:16 +0000 (17:53 +0000)]
Merge "Adds MMTel APIs in temporary namespace"

6 years agoMerge "Export aidl files for framework" am: f5e37d18de
Colin Cross [Fri, 15 Dec 2017 16:34:12 +0000 (16:34 +0000)]
Merge "Export aidl files for framework" am: f5e37d18de
am: 28064dd526

Change-Id: Iae7bdf79e68160c3ff7392cb0ff5c3f28996c910

6 years agoMerge "Export aidl files for framework"
Colin Cross [Fri, 15 Dec 2017 16:26:19 +0000 (16:26 +0000)]
Merge "Export aidl files for framework"
am: f5e37d18de

Change-Id: If2e9391da213b064e1b55fa0da56e78ac144c89b

6 years agoMerge "Track API changes in libcore" am: 63ae028ae0
Neil Fuller [Fri, 15 Dec 2017 16:22:14 +0000 (16:22 +0000)]
Merge "Track API changes in libcore" am: 63ae028ae0
am: 96211469a6

Change-Id: Ia6739db882bbc585ad7aa142795b59b4cba87fdb

6 years agoMerge "Export aidl files for framework"
Colin Cross [Fri, 15 Dec 2017 16:14:33 +0000 (16:14 +0000)]
Merge "Export aidl files for framework"

6 years agoMerge "Track API changes in libcore"
Neil Fuller [Fri, 15 Dec 2017 16:14:08 +0000 (16:14 +0000)]
Merge "Track API changes in libcore"
am: 63ae028ae0

Change-Id: I0163f365395c262b2a1402f674bdb7d0cc1b0e74

6 years agoMerge "Track API changes in libcore"
Neil Fuller [Fri, 15 Dec 2017 16:03:45 +0000 (16:03 +0000)]
Merge "Track API changes in libcore"

6 years agodocs: Added code tag to meta-data name and fixed some @see tags
Ricardo Loo Foronda [Fri, 27 Oct 2017 00:02:31 +0000 (17:02 -0700)]
docs: Added code tag to meta-data name and fixed some @see tags

Status: Ready for review.

Changes:
* Surrounded android.service.carrier.LONG_LIVED_BINDING with code tags
  in CarrierService class.
* Prefixed @see tags with # in CarrierConfigManager#KEY_FORCE_HOME_NETWORK_BOOL.
* Prefixed @see tag with class name in
  CarrierConfigManager#notifyConfigChangedForSubId.

Test: make ds-docs

Staged content:
*
https://android-dot-devsite.googleplex.com/reference/android/service/carrier/CarrierService.html
*
https://android-dot-devsite.googleplex.com/reference/android/telephony/CarrierConfigManager.html#KEY_FORCE_HOME_NETWORK_BOOL
*
https://android-dot-devsite.googleplex.com/reference/android/telephony/CarrierConfigManager.html#notifyConfigChangedForSubId(int)

Bug: 23289716
Change-Id: I3b5be3ecc45bfb83e3fe0ae9bc76dc7761557e08

6 years agoMerge "Move Mutable{Int,Long} from libcore to framework." am: ba9db527ec
Tobias Thierer [Fri, 15 Dec 2017 14:12:41 +0000 (14:12 +0000)]
Merge "Move Mutable{Int,Long} from libcore to framework." am: ba9db527ec
am: cac71f08e4

Change-Id: Iea66238ac89df2f7b8e71f6df8dc7cadb2396d24

6 years agoMerge "Track removal of android.system.Os.{sendfile,waitpid}." am: 833aa452a8
Tobias Thierer [Fri, 15 Dec 2017 14:05:11 +0000 (14:05 +0000)]
Merge "Track removal of android.system.Os.{sendfile,waitpid}." am: 833aa452a8
am: 0712266bd4

Change-Id: Idb94dd6559afb1cc72f3d84698306ee4e69c35dd

6 years agoMerge "Move Mutable{Int,Long} from libcore to framework."
Tobias Thierer [Fri, 15 Dec 2017 14:02:28 +0000 (14:02 +0000)]
Merge "Move Mutable{Int,Long} from libcore to framework."
am: ba9db527ec

Change-Id: I5c0ef040b00a9482cd3ae3500e4cdce2a9490072

6 years agoMerge "Track removal of android.system.Os.{sendfile,waitpid}."
Tobias Thierer [Fri, 15 Dec 2017 13:56:00 +0000 (13:56 +0000)]
Merge "Track removal of android.system.Os.{sendfile,waitpid}."
am: 833aa452a8

Change-Id: Ieed0816cddba7d05bbebceae9ca6f5bc1f55bd08

6 years agoMerge "Move Mutable{Int,Long} from libcore to framework."
Tobias Thierer [Fri, 15 Dec 2017 13:46:52 +0000 (13:46 +0000)]
Merge "Move Mutable{Int,Long} from libcore to framework."

6 years agoMerge "Track removal of android.system.Os.{sendfile,waitpid}."
Tobias Thierer [Fri, 15 Dec 2017 13:45:12 +0000 (13:45 +0000)]
Merge "Track removal of android.system.Os.{sendfile,waitpid}."

6 years agoTrack API changes in libcore
Neil Fuller [Thu, 30 Nov 2017 15:54:50 +0000 (15:54 +0000)]
Track API changes in libcore

Bug: 35910877
Test: Build
(cherry picked from commit 12a747e656be08e208d44f6313d242436d5973ca)
Merged-In: Ia2e966e55d7a6d4d190e77af3af6a568e2ab5dee
Change-Id: Ia2e966e55d7a6d4d190e77af3af6a568e2ab5dee

6 years agoMerge "Switch to modern ArgumentMatchers" am: 343c512834
Philip P. Moltmann [Fri, 15 Dec 2017 11:03:51 +0000 (11:03 +0000)]
Merge "Switch to modern ArgumentMatchers" am: 343c512834
am: 3f5a8e019e

Change-Id: I7103c06cf8c397a5ec2d536a4b7b16258f686244

6 years agoMerge "Switch to modern ArgumentMatchers"
Philip P. Moltmann [Fri, 15 Dec 2017 10:47:38 +0000 (10:47 +0000)]
Merge "Switch to modern ArgumentMatchers"
am: 343c512834

Change-Id: I25f39cefde34f5a27a9abf5d97fe94dcbcfee3cd

6 years agoMerge "Switch to modern ArgumentMatchers"
Treehugger Robot [Fri, 15 Dec 2017 10:33:14 +0000 (10:33 +0000)]
Merge "Switch to modern ArgumentMatchers"

6 years agoMerge "Revert "Send empty LinkProperties when entering StoppedState."" am: e8a4cb13e9
Erik Kline [Fri, 15 Dec 2017 07:29:10 +0000 (07:29 +0000)]
Merge "Revert "Send empty LinkProperties when entering StoppedState."" am: e8a4cb13e9
am: bb8c1a501a

Change-Id: I78bd3c062e9ae89f43dda93ff0d8785cd2cbff70

6 years agoMerge "Revert "Send empty LinkProperties when entering StoppedState.""
Erik Kline [Fri, 15 Dec 2017 07:20:33 +0000 (07:20 +0000)]
Merge "Revert "Send empty LinkProperties when entering StoppedState.""
am: e8a4cb13e9

Change-Id: Ib8b889f0c80f90eff4d079ee7e0686ebd2812885

6 years agoMerge "Revert "Send empty LinkProperties when entering StoppedState.""
Erik Kline [Fri, 15 Dec 2017 07:09:24 +0000 (07:09 +0000)]
Merge "Revert "Send empty LinkProperties when entering StoppedState.""

6 years agoMerge "Send empty LinkProperties when entering StoppedState." am: 5557fe3e2d
Erik Kline [Fri, 15 Dec 2017 06:49:11 +0000 (06:49 +0000)]
Merge "Send empty LinkProperties when entering StoppedState." am: 5557fe3e2d
am: de336f18f9

Change-Id: Ida8252c45d7e4680282b49f995fc564cb7227adf

6 years agoMerge "Send empty LinkProperties when entering StoppedState."
Erik Kline [Fri, 15 Dec 2017 06:39:22 +0000 (06:39 +0000)]
Merge "Send empty LinkProperties when entering StoppedState."
am: 5557fe3e2d

Change-Id: I5b343fdd2da7f64284b4c4b357516320c8c81594

6 years agoRevert "Send empty LinkProperties when entering StoppedState."
Erik Kline [Fri, 15 Dec 2017 06:36:50 +0000 (06:36 +0000)]
Revert "Send empty LinkProperties when entering StoppedState."

This reverts commit 94209ab7686b202cfad6e42e07056bb9511006a8.

Reason for revert: should not have auto-submitted prior to more extensive wifi team testing.

Change-Id: Ie81b10473caf34971226948038bc20dc4fa6a1ae

6 years agoMerge "Send empty LinkProperties when entering StoppedState."
Treehugger Robot [Fri, 15 Dec 2017 06:29:15 +0000 (06:29 +0000)]
Merge "Send empty LinkProperties when entering StoppedState."

6 years agoMerge "Fix broken test due to API rename" am: 0abc93177f
nharold [Thu, 14 Dec 2017 23:28:16 +0000 (23:28 +0000)]
Merge "Fix broken test due to API rename" am: 0abc93177f
am: ee898c81a7

Change-Id: I7e99991cd2c71c66e1acb3aa3957efb28c9a426a

6 years agoExport aidl files for framework
Colin Cross [Thu, 14 Dec 2017 23:18:42 +0000 (15:18 -0800)]
Export aidl files for framework

Export the aidl files for framework so that anything building
against the framework automatically gets the default aidl
includes.

Test: m checkbuild
Change-Id: I26c599c79babd8ac91340a4e9d2c75d3f211f776

6 years agoMerge "Fix broken test due to API rename"
nharold [Thu, 14 Dec 2017 23:20:11 +0000 (23:20 +0000)]
Merge "Fix broken test due to API rename"
am: 0abc93177f

Change-Id: I75a3f96e0d6d7cf05bbd8eb0dae03d114ac76f3e

6 years agoMerge "Fix broken test due to API rename"
nharold [Thu, 14 Dec 2017 23:07:53 +0000 (23:07 +0000)]
Merge "Fix broken test due to API rename"

6 years agoFix broken test due to API rename
Nathan Harold [Thu, 14 Dec 2017 22:46:46 +0000 (14:46 -0800)]
Fix broken test due to API rename

A race condition during an Api rename has caused
the name change from reserveSecurityParameterIndex
to allocateSecurityParameterIndex to be wrong in
a test. Fixing.

Bug: 69128142
Test: runtest frameworks-net
Change-Id: I12fb9832cb938dc19f463b1f1124127435d7b173

6 years agoAdds MMTel APIs in temporary namespace
Brad Ebinger [Wed, 29 Nov 2017 03:15:47 +0000 (19:15 -0800)]
Adds MMTel APIs in temporary namespace

This change adds the new MMTel APIs in a
temporary android.telephony.ims.internal
namespace so that integration work can start
from the ImsService side.

Once the APIs are finalized further and integrated
into the platform, the namespace will be moved
back to android.telephony.ims.

Tests and integration CLs to follow in
separate CLs. Anything that is not implemented
yet has a TODO.

Test: Manual
Bug: 63987047
Change-Id: Iec5e15438f6259c6edd9a308e66bebc92685c578

6 years agoMerge "Confirmation code second try." am: df0f5e9791
Holly Jiuyu Sun [Thu, 14 Dec 2017 22:46:29 +0000 (22:46 +0000)]
Merge "Confirmation code second try." am: df0f5e9791
am: cdc3c3ec77

Change-Id: I4c0de71e0c488551f6d0fa5e1f73ca2971e4a5f6

6 years agoMerge "Confirmation code second try."
Holly Jiuyu Sun [Thu, 14 Dec 2017 22:37:58 +0000 (22:37 +0000)]
Merge "Confirmation code second try."
am: df0f5e9791

Change-Id: I426c5fcb2610cd1740fb9d6cd0a98a7bacfcb58a

6 years agoMerge "Confirmation code second try."
Holly Jiuyu Sun [Thu, 14 Dec 2017 22:25:37 +0000 (22:25 +0000)]
Merge "Confirmation code second try."

6 years agoMerge "Use consistent naming for allocating SPI." am: bf48afea49
nharold [Thu, 14 Dec 2017 21:36:32 +0000 (21:36 +0000)]
Merge "Use consistent naming for allocating SPI." am: bf48afea49
am: 4753ed4b1b

Change-Id: Ib5d89044313341790b1ee9271642072ddce181af

6 years agoMerge "Use consistent naming for allocating SPI."
nharold [Thu, 14 Dec 2017 21:21:06 +0000 (21:21 +0000)]
Merge "Use consistent naming for allocating SPI."
am: bf48afea49

Change-Id: I9adb5c14e91b33f09707c85c865cf2fc454f80ba

6 years agoMerge "Use consistent naming for allocating SPI."
nharold [Thu, 14 Dec 2017 21:10:16 +0000 (21:10 +0000)]
Merge "Use consistent naming for allocating SPI."

6 years agoMerge "Remove compiled classes list" am: 3adfec2de3
Mathieu Chartier [Thu, 14 Dec 2017 19:57:14 +0000 (19:57 +0000)]
Merge "Remove compiled classes list" am: 3adfec2de3
am: 3a3fc7a43b

Change-Id: Ia40246372d156d308c4e3930c3789dfe0a1010f8

6 years agoMerge "Remove compiled classes list"
Mathieu Chartier [Thu, 14 Dec 2017 19:44:50 +0000 (19:44 +0000)]
Merge "Remove compiled classes list"
am: 3adfec2de3

Change-Id: I98d29b9f3aeeaf78ba93b631b0746cc37ac9e7e5

6 years agoMerge "Remove compiled classes list"
Treehugger Robot [Thu, 14 Dec 2017 19:16:47 +0000 (19:16 +0000)]
Merge "Remove compiled classes list"

6 years agoMerge "Update PhoneStateListener#onCallStateChanged Javadoc." am: 6e41b2c5c8
Jeff Davidson [Thu, 14 Dec 2017 18:26:04 +0000 (18:26 +0000)]
Merge "Update PhoneStateListener#onCallStateChanged Javadoc." am: 6e41b2c5c8
am: 67c9a43605

Change-Id: If333cd7cee4785779cdd4acc8421059c4a947dd2

6 years agoMerge "Update PhoneStateListener#onCallStateChanged Javadoc."
Jeff Davidson [Thu, 14 Dec 2017 18:11:26 +0000 (18:11 +0000)]
Merge "Update PhoneStateListener#onCallStateChanged Javadoc."
am: 6e41b2c5c8

Change-Id: I9fd9ab01b770fc8a1c5998d3a4c3e824123e2076

6 years agoMerge "Update PhoneStateListener#onCallStateChanged Javadoc."
Treehugger Robot [Thu, 14 Dec 2017 17:52:27 +0000 (17:52 +0000)]
Merge "Update PhoneStateListener#onCallStateChanged Javadoc."

6 years agoSwitch to modern ArgumentMatchers
Philip P. Moltmann [Mon, 27 Nov 2017 20:29:20 +0000 (12:29 -0800)]
Switch to modern ArgumentMatchers

Test: - adb shell am instrument -w -e class com.android.mediaframeworktest.unit.MediaInserterTest com.android.mediaframeworktest/android.support.test.runner.AndroidJUnitRunner
      - atest com.android.settingslib.users.AppRestrictionsHelperTest
      - atest com.android.server.NetworkScorerAppManagerTest com.android.server.accessibility.MotionEventInjectorTest com.android.server.webkit.WebViewUpdateServiceTest
Change-Id: I6d4c543541d3bebcd65e5aa9e3f4d9a0152d5583

6 years agoRemove compiled classes list
Mathieu Chartier [Tue, 12 Dec 2017 19:17:01 +0000 (11:17 -0800)]
Remove compiled classes list

No longer used.

(cherry-picked from commit c87f8124bc1b79969f512f67d5d7f837b4cf28f7)

Bug: 37966211
Test: make
Merged-In: I5a1ef82ed6d8cf771513b86960c3d1d8cf7418f9
Change-Id: I5a1ef82ed6d8cf771513b86960c3d1d8cf7418f9

6 years agoMerge "input cmds: fix keyevent not support sources parameter" am: 11ec2eb118
gaoshang [Thu, 14 Dec 2017 16:37:08 +0000 (16:37 +0000)]
Merge "input cmds: fix keyevent not support sources parameter" am: 11ec2eb118
am: 4f697fe574

Change-Id: Ice43c79858930ccc48b9470152e0af2d99e966ae

6 years agoUpdate PhoneStateListener#onCallStateChanged Javadoc.
Jeff Davidson [Fri, 10 Nov 2017 23:58:20 +0000 (15:58 -0800)]
Update PhoneStateListener#onCallStateChanged Javadoc.

While the doc suggested that the phone number was "incoming" (e.g.
only populated for incoming calls), it should also be populated for
outgoing calls.

Bug: 67748129
Test: Verified expected behavior on Taimen running OC-MR1, added CTS
test (see other CL in this topic)
Change-Id: I1ddd9c042f287953358a794b91b2af5ed6f5b597
Merged-In: I1ddd9c042f287953358a794b91b2af5ed6f5b597

6 years agoMerge "input cmds: fix keyevent not support sources parameter"
gaoshang [Thu, 14 Dec 2017 16:26:46 +0000 (16:26 +0000)]
Merge "input cmds: fix keyevent not support sources parameter"
am: 11ec2eb118

Change-Id: I7e527a58332a4453fe104538e55a60a444602159

6 years agoMerge "input cmds: fix keyevent not support sources parameter"
Treehugger Robot [Thu, 14 Dec 2017 16:14:34 +0000 (16:14 +0000)]
Merge "input cmds: fix keyevent not support sources parameter"

6 years agoinput cmds: fix keyevent not support sources parameter
gaoshang [Thu, 14 Dec 2017 09:52:23 +0000 (17:52 +0800)]
input cmds: fix keyevent not support sources parameter

reused args.length repalce length.

https://issuetracker.google.com/issues/70654695
Test: input cmds

Change-Id: Ifd8600d66d1647ae677add6b9d95b1d6831d6edb
Signed-off-by: gaoshang <gaoshang@xiaomi.com>
6 years agoConfirmation code second try.
Holly Jiuyu Sun [Fri, 10 Nov 2017 03:28:49 +0000 (19:28 -0800)]
Confirmation code second try.

Bug: 69050703
Test: test on phone
Merged-In: I3e3671bf83715ce55a9d0662f518ef837ac8f22f
Change-Id: I3e3671bf83715ce55a9d0662f518ef837ac8f22f