Commit Graph

93740 Commits

Author SHA1 Message Date
Remi NGUYEN VAN
5fd40295cb Merge "Remove aidl wrappers for framework parcelables" am: 1a1396070e
am: 7cf43a2f53

Change-Id: I41a07768ec8d9af2b7f16d86ee074c206b153b0c
2019-03-17 18:50:17 -07:00
Remi NGUYEN VAN
7cf43a2f53 Merge "Remove aidl wrappers for framework parcelables"
am: 1a1396070e

Change-Id: Ib69a20153754018c951f504b5f14e91074526144
2019-03-17 18:41:05 -07:00
Remi NGUYEN VAN
1a1396070e Merge "Remove aidl wrappers for framework parcelables" 2019-03-18 01:30:01 +00:00
Josh Gao
b578ef38ed Merge "ParcelFileDescriptor: improve javadoc." am: c4e2b24d87
am: bc7222d46d

Change-Id: I4a6d999b503985a84f44ad487bb36a505d80de6a
2019-03-15 20:02:34 -07:00
Josh Gao
bc7222d46d Merge "ParcelFileDescriptor: improve javadoc."
am: c4e2b24d87

Change-Id: Ic01db5d3f9c7527f2458aa4cf10bd2c43d685bed
2019-03-15 19:52:34 -07:00
Treehugger Robot
c4e2b24d87 Merge "ParcelFileDescriptor: improve javadoc." 2019-03-16 02:36:30 +00:00
Fan Zhang
1e932cf89c Merge "Update feature flag mapping owners" am: 16eab7c16d
am: 6d52af0b55

Change-Id: Id0249ae47337c5dca7c60cab580f4e1be4159486
2019-03-15 12:31:45 -07:00
Fan Zhang
6d52af0b55 Merge "Update feature flag mapping owners"
am: 16eab7c16d

Change-Id: I2b51778fc7ed71066d95968bfef6053659945e8c
2019-03-15 12:22:29 -07:00
Fan Zhang
16eab7c16d Merge "Update feature flag mapping owners" 2019-03-15 19:12:37 +00:00
Remi NGUYEN VAN
e80be85790 Remove aidl wrappers for framework parcelables
The new @JavaOnlyStableParcelable annotation allows using the framework
parcelables directly, which removes a lot of boilerplate.

Includes new copy constructors for IpPrefix and LinkAddress so they can
be copied easily as-is into parcelables.

Test: atest FrameworksNetTests
Test: booted, WiFi works
Bug: 126477266

Change-Id: Icac8afe498d0b5ebf9a0d0b9eceb14d64a29b381
2019-03-16 03:50:58 +09:00
Benedict Wong
e942aafb0a Merge "Integrate testNetworkService and Manager with Connectivity stack" am: b86c3255fd
am: 016ac0a953

Change-Id: If9efbc3e0b3f0949286a2a5ad8226009ebbcfc07
2019-03-15 10:59:21 -07:00
Benedict Wong
016ac0a953 Merge "Integrate testNetworkService and Manager with Connectivity stack"
am: b86c3255fd

Change-Id: I571e583d896841c814efe58b8c0875fa9cd3873c
2019-03-15 10:50:06 -07:00
Benedict Wong
b86c3255fd Merge "Integrate testNetworkService and Manager with Connectivity stack" 2019-03-15 17:41:02 +00:00
Nandana Dutt
8ea4083e36 Merge changes I39e84219,I8d0e12cb am: cae221acac
am: 20324711c0

Change-Id: I6d345de879380cd2797008efa79e3befa978f136
2019-03-15 03:47:20 -07:00
Nandana Dutt
20324711c0 Merge changes I39e84219,I8d0e12cb
am: cae221acac

Change-Id: I5fe14b5b25a1b22e184aa02e658c81d9d0238541
2019-03-15 03:39:51 -07:00
Treehugger Robot
cae221acac Merge changes I39e84219,I8d0e12cb
* changes:
  Bugreporting API: Take ownership of fds.
  Don't manage dumpstate lifecycle from system server
2019-03-15 10:28:06 +00:00
Junyu Lai
d3b8a5c332 Merge "[KA02.5] Use binder thread and executor to invoke callback" am: f9ae70a41c
am: 1ed9d716fc

Change-Id: I259ff770ce491d9dec5d136202bebf08e6de58e2
2019-03-15 01:10:46 -07:00
Junyu Lai
1ed9d716fc Merge "[KA02.5] Use binder thread and executor to invoke callback"
am: f9ae70a41c

Change-Id: I892d4f4dc786aa42dcbe565f345e9a731f318c8a
2019-03-15 00:53:55 -07:00
Junyu Lai
f9ae70a41c Merge "[KA02.5] Use binder thread and executor to invoke callback" 2019-03-15 07:35:27 +00:00
Fan Zhang
bfa1f876e8 Update feature flag mapping owners
Test: rebuild

Change-Id: I288e039ffaf88ce271ba17bcc26f0e038314b354
2019-03-14 16:26:05 -07:00
Deqiang Chen
8a4e2f3aeb Merge "Avoid IllegalArgumentException when bluetooth is disabled" am: 2a1bdd2429
am: 787e52045f

Change-Id: I3f55d6e7b56170ee4cafaf60e7ef8b908080c182
2019-03-14 15:53:21 -07:00
Deqiang Chen
787e52045f Merge "Avoid IllegalArgumentException when bluetooth is disabled"
am: 2a1bdd2429

Change-Id: I536b4ca701bed102c5c2914a6dbfa2393a646c6d
2019-03-14 15:41:33 -07:00
Deqiang Chen
2a1bdd2429 Merge "Avoid IllegalArgumentException when bluetooth is disabled" 2019-03-14 22:23:18 +00:00
Nandana Dutt
9d6ff2968e Bugreporting API: Take ownership of fds.
BUG: 126434607
FIXES: 127649051
Test: manual
Change-Id: I39e8421925c53061b6bc2954dffe3bccb7b3314d
2019-03-14 16:16:33 +00:00
junyulai
7c469179ce [KA02.5] Use binder thread and executor to invoke callback
Currently, client side of keepalive event handling rely on a
newly created thread, looper, messenger and handler per object.

However, by creating oneway AIDL interface with the executor,
the callbacks can be invoked on the binder thread with user
specified context, which not only greatly simplify the design
but also reduce the cost of current thread modeling.

Bug: 114151147
Bug: 123969871
Test: 1. atest FrameworksNetTests --generate-new-metric 10
      2. atest-deflake.sh

Change-Id: I27504074cd28d5b5eb94a7ec0e97ebaaaaa1ae3d
2019-03-14 19:24:12 +08:00
Nikita Ioffe
36abd0a7e8 Merge "Add a whitelist to control packages that can use Bugreporting API" am: 17492d0691
am: e54c0344de

Change-Id: I8545743ebce6206b2b8d747eb252a31282bc86cf
2019-03-14 03:34:30 -07:00
Nikita Ioffe
e54c0344de Merge "Add a whitelist to control packages that can use Bugreporting API"
am: 17492d0691

Change-Id: If224c6522c89c53cb1d5e72a55d5aa051a4e0d02
2019-03-14 03:23:08 -07:00
Treehugger Robot
17492d0691 Merge "Add a whitelist to control packages that can use Bugreporting API" 2019-03-14 10:13:32 +00:00
Steven Moreland
840d9c02b7 Merge changes from topic "hidl-updater-system" am: 5a490d4bb7
am: cfea213006

Change-Id: Ida737ee8bdadbacc656e9f6b96f29d793089e695
2019-03-13 10:21:31 -07:00
Steven Moreland
cfea213006 Merge changes from topic "hidl-updater-system"
am: 5a490d4bb7

Change-Id: I1fe4f587bb5f7452752ea3c7fc23635fb4a8aee2
2019-03-13 10:11:57 -07:00
Nikita Ioffe
ee4d7be219 Add a whitelist to control packages that can use Bugreporting API
Test: checked SecurityException is thrown for my custom app
Test: whiltelisted my custom app, checked no SecurityException is thrown
Bug: 126541701
Change-Id: Id0b61ccc1adf40bcb455d3b59b640f4b160bdd84
Merged-In: Id0b61ccc1adf40bcb455d3b59b640f4b160bdd84
(cherry picked from commit 07964b49ac)
2019-03-13 17:01:56 +00:00
Steven Moreland
5a490d4bb7 Merge changes from topic "hidl-updater-system"
* changes:
  pm: AndroidHidlUpdater: system only
  pm: PackageBackwardCompatibility -> applyPolicy
2019-03-13 16:51:30 +00:00
Siarhei Vishniakou
7f0cff2673 Merge "Add Nullable annotation to getDecorView" am: a018254b45
am: b812cec859

Change-Id: I13b43231caaca17dfa3f67c9d77c0792a77f6e3b
2019-03-13 09:39:19 -07:00
Siarhei Vishniakou
b812cec859 Merge "Add Nullable annotation to getDecorView"
am: a018254b45

Change-Id: I50847403490455560f6c7db41db494bab3bc44f8
2019-03-13 09:29:55 -07:00
Treehugger Robot
a018254b45 Merge "Add Nullable annotation to getDecorView" 2019-03-13 16:09:00 +00:00
Nandana Dutt
be80e309ea Don't manage dumpstate lifecycle from system server
Dumpstate now exits correctly when it's finished. So we don't have to
manage its lifecycle from system server.

BUG: 123571915
Test: manually verified dumpstate service dies
Change-Id: I8d0e12cb607cda74b5cc36e26306ea106da67ba3
2019-03-13 15:19:55 +00:00
Abhijeet Kaur
ec0a01ec78 Merge "Clean up bugreport API." am: 2e44838064
am: 8deb2ecb31

Change-Id: I9054327b5f9b072986dd2d7ef5b38716138132c9
2019-03-13 07:30:03 -07:00
Abhijeet Kaur
8deb2ecb31 Merge "Clean up bugreport API."
am: 2e44838064

Change-Id: Ib21ecea8a3dc63808784aba20f018ddd012c03c8
2019-03-13 07:20:42 -07:00
Treehugger Robot
2e44838064 Merge "Clean up bugreport API." 2019-03-13 14:07:43 +00:00
Neil Fuller
2538a27a24 Merge "Improve documentation around HostnameVerifier" am: abff3f4f21
am: 3ffddc2444

Change-Id: I28dc49eeeda3132762f10a57c36c826bbe5df888
2019-03-13 06:46:05 -07:00
Neil Fuller
3ffddc2444 Merge "Improve documentation around HostnameVerifier"
am: abff3f4f21

Change-Id: I7f61ebc9aa41190b6d1508fb3c511c066d3a269c
2019-03-13 06:36:30 -07:00
Neil Fuller
abff3f4f21 Merge "Improve documentation around HostnameVerifier" 2019-03-13 13:26:02 +00:00
Abhijeet Kaur
0bbb9f6882 Clean up bugreport API.
Make BugreportManager class final.

Add FloatRange annotation for BugreportManager.onProgress() function's
parameter.

Make @IntDef in BugreportMode hidden.

Bug: 126434607
Test: builds
Change-Id: I95f004106ba97bc9e99859a8b23b96a86b6a43f4
Merged-In: I95f004106ba97bc9e99859a8b23b96a86b6a43f4
2019-03-13 11:49:42 +00:00
Ganesh Mahendran
289ccbd48d Merge "continue read file when returned count > 0" am: 894c578a02
am: 2a82e9a69c

Change-Id: I2880bdc9157996d30472e3eddb714c498b14e66b
2019-03-13 01:15:04 -07:00
Ganesh Mahendran
2a82e9a69c Merge "continue read file when returned count > 0"
am: 894c578a02

Change-Id: I43f5be6a4b365e2e7ea11ae413860d9cb0c37949
2019-03-13 00:59:30 -07:00
Treehugger Robot
894c578a02 Merge "continue read file when returned count > 0" 2019-03-13 07:36:51 +00:00
Mathieu Chartier
88b0f9bf9a Merge "Call notifyStartupCompleted from reportFullyDrawn" am: 13f15b3752
am: 96040ee591

Change-Id: I4aed2c47bd05a303acafbfc314eb9355a6491604
2019-03-12 23:42:36 -07:00
Jeremy Klein
9eeac7326d Merge "Rename entitlement callback to adhere to API guidelines." am: 0102e3d548
am: 33a9d34e8a

Change-Id: I29bbf7cbbc0d87a9831762342d81496e6983df68
2019-03-12 23:36:36 -07:00
Stanley Tng
f36e4f26a4 Merge "Add @NonNull annotations to LE CoC APIs" am: 8b57ab7989
am: 68e00291e0

Change-Id: If0de3820ab36ddeaeb57d332f332a84963c8ad5d
2019-03-12 23:05:26 -07:00
Mathieu Chartier
96040ee591 Merge "Call notifyStartupCompleted from reportFullyDrawn"
am: 13f15b3752

Change-Id: I6c293f77639421a5517e0c56391e60982ce8ce31
2019-03-12 22:44:04 -07:00