History log of /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7465b0a9baaa9e27088324cda4f005aab40fa71d 23-May-2018 Jack Yu <jackyu@google.com> Passing data RAT for old setup data call API

The old 1.0 setup data call interface takes RAT as an input
parameter. In order to support the existing legacy devices, we
pass the data RAT instead of unknown to the vendor RIL. This change
does not impact the new setup data API, which takes access network
type as a parameter.

Test: Manual + unit tests
Bug: 79234282
Change-Id: Ibff5913f4ed48006d507281b69e5648412188a45
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
ac009536df32d886e1bab79f07e61200ea6bdcf9 25-Apr-2018 Shuo Qian <shuoq@google.com> Restore the OEM hook implementation and usage

The current plan is to keep the OEM hook implementation in the
framework, this is for legacy device and old device upgrading
(per b/78098059).

For P launching device, the OEM hook service is removed in hal,
so the OEM hook api in framework should return something dummy, and
prevent infinite loop to get service, but these parts should be done
in seperate CLs after this restore CL is merged.

This reverts commit acc87ce9d9a91f0eb80c411ddbf66c82ef2e04d3.

Bug: 34344851
Change-Id: Ib58d9e0842ac1764f91391b1403a3d841f4a1bd9
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
acc87ce9d9a91f0eb80c411ddbf66c82ef2e04d3 24-Apr-2018 Robert Greenwalt <rgreenwalt@google.com> Revert "Revert "Remove the OEM hook implementation and usage""

This reverts commit 73852a1d6eb29f844bc8d08bb33aca3e29b17733.

Reason for revert: Causes a critical error in Cuttlefish

Bug: 78299964

Change-Id: I66819556f2ed4bb05c133c200462b91e44d9ec23
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
73852a1d6eb29f844bc8d08bb33aca3e29b17733 17-Apr-2018 sqian <shuoq@google.com> Revert "Remove the OEM hook implementation and usage"

This reverts commit 6993a3eef4eed1a2f31a967d330bdd97e76fe1c5.

Bug: 34344851
Test: Treehugger
Change-Id: If12893fb1ef0da41d5f008a5232a06e98d4428a0
Merged-In: If12893fb1ef0da41d5f008a5232a06e98d4428a0
(cherry picked from commit 42b72c2351d823bf0e79b72b2fe6b140aae468ec)
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
20d8d294bf13299396436ec4c31cb524377c7502 06-Mar-2018 Nathan Harold <nharold@google.com> Test HAL 1.0 and HAL 1.2 TDSCDMA Compatibility

Add a test that checks that the HAL changes for
TD-SCDMA compatibility between HAL 1.0 and HAL
1.2 are handled correctly by the HAL conversion
functions.

Bug: 74202653
Test: runtest -x ...RILTest.java
Merged-In: I0d45f6b599adac17e43e8488c38848f1689fb804
Change-Id: I0d45f6b599adac17e43e8488c38848f1689fb804
(cherry picked from commit 11dca507826d9c2e0ffd1369c8c0eca3e0f39676)
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
941a4d75512d0096f6c8ffd5c3f06fc0c1234308 03-Mar-2018 Nathan Harold <nharold@google.com> Replace Manual Parceling for CellInfoCdma am: a8af56d7dd am: f88dd6f372
am: 4b7dda255b

Change-Id: I557f55b12ce409b5d2753117173394bfb5c7bb8a
a8af56d7ddc5b3e7781aaa792a44c2c18539ab2f 27-Feb-2018 Nathan Harold <nharold@google.com> Replace Manual Parceling for CellInfoCdma

CellInfoCdma has a number of legacy fields with very
strange values. In order to remove some unfortunate
code in CellSignalStrengthCdma that tried to twiddle
the sign on all of the fields during parcel/unparcel
it was necessary (and more than appropriate) to
update RIL to treat the parcel values and ordering
of CellInfoCdma as an implementation detail, instead
calling the respective class constructors and parcel()
methods of the classes.

Bug: 32364031
Test: runtest frameworks-telephony
Change-Id: Id257f8c59476ee083e41dd4161ac0c28759be1e4
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
1568ddae9632c775a676bf8e39b0e09e94d2616e 16-Feb-2018 nharold <nharold@google.com> Merge "Add WCDMA Signal Strength to SignalStrength" am: f3117ca388 am: bed23497d1
am: 4d1d003d47

Change-Id: I27f3c1a5a4abd8a69f9f571f2d6f29b65df44743
e6702220aa471f98579102516afa8aa268820856 13-Dec-2017 Wei Huang <wei.x.huang@sony.com> Add WCDMA Signal Strength to SignalStrength

Integrate a HAL change to support SignalStrengthWcdma
in the SignalStrength IRadioIndication and
IRadioResponse interfaces.

Bug: 71329173
Test: runtest frameworks-telephony
Change-Id: I5cbc0df0c9cf22c4acaa6e1b12785679f69a7ea3
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
71f909237a9921f52d91440fb8f9c6fc97465a52 04-Feb-2018 Jack Yu <jackyu@google.com> Connected with data service manager

Routed all data requests and respones through the
new cellular data service and data service manager.

Test: Telephony sanity tests + unit tests
Bug: 64132030
Merged-In: I66adf6492ee1952e20384c38add107c89da0ac41
Change-Id: I66adf6492ee1952e20384c38add107c89da0ac41
(cherry picked from commit 4b2c78c078d59466d18a4f7f926bb3bc0eccff9d)
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
4b2c78c078d59466d18a4f7f926bb3bc0eccff9d 04-Feb-2018 Jack Yu <jackyu@google.com> Connected with data service manager

Routed all data requests and respones through the
new cellular data service and data service manager.

Test: Telephony sanity tests + unit tests
Bug: 64132030
Change-Id: I66adf6492ee1952e20384c38add107c89da0ac41
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
3df1e743fb581eafa7d121496a8b73f932f10ba3 02-Feb-2018 nharold <nharold@google.com> Merge "Update unit tests for CellInfo Code Cleanup" am: 399cb1c9f5 am: 3c41dee15f
am: 068076d5c6

Change-Id: Ia48a8f5d0031da47c1dd58a3ebefe3576765c2d6
556627ca39c00bb32eb9fe6b7e0ce8540f16cdbc 01-Feb-2018 Nathan Harold <nharold@google.com> Update unit tests for CellInfo Code Cleanup

The initialize() methods were removed from the
CellSignalStrengthXYZ functions, so instead the
unit tests are updated to use the appropriate
constructors rather than a two-step construct-then
initialize pattern.

Bug: 72742517
Test: runtest frameworks-telephony
Change-Id: Ic6e76a2c71b2aab3a25d8ed680e0a099e51145b4
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
d42c5dabe2d45faea0f861e70b6902b3e6171b05 31-Jan-2018 nharold <nharold@google.com> Merge "Remove obsolete getIsimChallengeResponse" am: 4ce44fdede am: 60662c9acb
am: 9498fc2fcd

Change-Id: Ia3483bb1d8309b6e3f74064357df1bfbd6e1961d
12f844b0f84469c8cd8f094412a7599173aaaac3 29-Jan-2018 Nathan Harold <nharold@google.com> Remove obsolete getIsimChallengeResponse

This method is fully superceded by getIccAuthentication
Any callers should use the new method instead.

Bug: 27954896
Test: compilation
Change-Id: I8fb81a6c6cb1dcb278f4fe9d4ac4d3ae54a342c2
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
7a9454238ca0c112643aee33ccbb5413907a2dfe 25-Jan-2018 Eric Schwarzenbach <easchwar@google.com> Merge "Support new CellInfo fields." am: e49e14b8fc am: 8c895d5cec
am: 135eadaf7c

Change-Id: Id6951d7be94f70c6f2c9e1bb5019539d52e7d5f9
81b90daac5f0e09da0ea83327b8f31976194aade 10-Jan-2018 Eric Schwarzenbach <easchwar@google.com> Support new CellInfo fields.

Bug: 72117223
Test: runtest frameworks-telephony

Change-Id: I662e097527abbb9c742ef7018010b17fcaebff04
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
370c13358a56461ec12c711303c7cb986c85e3b6 24-Jan-2018 Pengquan Meng <mpq@google.com> Mark some RIL test as Flaky test

Bug: N/A
Test: N/A

Change-Id: Id0fc3806e3f936f93162c81df6f4d5f90d8a9830
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
00ed9996a174af7a815c57060393cd162258fd68 19-Jan-2018 Jack Yu <jackyu@google.com> Handled IPv4 without prefix length correctly

LinkAddress always takes address with prefix length. We should
add a prefix length to those IPv4 addresses. This is a regression
from aosp/586706. Also fixed the incorrect regex used to split the
addresses from the modem.

Test: Telephony sanity tests
bug: 72039489
Merged-In: I31fa1a343036370b28ce44fd895802804342dadd
Change-Id: I31fa1a343036370b28ce44fd895802804342dadd
(cherry picked from commit bf307ac11797b1a843e687a3f5e6170e20df244c)
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
bf307ac11797b1a843e687a3f5e6170e20df244c 19-Jan-2018 Jack Yu <jackyu@google.com> Handled IPv4 without prefix length correctly

LinkAddress always takes address with prefix length. We should
add a prefix length to those IPv4 addresses. This is a regression
from aosp/586706. Also fixed the incorrect regex used to split the
addresses from the modem.

Test: Telephony sanity tests
bug: 72039489
Change-Id: I31fa1a343036370b28ce44fd895802804342dadd
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
7dd437b55dae4748f59cb4fcedb88db315783e05 11-Jan-2018 youhei yamahata <youhei.yamahata@sony.com> Merge "The re-try flag is not set to true when re-sending SMS at second time" am: d28dd923c1 am: 3619f08192
am: fc8a19e5a8

Change-Id: I2e894912e1a1d233401ed192a956ae781ea0e346
663bd9a35f7826c91357c32453fd94c54797ad8d 21-Nov-2017 youhei yamahata <youhei.yamahata@sony.com> The re-try flag is not set to true when re-sending SMS at second time

Retry flag for sending SMS message is set when send IMS SMS.
If this flag is true, the device re-sends SMS over SGs and if false,
the device re-sends SMS over IMS.
The problem is that the flag is set to true only first time.
So, if second retry fail occurs, the device re-sends SMS over IMS.
But it should send SMS over SGs.

To solve this issue, always set ImsSmsMessage#retry to true
if the number of retransmissions is 1 or more.

Test: auto - Confirmed that run RILTest and it has no problem.
Bug: 69871520
Change-Id: I395a670af6f69eb830b0c2ed7c92b8469012997b
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
9e0a2cd0de646f9455c0d6ab34632b89b418235c 04-Jan-2018 Narayan Kamath <narayan@google.com> RIL: Add support for WorkSources with chained attribution.

Ensure that the code that constructs Client IDs can handle WorkSource
objects that contain WorkChains.

Test: RILTest
Bug: 62390666
Change-Id: Id4972fa386b20245dc1ce60456eccca031cbbb4b
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
886183cde1263ea524cdf08524442724e246ed42 20-Nov-2017 Jack Yu <jackyu@google.com> Moved DataProfile from telephony internal hidden API to System API

This is the preliminary change in order to make the new data call
setup API for IWLAN refactoring.

Test: Telephony sanity tests + unit tests
bug: 64132030

Merged-In: I5aa50001ef6374b080c10eb29e59363c21008639
Change-Id: I34b9a40b587092f28ffe5d5c96a4e3636f52ed53
(cherry picked from commit b02e63a76e4c3d5e364b0d0017e1a0f57916959d)
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
ceafe87887c0e45ea1092e89f58199438bcc29f6 30-Nov-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Revert "Merge "Revert "Moved DataProfile from telephony internal hidden API to System API"" am: ff4c852798 am: 58c2654141 am: 9fc7a5386d""
c2d0cec6cc786470359383a5fa179586bdde3858 30-Nov-2017 Jack Yu <jackyu@google.com> Revert "Merge "Revert "Moved DataProfile from telephony internal hidden API to System API"" am: ff4c852798 am: 58c2654141 am: 9fc7a5386d"

This reverts commit 71df921a8aa13ed6d6a4cc3e6ed277ea3ff382b5.

Change-Id: I5aa50001ef6374b080c10eb29e59363c21008639
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
5095bb70036ea1d3b0211f270abdebd41bff89f1 29-Nov-2017 Pengquan Meng <mpq@google.com> Merge "Mark some RIL test case as FlakyTest"
am: a533a425c6

Change-Id: I8b62ecc99701909b1e3100d2ea5577508859b89b
046235e5f97ce065da90ef5f83e1277937b90939 29-Nov-2017 Pengquan Meng <mpq@google.com> Mark some RIL test case as FlakyTest

The status of the wakelock in RIL is not stable due to unknown reason.
All the test are passed perfectly in local device, but may be failed
in presubmit, so mark some related tests as FlakyTest and we will
change it back after resolved the issue.

Bug: 69869941
Test: unit test
Change-Id: I97eaf6f40c95d65ec5136a9a3d22a045ecf9c9b5
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
4caa11d8e1d6790b2813d48a91924492a60b5156 20-Nov-2017 Jack Yu <jackyu@google.com> Moved DataProfile from telephony internal hidden API to System API

This is the preliminary change in order to make the new data call
setup API for IWLAN refactoring.

Test: Telephony sanity tests + unit tests
bug: 64132030

Merged-In: I320632be0d50b03c948b02fa664640ecfb401357
Change-Id: I21aa0ac07d251804716dd88846e7b4913673cdc9
(cherry picked from commit b02e63a76e4c3d5e364b0d0017e1a0f57916959d)
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
4bb301ce081b348fbb8b6b7a990e0c6e65b9e039 28-Nov-2017 Jack Yu <jackyu@google.com> Revert "Moved DataProfile from telephony internal hidden API to System API"

This reverts commit c36b42eb847959f451900d1eac4e32be180a0b99.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I7fd9fbb181fcc74de585e3224ed230e029db1049
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
c36b42eb847959f451900d1eac4e32be180a0b99 20-Nov-2017 Jack Yu <jackyu@google.com> Moved DataProfile from telephony internal hidden API to System API

This is the preliminary change in order to make the new data call
setup API for IWLAN refactoring.

Test: Telephony sanity tests + unit tests
bug: 64132030

Merged-In: I320632be0d50b03c948b02fa664640ecfb401357
Change-Id: I320632be0d50b03c948b02fa664640ecfb401357
(cherry picked from commit b02e63a76e4c3d5e364b0d0017e1a0f57916959d)
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
e9c396cfd047b045c6df08a32ef546600f921bfa 14-Nov-2017 Cassie <xih@google.com> Added OperatorInfo in Scan Result.

The following changes were made becuase we added the new CellIdentity
Structures in the types.hal. And those new CellIdentity structures are
used
in the function networkScanResult in RadioIndication.java, in the
function
getCellInfoListResponse in RadioResponse.java and in the function
convertHalCellInfoList in RIL.java.

Bug: 63984327
Test: Basic telephony sanity
Change-Id: I88faa6dcad0f6ec3f8cd01552d6a4719482b55a0
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
e2be13c62d7f340a6560c61e2e925d8608f1024c 16-Nov-2017 Cassie <xih@google.com> Adjust the logic of constructing the Parcel in convertHalCellInfoList.

Due to the changes in the constructing CellIdentity from Parcel, we need
to adjust the sequence when write into Parcel in the function
convertHalCellInfoList. Added Unit test for the changes as well.

Bug: 63984327
Test: Basic telephony sanity
Change-Id: I3c58b2e478fb2070039db8278656f90bb7776cd4
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
abbf305669d446b2e7a3fbeaf91d17e475a7e390 15-Nov-2017 Cassie Han <xih@google.com> Revert "Adjust the logic of constructing the Parcel in convertHalCellInfoList."

Bug: 69349963
Bug: 69096589
Bug: 63984327

This reverts commit c10564eaf097cf7942c8d9476918f86f54d15403.

Change-Id: I193b7bacfa68694380df81bc4424876b2fec6bb2
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
c10564eaf097cf7942c8d9476918f86f54d15403 09-Nov-2017 Cassie <xih@google.com> Adjust the logic of constructing the Parcel in convertHalCellInfoList.

Due to the changes in the constructing CellIdentity from Parcel, we need
to adjust the sequence when write into Parcel in the function
convertHalCellInfoList. Added Unit test for the changes as well.

Bug: 69096589
Bug: 63984327
Test: Basic telephony sanity
Change-Id: I76a5bed59c6da429048fc03c9fa5415aa4c0a855
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
6993a3eef4eed1a2f31a967d330bdd97e76fe1c5 25-Oct-2017 Jayachandran C <jayachandranc@google.com> Remove the OEM hook implementation and usage

Vendors and OEMs shall use HIDL extension going forward
to send OEM specific message

Test: Basic Telephony Sanity

Bug: 34344851

Change-Id: I3432501978a08753f791fb90df77ee9ef1b6d642
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java
99686b9ef259ddbf7c93ef41522342746ce5c953 29-Jun-2017 Pengquan Meng <mpq@google.com> Add tests for RIL

Add some unit tests for RIL.java.

Test: "runTest -x RILTest.java" under the test directory
Bug: 38511400
Change-Id: Idded1dd46053f51dbd5b5ef26d3361def2285851
Merged-In: Idded1dd46053f51dbd5b5ef26d3361def2285851
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/RILTest.java