Commit Graph

93115 Commits

Author SHA1 Message Date
Remi NGUYEN VAN
60d32999db Merge "Add additional SystemApi for NetworkStack" am: 2ffdcc26b0
am: aee43d2387

Change-Id: I5bdc50e7886731f61222bd1edd33765941118175
2019-01-24 02:17:38 -08:00
Remi NGUYEN VAN
aee43d2387 Merge "Add additional SystemApi for NetworkStack"
am: 2ffdcc26b0

Change-Id: I2614b1484498ad9d285be5f6628a94983f1561e4
2019-01-24 02:06:15 -08:00
Remi NGUYEN VAN
2ffdcc26b0 Merge "Add additional SystemApi for NetworkStack" 2019-01-24 09:55:01 +00:00
Ugo Yu
f2d656b438 Merge "Change MetadataListener to a abstract static class" am: 9d3ce3e55e
am: 745c6de6eb

Change-Id: I796dfccf741a1ef6c45d804772415ed198e8e8d1
2019-01-23 23:30:18 -08:00
Ugo Yu
745c6de6eb Merge "Change MetadataListener to a abstract static class"
am: 9d3ce3e55e

Change-Id: Iad82a0046826c548db25c50dcc7cbdb0a90de25a
2019-01-23 23:20:44 -08:00
Treehugger Robot
9d3ce3e55e Merge "Change MetadataListener to a abstract static class" 2019-01-24 07:07:49 +00:00
Junyu Lai
3dea854998 Merge changes from topic "ka05" am: b3656c7b1b
am: 14e51c8a84

Change-Id: I08979872a03c52e933daa39730fd71e998272613
2019-01-23 21:44:11 -08:00
Junyu Lai
14e51c8a84 Merge changes from topic "ka05"
am: b3656c7b1b

Change-Id: I2448348d1501ca50daac87f4c06c120b4de3b2ae
2019-01-23 21:24:06 -08:00
Brad Ebinger
93dd117ee6 Merge "Add FEATURE_TELEPHONY_IMS definition" am: ad075a3837
am: 86999554ea

Change-Id: Ie28a6a11a97dcff35f26dd003d495c14ceb67242
2019-01-23 21:17:22 -08:00
Junyu Lai
b3656c7b1b Merge changes from topic "ka05"
* changes:
  [KA05] Export keepalive offload api for IpSec Nat-T file descriptor
  [KA01] export SocketKeepalive API for NAT-T keepalive
2019-01-24 05:06:39 +00:00
Brad Ebinger
86999554ea Merge "Add FEATURE_TELEPHONY_IMS definition"
am: ad075a3837

Change-Id: Ic1ec5ab56e6f944362032da3c4d1723a99dc8ca3
2019-01-23 21:01:57 -08:00
Treehugger Robot
ad075a3837 Merge "Add FEATURE_TELEPHONY_IMS definition" 2019-01-24 04:50:18 +00:00
Stanley Tng
31b70c2868 Merge "Add Android APIs for Hearing Aids Profile" am: a53fc20213
am: 62a2308550

Change-Id: Id9eccff5eb088f8c2638f242ff1ec6260093c1d4
2019-01-23 18:46:08 -08:00
Stanley Tng
61c1afaa45 Merge "Add 2 new ways to check for Support for Hearing Aids Profile" am: 7982e6f346
am: c144c329ab

Change-Id: If877f5b24f5201efa9448723be90d62f194bf2d6
2019-01-23 18:39:31 -08:00
Christian Wailes
80db7b7783 Merge "Refactored ZygoteConnection.Arguments to ZygoteArguments." am: 3a46c1b4ce
am: 3926f08109

Change-Id: I173c9cd671a9683793eee0c5053e3e8855ec0cf8
2019-01-23 18:34:18 -08:00
Christian Wailes
a13898896c Merge "Code cleanup in ZygoteInit." am: 889648df40
am: 6b7e35d216

Change-Id: I654fcdb478dfae98d78b0353e068122d115dd2c5
2019-01-23 18:28:46 -08:00
Christian Wailes
a1f14e0912 Merge "Code cleanup to conform to style guide / linter." am: f5ff8f0661
am: 420eec4f52

Change-Id: If4634a4d8026c1df1c581b120527926fbee68a0e
2019-01-23 18:23:25 -08:00
Stanley Tng
62a2308550 Merge "Add Android APIs for Hearing Aids Profile"
am: a53fc20213

Change-Id: Ib91747b26a3fffbfe4a87377fde7cbc01f50d0c1
2019-01-23 18:09:19 -08:00
Stanley Tng
c144c329ab Merge "Add 2 new ways to check for Support for Hearing Aids Profile"
am: 7982e6f346

Change-Id: I81f18175e61d5c1d1b213d5a112a8c70621e0d07
2019-01-23 18:03:26 -08:00
Christian Wailes
3f076da22b Merge "Implemented native functions and types for blastula management." am: 5222bf368b
am: c5cc5e525c

Change-Id: I4eb03e2d0592aefa196be7f96687aa4f155c0022
2019-01-23 17:56:00 -08:00
Christian Wailes
3926f08109 Merge "Refactored ZygoteConnection.Arguments to ZygoteArguments."
am: 3a46c1b4ce

Change-Id: Id702f32a15ad134b6d694d0fc53e1721094f78dd
2019-01-23 17:50:58 -08:00
Ugo Yu
d9a0a7fd55 Change MetadataListener to a abstract static class
Bug: 121051445
Test: build pass
Change-Id: I8148d13d2eb0899d54817197ae0be236e2914e47
2019-01-24 09:48:20 +08:00
Christian Wailes
6b7e35d216 Merge "Code cleanup in ZygoteInit."
am: 889648df40

Change-Id: I236f851fe38c16e5f0ad54d64b6ff81bcb090b9e
2019-01-23 17:46:44 -08:00
Christian Wailes
420eec4f52 Merge "Code cleanup to conform to style guide / linter."
am: f5ff8f0661

Change-Id: If6c04c711b328c114d04ea8b4aa01414a715b7a2
2019-01-23 17:42:24 -08:00
Christian Wailes
c5cc5e525c Merge "Implemented native functions and types for blastula management."
am: 5222bf368b

Change-Id: I833eef9f333bd7b5bf552beebfdc7cc483aeec26
2019-01-23 17:38:23 -08:00
Treehugger Robot
a53fc20213 Merge "Add Android APIs for Hearing Aids Profile" 2019-01-24 01:37:05 +00:00
Treehugger Robot
7982e6f346 Merge "Add 2 new ways to check for Support for Hearing Aids Profile" 2019-01-24 01:34:24 +00:00
Brad Ebinger
4e65f803a3 Add FEATURE_TELEPHONY_IMS definition
Bug: 118823723
Test: manual
Change-Id: Ic1e65cfba8ecb117199db6ebd636e0d39007b6c6
2019-01-23 23:52:26 +00:00
Chris Wailes
682b479a88 Refactored ZygoteConnection.Arguments to ZygoteArguments.
This commit moves the ZygoteConnection.Arguments class into its own file
and re-names it to ZygoteArgumens.  Doing this also required small
changes to files that used ZygoteConnection.Arguments.  In turn, this
required some changes to make the files conform to the Frameworks style
guide.

Highlights include:
* Moving ZygoteConnection.Arguments to ZygoteArguments
* Moving helper functions from ZygoteConnection to Zygote
* Re-named member variables in the ZygoteArguments class
* Removed unused imports.

Topic: zygote-prefork
Test: make & flash & launch apps & check log for messages
Bug: 68253328
Change-Id: Ideb414c87a92020128a644147949ef4f4133ae33
Merged-In: Ideb414c87a92020128a644147949ef4f4133ae33
2019-01-23 13:35:16 -08:00
Chris Wailes
cd92db2545 Code cleanup in ZygoteInit.
This commit mostly re-flows the code in ZygoteInit.java to conform to
the Frameworks style guide.

Topic: zygote-prefork
Test: make & flash & launch apps
Bug: 68253328
Change-Id: I0d348caa1d9ca2a4c1e32430e0eebdd91672e473
Merged-In: I0d348caa1d9ca2a4c1e32430e0eebdd91672e473
2019-01-23 13:35:06 -08:00
Chris Wailes
6e3c7ced5e Code cleanup to conform to style guide / linter.
This commit made the following changes to make the code conform to the
Frameworks style guide:
* Re-named variables
* Re-flowed code
* Organized includes

Topic: zygote-prefork
Test: make & flash & launch apps
Bug: 68253328
Change-Id: I9274b32f1f606f29f6eb3a1e5068ca18f607afe7
Merged-In: I9274b32f1f606f29f6eb3a1e5068ca18f607afe7
2019-01-23 13:34:52 -08:00
Chris Wailes
8b35ba25a9 Implemented native functions and types for blastula management.
This patch adds native support for spawning and managing blastula pools,
as well as several code cleanups and modernizations.

Changes includes:
* A function to fork blastulas
* A table for managing blastula-related data
* Functions for adding and removing blastula data from the
aforementioned table
* Switching from NULL to nullptr
* Replacing string-passing error handling with a curried failure
function
* Utility functions for handling managed objects
* JNI functions for blastula pool management

Topic: zygot-prefork
Test: make & flash & launch apps & check log for messages
Bug: 68253328
Change-Id: I12cd9f2c87a2e3c00d64b683edf3631e29a51551
Merged-In: I12cd9f2c87a2e3c00d64b683edf3631e29a51551
2019-01-23 13:34:40 -08:00
Mathieu Chartier
43986e38b3 Merge "[view compilation] Add --compile-layouts flag to pm compile" am: 52cf4adf70
am: 581c43404a

Change-Id: Ie02b1129ee81a1346a775d1873531e3f714b5fea
2019-01-23 09:46:34 -08:00
Nandana Dutt
73226aa0f8 Merge "Improvements to Bugreporting API." am: 212353c896
am: 42df2e1602

Change-Id: I7ea14750afc2c8b6f2b387ad23a054acf1ec6384
2019-01-23 09:36:20 -08:00
Mathieu Chartier
581c43404a Merge "[view compilation] Add --compile-layouts flag to pm compile"
am: 52cf4adf70

Change-Id: I0ad866ef309f31b9dbbc62887f14adf3fcfd7ae4
2019-01-23 09:26:26 -08:00
Nandana Dutt
42df2e1602 Merge "Improvements to Bugreporting API."
am: 212353c896

Change-Id: I1afa04707bcf84aed87bc99695c33b8fdfb08ac4
2019-01-23 09:17:50 -08:00
Mathieu Chartier
52cf4adf70 Merge "[view compilation] Add --compile-layouts flag to pm compile" 2019-01-23 17:02:31 +00:00
Treehugger Robot
212353c896 Merge "Improvements to Bugreporting API." 2019-01-23 17:00:48 +00:00
Remi NGUYEN VAN
9a13aa9ffd Merge changes I1250730c,I7d00848c am: e693d49c0a
am: 9026fb46cc

Change-Id: I31c9f6c11d0f52a34f68151fc2baca1921dcadad
2019-01-23 08:40:50 -08:00
junyulai
215b877f11 [KA05] Export keepalive offload api for IpSec Nat-T file descriptor
Adds system api of createSocketKeepalive to take file descriptor,
so privileged apps could use it without the need of IpSecService.

Bug: 114151147
Test: atest FrameworksNetTests
Change-Id: If926c21704b6ed73a0adfcadad732b97b42bacae
2019-01-24 00:40:25 +08:00
Remi NGUYEN VAN
9026fb46cc Merge changes I1250730c,I7d00848c
am: e693d49c0a

Change-Id: I2f19490a2340bdc2630162dfe9a277dffc5041fa
2019-01-23 08:26:33 -08:00
Remi NGUYEN VAN
299a7cc196 Add additional SystemApi for NetworkStack
Members in this CL were missed in earlier changes.

Test: m
Bug: 112869080
Merged-In: I8b5b80ea7b267357eb0387d504a2f78358d6d502
Change-Id: I8b9b15f8b91962f3ef554fd222a825e471806c9e
2019-01-24 01:01:13 +09:00
junyulai
48eac1d4c8 [KA01] export SocketKeepalive API for NAT-T keepalive
The new set of API replace the PacketKeepalive system API
which is only specific for IPsec NAT-T keepalive packet. Allows
applications to request different types of keepalives through
the same set of API.

By using keepalives, applications could request system to
periodically send specific packets on their behalf, using
hardware offload to save battery power.

This change would only address interface change and test part of
original functionality. After all reference of PacketKeepalive
are removed, another change would be submitted to remove old
API.

Bug: 114151147
Test: atest FrameworksNetTests
Change-Id: I3367666810acc44d5ad20e19acd4bf936e8b5d9c
2019-01-23 23:17:17 +08:00
Remi NGUYEN VAN
e693d49c0a Merge changes I1250730c,I7d00848c
* changes:
  Create a wrapper for IpClient
  Move IpClient to NetworkStack
2019-01-23 15:05:00 +00:00
Chalard Jean
f1c3019d42 Merge "[MS11] Implement findL2Key" am: 773f3f5bf3
am: 21c8257178

Change-Id: I3005b92ab49ed79f854614281ef09fe5dbeea5c9
2019-01-23 03:24:20 -08:00
Chalard Jean
21c8257178 Merge "[MS11] Implement findL2Key"
am: 773f3f5bf3

Change-Id: If429108eddc802f0c13f7b10048b1fe87bd51b22
2019-01-23 03:14:56 -08:00
Treehugger Robot
773f3f5bf3 Merge "[MS11] Implement findL2Key" 2019-01-23 11:01:43 +00:00
Nandana Dutt
b2da22a0de Improvements to Bugreporting API.
* Add cancelBugreport method.
* Remove unused arguments to onFinished listener call.
* Publish the system service now that sepolicy for it
  is submitted.
* Use the new bugreportd service.

Test: boots
BUG:111441001
Change-Id: I12d72e0e1f4ca72d285fd02a3fc1a44f5c179885
2019-01-23 10:21:45 +00:00
Luke Huang
e052154abb Merge changes from topic "Java async dns" am: 31ff0616d1
am: a8e16262f1

Change-Id: I305cf0ae791f9503519884bdf382863002357ac7
2019-01-23 01:14:34 -08:00
Luke Huang
a8e16262f1 Merge changes from topic "Java async dns"
am: 31ff0616d1

Change-Id: Ia08a8300887315d673f398b1340b2f44ce501b14
2019-01-23 01:06:19 -08:00