History log of /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ae6e8f99bdb297f906d6dcdc0a385ba27eee47fd 23-May-2017 Jack Yu <jackyu@google.com> Fixed file descriptor leak in telephony unit tests

The handler thread in SimulatedCommands was not closed after
each unit test run. Fixed by adding a dispose method to quit
the thread.

Also use quit() instead of quitSafely() for all thread quiting
because we don't care if the messages were dispatched or not
after the test. This can fix some messages sending to dead
threads non-harmful exceptions in the output debug messages.

Test: Telephony unit tests
bug: 29579544
Change-Id: I112e46b0147a1950046a35cd9ac2498560c6ee1b
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
cb192e90e2692e094b8d9cef4e52c36af5777681 15-May-2017 Amit Mahajan <amitmahajan@google.com> Fix setCdmaBroadcastConfig in RIL.java to include all categories.

Also disable some flaky tests.

Test: manual
Bug: 38109424
Merged-in: I15a26a8f5134e34cc00e57161faca5924ab82a80
Change-Id: I15a26a8f5134e34cc00e57161faca5924ab82a80
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
a18eb87506359758fb67899525d0737d98923b8d 04-May-2017 Sanket Padawe <sanketpadawe@google.com> Register for EVENT_RESTRICTED_STATE_CHANGED irrespective of phone type.

+ Removed some dead code as well.

Bug: 37377132
Test: manual
Change-Id: I6ddddc39e69e0850e838b6f3cf1bc4adda682281
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
802962613bf8ac5e53d08a6310ceecf031e1b8a5 19-Apr-2017 Amit Mahajan <amitmahajan@google.com> Disable failing unit tests.

All tests pass locally now and should pass on treehugger and apct
as well.

Test: runtest --path frameworks/opt/telephony/tests/telephonytests
Bug: 29579544
Change-Id: I8a038f60e6bed490a2e969258b126f4dfa1f6cb9
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
92428df50d736a3d1d0f32779a22c65fcec0efab 01-Mar-2017 Jordan Liu <jminjie@google.com> Remove old @Postsubmit annotation

The annotation is no longer needed because it has been replaced with
@FlakyTest. This commit also removes the import.

Change-Id: I5e7c1a7b6a856f84f294f98acb4ba627fc7880cd
Fixes: 35710737
Test: No change to behavior
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
e73ef117c8f5a7ea2feaa9ba8a15ec2de4137c7d 24-Feb-2017 Jordan Liu <jminjie@google.com> Add @FlakyTest annotation to @Postsubmit tests

@Postsubmit may be used for something else in the future, so replace
them with the more correct and specific annotation, @FlakyTest.

Bug: 35710737
Change-Id: I0f0db45e29c90a28147caab700457d10a7abf698
Test: No change to behavior
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
d4e6f5b372377a4ecff6cfe944d9b5d6f4012498 16-Nov-2016 Jordan Liu <jminjie@google.com> Enable presubmit for passing telephony tests

With the change to lock clocks to improve test suite stability,
re-enable presubmit running for the locally passing telephony tests.

Bug: 29579544
Change-Id: Ibdb1bf17afd1546f95c2ab5c1199693ab004af23
Test: runtest --path \
tests/telephonytests/src/com/android/internal/telephony/dataconnection/DcTrackerTest.java
runtest --path \
tests/telephonytests/src/com/android/internal/telephony/dataconnection/\
TelephonyNetworkFactoryTest.java
runtest --path \
tests/telephonytests/src/com/android/internal/telephony/gsm/GsmInboundSmsHandlerTest.java
runtest --path \
tests/telephonytests/src/com/android/internal/telephony/ServiceStateTrackerTest.java
runtest --path \
tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
a4e867029207036476b691569f9211b10088fd0d 22-Sep-2016 Amit Mahajan <amitmahajan@google.com> resolve merge conflicts of 210c4f0 to master

Change-Id: I8f4471ec00ba38b3635bbd904586c5ade0a5a4d4
3374f09335e5b7681af05a35dd7454b565f8bb72 14-Sep-2016 Jordan Liu <jminjie@google.com> Mark flaky presubmit tests as @Postsubmit

Previously tests passing <95% of the time were considered flaky. Now we
mark any test passing <99% of the time as flaky.
Also increase wait time before assert in switchToCdma which was failing
inconsistently.

Bug: 31041734
Change-Id: Ibb353c99049b049f57d0f67b5027278d58c5f69b
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
316deb284df5aff89060007fc7500996dd991ca2 09-Sep-2016 Jordan Liu <jminjie@google.com> Update reference to dial_string_replace

For the switch to CarrierConfig, we update the method used to get the
value of what used to be called dial_string_replace to the new method
provided by CarrierConfig

Bug: 29873049
Change-Id: I58f4375e4572f46a78c3d2479690fe35d820662d
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
48a5ba5d3cc80ffaaa82caed6f2344166da99c08 31-Aug-2016 Jack Yu <jackyu@google.com> Fixed failing unit test cases.

bug: 31041734
Change-Id: Ia633484f768ea7565abf497a8689866a6eea264a
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
7e9240253edb59e0aa657de434faa1ccdf17a742 29-Aug-2016 Amit Mahajan <amitmahajan@google.com> Fixed failing tests.

Also marked some of them @Postsubmit.

Bug: 31041734
Change-Id: I9a93bbb6d7f9c28fa90bab260d837761bc07eb77
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
e97fb0b4ff012fe960c36d7cb09311550c7d4055 13-Jul-2016 Amit Mahajan <amitmahajan@google.com> Fix failing unit tests.

Bug: 29579544
Change-Id: I7a5dc1d641ef5c133e549763b1eb08e767912242
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
8dd4a1915f45460dfed9646470fbc0405bff934b 08-Jul-2016 Amit Mahajan <amitmahajan@google.com> Clean up calls in GsmCdmaCallTracker on GSM<->CDMA transitions.

Bug: 29972199
Change-Id: I2df4264a97239d6c87378ebae8e30abd8de6af0f
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
f9665d579a68b00057cc171b2f1c39a010b7e40a 01-Jul-2016 fionaxu <fionaxu@google.com> unit test fix for dcTracker and GsmCdmaCallTracker

1) fix the intermittent failure on GsmCdmaCallTracker by given more time
for state transition
2) fix the failure for DcTracker due to recent checkin b/29645680

Bug: 29645680
Bug: 25691379
Change-Id: I2676f2841b0081dc7eb8e1acf62048ac1f1242aa
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
77eeade7a1391b045f8b2ce681efd49f27d3506f 30-Jun-2016 Amit Mahajan <amitmahajan@google.com> Get current calls on phone type switch.

There may be active calls from previous phone type.

Bug: 29738766
Change-Id: I16a57567fd72be35a7e15eccb6a65f540b51874d
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
e415b7b5ae3afec0b7a24d85b930e8cca47499a6 29-Feb-2016 fionaxu <fionaxu@google.com> ImsPhoneCallTracker Unit test for MO Call and DTMF

BUG=25691379

Change-Id: I9225d5a02702b75f48185474abe14e0c2f0901c7
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
282e49e614393f9a597f058fe6fe3185c02ded94 24-Feb-2016 fionaxu <fionaxu@google.com> fix GsmCdmaCallTrackerTest failures

BUG=25691379

Change-Id: I322a92d7f3706d68687cc9e75248a593fb1aef0e
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
52260e76d4097bea18e610688f8a548a834a0c1f 22-Feb-2016 fionaxu <fionaxu@google.com> Fix intermittent test failure of GsmCdmaCTTest

bug: 25691379
Change-Id: Ia59413cc019e849267a48c166619f3a6e549d6eb
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
703e603fecd2a07e232afe1e2b277fd0a786237b 13-Feb-2016 fionaxu <fionaxu@google.com> Telephony Unit Test Clean Up

bug: 25691379

Change-Id: Ic5b424d8bed2229efe32379090053561496f78fa
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
655bae990bdd7e4584491def4d30692e6173779c 11-Feb-2016 fionaxu <fionaxu@google.com> Subscription related Unit test with code cleanup

bug: 25691379

Change-Id: Ib31b34b3d1116cf714717f5742095de7aa4c0a13
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
5bc609873dfd5a4c51798139512c206ac0ab7503 04-Feb-2016 fionaxu <fionaxu@google.com> GsmCdmaCallTrackerTest

Change-Id: I752b117b227bb785dd85bd8a2b248e13793034fa
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
19561243b57cea1863585443a92801724d41a4d9 04-Feb-2016 fionaxu <fionaxu@google.com> Potential fix for GsmCdmaCallTrackerTest & debug

Change-Id: I3ac9b0bbe9200f9db5decf85adcea1de0d1717d0
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
b54a7201000c50c505814aa62e114010f5310d0f 03-Feb-2016 fionaxu <fionaxu@google.com> improve debuggability for GsmCdmaCallTrackeTest

Change-Id: Ic5dc3c707d335d73c453f3841b776cc61c59546d
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
832f315527d2f60708dc092137f59d02f2572a83 03-Feb-2016 fionaxu <fionaxu@google.com> increase wait time, potential fix for unit test

BUG=25691379

Change-Id: I49733a69e5a4fa38e498b4bf7a805f9f806a26b3
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
caf788f85debe35e07c1821f20ea8949b1c60c61 02-Feb-2016 fionaxu <fionaxu@google.com> add eventlog mock for GsmCdmaCallTrackerTest Test

BUG=25691379

Change-Id: I400a0398a23cfb7ef98a845a2f4b154bfb2c15a4
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java
5755ef622fec6f3c592467c685503826862a7536 26-Jan-2016 fionaxu <fionaxu@google.com> Unit test for GsmCdmaCallTracker

BUG=25691379
Change-Id: Ic588ed4b78d645008698bff73a2995bdfd15e064
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmCdmaCallTrackerTest.java