History log of /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/DataConnectionTest.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/dataconnection/DataConnectionTest.java
6289b21a3b9f0214a862878096384d8ce90a572c 03-Apr-2017 Jack Yu <jackyu@google.com> Merged makeNetworkCapabilities and getCopyNetworkCapabilities

Merge two identical methods into getNetworkCapabilities. This
is the preliminary work for unmetered mms fix for b/30936226.

Test: build
bug: 30936226
Change-Id: I2e41dd1ecac03da12b47c843f1f10c500026aa28
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/DataConnectionTest.java
8e9d1e601dce62cd0328701d7054e03db24727c7 13-Feb-2017 Jack Yu <jackyu@google.com> Data call refactoring and hidlization

Support the new HIDL interface for data call APIs.
The affacted APIs are RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_DATA_PROFILE, RIL_REQUEST_SET_INITIAL_ATTACH_APN
More parameters are passing down to the modem to address some
issues we had earlier.

bug: 32224135, 30173958, 33561503, 30282096, 32020264
Test: Telephony sanity tests, unit tests

Change-Id: I239baa144bcee413f67e77c6b79b4ae5278077e8
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/DataConnectionTest.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/dataconnection/DataConnectionTest.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/dataconnection/DataConnectionTest.java
38ea8753cf66bbdca0257e2c9bd02befec61764a 26-Aug-2016 Amit Mahajan <amitmahajan@google.com> Mark flaky/failing tests as @Postsubmit.

This is done so that telephony tests can be enabled for presubmit.
All tests not passing at least 95% of the time are marked
@Postsubmit. Test passing metrics are based on
go/tel-nyc-mr1-apct-dashboard and go/tel-master-apct-dashboard.
These tests will be fixed as part of b/29579544.

Bug: 31041734
Change-Id: I5e65e94696b6526eb3c270238fd80795319ea2ff
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/DataConnectionTest.java
a8201a7b8ce12cfada51784ebe06534e35c2ae04 12-Aug-2016 Jack Yu <jackyu@google.com> Set NetworkInfo's meter flag when capability changes.

bug: 30812533
Change-Id: Ib25eebc5f439895317c4011384b1b10a330911b3
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/DataConnectionTest.java
0852a954be5937a1b0bca94df0c2007d7ee3c0c7 13-Apr-2016 Jack Yu <jackyu@google.com> Fixed that data retry didn't happen issue

When modem return -1 as the retry value in setup data call response,
we should interpret it correctly and retry the data connection.

bug: 27787361
Change-Id: I0a3e442f5125730dd9a196ce632120b44b880090
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/DataConnectionTest.java
e3f497323441d0c9215f6cbad9ce950f054cce72 09-Mar-2016 Jack Yu <jackyu@google.com> Added unit test cases for DataConnection

bug: 25691077
Change-Id: I90920c7625ec7f8f716fbab15f65c7f4323628cc
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/DataConnectionTest.java