Commit Graph

438447 Commits

Author SHA1 Message Date
Xiangyu/Malcolm Chen
dcb71dfaad Merge "Define ril request for enableUiccApplications." 2019-12-13 22:32:34 +00:00
Treehugger Robot
2626cc7089 Merge "Do not use hidden API XmlUtils." 2019-12-13 22:14:26 +00:00
Jack Yu
39424f4b70 Merge "When SPN is empty, use PNN in mobile network settings" 2019-12-13 21:55:00 +00:00
Christopher Ferris
a825bc7ed3 Merge "Change fs-verity setup to the new format" 2019-12-13 21:39:54 +00:00
Meng Wang
ae112af81d Merge "DumpUtils: Teleophony will use a local copy instead." 2019-12-13 21:34:53 +00:00
SongFerng Wang
72f579d5f2 Merge "ServiceState merges voice and data into a single value" 2019-12-13 21:07:17 +00:00
Meng Wang
ba4eb1d6b4 Merge "Expose ACTION_EMERGENCY_ASSISTANCE as SystemAPi" 2019-12-13 21:00:21 +00:00
Jack Yu
5c6eb0e739 When SPN is empty, use PNN in mobile network settings
Added one more name source 'PNN', which has priority
higher than carrier id but lower than EF_SPN.

Bug: 143493866
Test: Manual

Merged-In: I2ef14204d0db018e7f67578a57e56fdbea8b698c
Change-Id: I2ef14204d0db018e7f67578a57e56fdbea8b698c
(cherry picked from commit 9d95aff922)
2019-12-13 11:12:21 -08:00
Xiangyu/Malcolm Chen
31bbebe179 Merge "Do not get CM instance in getActiveModemCount unless needed." 2019-12-13 18:27:06 +00:00
Treehugger Robot
a83641557b Merge "Resolve BluetoothHearingAid API usages by Settings" 2019-12-13 18:15:36 +00:00
Meng Wang
e1ca0743cc Merge "Remove hidden API usage: TelephonyManager#getSimOperator(int subId)" 2019-12-13 17:40:10 +00:00
Meng Wang
203d9d6dea Merge "Do not use SLog in telephony modules" 2019-12-13 17:39:15 +00:00
Treehugger Robot
efacbc6cc8 Merge "TIF: Add TvInputService#onHdmiDeviceUpdated()" 2019-12-13 08:33:25 +00:00
Chalard Jean
7c4a6c51d3 Merge changes I4b793e86,I6f86add0,I2db9535b,I703db6d3
* changes:
  [NS A27] Remove useless logs and a useless var
  [NS A26] Move available callbacks out of the rematch computation
  [NS A25] Send all listen callbacks after all rematches
  [NS A24] Add an object to represent changes in assignment
2019-12-13 06:50:36 +00:00
Treehugger Robot
34e4b2c3ab Merge changes from topic "services_stub"
* changes:
  Add android.annotation.Hide
  Add filegroups for services.* libraries
2019-12-13 06:18:39 +00:00
Meng Wang
f8d5cabb71 Do not use SLog in telephony modules
Bug: 137202333
Test: make
Merged-In: Id919a18beda26c5686f77e369db6a3712dd8317b
Change-Id: Id919a18beda26c5686f77e369db6a3712dd8317b
2019-12-12 21:45:23 -08:00
Treehugger Robot
2bfa6b55e4 Merge "Protect early access before tethering ready" 2019-12-13 03:25:41 +00:00
SongFerng Wang
4b30f26d79 Merge "Supplementary Services(SS) gray out when airplane mode on in Call Settings menu." 2019-12-13 03:19:59 +00:00
Meng Wang
d4a6c06b52 DumpUtils: Teleophony will use a local copy instead.
Bug: 137202333
Test: make
Merged-In: I3366eab39ac3ac694a5b7a4a275e24130fcd5f96
Change-Id: I3366eab39ac3ac694a5b7a4a275e24130fcd5f96
2019-12-12 18:13:43 -08:00
markchien
cde41800a8 Protect early access before tethering ready
Bug: 145876447
Test: build, flash, boot
Change-Id: Ic40b6080a662e312e4efd7246d964710d9f07bef
2019-12-13 10:12:59 +08:00
Meng Wang
c6b5fbaf17 Merge "Telephony: do not use hidden API ArrayUtils." 2019-12-13 02:10:22 +00:00
Kyeongkab.Nam
f6d1e09fd7 TIF: Add TvInputService#onHdmiDeviceUpdated()
Add API to update device infos to TvInputInfo.

Bug: 145047101
Test: Manual
Change-Id: I67438193cc00d3bf76b8ebaa02869b6ff4e04b77
2019-12-13 02:06:12 +00:00
Meng Wang
56c0ccecfc Do not use hidden API XmlUtils.
Make a local copy instead.

Bug: 137202333
Test: make
Merged-In: Ibcf7b23a8b6628aa482b34f867db57e4cb0dbb8e
Change-Id: Ibcf7b23a8b6628aa482b34f867db57e4cb0dbb8e
2019-12-12 17:16:01 -08:00
Malcolm Chen
e54a3031c9 Do not get CM instance in getActiveModemCount unless needed.
TM#getActiveModemCount might be called before ConnectivityService is
initialized. So do not try to get ConnectivityService instance unless
it's needed (very rarely). Otherwise it will throw WTF exception.

Bug: 144373595
Test: sanity
Change-Id: I7a90ec45a0a3700a0c6852c505d68f438f26768c
Merged-In: I7a90ec45a0a3700a0c6852c505d68f438f26768c
2019-12-13 00:56:15 +00:00
Meng Wang
e1df98d2e2 Telephony: do not use hidden API ArrayUtils.
Make a local copy instead.

Bug: 137202333
Test: make
Merged-In: I3218bca2d296c548b9d8427f70df8f7a33d0d449
Change-Id: I3218bca2d296c548b9d8427f70df8f7a33d0d449
2019-12-12 16:52:30 -08:00
Malcolm Chen
dd0cccb57f Define ril request for enableUiccApplications.
Bug: 141018421
Test: build
Change-Id: Ia071259a3de2bcf78e95e08017c5f207a4ed369a
Merged-In: Ia071259a3de2bcf78e95e08017c5f207a4ed369a
2019-12-12 16:50:10 -08:00
Treehugger Robot
01e54d44b9 Merge "Addition of util library" 2019-12-13 00:31:06 +00:00
Jing Ji
f802ecca30 Merge changes from topic "lmkd_async_msg"
* changes:
  Support unsolicited message from lmkd
  Implement ActivityManager to LMKD reconnect functionality
2019-12-13 00:27:38 +00:00
Treehugger Robot
bdc1390f27 Merge "Update Bluetooth api on SettingsLib" 2019-12-13 00:25:13 +00:00
Treehugger Robot
98deadb73a Merge "Fix bluetooth icon has wrong color" 2019-12-13 00:05:57 +00:00
Jordan Liu
6bcc4db8c0 Merge changes from topic "cellbroadcastintents"
* changes:
  Do not modify passed in intent
  Add API to send background intent
2019-12-12 23:40:13 +00:00
Treehugger Robot
9fbb152eb2 Merge "Deprecate incorrect year constant" 2019-12-12 22:56:13 +00:00
Sarah Chin
7c03a80247 Merge "Add APN type XCAP" 2019-12-12 22:39:01 +00:00
Sarah Chin
9146586e64 Merge "Change defaults for FREQUENCY_RANGE and NR_STATE" 2019-12-12 22:09:24 +00:00
Jordan Liu
3fd1264acb Do not modify passed in intent
If the caller wanted to use that intent object after passing it to this
method, it would be mutated in an unexpected way. Instead we create a
copy of the intent and broadcast that.

Bug: 144108192
Test: atest com.android.internal.telephony.CellBroadcastIntentsTest
Change-Id: I89e08b4a50beeb49410521baa9d449b2dc28ecd3
Merged-In: I89e08b4a50beeb49410521baa9d449b2dc28ecd3
2019-12-12 14:06:59 -08:00
Treehugger Robot
ce656f7754 Merge "Resolve BluetoothDevice hidden API usages by Settings" 2019-12-12 21:13:46 +00:00
Jordan Liu
d0f439c43b Add API to send background intent
Test: manual
Bug: 144108192
Change-Id: I93c49d377921830a2ae83217a3fbef5026982319
Merged-In: I93c49d377921830a2ae83217a3fbef5026982319
2019-12-12 13:08:12 -08:00
Sarah Chin
ded54498d3 Change defaults for FREQUENCY_RANGE and NR_STATE
Change value from -1 to 0 to match proto

Bug: 141323073
Test: atest TelephonyMetricsTest
Change-Id: I4509f22cdae656de3ad011de3a1664e27d35986a
Merged-In: I4509f22cdae656de3ad011de3a1664e27d35986a
2019-12-12 12:57:35 -08:00
Treehugger Robot
d74ba818ba Merge "Update owners of settingslib/bluetooth" 2019-12-12 20:00:08 +00:00
Sarah Chin
66ebce9a50 Add APN type XCAP
Test: atest ApnSettingTest
Bug: 73792201
Change-Id: I662f743cca3c6b2f919d84cf0570f23a1f6d9791
Merged-In: I662f743cca3c6b2f919d84cf0570f23a1f6d9791
2019-12-12 11:55:47 -08:00
Treehugger Robot
56e3930fe8 Merge "Map Android KEYCODE_MENU to CEC KEYCODE_ROOT_MENU" 2019-12-12 19:45:14 +00:00
Hall Liu
06fc4257b7 Merge "Add ImsReasonInfo constant for retrying without RTT" 2019-12-12 19:29:37 +00:00
Treehugger Robot
9e55959a8a Merge "NotificationService causes watchdog issues and improves performance" 2019-12-12 19:09:49 +00:00
Jing Ji
26985845dd Support unsolicited message from lmkd
Add ability in AMS to receive notifications from LMKD

Bug: 136036078
Test: memeater 2048
Change-Id: Id87e95f4f989a37586fec02d239bd0e527817f47
Merged-In: If183c177bb32bad18373dfcd8434e48313935a4c
2019-12-12 10:46:06 -08:00
Suren Baghdasaryan
80bf49d556 Implement ActivityManager to LMKD reconnect functionality
In case of LMKD crashing and restarting or for testing purposes when LMKD
is killed and restarted on purpose, ActivityManager needs to reconnect and
reset the oom_adj levels so that LMKD can function. Implement a separate
LmkdConnection class handling LMKD connection and communication. We use
FileDescriptorEventListener to detect LMKD connection loss and retry logic
is implemented to reconnect and reset LMKD parameters.

Bug: 124618999
Test: kill lmkd and verify successful reconnect

Change-Id: I1b63c960aa9580cdc4f8d3697cd02fa9c18a2935
Merged-In: I1b63c960aa9580cdc4f8d3697cd02fa9c18a2935
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-12-12 10:45:50 -08:00
Neil Fuller
d8aa23e1ca Merge "Remove some duplication of validation logic" 2019-12-12 18:32:53 +00:00
Michele
68370a8685 Addition of util library
Bug: 137202333
Test: Compilation
Test: Scripts to verify correct usage of rules
Change-Id: I20e48e66d6c429a67d367efc2a73991c3aad825c
Merged-In: I20e48e66d6c429a67d367efc2a73991c3aad825c
2019-12-12 10:19:51 -08:00
David Su
4314616565 Merge "Expose CloseGuard as a public API" 2019-12-12 18:19:12 +00:00
Neil Fuller
91270ddb55 Merge "Fix TimeDetectorServiceTest permissions" 2019-12-12 14:59:23 +00:00
Neil Fuller
ab4706bc68 Remove some duplication of validation logic
Remove some duplication of validation logic, add a missing annotation
and tidy up argument name.

Bug: 140712361
Test: treehugger
Change-Id: I8b47f9b6732adb8584f91a1ad5dd2418da22b61a
2019-12-12 14:32:46 +00:00