Commit Graph

93755 Commits

Author SHA1 Message Date
Lorenzo Colitti
ea7b1b7bb9 Merge "Address API review comments for VPN changes." am: bbfee2b427
am: 071c17e277

Change-Id: I0c76f4ac181a49f57486b16de2f98f27c60b2a44
2019-03-18 20:08:29 -07:00
Lorenzo Colitti
071c17e277 Merge "Address API review comments for VPN changes."
am: bbfee2b427

Change-Id: I79d035244faeef373751e256f49075d1f2a10faf
2019-03-18 19:34:28 -07:00
Lorenzo Colitti
bbfee2b427 Merge "Address API review comments for VPN changes." 2019-03-19 02:16:58 +00:00
Stanley Tng
72f589aafd Merge "Cleanup annontations for Hearing Aids Profile API" am: f6b3f6a8d8
am: 73f7fd85cb

Change-Id: Iac99eb17a6093992652991d221bf1f048831d6fe
2019-03-18 14:11:03 -07:00
Stanley Tng
73f7fd85cb Merge "Cleanup annontations for Hearing Aids Profile API"
am: f6b3f6a8d8

Change-Id: I33778cde1415fefe985031dd637ab97d620bf284
2019-03-18 13:49:26 -07:00
Treehugger Robot
f6b3f6a8d8 Merge "Cleanup annontations for Hearing Aids Profile API" 2019-03-18 19:57:50 +00:00
Pavel Grafov
50d17cfa07 Address API review comments for VPN changes.
Whitelist is now a Set rather than a list + javadoc improvement.

Bug: 124882903
Bug: 125346147
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: Ieecaad083f2ab55de33587e6ce767f5f961683c9
2019-03-18 17:05:55 +00:00
Andrei-Valentin Onea
abea8411b5 Merge "Add @UnsupportedAppUsage annotations" am: 09426de69d
am: 4bd5774611

Change-Id: Ibf3acf98e452060afa8975b6f91a8921c0032e80
2019-03-18 07:59:22 -07:00
Andrei-Valentin Onea
4bd5774611 Merge "Add @UnsupportedAppUsage annotations"
am: 09426de69d

Change-Id: I8be4fa32c92a5b5ac335bfbfa0a6edffcb881b22
2019-03-18 07:49:55 -07:00
Andrei Onea
dcb67738f6 Add @UnsupportedAppUsage annotations
For packages:
  android.os

This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.

Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@

Bug: 110868826
Test: m
Merged-In: I4ece0a3f37f88fc2508cb965092aed7cabc61819
Change-Id: I0d942254f06c1a355fb906640e223ad34cced6ab
2019-03-18 12:04:18 +00:00
Remi NGUYEN VAN
13be9e9fcd Merge "Remove NetworkParcelable" am: 205886d28f
am: 7201f61c57

Change-Id: Ice0f04749d2b7c2863ad18c29f5967649127ee0e
2019-03-17 18:55:26 -07:00
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
7201f61c57 Merge "Remove NetworkParcelable"
am: 205886d28f

Change-Id: I8dc6d665a33d19ecad2bd5f611c2b68e08d53b97
2019-03-17 18:44:58 -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
205886d28f Merge "Remove NetworkParcelable" 2019-03-18 01:30:25 +00: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
Stanley Tng
7f3b781bfa Cleanup annontations for Hearing Aids Profile API
Remove the @UnsupportedAppUsage and add the @IntDef for the Profile
Connection States in the Hearing Aids Profile API. Also, the parent
class BluetoothProfile has its Profile Connection States annontated.

Bug: 128523382
Test: Compile only
Change-Id: Ibd02516fa637ddb48d70a8dfacf607f047aec282
2019-03-16 00:22:34 +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
904a38be5e Remove NetworkParcelable
With the @JavaOnlyStableParcelable annotation, Network can now be used
as-is as a framework parcelable.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 126477266
Change-Id: I5d9695a31b3ac48d10edcf08ccd0c34375353b79
2019-03-16 03:51:09 +09: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