Commit Graph

530518 Commits

Author SHA1 Message Date
Hall Liu
5cff38cc1b API tweaks in response to feedback am: 5968c09340 am: 429a15d480
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1471167

Change-Id: Id99748d0b831349929744ecd24c5ba1069054633
2020-10-23 03:44:08 +00:00
Daniel Bright
6f5eda09a7 Merge "Add Handover Failure Mode to Radio Hal" am: f86143770f am: 8cae5f921c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469711

Change-Id: I59541adf98e8b992ef8af5f2a452fc0ddc5fc28a
2020-10-22 23:22:12 +00:00
Hall Liu
429a15d480 API tweaks in response to feedback am: 5968c09340
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1471167

Change-Id: Iddee215c5ea2e5b5cf3e751d6d995eada9e2d1ef
2020-10-22 23:18:02 +00:00
Daniel Bright
8cae5f921c Merge "Add Handover Failure Mode to Radio Hal" am: f86143770f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469711

Change-Id: I44f9260f7c145d7d39918051bc556ced65716db0
2020-10-22 22:24:06 +00:00
Automerger Merge Worker
70ad24f2df [automerger skipped] Merge changes from topic "am-b83fc5b0dcfc43208a9ca1af164efd6e" into stage-aosp-master am: b7357aca03 -s ours
am skip reason: Change-Id I9aa69c9bd8d31e6bbdd9a237b0aa2c3922431227 with SHA-1 c4587ed1c9 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469718

Change-Id: I44bdb6c7c62135bd8608f1a38f905ba8a79d6515
2020-10-22 21:51:48 +00:00
Hall Liu
ebb53bbb2b Merge changes from topic "expose-call-forward" am: f0b822c8bb am: 5abd8781fd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1471163

Change-Id: If5d2a4c5eaa6edead7e036f1740d0fcc752010b5
2020-10-22 21:50:52 +00:00
Hall Liu
af7d2858e3 Expose and update the call forward/waiting APIs am: 8410239d72 am: 84a9653e18
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1471162

Change-Id: I97a2186c08d2cbbcc8f4111c6f7abdd60b2bf1de
2020-10-22 21:50:49 +00:00
Hall Liu
dacbfa7ed8 Merge changes from topic "telephonymanager-data-policy" am: 3a14c6bdcc am: 4e254916f0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469718

Change-Id: Ida4ad72ab7b1e3d7cc34342b5bf78b91b7b5d1c3
2020-10-22 21:49:20 +00:00
Hall Liu
44eed5a8d9 Add new methods for setting mobile data policy am: 83bb093cc5 am: f784eebb36
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469717

Change-Id: I968c04c3c257a487ffc4019843c9376b83f3c380
2020-10-22 21:49:15 +00:00
Hall Liu
6ae0e0d498 Merge changes from topic "move-emergency-phone-update" am: 77b5c5a31b am: 4c805f8ed6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1470383

Change-Id: I993099a22efc5f2fefbf724a59f8b482abad91c7
2020-10-22 21:48:16 +00:00
Hall Liu
1e7790f927 Call onOutgoingEmergencyCall only once. am: 486ef8978d am: 2c0e19cf79
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1470382

Change-Id: I8821c396a8299120ee9faa2d08e9f4f1274cc97a
2020-10-22 21:48:14 +00:00
Hall Liu
266e87e5a9 Expose onEmergencyNumberListChanged, semantics change am: e182543791 am: f8e5b6fd6e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469715

Change-Id: I90f50754ce96fb39a17ff6d4b973a414ab289733
2020-10-22 21:48:09 +00:00
Daniel Bright
f86143770f Merge "Add Handover Failure Mode to Radio Hal" 2020-10-22 21:38:58 +00:00
Automerger Merge Worker
b7357aca03 Merge changes from topic "am-b83fc5b0dcfc43208a9ca1af164efd6e" into stage-aosp-master
* changes:
  Merge changes from topic "telephonymanager-data-policy" am: 3a14c6bdcc
  Add new methods for setting mobile data policy am: 83bb093cc5
2020-10-22 21:35:15 +00:00
Hall Liu
5abd8781fd Merge changes from topic "expose-call-forward" am: f0b822c8bb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1471163

Change-Id: I12392eee398fef6be867a10cf6d627a1c4b3eea8
2020-10-22 21:26:05 +00:00
Hall Liu
2b24ea5a87 Merge changes from topic "telephonymanager-data-policy" am: 3a14c6bdcc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469718

Change-Id: I716a51456ab4c347294481df6cf62c7825b089c2
2020-10-22 21:23:08 +00:00
Hall Liu
84a9653e18 Expose and update the call forward/waiting APIs am: 8410239d72
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1471162

Change-Id: Icd499ce501a1b418e23a550154d642a52ccb5c3d
2020-10-22 21:22:32 +00:00
Hall Liu
04deccd68f Add new methods for setting mobile data policy am: 83bb093cc5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469717

Change-Id: I378bc6c1190301f996bc2048dcf1d958b469d2ec
2020-10-22 21:19:12 +00:00
Hall Liu
4e254916f0 Merge changes from topic "telephonymanager-data-policy" am: 3a14c6bdcc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469718

Change-Id: I4dd5dfa39c61c04b995238f4f4dc4837871d0e58
2020-10-22 21:16:55 +00:00
Hall Liu
f784eebb36 Add new methods for setting mobile data policy am: 83bb093cc5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469717

Change-Id: I86ace597ffeca7bcb0bb73b2b5ea617df80627ab
2020-10-22 21:14:05 +00:00
Hall Liu
5968c09340 API tweaks in response to feedback
Update documentation on PhoneAccount#EXTRA_SORT_ORDER to make it more
clear what the sorting order is in edge cases.

Make DisconnectCause#REASON_EMULATING_SINGLE_CALL public, since it might
get propogated up to dialer apps.

Fixes: 169153499
Test: docs only
Change-Id: I7f810f909a8a61b422283c3bafcc97307e4d863b
Merged-In: I7f810f909a8a61b422283c3bafcc97307e4d863b
2020-10-22 14:07:32 -07:00
Hall Liu
4c805f8ed6 Merge changes from topic "move-emergency-phone-update" am: 77b5c5a31b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1470383

Change-Id: Id2974f5339afa48f40d9847cede33f184d12c612
2020-10-22 21:00:47 +00:00
Hall Liu
2c0e19cf79 Call onOutgoingEmergencyCall only once. am: 486ef8978d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1470382

Change-Id: I3c5a098b8f22b1a032e297205684dbe4617b6e39
2020-10-22 20:58:35 +00:00
Hall Liu
f8e5b6fd6e Expose onEmergencyNumberListChanged, semantics change am: e182543791
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469715

Change-Id: I00eef453ff044c5c5bc6878b61277c5e133b3dbe
2020-10-22 20:53:11 +00:00
Daniel Bright
bd26ad22ba Add Handover Failure Mode to Radio Hal
On a handover request failure, the modem can now determine
whether or not to fallback.  There is also the option to revert
to the legacy logic.  Following the legacy logic is the default
behavior.

Test: FrameworkTelephonyTests
Bug: 161572465
Change-Id: I194aca34131301a3507ad3ba99be278cbf6fa87b
Merged-In: I194aca34131301a3507ad3ba99be278cbf6fa87b
2020-10-22 19:49:53 +00:00
Hall Liu
f0b822c8bb Merge changes from topic "expose-call-forward"
* changes:
  Move some of the call-forwarding related constants
  Expose and update the call forward/waiting APIs
2020-10-22 19:48:18 +00:00
Hall Liu
594dc4b920 Move some of the call-forwarding related constants
Move the call forwarding result constants into
CallForwardingInfoCallback and rename them to RESULT_*

Fixes: 169153246
Test: atest TelephonyManagerTest
Change-Id: I14b4d527807e92fe977b8304f8dd95e7cd93e819
Merged-In: I14b4d527807e92fe977b8304f8dd95e7cd93e819
2020-10-22 18:22:35 +00:00
Hall Liu
8410239d72 Expose and update the call forward/waiting APIs
Expose the call forwarding and call waiting APIs, update their
documentation, and convert them to async APIs due to their dependence on
network communication.

Fixes: 168655869
Test: atest android.telephony.cts.TelephonyManagerTest
Change-Id: Ic20bc99314c8538a3f75f6af9c37bc4d30781825
Merged-In: Ic20bc99314c8538a3f75f6af9c37bc4d30781825
2020-10-22 18:18:29 +00:00
Hall Liu
3a14c6bdcc Merge changes from topic "telephonymanager-data-policy"
* changes:
  Remove old methods for mobile data
  Add new methods for setting mobile data policy
2020-10-22 17:27:59 +00:00
Hall Liu
77b5c5a31b Merge changes from topic "move-emergency-phone-update"
* changes:
  Update docs for onEmergencyNumberListChanged
  Call onOutgoingEmergencyCall only once.
  Expose onEmergencyNumberListChanged, semantics change
2020-10-22 17:13:52 +00:00
Sarah Chin
5f5a89bcdf [automerger skipped] Merge "Add HANDLE_CAR_MODE_CHANGED permission" am: 2538a16428 -s ours am: 8ab8d927f7 -s ours
am skip reason: Change-Id If3ad86a2564ce3ba53afea44e8ad5bf02b8d51e0 with SHA-1 c363a3a148 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415309

Change-Id: I7f522e56487b96464d094ed5b60f7cf7a424f16f
2020-10-22 10:54:24 +00:00
Sarah Chin
8ab8d927f7 [automerger skipped] Merge "Add HANDLE_CAR_MODE_CHANGED permission" am: 2538a16428 -s ours
am skip reason: Change-Id If3ad86a2564ce3ba53afea44e8ad5bf02b8d51e0 with SHA-1 c363a3a148 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1415309

Change-Id: I02f073be29e19a58723df4d74b0d21995f169d3e
2020-10-22 09:47:51 +00:00
Kevin Hufnagle
41f955e8b6 Merge "docs: Use correct profile for intent" into rvc-dev am: b7eef50878 am: dc4f87a3ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12879988

Change-Id: Ia29277f79e0235194c592a6f60cec35bd59f9442
2020-10-22 09:46:41 +00:00
Chiachang Wang
639ab78ded Merge "Use alternative PhoneStateListener formal API" am: 5d0529e6d0 am: e42b9b2b4d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466222

Change-Id: I7d9b3b150d0d90b1b6edcd199f7e9454a0b00a8d
2020-10-22 07:28:17 +00:00
Kevin Hufnagle
dc4f87a3ad Merge "docs: Use correct profile for intent" into rvc-dev am: b7eef50878
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12879988

Change-Id: Ide455cf4bb570511c6f285738747c21b8cf9eca4
2020-10-22 07:26:52 +00:00
Nazanin Bakhshi
1218bbd843 Merge "initialized carrier_certificate_string_array to an empty array instead of null, so that when a certificate is removed, it is also removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig" am: 12231e3a46 am: fc5c95c7db
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469714

Change-Id: I2c11d9a40fb910861351ae2263738721b81dfb55
2020-10-22 07:23:04 +00:00
Sarah Chin
2538a16428 Merge "Add HANDLE_CAR_MODE_CHANGED permission" 2020-10-22 07:15:03 +00:00
Chiachang Wang
e42b9b2b4d Merge "Use alternative PhoneStateListener formal API" am: 5d0529e6d0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1466222

Change-Id: If80a6359b6570b5c99fcb1a5ace13f3599e5fc0d
2020-10-22 07:00:41 +00:00
Nazanin Bakhshi
fc5c95c7db Merge "initialized carrier_certificate_string_array to an empty array instead of null, so that when a certificate is removed, it is also removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig" am: 12231e3a46
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1469714

Change-Id: I02ca50b4067f1466728b67e8919591070ce752d4
2020-10-22 06:39:52 +00:00
Chiachang Wang
5d0529e6d0 Merge "Use alternative PhoneStateListener formal API" 2020-10-22 03:43:42 +00:00
Nazanin Bakhshi
12231e3a46 Merge "initialized carrier_certificate_string_array to an empty array instead of null, so that when a certificate is removed, it is also removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig" 2020-10-22 02:03:27 +00:00
Kevin Hufnagle
b7eef50878 Merge "docs: Use correct profile for intent" into rvc-dev 2020-10-22 01:25:23 +00:00
Hall Liu
c4587ed1c9 Remove old methods for mobile data
Bug: 169367013
Test: builds
Change-Id: I9aa69c9bd8d31e6bbdd9a237b0aa2c3922431227
Merged-In: I9aa69c9bd8d31e6bbdd9a237b0aa2c3922431227
2020-10-22 01:08:30 +00:00
TreeHugger Robot
e432d6fa9b Merge "Ignore non test package events for AppStandbyControllerTests" into rvc-dev am: 2ac647d545 am: 0de0eb9a4c
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12788106

Change-Id: I8f7a59ab19baa21139f1b08150e5a060a8340f7e
2020-10-22 00:39:43 +00:00
Treehugger Robot
d9d95e4dc0 Merge "Change perf-setup.sh to perf-setup in run.sh" am: 5d1eaf9cee am: 2af9f0911e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1461289

Change-Id: I0e9b1aa87b1d0f0fcc36c907bf1cb37ae3d9aff0
2020-10-22 00:33:23 +00:00
Steven Moreland
e798d05a73 Merge "Remove declaration of hidl manager -> base dep" am: 4ff4b2ee17 am: 742771fdd7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1467918

Change-Id: If25601a8cd9024de12655c73ac587ab116ad845c
2020-10-22 00:32:52 +00:00
Treehugger Robot
288d0e923a Merge "Fix pointer arithmetic for ByteBuffers with non-zero positions" am: 8020e4addc am: fbb42c3b08
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1360889

Change-Id: I2ced2512b5b6081dc3757eb3fdd3dcb80fb4946f
2020-10-22 00:31:59 +00:00
Brad Ebinger
666fbf6275 Merge changes from topics "cp_sip_transport_supported_api", "cp_sip_transport_supported_pipe" am: 9caec78557 am: 371361d995
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1453715

Change-Id: I7ab937749fe61a92a73d28d2b4e53b98db704683
2020-10-22 00:30:33 +00:00
Brad Ebinger
28652b0739 Pipe through new SipTransport IInterface to listeners am: c50aeb319a am: 6e0f901a04
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1453356

Change-Id: Ie3f9a4172d3a1b5d2f6932b4cbebfb4e023b4493
2020-10-22 00:30:27 +00:00
TreeHugger Robot
0de0eb9a4c Merge "Ignore non test package events for AppStandbyControllerTests" into rvc-dev am: 2ac647d545
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12788106

Change-Id: Ibff6f5c2fd338ce6ca2073fe319dbf701b0f7596
2020-10-22 00:29:01 +00:00