Jack Yu
cb631bcf15
Merge changes from topic "refactor_pdcs"
...
* changes:
Refactored precise data connection state
Added hashcode for ApnSetting class
2020-08-03 22:54:50 +00:00
Jack Yu
080ada4cf9
Merge "Added transport type and id in precise data connection state"
2020-08-03 17:53:52 +00:00
Jack Yu
34a09a4cbd
Refactored precise data connection state
...
Instead of triggering the data connection state changed
event from outside, now the event is triggering from
DataConnection. Whenever detecting data connection
state changes, the event will be triggered. This significantly
reduced the unnecessary redundant events sent to telephony registry,
even though it has a duplicate detection mechanism.
This are also two behavioral changes.
1. Previously if a data connection supports multiple APN types,
there will be multiple data connection state changed event for
each APN type. Now there is only one. The listener should use
PreciseDataConnectionState.getApnSetting().getApnTypeBitmask()
to check which APN types this data connection supports.
2. If setup data call fails before a data connection instance
can be created, there won't be any event with fail cause.
Fix: 161572838
Test: FrameworksTelephonyTests and manual
Change-Id: I9723d5284c2a8fbae9f63179dc30ddc42da1d0fc
2020-08-01 21:33:27 -07:00
Jack Yu
fe59b7268f
Added hashcode for ApnSetting class
...
Without hashCode, ApnSetting can't be used as a key in the
map.
Fix: 162663245
Test: Manual
Change-Id: I9445ec854709996c80830e4c8c498e664f1e4f9c
2020-08-01 20:24:41 -07:00
Jack Yu
ec5093d4d7
Added transport type and id in precise data connection state
...
Added the transport type in precise data connection state. This
would be useful for IWLAN, MAPCON, and 5G development work. Also
added id for listener to keep tracking the same data connection
state.
Bug: 161572838
Test: FrameworksTelephonyTests
Change-Id: I5a14610bf072a64b534227fb715ebec58716bce0
2020-08-01 20:23:44 -07:00
Treehugger Robot
6a83916416
Merge "Update toString in ImsReasonInfo" am: e5e46c6dfd am: 7b7055970a am: 9237857679 am: 4c7aeaf577 am: 44dbc81e85
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1379678
Change-Id: If6b09ab2bcc7a1050542017b73409213b3010a2a
2020-07-31 06:07:27 +00:00
Treehugger Robot
44dbc81e85
Merge "Update toString in ImsReasonInfo" am: e5e46c6dfd am: 7b7055970a am: 9237857679 am: 4c7aeaf577
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1379678
Change-Id: I5567c32a27a980098535d6e50e43cd2592d28e2b
2020-07-31 05:51:23 +00:00
Treehugger Robot
9237857679
Merge "Update toString in ImsReasonInfo" am: e5e46c6dfd am: 7b7055970a
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1379678
Change-Id: I3b49beefd7f5bf4fe5753174a89010a96da0e5c6
2020-07-31 05:10:58 +00:00
Treehugger Robot
e5e46c6dfd
Merge "Update toString in ImsReasonInfo"
2020-07-31 04:38:03 +00:00
Tyler Gunn
c0e4e1581a
Merge "Update language to comply with Android's inclusive language guidance" am: a005cb30ed am: 3772a5b3fd am: c5ef3b9cae am: 03921ada7b am: dc82235933
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1377136
Change-Id: I99fa531f570a13fd3a27abf522383e631f86ceed
2020-07-31 01:16:30 +00:00
Treehugger Robot
cb967253df
Merge "Fix description of indices for messages in the ICC." am: 1a1dcba955 am: 803802e7c1 am: 4867cfabff am: 0d38403c78 am: 4f2548f552
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365796
Change-Id: I328150decd02c795de3024f5c2be89266e52bd8c
2020-07-31 01:03:58 +00:00
Tyler Gunn
dc82235933
Merge "Update language to comply with Android's inclusive language guidance" am: a005cb30ed am: 3772a5b3fd am: c5ef3b9cae am: 03921ada7b
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1377136
Change-Id: Iff45aed7bcc39c87ea8983f7af93f386196fac63
2020-07-31 00:51:06 +00:00
Treehugger Robot
4f2548f552
Merge "Fix description of indices for messages in the ICC." am: 1a1dcba955 am: 803802e7c1 am: 4867cfabff am: 0d38403c78
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365796
Change-Id: Idbbaeacf1fb25b5e2e86c4a72dd690edcbcdea6a
2020-07-31 00:24:01 +00:00
Tyler Gunn
c5ef3b9cae
Merge "Update language to comply with Android's inclusive language guidance" am: a005cb30ed am: 3772a5b3fd
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1377136
Change-Id: I2f838a951cec8f6e7af82a0cd08d99d6045f3952
2020-07-30 21:25:38 +00:00
Tyler Gunn
a005cb30ed
Merge "Update language to comply with Android's inclusive language guidance"
2020-07-30 20:42:55 +00:00
Amruth Ramachandran
22d5710f02
Update toString in ImsReasonInfo
...
Added map of int code to string for log readability
Bug: 162505455
Test: Verified with device test
Change-Id: I7aa3cf31737e2e44aa4d63eac643a5d283d8a06f
2020-07-30 16:44:02 +00:00
Treehugger Robot
4867cfabff
Merge "Fix description of indices for messages in the ICC." am: 1a1dcba955 am: 803802e7c1
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1365796
Change-Id: Icf4bfe7e86bc94329ebaeb713831e858b6a48c68
2020-07-30 03:17:29 +00:00
Treehugger Robot
1a1dcba955
Merge "Fix description of indices for messages in the ICC."
2020-07-30 02:45:56 +00:00
Shuo Qian
9328760e16
Merge "Change the range checking for ssrsrq" am: abdc06b2d2 am: 3d04a71f12
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1378016
Change-Id: I6ccc9ea866d1a2ccb41d75bcea0671df64e4f735
2020-07-29 21:38:11 +00:00
Shuo Qian
c14cb96362
Change the range checking for ssrsrq am: 71818ce490 am: 5061a0cd6e am: 578d630f84
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12254388
Change-Id: I1dafc619165ea732cbdd5129a2eac073d2b05360
2020-07-29 20:38:45 +00:00
Shuo Qian
578d630f84
Change the range checking for ssrsrq am: 71818ce490 am: 5061a0cd6e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12254388
Change-Id: I823a22901f5d35e4bbdc82e3e64510762e8a7b81
2020-07-29 20:37:27 +00:00
TreeHugger Robot
795ce1222c
Merge "Removed APN name and types from PreciseDataConnectionState"
2020-07-29 20:33:35 +00:00
Shuo Qian
5061a0cd6e
Change the range checking for ssrsrq am: 71818ce490
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12254388
Change-Id: I4eb611437397b0aeb0a11cfffef7ae842e7ecf9f
2020-07-29 20:24:39 +00:00
Shuo Qian
4717b01367
Change the range checking for ssrsrq
...
Test: Telephony tests
Bug: 159761054
Change-Id: I383f3b5c7b4e89fa7e9cd3be6e77c3d99552b99c
Merged-In: I383f3b5c7b4e89fa7e9cd3be6e77c3d99552b99c
(cherry picked from commit 71818ce490 )
2020-07-29 19:06:23 +00:00
Tyler Gunn
460360d6b8
Update language to comply with Android's inclusive language guidance
...
See https://source.android.com/setup/contribute/respectful-code for reference
Test: Presubmit
Bug: 161896447
Change-Id: I4142f4819f5ed3e2ffddf471b90923985e72523a
2020-07-29 10:23:07 -07:00
TreeHugger Robot
61ea220266
Merge "Create SmsManager from a context"
2020-07-29 03:01:30 +00:00
Jack Yu
c42172ece7
Removed APN name and types from PreciseDataConnectionState
...
The APN name and type bitmasks should come from APN setting.
Also fixed a regression caused by ag/9931487 that the APN
field in precise data connection state is changed to APN type in
string, instead of the APN name.
Bug: 161572838
Test: FrameworksTelephonyTests
Change-Id: If19980be29c13c783f1964d3fce9505a08570f7e
2020-07-28 16:08:42 -07:00
Shuo Qian
71818ce490
Change the range checking for ssrsrq
...
Test: Telephony tests
Bug: 159761054
Change-Id: I383f3b5c7b4e89fa7e9cd3be6e77c3d99552b99c
2020-07-28 21:25:20 +00:00
Treehugger Robot
6d8780292a
Merge "Fix Docs for KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL" am: 2d78a290d4 am: a636ce731f am: e2dedb294e am: 24b4700df1 am: 047d64b909
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371275
Change-Id: I29cd1a072e3fcf58d2c380cdb9a205be476e5a77
2020-07-28 19:34:40 +00:00
Treehugger Robot
047d64b909
Merge "Fix Docs for KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL" am: 2d78a290d4 am: a636ce731f am: e2dedb294e am: 24b4700df1
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371275
Change-Id: I1a61157ec24cea07996e3e93b03e89839251cdce
2020-07-28 19:11:43 +00:00
Treehugger Robot
e2dedb294e
Merge "Fix Docs for KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL" am: 2d78a290d4 am: a636ce731f
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1371275
Change-Id: I10b4492decf398234c6feff0d46f07ab9d41d7c9
2020-07-28 18:47:08 +00:00
Treehugger Robot
deb216c05e
Merge "Expose adhoc conference calling API as public." am: 8ebbe3c038 am: fb8f41f0c2 am: e8a4750ac5 am: bb50f0e74c am: d5be65f281
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1368819
Change-Id: I75f11643c333f69e4e27d72caf8b11f1ce5e5c75
2020-07-28 18:37:35 +00:00
Nathan Harold
3a64ed394e
Merge "Update Docstrings for #requestLocationUpdate()" am: abe015171f am: d3467070fc am: abfeabcb33 am: 69cd49e502 am: 6990836dae
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372239
Change-Id: I2e1a1474514c22a46b43ffb3fd98d16e68c08f95
2020-07-28 18:36:16 +00:00
Treehugger Robot
d5be65f281
Merge "Expose adhoc conference calling API as public." am: 8ebbe3c038 am: fb8f41f0c2 am: e8a4750ac5 am: bb50f0e74c
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1368819
Change-Id: I3c1ba14ebf107ca37baa0c254be72ef3e0e755c1
2020-07-28 18:20:50 +00:00
Nathan Harold
6990836dae
Merge "Update Docstrings for #requestLocationUpdate()" am: abe015171f am: d3467070fc am: abfeabcb33 am: 69cd49e502
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372239
Change-Id: I5e8d57bbf24aeac04173f9bce304567dc96832d5
2020-07-28 18:19:30 +00:00
Treehugger Robot
2d78a290d4
Merge "Fix Docs for KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL"
2020-07-28 18:02:50 +00:00
Treehugger Robot
e8a4750ac5
Merge "Expose adhoc conference calling API as public." am: 8ebbe3c038 am: fb8f41f0c2
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1368819
Change-Id: Ia5e17f2dbbfbb539f2415348e1ddb960354d3662
2020-07-28 17:41:13 +00:00
Nathan Harold
abfeabcb33
Merge "Update Docstrings for #requestLocationUpdate()" am: abe015171f am: d3467070fc
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1372239
Change-Id: I9542a65e37015e89681e3da0a52b20efc365a0e8
2020-07-28 17:40:41 +00:00
Treehugger Robot
8ebbe3c038
Merge "Expose adhoc conference calling API as public."
2020-07-28 17:08:47 +00:00
Nathan Harold
abe015171f
Merge "Update Docstrings for #requestLocationUpdate()"
2020-07-28 17:01:47 +00:00
Grace Jia
8587ee5cd5
Expose adhoc conference calling API as public.
...
Bug: 159944852
Test: make
Change-Id: I2cf39a6fd8a02ca4f2d0c83c484ab12bb13f74c3
2020-07-27 11:18:36 -07:00
Brad Ebinger
31313d6566
Fix Docs for KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL
...
Fixes: KEY_CARRIER_SUPPORTS_SS_OVER_UT_BOOL
Test: Docs only change, m
Change-Id: Ifcbf147f3734a33250f46ddfc56c72cdbd4d3626
2020-07-27 10:19:01 -07:00
Nathan Harold
cbdebc8d55
Update Docstrings for #requestLocationUpdate()
...
Address API Council feedback for CellLocation#requestLocationUpdate
-Update the summary string to indicate the functionality
for pre-SDK31 behavior.
-Clarify that this API is only useful in power-saving modes.
-Remove justification for deprecation leaving a simple link to
a superior alternative.
Bug: 161207204
Test: make offline-sdk-docs && make (docstring only change)
Change-Id: Ib931906323fe1ec2c730271cefd0d46aee60d963
2020-07-27 10:08:53 -07:00
TreeHugger Robot
4712b84db8
Merge "Added builder for PreciseDataConnectionState"
2020-07-25 07:26:44 +00:00
Jack Yu
9919a2925e
Added builder for PreciseDataConnectionState
...
Added builder for PreciseDataConnectionState. No functionality
changed.
Bug: 161572838
Test: FrameworksTelephonyTests
Change-Id: I9d2d4cc3d717878d9246989f7a88bedc0805d86e
2020-07-24 20:40:12 -07:00
Automerger Merge Worker
9b80f5fed1
Merge "Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed am: 4f7fa277ab am: b8b8f1323b" into rvc-qpr-dev-plus-aosp am: f31ee636c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436
Change-Id: I6e8c3a67a6356ea179abd45e49b2725813cbdbdd
2020-07-24 22:49:16 +00:00
TreeHugger Robot
b90e9d8ae5
Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed am: 4f7fa277ab am: b8b8f1323b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436
Change-Id: I7251e520ca986bbc0ed8908e019d57711d2d741d
2020-07-24 22:38:26 +00:00
TreeHugger Robot
b8b8f1323b
Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed am: 4f7fa277ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436
Change-Id: Iccbb47fbb7d1ecba2aaddf18de4fbf2c2c7ec7e0
2020-07-24 22:25:42 +00:00
TreeHugger Robot
4f7fa277ab
Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436
Change-Id: I6f82a1ee38717d801c828d4922b89dea5267215f
2020-07-24 22:08:26 +00:00
TreeHugger Robot
73a4ff6dd6
Merge "Allow network stack UID caller to retrieve cell identity" into rvc-dev am: 855eb749ed
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12226436
Change-Id: I5b80cc571555d272c33c0f7560709032efa6532c
2020-07-24 22:08:21 +00:00