History log of /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/PhoneStateListenerTest.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/PhoneStateListenerTest.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/PhoneStateListenerTest.java
d58f5ac4f8d9c0ef35ea16849fad21c2d3c638b6 23-Mar-2016 fionaxu <fionaxu@google.com> First Unit Test for PhoneStateListener

Bug: 25691379
Change-Id: Iab36049a769bfe557a394d4cb9aa87152b3a69a5
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/PhoneStateListenerTest.java