OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "SMS over IMS APIs revision" am: 2bf7f03e63
abdalkader [Thu, 21 Dec 2017 19:40:25 +0000 (19:40 +0000)]
Merge "SMS over IMS APIs revision" am: 2bf7f03e63
am: f9eba1a18f

Change-Id: Ia7bdaeee0ca3942d72d9e92faa78a947fe1d4616

6 years agoMerge "Add Notification Flag behavior test" am: 89bb1971d0
Yan Sun [Thu, 21 Dec 2017 19:36:32 +0000 (19:36 +0000)]
Merge "Add Notification Flag behavior test" am: 89bb1971d0
am: dee5f9a738

Change-Id: Ib7aa75882fb1b8d3c3380ec680969abe252cbff1

6 years agoMerge "Fix random systemui crashes during cts test DO NOT MERGE" am: d8514e82aa ...
Chrison.chai [Thu, 21 Dec 2017 19:32:18 +0000 (19:32 +0000)]
Merge "Fix random systemui crashes during cts test DO NOT MERGE" am: d8514e82aa  -s ours
am: e9940be86d

Change-Id: I77051a94b2e8694d378973c79310befca933515b

6 years agoMerge "Testables lib should not statically link mockito" am: 47d04fc5c0
Philip P. Moltmann [Thu, 21 Dec 2017 19:28:17 +0000 (19:28 +0000)]
Merge "Testables lib should not statically link mockito" am: 47d04fc5c0
am: b42cd23425

Change-Id: I7d7096cf24234925256895c3527f44e72cf07493

6 years agoMerge "SMS over IMS APIs revision"
abdalkader [Thu, 21 Dec 2017 19:20:36 +0000 (19:20 +0000)]
Merge "SMS over IMS APIs revision"
am: 2bf7f03e63

Change-Id: I7296426e1c1fc903d92e324a09598e357e75389b

6 years agoMerge "Receiving side Call handover API implementation." am: 3c7bc2dc06
Sanket Padawe [Thu, 21 Dec 2017 19:19:54 +0000 (19:19 +0000)]
Merge "Receiving side Call handover API implementation." am: 3c7bc2dc06
am: 151c15445a

Change-Id: Ie5c522cd1c9c3b0da254cf1fa9f1a756361a4e3f

6 years agoMerge "Add Notification Flag behavior test"
Yan Sun [Thu, 21 Dec 2017 19:17:32 +0000 (19:17 +0000)]
Merge "Add Notification Flag behavior test"
am: 89bb1971d0

Change-Id: I0948f245fee622b5acd1a1bb414e7a2e20090dc8

6 years agoMerge "Use NetworkStatsService to get stats for apps" am: 693d8a2ab1
Chenbo Feng [Thu, 21 Dec 2017 19:15:29 +0000 (19:15 +0000)]
Merge "Use NetworkStatsService to get stats for apps" am: 693d8a2ab1
am: fa7f4015fc

Change-Id: I14f614a86214bd4f006415c48b9a8323e06c737f

6 years agoMerge "Fix random systemui crashes during cts test DO NOT MERGE"
Chrison.chai [Thu, 21 Dec 2017 19:14:40 +0000 (19:14 +0000)]
Merge "Fix random systemui crashes during cts test DO NOT MERGE"
am: d8514e82aa  -s ours

Change-Id: Ib0b5affb287771dfc965ebe0a05791849aa919c8

6 years agoMerge "Testables lib should not statically link mockito"
Philip P. Moltmann [Thu, 21 Dec 2017 19:12:57 +0000 (19:12 +0000)]
Merge "Testables lib should not statically link mockito"
am: 47d04fc5c0

Change-Id: I4aee182a94fa62a8a254f0bbc480b4de1a4ed688

6 years agoMerge "SMS over IMS APIs revision"
abdalkader [Thu, 21 Dec 2017 18:12:07 +0000 (18:12 +0000)]
Merge "SMS over IMS APIs revision"

6 years agoMerge "Add Notification Flag behavior test"
Treehugger Robot [Thu, 21 Dec 2017 17:54:34 +0000 (17:54 +0000)]
Merge "Add Notification Flag behavior test"

6 years agoMerge "doc: Fixing Javadoc formatting problems." into oc-mr1-dev
Andrew Solovay [Thu, 21 Dec 2017 17:42:46 +0000 (17:42 +0000)]
Merge "doc: Fixing Javadoc formatting problems." into oc-mr1-dev
am: 7835c650b2

Change-Id: I662ac186b079d88fc503fa546b52b1297b98a036

6 years agoMerge "Receiving side Call handover API implementation."
Sanket Padawe [Thu, 21 Dec 2017 17:41:40 +0000 (17:41 +0000)]
Merge "Receiving side Call handover API implementation."
am: 3c7bc2dc06

Change-Id: I7badcfaf9d308fb05745b0f37ee99603f5eee1c2

6 years agoMerge "Use NetworkStatsService to get stats for apps"
Chenbo Feng [Thu, 21 Dec 2017 17:38:12 +0000 (17:38 +0000)]
Merge "Use NetworkStatsService to get stats for apps"
am: 693d8a2ab1

Change-Id: I81a28a172e69fc405e99eb9c3a4fd0c729ca613d

6 years agoMerge "Fix random systemui crashes during cts test DO NOT MERGE"
Treehugger Robot [Thu, 21 Dec 2017 15:27:44 +0000 (15:27 +0000)]
Merge "Fix random systemui crashes during cts test DO NOT MERGE"

6 years agoMerge "Testables lib should not statically link mockito"
Treehugger Robot [Thu, 21 Dec 2017 15:27:23 +0000 (15:27 +0000)]
Merge "Testables lib should not statically link mockito"

6 years agoFix random systemui crashes during cts test DO NOT MERGE
Chrison.chai [Wed, 15 Nov 2017 01:31:26 +0000 (09:31 +0800)]
Fix random systemui crashes during cts test DO NOT MERGE

    systemui may crash due
    to an uninitialized value of mNavigationBar probably because
    of some race condition during initialization caused by emulation
    performance issues:

    11-01 19:48:58.634  5064  5064 E AndroidRuntime: FATAL EXCEPTION: main
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: Process: com.android.systemui, PID: 5064
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.android.systemui.statusbar.phone.LightBarTransitionsController.dump (java.io.FileDescriptor, java.io.PrintWriter, java.lang.String[])' on a null object reference
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at com.android.systemui.statusbar.phone.LightBarController.dump(LightBarController.java:241)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at com.android.systemui.statusbar.phone.StatusBar.dump(StatusBar.java:3448)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at com.android.systemui.SystemBars.dump(SystemBars.java:48)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at com.android.systemui.SystemUIService.dump(SystemUIService.java:52)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at android.app.ActivityThread.handleDumpService(ActivityThread.java:3488)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at android.app.ActivityThread.-wrap9(Unknown Source:0)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at android.app.ActivityThread.handleMessage(ActivityThread.java:1726)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:105)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6541)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at com.android.internal.os.Zygote.run(Zygote.java:240)
    11-01 19:48:58.634  5064  5064 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:767)

    This patches adds an explicit checks for (mNavigationBar != null)
    everywhere it is used.

    Test: cts test.

Change-Id: I8056aef54a10bbb1970bc2ce4913e7a618498fd3

6 years agoSMS over IMS APIs revision
Brad Ebinger [Wed, 29 Nov 2017 03:15:47 +0000 (19:15 -0800)]
SMS over IMS APIs revision

- Move from being a feature to being a capability
- Move format to the constructor and make final
- Initial hooking up of APIs provided by platform for ims providers.
- Add constants for send status result
- Rename SmsListener callbacks.
- Split acknowledgeSms for sms and sms reports.
- Add reason for onSendSmsResult
Bug: 69846044

Test: None
Change-Id: I861664264a117d5483e392d4aabff59bfaf4373e

6 years agoTestables lib should not statically link mockito
Philip P. Moltmann [Wed, 20 Dec 2017 23:41:32 +0000 (15:41 -0800)]
Testables lib should not statically link mockito

- All users of the lib already statically link mockito
- We should allow the users to decide what flavor they use

Test: m -j checkbuild
Change-Id: Ibbdb8be8022432a13b872865ade47b92b28976c6
Merged-In: Ibbdb8be8022432a13b872865ade47b92b28976c6

6 years agoMerge "Receiving side Call handover API implementation."
Sanket Padawe [Wed, 20 Dec 2017 21:54:38 +0000 (21:54 +0000)]
Merge "Receiving side Call handover API implementation."

6 years agoMerge "doc: Fixing Javadoc formatting problems." into oc-mr1-dev
Andrew Solovay [Wed, 20 Dec 2017 21:34:26 +0000 (21:34 +0000)]
Merge "doc: Fixing Javadoc formatting problems." into oc-mr1-dev

6 years agoMerge "Use NetworkStatsService to get stats for apps"
Treehugger Robot [Wed, 20 Dec 2017 20:30:54 +0000 (20:30 +0000)]
Merge "Use NetworkStatsService to get stats for apps"

6 years agoImport translations. DO NOT MERGE am: 406659b709 -s ours am: 1fccf167ff -s ours...
Bill Yi [Wed, 20 Dec 2017 19:30:50 +0000 (19:30 +0000)]
Import translations. DO NOT MERGE am: 406659b709  -s ours am: 1fccf167ff  -s ours am: daa1d87e50  -s ours am: 0e62ea2f4c  -s ours
am: c5dff435b0  -s ours

Change-Id: I1ad653cc62c3cbdbffb486f1fa02013be8e953b1

6 years agoMerge "Don't include mockito in frameworks-base-testutils" am: f924642729
Philip P. Moltmann [Wed, 20 Dec 2017 19:18:45 +0000 (19:18 +0000)]
Merge "Don't include mockito in frameworks-base-testutils" am: f924642729
am: cf7aa7c09e

Change-Id: I6b2486c69af1a05f8282a0d648403522adf2b471

6 years agoImport translations. DO NOT MERGE am: 406659b709 -s ours am: 1fccf167ff -s ours...
Bill Yi [Wed, 20 Dec 2017 19:17:58 +0000 (19:17 +0000)]
Import translations. DO NOT MERGE am: 406659b709  -s ours am: 1fccf167ff  -s ours am: daa1d87e50  -s ours
am: 0e62ea2f4c  -s ours

Change-Id: Ia89c48363a381a246f132a2d8619d7b650ed19ab

6 years agoImport translations. DO NOT MERGE am: 406659b709 -s ours am: 1fccf167ff -s ours
Bill Yi [Wed, 20 Dec 2017 19:12:00 +0000 (19:12 +0000)]
Import translations. DO NOT MERGE am: 406659b709  -s ours am: 1fccf167ff  -s ours
am: daa1d87e50  -s ours

Change-Id: Ieeaf1281b3ef3256264850f8910c7075e07eabe6

6 years agoMerge "Don't include mockito in frameworks-base-testutils"
Philip P. Moltmann [Wed, 20 Dec 2017 19:09:03 +0000 (19:09 +0000)]
Merge "Don't include mockito in frameworks-base-testutils"
am: f924642729

Change-Id: I4470f63baac7bc33dff0dac94da3a0d93c322dc7

6 years agoImport translations. DO NOT MERGE am: 406659b709 -s ours
Bill Yi [Wed, 20 Dec 2017 19:07:26 +0000 (19:07 +0000)]
Import translations. DO NOT MERGE am: 406659b709  -s ours
am: 1fccf167ff  -s ours

Change-Id: I295d71779c2361915f61c3b1f76ca90103b716ea

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 19:03:39 +0000 (19:03 +0000)]
Import translations. DO NOT MERGE
am: 406659b709  -s ours

Change-Id: Ida0956b8a3ba81a7a5f78753236c0cac001c2b1a

6 years agoMerge "Don't include mockito in frameworks-base-testutils"
Treehugger Robot [Wed, 20 Dec 2017 18:55:14 +0000 (18:55 +0000)]
Merge "Don't include mockito in frameworks-base-testutils"

6 years agoMerge "[ipsec-doze] Add fchown to IpSecService to support doze" am: 4edb4c8ec4
Benedict Wong [Wed, 20 Dec 2017 18:42:26 +0000 (18:42 +0000)]
Merge "[ipsec-doze] Add fchown to IpSecService to support doze" am: 4edb4c8ec4
am: 5949912523

Change-Id: I9036fc2768dd9664ab7407b359f3c689c7ce700e

6 years agoMerge "[ipsec-doze] Add fchown to IpSecService to support doze"
Benedict Wong [Wed, 20 Dec 2017 18:35:45 +0000 (18:35 +0000)]
Merge "[ipsec-doze] Add fchown to IpSecService to support doze"
am: 4edb4c8ec4

Change-Id: I75a3cb9e9d9d7d3b6c0ede86074a00ddcd86028e

6 years agoMerge "[ipsec-doze] Add fchown to IpSecService to support doze"
Benedict Wong [Wed, 20 Dec 2017 18:25:32 +0000 (18:25 +0000)]
Merge "[ipsec-doze] Add fchown to IpSecService to support doze"

6 years agoReceiving side Call handover API implementation.
Sanket Padawe [Wed, 20 Dec 2017 18:13:05 +0000 (10:13 -0800)]
Receiving side Call handover API implementation.

Bug: 65415068
Test: Manual

Design doc:
https://docs.google.com/document/d/1qY3oAzjff_4A1ttYb_CGrE_OwTRmXMG_KGsIuPT1ey8/edit#Bug:

Change-Id: Ic0c4af19098252389648007628affc19a44f89dd
Merged-in: Ic0c4af19098252389648007628affc19a44f89dd

6 years agodoc: Fixing Javadoc formatting problems.
Andrew Solovay [Tue, 19 Dec 2017 01:23:35 +0000 (17:23 -0800)]
doc: Fixing Javadoc formatting problems.

No code changes, just fixing typos in the doc comments.

Doc is staged to:

http://go/dac-stage/reference/android/service/autofill/AutofillService.html
http://go/dac-stage/reference/android/service/autofill/FillRequest.html

Test: make ds-docs
Bug: 70812346
Merged-In: Ia76121c60197275c6be1717c8003fe1c4baf5f97
Change-Id: I5ee04bb96234441c5740665540b5e803fcf9710f

6 years agoMerge "Implement Call handover initiation side APIs." am: e2d080481a
Sanket Padawe [Wed, 20 Dec 2017 17:48:58 +0000 (17:48 +0000)]
Merge "Implement Call handover initiation side APIs." am: e2d080481a
am: 9053309827

Change-Id: I98828fd1ef99d42ffbfb8650731c1d2b848bc062

6 years agoMerge "Implement Call handover initiation side APIs."
Sanket Padawe [Wed, 20 Dec 2017 17:41:13 +0000 (17:41 +0000)]
Merge "Implement Call handover initiation side APIs."
am: e2d080481a

Change-Id: Ib9840c4ce4abf64f36e21cbc3256050e4216314b

6 years agoMerge "Implement Call handover initiation side APIs."
Sanket Padawe [Wed, 20 Dec 2017 17:33:45 +0000 (17:33 +0000)]
Merge "Implement Call handover initiation side APIs."

6 years agoMerge "Add support for selecting alternate JDWP implementations" am: cbeea23861
Alex Light [Wed, 20 Dec 2017 15:21:59 +0000 (15:21 +0000)]
Merge "Add support for selecting alternate JDWP implementations" am: cbeea23861
am: f5ec7f2e26

Change-Id: I95d3064791d497986d0ece010be05749904d1ed3

6 years agoMerge "Add support for selecting alternate JDWP implementations"
Alex Light [Wed, 20 Dec 2017 15:13:34 +0000 (15:13 +0000)]
Merge "Add support for selecting alternate JDWP implementations"
am: cbeea23861

Change-Id: Ifa4ffb6610152f1e919bc10fc7c8697c4bb99a0d

6 years agoMerge "Add support for selecting alternate JDWP implementations"
Alex Light [Wed, 20 Dec 2017 15:04:10 +0000 (15:04 +0000)]
Merge "Add support for selecting alternate JDWP implementations"

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 20 Dec 2017 11:38:01 +0000 (03:38 -0800)]
Import translations. DO NOT MERGE

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

6 years agoUse NetworkStatsService to get stats for apps
Chenbo Feng [Wed, 15 Nov 2017 01:54:17 +0000 (17:54 -0800)]
Use NetworkStatsService to get stats for apps

Move the native implementation of TrafficStats to NetworkStatsService
and apps need to get the NetworkStatsService binder interface from
system_server in order to get the network usage stats since boot. This
implementation can hide the detail of retrieving network traffic
information from apps and the NetworkStatsService can choose which
methoed it use to get the data depending on the kernel version of the
device.

Bug: 30950746
Test: CtsNetTestCases -t android.net.cts.TrafficStatsTest
Change-Id: I53bbefd19aa0b783b9b4b42ea4d76db3e9ec07a3

6 years agoMerge "Use getter instead of member for IEuiccController stub." am: 6991266aa6
Holly Jiuyu Sun [Wed, 20 Dec 2017 03:06:37 +0000 (03:06 +0000)]
Merge "Use getter instead of member for IEuiccController stub." am: 6991266aa6
am: fe8ee59db5

Change-Id: I96f4cca6ca0f1f75e2fd32123e6cc3d8769ce348

6 years agoMerge "Use getter instead of member for IEuiccController stub."
Holly Jiuyu Sun [Wed, 20 Dec 2017 02:59:14 +0000 (02:59 +0000)]
Merge "Use getter instead of member for IEuiccController stub."
am: 6991266aa6

Change-Id: I253f3bceb0f3c1855fada016c792bf29876e4aa1

6 years agoMerge "Use getter instead of member for IEuiccController stub."
Holly Jiuyu Sun [Wed, 20 Dec 2017 02:49:50 +0000 (02:49 +0000)]
Merge "Use getter instead of member for IEuiccController stub."

6 years agoImplement Call handover initiation side APIs.
Sanket Padawe [Fri, 1 Dec 2017 21:59:27 +0000 (13:59 -0800)]
Implement Call handover initiation side APIs.

Bug: 65415068
Test: Manual

Design doc:
https://docs.google.com/document/d/1qY3oAzjff_4A1ttYb_CGrE_OwTRmXMG_KGsIuPT1ey8/edit#

Change-Id: I692bb14fba66733154378c2dda525aa85c471a38
Merged-in: I692bb14fba66733154378c2dda525aa85c471a38

6 years agoDon't include mockito in frameworks-base-testutils
Philip P. Moltmann [Tue, 19 Dec 2017 21:20:22 +0000 (13:20 -0800)]
Don't include mockito in frameworks-base-testutils

So that each test can pick if they want mockito-inline or not.

Test: m -j checkbuild
Change-Id: I1ac02acebbe5cd01f3032a10932a1c612d8d3a4d
Merged-In: I1ac02acebbe5cd01f3032a10932a1c612d8d3a4d

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 ago[ipsec-doze] Add fchown to IpSecService to support doze
Benedict Wong [Thu, 7 Dec 2017 05:56:35 +0000 (21:56 -0800)]
[ipsec-doze] Add fchown to IpSecService to support doze

Encap sockets are currently created as the system server, and should be
fchown'd to the user for whom it was created on behalf of.

Bug: 62994731
Test: New tests added and run to IpSecService
Change-Id: Icc49e709ae588981e69765fdb77537d7ffbac5fe

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 agoUse getter instead of member for IEuiccController stub.
Holly Jiuyu Sun [Thu, 14 Dec 2017 05:02:05 +0000 (21:02 -0800)]
Use getter instead of member for IEuiccController stub.

Make EuiccManager robust to com.android.phone process death.

Bug: 64150969
Test: Tested on two walleye devices. One contains the fix, and the other
one doesn't. Use kill -9 PID. The one with the fix can continue work
(the phone process is up quickly after gets killed), while the other one
doesn't work unless restart LPA.
Change-Id: I67649e31381f1c2b6f187d86684b22a000e6e0b0

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