History log of /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ImsPhoneFactoryTest.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/imsphone/ImsPhoneFactoryTest.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/imsphone/ImsPhoneFactoryTest.java
b15af5a82377b8ad6d46b5f93186510b56b4a449 12-Mar-2016 fionaxu <fionaxu@google.com> Add Unit Test for ImsPhoneFactory

bug: 25691379
Change-Id: I22d628cce12dbed1afac35641983b800e47fbd17
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ImsPhoneFactoryTest.java