Commit Graph

439612 Commits

Author SHA1 Message Date
Allen Su
6489e5328f Merge "[RCS] Add triggerType for onNotifyUpdateCapabilites" 2020-01-16 02:45:40 +00:00
Mingming Cai
3149662515 Merge "Migrate convertHalCellIdentityToCellIdentity()" 2020-01-16 02:10:57 +00:00
Treehugger Robot
8478802be5 Merge "Remove phoneId from ImsUceManager" 2020-01-16 01:33:03 +00:00
Yi Kong
8c794f129c Merge "Revert "Disable the new pass manager for libhwui"" 2020-01-16 01:11:33 +00:00
Treehugger Robot
948c4086af Merge "Create an until function to check location permission" 2020-01-16 00:30:39 +00:00
Qingxi Li
cd4a08fb4a Create an until function to check location permission
This util function will check whether the app has location permission
and whether the location mode is enabled for the users. This function
will be used by both connectivity service and wifi networks.

Bug: 142072839
Test: atest ConnectivityUtilTest
Change-Id: I5558ed04e5ef28033a1c649f5491f2f15aa63557
Merged-In: I5558ed04e5ef28033a1c649f5491f2f15aa63557
2020-01-15 15:24:01 -08:00
Hall Liu
719211525f Merge "Add additional APIs in Call for Bluetooth" 2020-01-15 22:58:56 +00:00
Muhammad Qureshi
d40f090891 Merge "Add lmkd atoms to lmkd log_from_module" 2020-01-15 22:52:52 +00:00
Yi Kong
2d969e4dfd Revert "Disable the new pass manager for libhwui"
This reverts commit 304d4bd65d.

The new pass manager is not the root cause of non-determinism.

Change-Id: I5c0c44bbefd7f3c0442422f5c718e77b1f18f139
2020-01-15 14:46:57 -08:00
Brad Ebinger
bec99bade4 Remove phoneId from ImsUceManager
ImsUceManager does not need to be created per phoneId, since
the UCE service is created per subscription in RcsStackAdaptor.

Fixes: 147319232
Test: manual; bring up/down RcsService on a MSIM device
Change-Id: If9f89f8f083197c68900a6c1a51837ce0dd0b4a0
2020-01-15 22:21:10 +00:00
Sarah Chin
f1de6ef70b Merge "Remove @hide for CarrierConfigManager constants" 2020-01-15 21:40:35 +00:00
Treehugger Robot
aa7d4c540d Merge "Add javadoc @see to methods affected by resetAllCarrierActions" 2020-01-15 21:15:13 +00:00
Mingming Cai
81e1da28a5 Migrate convertHalCellIdentityToCellIdentity()
Remove convertHalCellIdentityToCellIdentity() in
CellularNetworkService, and introduce create() in CellIdentity
for CellIdentity 1.0 and 1.2.

Bug: 146498725
Test: atest CellularNetworkServiceTest
Change-Id: Ibf07f770b377c383ea0c4d3ef2d1d991a37854a9
Merged-In: Ibf07f770b377c383ea0c4d3ef2d1d991a37854a9
(cherry picked from commit f55983a5d5)
2020-01-15 12:31:30 -08:00
Treehugger Robot
3f9e9efe46 Merge "Use non-wakeup alarm for delay constraint." 2020-01-15 20:07:43 +00:00
Treehugger Robot
ff3210b045 Merge "Statically link AsyncChannel/AsyncService in telephony" 2020-01-15 19:35:22 +00:00
Hall Liu
ef98bf8300 Add additional APIs in Call for Bluetooth
Add additional APIs in android.telecom.Call for consumption by Bluetooth
as they move to using an InCallService.

Also refactor ParcelableCall to use a builder pattern

Fixes: 147445725
Fixes: 147445603
Test: atest CallDetailsTest ConferenceTest
Change-Id: I12241b4ceadaa840f6e577bcfa8521375aedcb6a
2020-01-15 11:17:18 -08:00
Hall Liu
38fa60b511 Merge "Expose ServiceState#getDataNetworkType as SystemApi" 2020-01-15 19:09:19 +00:00
Treehugger Robot
e88817bd42 Merge changes Ie816e0c6,I5b94e92a,I5391ac49,If074bed1
* changes:
  DO NOT MERGE Fix AppOpsServiceTest
  DO NOT MERGE Don't throw exception in AppOpsManager.checkOp
  DO NOT MERGE Remove unnecessary internal APIs.
  DO NOT MERGE SetMode: Don't call into PM with AppOps lock held
2020-01-15 19:01:15 +00:00
Shuo Qian
725c54065d Merge "Cleanup ITelephony in TelephonyPermissions with new System API. This method is used by Telephony Module for permission checking." 2020-01-15 18:51:54 +00:00
Yan Yan
259781e84a Merge "Statically include @StringDef in IKE module" 2020-01-15 18:16:00 +00:00
Neil Fuller
48564ac144 Merge "System API proxies for the telephony module" 2020-01-15 18:04:31 +00:00
David Su
427cb398e2 Merge changes from topic "networkscoremanager-cachefilter"
* changes:
  SettingsLib: Rename CACHE_FILTER_* to SCORE_FILTER_*
  NetworkScoreManager: Expose SCORE_FILTER_* consts
2020-01-15 17:55:35 +00:00
Rambo Wang
7fd95f64df Merge "Replace StringNetworkSpecifier & subId with TelephonyNetworkSpecifer" 2020-01-15 17:45:58 +00:00
Neil Fuller
e9dafe541e Merge "Expose time / time zone system apis for telephony" 2020-01-15 16:19:16 +00:00
Treehugger Robot
c764cb634d Merge "Use new UnsupportedAppUsage annotation." 2020-01-15 13:29:02 +00:00
Arc Wang
59555877e8 Merge "[Wi-Fi] Add OWNER files for Wi-Fi test cases" 2020-01-15 12:53:46 +00:00
Mark Chien
7f9b3ca809 Merge "Tethering: remove redundant source code" 2020-01-15 11:51:07 +00:00
Treehugger Robot
dda5e92547 Merge "Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi" 2020-01-15 11:42:11 +00:00
allenwtsu
02dc982642 [RCS] Add triggerType for onNotifyUpdateCapabilites
Bug:147122370
Test: build pass
Change-Id: I161de7bb6c27b06102a6754771e2693ae3ee4886
2020-01-15 19:39:09 +08:00
Neil Fuller
f7346ecb1f System API proxies for the telephony module
Introduce classes that exist to give the telephony module something
stable to call for in-process utilities: libcore cannot directly expose
System APIs today and the package names are internal. The APIs are the
subset of internal libcore.timezone APIs used by telephony code
currently.

Bug: 139091367
Test: See associated frameworks/opt/telephony commit
Merged-In: I6109aef77171346ecb103c190526b7b9b81012b2
Change-Id: I6109aef77171346ecb103c190526b7b9b81012b2
(cherry picked from commit 944aeffa85)
2020-01-15 09:48:36 +00:00
Arc Wang
5b698cfaf2 [Wi-Fi] Add OWNER files for Wi-Fi test cases
Bug: NA
Test: NA
Change-Id: I57ba071e77d7c5cdf7b01ce44195a090b0177389
2020-01-15 17:33:18 +08:00
paulhu
5ae1d2c043 Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi
Support wifi mainline module usage.

Bug: 135998869
Test: Build and make system-api-stubs-docs-update-current-api
      atest FrameworksNetTests

Change-Id: I77cb45e6b2aaf4ab2c457cb59ccf77b1b8c01fa9
2020-01-15 15:38:23 +08:00
Mark Chien
bd7fa99584 Merge "Allow opening tethering when data saver ON" 2020-01-15 06:58:29 +00:00
Mark Chien
cd2ffc26dc Merge "Unhide NetworkRequest API which use legacy type" 2020-01-15 06:49:33 +00:00
Treehugger Robot
d63ebcf807 Merge "DevicePolicyManager: annotate SystemApi" 2020-01-15 06:37:55 +00:00
Mark Chien
49b8c99f2c Merge "Tethering: switch to use tethering package resources" 2020-01-15 06:17:06 +00:00
Treehugger Robot
b8c95a647f Merge "Enlarge EPSILON to 0.01 for android.display.cts.DisplayTest#testModeSwitch pass" 2020-01-15 05:37:54 +00:00
Treehugger Robot
4c85840bd0 Merge "Expose SocketKeepalive#SUCCESS as SystemApi" 2020-01-15 05:01:04 +00:00
Junyu Lai
01d30a4ce0 Merge changes from topic "sp06-offloadcontroller"
* changes:
  [SP09] Remove NetworkStatsService @hide usage in Tethering
  [SP08] re-calculate interface quota when limit reached
  [SP07] Remove reference of NetworkStatsService in IpServer
  [SP06.1] Add UPDATE_DEVICE_STATS permission to Tethering
  [SP06] Use system API to communicate with NSS in OffloadController
  Use Context#getSystemService to get network stack binder
2020-01-15 04:50:27 +00:00
markchien
6aa796135c Tethering: remove redundant source code
Bug: 143195885
Test: -build, flash, boot
      -atest TetheringTests

Change-Id: I92cbb51a0d4fb048aa75ba9932e3b106d181bad9
2020-01-15 04:33:10 +00:00
Treehugger Robot
922ec35d28 Merge "Replace usages of ServiceState#getDataNetworkType" 2020-01-15 04:05:36 +00:00
Zongheng Wang
d48914249d Merge "Created an API to get encoded message of SubmitPuds" 2020-01-15 03:05:14 +00:00
sqian
1e28948aaa Cleanup ITelephony in TelephonyPermissions with new System API.
This method is used by Telephony Module for permission checking.

Test: manual; cts; unit tests in other CLs
Bug: 145688189
Change-Id: Ie706e05e6a69e570331c1fe08a8df9677e0d9c8a
Merged-In: Ie706e05e6a69e570331c1fe08a8df9677e0d9c8a
Merged-In: If3adcd17916be2e81497061120d1f350bfb8026d
(cherry picked from commit 145294168f)
2020-01-15 02:53:32 +00:00
paulhu
521cd8c85d Expose SocketKeepalive#SUCCESS as SystemApi
Support wifi mainline module usage.

Bug: 135998869
Test: Build and make system-api-stubs-docs-update-current-api
      atest FrameworksNetTests
Change-Id: I94171b2dc4f26442df918547bf8bc40953f63f2e
Merged-In: I94171b2dc4f26442df918547bf8bc40953f63f2e
2020-01-15 02:45:43 +00:00
Allen Su
b498fbf860 Merge "[RCS] Implement notifyRcsAutoConfigurationReceived()" 2020-01-15 02:42:27 +00:00
Jean-Michel Trivi
24f8ed2d98 Merge "Audioservice:do not supress music volume adjustment" 2020-01-15 02:42:04 +00:00
Hangyu Kuang
4a87745a4d Merge "Add hkuang to Media OWNERS." 2020-01-15 02:18:14 +00:00
Michele
fc81eab13a Add javadoc @see to methods affected by resetAllCarrierActions
Bug: 143548877
Test: make
Change-Id: I3792bff727d87d30ea90db202b594df3d16a8afb
2020-01-14 16:52:46 -08:00
hkuang
14c876311a Add hkuang to Media OWNERS.
Bug:145233472
Test: None
Change-Id: I233800683bd9f4e0d47d62eab9fef7a3d09b583b
2020-01-14 16:29:06 -08:00
Sarah Chin
a42e241438 Remove @hide for CarrierConfigManager constants
Remove @hide for CarrierConfigManager constants used outside of
Telephony mainline

referencing packages:
cts/tests
frameworks/base/packages/CarrierDefaultApp
frameworks/base/packages/SystemUI
frameworks/base/packages/Tethering
frameworks/base/services
frameworks/base/telecomm
frameworks/opt/wifi
packages/apps/Dialer
packages/apps/Settings
packages/providers/BlockedNumberProvider
packages/services/Car
packages/services/Telecomm
prebuilts/sdk

Test: build
Bug: 147447171
Change-Id: Ib3d8d904a80f11247012b01aceb92eaee2c84d5b
Merged-In: Ib3d8d904a80f11247012b01aceb92eaee2c84d5b
2020-01-14 15:56:39 -08:00