438274 Commits

Author SHA1 Message Date
easoncylee
1620d24cb9 Convert apct/framework/presubmit-cloud-tf to Test Mapping Suite.
This CL is to convert CF presubmit tests to run in Test Mapping suite.
It has been verified that the test coverage is the same as the original
ATP config.

Bug: 145165552
Bug: 145575229

Test: TreeHugger
      atest FrameworksServicesTests
      atest FrameworksCoreTests

Change-Id: I76e3b0d3a85d447d7b1e3138f6b341c8f00475dd
2019-12-09 20:51:57 +08:00
Treehugger Robot
0b51af2540 Merge "Convert apct/framework/ext_services_test-cloud-tf and apct/framework/testables_test-cloud-tf to Test Mapping Suite." 2019-12-09 06:39:52 +00:00
Paul Hu
60675ece9a Merge "Add CONNECTIVITY_INTERNAL to bt tethering related APIs temporarily" 2019-12-08 14:00:52 +00:00
Chen Xu
a8c4669579 Merge "allow com.android.cellbroadcastservice grant signature permission" 2019-12-07 21:19:23 +00:00
Treehugger Robot
bb8b854423 Merge "Add last connected device concept" 2019-12-07 00:39:13 +00:00
Treehugger Robot
a594a9e68c Merge "Add property to skip idle state for zram writeback" 2019-12-07 00:12:04 +00:00
Jordan Liu
9fd7c05eb9 Merge "Expose some SystemApis and edit framework-cellbroadcast-shared-srcs" 2019-12-07 00:06:23 +00:00
Zach Johnson
bd4031de4a Merge changes from topics "merge BT bond", "parameterize BT enable", "remove BT isEnabled"
* changes:
  Collapse the implementations of BluetoothDevice.createBond
  Call parameterized version of IBluetooth.enable
  Implement isEnabled in terms of getState
2019-12-06 23:20:07 +00:00
Treehugger Robot
c4090312df Merge "SubscriptionPlan: move out of telephony" 2019-12-06 23:12:58 +00:00
Marco Nelissen
b002876a41 Merge "Fix bad javadoc link" 2019-12-06 22:30:15 +00:00
Treehugger Robot
b0a795a511 Merge "Remove old compatibility layer for old ImsService Impls" 2019-12-06 22:11:26 +00:00
Shuo Qian
0024076b1a Merge "Make getPackagesWithPriviligesForAllActiveSubscriptions system API" 2019-12-06 22:01:17 +00:00
Meng Wang
1ba2871a02 SubscriptionPlan: move out of telephony
Hidden APIs of SubscriptionPlan are used in system server, not
telephopny. So it makes more sense for SubscriptionPlan to be in
core instead of telephopny.

Bug: 145814152
Test: make
Change-Id: I3bfb0ec699f46b0cc34c3bc2e13bfb242bc295bf
2019-12-06 13:50:15 -08:00
Meng Wang
a11df59bb4 Merge "SubscriptionPlan: move out of telephony" 2019-12-06 21:37:52 +00:00
Anton Hansson
ed8cbcca55 Merge "Add TEST_MAPPING" 2019-12-06 20:14:02 +00:00
sqian
22f5749ccc Make getPackagesWithPriviligesForAllActiveSubscriptions system API
Test: build
Bug: 145550382
Change-Id: Ia7efb9e4b22b24f3c87c7cd631548c7254b28926
Merged-In: Ia7efb9e4b22b24f3c87c7cd631548c7254b28926
(cherry picked from commit 6f27c5769d8c5b5c76d143f590a8c4d1c5d8ccee)
2019-12-06 12:07:57 -08:00
Meng Wang
36673a4b44 SubscriptionPlan: move out of telephony
Hidden APIs of SubscriptionPlan are used in system server, not
telephopny. So it makes more sense for SubscriptionPlan to be in
core instead of telephopny.

Bug: 145814152
Test: make
Change-Id: I4c7ae02f9f4f154c99263521e08265d6fb367272
2019-12-06 11:47:46 -08:00
Jordan Liu
bf68dc85a4 Expose some SystemApis and edit framework-cellbroadcast-shared-srcs
The APIs are used in the CellBroadcastService, and the
framework-cellbroadcast-shared-srcs library is also linked there.

Bug: 135956699
Test: manual
Change-Id: I5e71ea1ee1a858c0520c241dc7365733441e0f50
Merged-In: I5e71ea1ee1a858c0520c241dc7365733441e0f50
2019-12-06 11:19:48 -08:00
Anton Hansson
9ff695eee1 Add TEST_MAPPING
...and remove the broken test!

Bug: 137191822
Test: treehugger (hopefully!?)
Change-Id: I175c1262275ae95caabac32a5308fd454ae62a4d
2019-12-06 19:00:33 +00:00
kwekua
525d252ec1 Merge "[BugFix]Fix enter deep doze when moving" 2019-12-06 18:59:17 +00:00
Marco Nelissen
738d5e11ce Fix bad javadoc link
Method link was referring to itself.

Bug: 144964777
Test: build offline-sdk-docs, open doc in browser
Change-Id: Ib373b16d36ee91ebe10f5c6c2a635c65480a48e0
2019-12-06 10:37:31 -08:00
Kim Baekgyeong
ef06dcb4b1 Add last connected device concept
When connecting multiple audio devices
Media and Sonification sounds comes out of the last connected device,
not a high-priority device.

Test: play music
Test: connect wired earphone // sound : wired earphone
Test: connect usb earphone // sound : usb earphone, not the wired earphone(high-priority)
Test: connect bluetooth headset // sound : bluetooth headset
Test: disconnect bluetooth headset // sound : usb earphone, not the wired earphone(high-priority)
Bug: 135749685

Change-Id: I366e136f8e660c4d7f00935cc9088a926c9a605a
2019-12-06 09:38:30 -08:00
Treehugger Robot
dd2c24061d Merge "Refactor audio device type in audio frameworks." 2019-12-06 17:26:20 +00:00
Treehugger Robot
8efafa49db Merge "Unhide NETLINK_NETFILTER constant" 2019-12-06 16:53:29 +00:00
Treehugger Robot
c6f86d3403 Merge "Fix capitalized variable UserData" 2019-12-06 15:26:11 +00:00
Anton Hansson
6a8eaf415d Merge "Add an init service for setting sdk props" 2019-12-06 13:28:21 +00:00
Anton Hansson
2df0a1096a Merge "Add genrule for the current sdk proto" 2019-12-06 12:04:55 +00:00
Neil Fuller
6e3020490d Merge "TimeDetector improvements" 2019-12-06 11:53:14 +00:00
Anton Hansson
2613c2d9d4 Merge "Add derive_sdk binary for reading sdk protos" 2019-12-06 11:13:03 +00:00
Aaron Huang
8aed6e69f0 Merge "Add TrafficStats methods to public APIs" 2019-12-06 10:59:11 +00:00
paulhu
79ebe4fb71 Add CONNECTIVITY_INTERNAL to bt tethering related APIs temporarily
Some NetworkManagementService APIs are still called by bluetooth
tethering. But it's not good to give bluetooth app NETWORK_STACK
due to NETWORK_STACK is extremly powerful permission that can
access most of all networking functions. So add
CONNECTIVITY_INTERNAL to those APIs which are called by bluetooth
tethering temporarily.

Bug: 32963470
Test: atest FrameworksNetTests
Change-Id: Ib3a4acf3018a52ef38e78d9e2a702af3fef026d4
2019-12-06 16:45:38 +08:00
Aaron Huang
29667d2942 Add TrafficStats methods to public APIs
Add methods to public APIs for mainline support.

Bug: 139268426
Bug: 135998869
Test: atest FrameworksNetTests
      ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
      atest android.net.cts
      atest android.net.wifi.cts

Change-Id: I21a9c0dbdc79b1f1041fc9e23c6a4e1e97ecde92
2019-12-06 16:19:40 +08:00
Treehugger Robot
7f81046bed Merge "Remove incorrect annotation - @TransportType" 2019-12-06 04:50:27 +00:00
lucaslin
597b5b2aa6 Remove incorrect annotation - @TransportType
This annotation is mis-adding by aosp/929879, and now it also
makes compilation failure for Telephony Mainline.

Bug: 145755373
Test: atest FrameworksNetTests
Change-Id: Ic22ce6bf17c4300b8cd52217976bfb215a123f68
2019-12-06 11:17:25 +08:00
Treehugger Robot
e07c943cfd Merge "Remove telephony hidden api usages from commands" 2019-12-06 03:03:23 +00:00
markchien
55ef89df23 Unhide NETLINK_NETFILTER constant
Tethering use NETLINK_NETFILTER to update NAT conntrack entry for
tethering offload. Netlink netfilter socket is protected by SELinux
that only system_server, netd and networkStack(tethering) may use it.

Bug: 144814535
Test: build

Change-Id: I40eedc89d72cf0a1fcdf670b453ef034b2e7b13c
2019-12-06 02:25:59 +00:00
Hall Liu
e3b535b98c Remove telephony hidden api usages from commands
Remove usages of Telephony hidden APIs from Telecom's debugging commands

Fixes: 141576016
Test: manual
Change-Id: Ia1184f804b3b03104dd5c911b15c8c28190b2395
Merged-In: Ia1184f804b3b03104dd5c911b15c8c28190b2395
2019-12-05 18:21:06 -08:00
Treehugger Robot
f6ea5afa58 Merge "Make BluetoothUuid constants and some functions System Apis" 2019-12-06 01:23:39 +00:00
Treehugger Robot
1a0e1bae27 Merge "VibratorService: Fix Typo in AIDL Perform Effect" 2019-12-06 01:22:04 +00:00
Meng Wang
392f3db6b0 Merge "Move SIM_ACTIVATION_TYPE_* to TelephonyRegistryManager" 2019-12-06 00:32:40 +00:00
Treehugger Robot
b3de542cf7 Merge "Refactor BluetoothHeadset APIs used by Settings" 2019-12-06 00:11:52 +00:00
Tyler Gunn
4efe689e4c Merge "Add Verstat fields to Telecom call/connection classes." 2019-12-05 23:58:45 +00:00
Meng Wang
037b717fe8 Merge "Move DataConnectionRealTimeInfo from telephony to core." 2019-12-05 23:43:06 +00:00
jiabin
955b2132b1 Refactor audio device type in audio frameworks.
As audio device type can not be used as bit mask any more, refactoring
the code to use a set for a combination of audio device type instead.

Bug: 135621476
Test: atest AudioDeviceBrokerTest
Test: audio smoke test
Change-Id: I2c6fabfafcc6eaf607975076d9ee1a78887a2c85
Merged-In: I2c6fabfafcc6eaf607975076d9ee1a78887a2c85
2019-12-05 15:32:44 -08:00
Treehugger Robot
e16beef1cd Merge "AudioService: communicate audio HAL process pids to native audioserver" 2019-12-05 23:27:30 +00:00
Meng Wang
ddf215dd58 Merge "Remove telephony API usage: PhoneConstants.SUBSCRIPTION_KEY" 2019-12-05 23:23:51 +00:00
Jack Yu
954dcc18d7 Merge "Add no-service configuration for GB and JP" 2019-12-05 22:24:33 +00:00
Songchun Fan
c8b066091e Merge "[incremental] parcelable for incfs file descriptors" 2019-12-05 22:02:49 +00:00
Sarah Chin
226499214c Merge changes from topics "ngran", "update_ngran"
* changes:
  Update NGRAN bands
  Updated AccessNetworkConstants and RadioAccessSpecifier
2019-12-05 21:37:37 +00:00
Meng Wang
62d2ff8b36 Move SIM_ACTIVATION_TYPE_* to TelephonyRegistryManager
Because the constants are only used by TelephonyRegistryManager and
TelephonyRegistry.

Bug: 140908357
Test: make
Change-Id: I6933d1aa5b8dc35f136c8c4aed8572221ddfb755
2019-12-05 21:32:03 +00:00