439634 Commits

Author SHA1 Message Date
Treehugger Robot
592266cbf1 Merge "Handle ParcelableException instead of crashing system server" 2020-01-16 13:08:17 +00:00
Treehugger Robot
858151066a Merge "Make PreciseDataConnectionState constructor System API" 2020-01-16 12:38:38 +00:00
Treehugger Robot
03e365f649 Merge "Improve DSU log and notification message" 2020-01-16 12:15:26 +00:00
Mohammad Samiul Islam
665838e7b1 Handle ParcelableException instead of crashing system server
Unhandled exception is causing system server to crash.

Bug: 146790672
Test: builds successfully
Change-Id: Ibfe53ee0309dcec6fd3b24f8b67fcb78f5ce7fd5
Merged-In: Ibfe53ee0309dcec6fd3b24f8b67fcb78f5ce7fd5
2020-01-16 12:11:05 +00:00
Nikita Ioffe
c7aa11d29e Merge "Add shell commands to start checkpoint/check it is supported" 2020-01-16 12:10:47 +00:00
Anton Hansson
85bb788795 Merge "Revert "Add method to enforce READ_PRECISE_PHONE_STATE permission"" 2020-01-16 09:25:42 +00:00
Anton Hansson
0153dfa360 Revert "Add method to enforce READ_PRECISE_PHONE_STATE permission"
Revert "Add method to enforce READ_PRECISE_PHONE_STATE permission"

Revert submission 1205361-ENFORCE_PRECISE_PERMISSION

Reason for revert: Broke many internal targets
Reverted Changes:
I852098ffb: Add method to enforce READ_PRECISE_PHONE_STATE per...
Ib542a5e2f: Add method to enforce READ_PRECISE_PHONE_STATE per...

Change-Id: I71413a32c7c2299614ec304eba424024000e0748
2020-01-16 09:07:47 +00:00
Paul Hu
3950a24dca Merge "Replace CONNECTIVITY_INTERNAL in SystemUI" 2020-01-16 07:23:17 +00:00
Po-Chien Hsueh
bcf2adb424 Improve DSU log and notification message
Improve DSU installation service's status log message. And, use
Notification.BigTextStyle for DSU notification message.

Bug: 132924741
Test: Run DSU installation
Change-Id: I9e821edfeff88a1f4084a005de3e0f4264338996
2020-01-16 13:52:57 +08:00
Treehugger Robot
57726b758e Merge "TetheringTests: Stop using @hide Wifi P2P APIs" 2020-01-16 05:51:49 +00:00
Howard Chen
69d181aecc Merge "Support multiple DSU installations" 2020-01-16 05:33:10 +00:00
Calin Juravle
ca98e2866e Merge "[DexManager] Fix off-by-N error in DexManager when reporting dex loads" 2020-01-16 03:14:05 +00:00
Dan Zimmerman
39b442cb61 [DexManager] Fix off-by-N error in DexManager when reporting dex loads
In this loop the continue statement skips over incrementing
dexPathIndex. In effect the classloader context that reported for a
given dex file may be incorrect (specifically in the situation when the
user loads a primary dex file and a secondary dex file in the same
ClassLoader)

Bug: 147089377
Test: atest com.android.server.pm.dex.DexManagerTests
Change-Id: I7d3df507787f758537625b702131a2f4f76190e6
2020-01-16 03:13:50 +00:00
Rambo Wang
1be136dac6 Merge "Add method to enforce READ_PRECISE_PHONE_STATE permission" 2020-01-16 03:05:06 +00:00
Zongheng Wang
7a837f162f Merge "Create a new API to decode Sms PDU" 2020-01-16 02:54:40 +00:00
Allen Su
6489e5328f Merge "[RCS] Add triggerType for onNotifyUpdateCapabilites" 2020-01-16 02:45:40 +00:00
Shuo Qian
35c3b460a6 Make PreciseDataConnectionState constructor System API
TelephonyRegistry is using the deprecated constructor of
 PreciseDataConnectionState; it should use the other constructor of
PreciseDataConnectionState, which is not deprecated; Also need to make
that constructor System API for Mainline.

Test: make update-api (no functional change in this CL).
Test: atest FrameworksTelephonyTests

Bug: 146793835
Merged-In: I83f98aa8b818f654d497867cd16e8afa987114fc
Change-Id: I83f98aa8b818f654d497867cd16e8afa987114fc
2020-01-15 18:32:40 -08: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 304d4bd65dfc8cf77d30115c5650e3de1aef544a.

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
Nikita Ioffe
bef21fbd25 Add shell commands to start checkpoint/check it is supported
Test: adb shell sm supports-checkpoint
Test: adb shell sm start-checkpoint 1 && adb reboot
Bug: 135984674
Change-Id: I08cd675b147cea88ad5b29ab4b0cd64ac445879d
Merged-In: I08cd675b147cea88ad5b29ab4b0cd64ac445879d
(cherry picked from commit 6d74942719bfedfe25f8c20af6fdd726ca14e15e)
2020-01-15 21:18:00 +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 f55983a5d5233ee7e0269adbd3dfee4575fc65d3)
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
Rambo Wang
606a24df78 Add method to enforce READ_PRECISE_PHONE_STATE permission
Permission READ_PRECISE_PHONE_STATE was exposed as public API in
b/147324131. Many APIs that ask for this permission will need
a method to enforce caller to declare the permission.

Bug: 147498511
Test: atest TelephonyPermissionsTest
Change-Id: Ib542a5e2fd4ea0634bf1b51bf9514e9fb78ee3e7
2020-01-15 11:14:39 -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 944aeffa85ab0a94e20a4edc7293fe70f904bddd)
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