History log of /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e1aeaee24464191130da0133981d47fb9e469960 24-Jun-2016 Pavel Zhamaitsiak <pavelz@google.com> Fix ImsPhone.processDisconnectReason() function

- Escape "|" (pipe) symbol.
- Add unit test

Bug: 29581592
Change-Id: I4c7f5758478ab8360fad8a7b97055bbaaa7805bf
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
54543184e3fd345fe0c96d4d96022ad4f058e410 26-May-2016 Amit Mahajan <amitmahajan@google.com> Additional sms segment de-duping for multi-part SMS.

Adding de-duping logic for segments with same parameters that can
cause ambiguity when concatenating them to get the complete
message.

Bug: 28932719
Change-Id: I187942d8384dc18d4311265441d076f085651c67
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
4c31e4c0d2db31fe84081aa6f1e2bcc08b31f9d3 24-May-2016 fionaxu <fionaxu@google.com> cold sim clean up

- add new api to control provisioning notification visibility through
network agent
- rework on the interaction between carrier app and framework
- code cleanup
- unit test support
- hook pco value into datacallcomplete, enabling test by set sysprop for
pco values

Bug: 28567303
Change-Id: Id6b9b2aff4c4f128103593aab0bcef1c3a365141
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
f6d865fd88a8326126e2b3f836b94cfebba3a5a7 25-May-2016 Derek Tan <derektan@google.com> Use getConfigForSubId instead of getConfig(int).

Per API review, we want to revert getConfig(int) to
getConfigForSubId(int) (ag/1075011). This CL changes all
callers to use getConfigForSubId(int).

Bug: 28295813
Change-Id: Ib55064226da5371d5acf014c0e0c20f3724d02c4
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
4ac3b86a52c65cdbc63a20893969cd5063ec0c21 25-May-2016 Amit Mahajan <amitmahajan@google.com> Merge "Do not register broadcastReceiver for all users." into nyc-dev
9b813aa455186511edd03bb738334a1acca7e7b3 24-May-2016 Amit Mahajan <amitmahajan@google.com> Do not register broadcastReceiver for all users.

Registering for all users makes it receive the intent for each
user which is not required.

Bug: 28933982
Change-Id: I797d4d3d4553658a7e4e5021f45dfef5bb6ff05c
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
2416ed9dea025ad22c37d333ac1cbf4fae75c3ab 17-May-2016 Amit Mahajan <amitmahajan@google.com> Rebroadcast SIM_STATE_CHANGED after USER_UNLOCKED.

There may be apps that rely on SIM_STATE_CHANGED but may not receive
the intent if they are not direct-boot aware. This change is to
rebroadcast the last SIM_STATE_CHANGED intents for each phone
after user unlock.

Bug: 28763595
Change-Id: Ib81e73a946d731987576357ec7c2da19fa310341
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
8b0a1cbd24977a1abbba79736cf9f481ced0703a 30-Mar-2016 Jack Yu <jackyu@google.com> Excluded certain APNs (e.g. IMS) from mobile data usage.

Added not_metered capability to a mobile network if none
of its associated APN types are metered. Also used not_metered
capability to determine if a network should be accounted for
data usage or not instead of using network type, which is
always MOBILE after refactoring. Will add VT usage support
in next phase.

bug: 20888836
Change-Id: Ic39c9ffc84e27566a5b10ebf9aaa4ee3d6bd3e49
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
fd6ce6219b41f9735240b9d0665d27c32482abd1 31-Mar-2016 Amit Mahajan <amitmahajan@google.com> Add implementation for mock Settings content provider.

Bug: 25691379
Change-Id: I2dd74c529f489613cca4b8b04cbb445cee8c902e
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
18ad8bf07feb9f6a9d187da236f3e56c055e941a 04-Mar-2016 fionaxu <fionaxu@google.com> PhoneSubInfoControllerTest Unit Test

bug: 2569137
Change-Id: I39f8d3ddf16e5b3dcb61a11fc22003a41c81fe2c
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
ce000ddfbb615f873e9fc0a4c68f992b12d3f82f 01-Mar-2016 fionaxu <fionaxu@google.com> First Unit test for IccPhoneBookInterfManager

bug: 25691379
Change-Id: I96ca9db99ec10affa044a7373fb0acfd836a62ae
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
4552b1f4f3d7d2f6a19e19cbbc5dcbdacf64cf39 26-Feb-2016 Chen Xu <fionaxu@google.com> Merge "Fix UiccCard Test Failure" into nyc-dev
ed1effde1e208e805b7722d397ea00050306aa38 26-Feb-2016 Amit Mahajan <amitmahajan@google.com> Merge "Unit test for emergency callback mode start/end." into mm-wireless-dev
am: d02f796963

* commit 'd02f796963420fd100a77c8a8cf196b5ce44d2b0':
Unit test for emergency callback mode start/end.
d02f796963420fd100a77c8a8cf196b5ce44d2b0 26-Feb-2016 Amit Mahajan <amitmahajan@google.com> Merge "Unit test for emergency callback mode start/end." into mm-wireless-dev
f21d2289021a94fc74023e2b5987d236df354fe1 26-Feb-2016 fionaxu <fionaxu@google.com> Fix UiccCard Test Failure

BUG=25691379
Change-Id: Ib68920f2369217220282b8338f141b24fb24c334
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
de9c22e95d4e2797076db0c6b798e54f0638b7f0 26-Feb-2016 Amit Mahajan <amitmahajan@google.com> Unit test for emergency callback mode start/end.

Bug: 25691379
Bug: 27378459
Change-Id: I5c93f6bb6f5e9c9b0da8851c8461c378c18c8c58
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
3baedf2ead743a2c67dcac03733cec52bcef5636 25-Feb-2016 Robert Greenwalt <rgreenwalt@google.com> Don't let other networks fool the Switcher

It needs to be aware of all NetworkRequests regardless of whether
higher-scored NetworkFactories are satisfying them so we don't
switch off a phone just because we're on wifi.

Note that this behavior isn't necessarily bad, just a policy change,
unexpected and unwanted.

bug:27340021
Change-Id: I10a8d66c4117cbcb5db898c47f7cbdb1e2beb45b
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
f5c24214ded1e0b49f91844bc987bd6f5c17e4e2 23-Feb-2016 Robert Greenwalt <rgreenwalt@google.com> Fix tests.

Alter precidence so manually added things turn up before empty
mocks.

Change-Id: I6348fc0d9326bfce448a21ec6aa5cc1dede4d0f6
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
6bfc71d2b5340f6274b3e63926a7068e364fc9ff 28-Jan-2016 Robert Greenwalt <rgreenwalt@google.com> Make PhoneSwitcher class.

Monitors subscription->phone mapping, default subscription setting and
all mobile network requests to prioritize things, activate/deactivate phones
and also notify the curious about which phones are currently active.

Change-Id: I0ee67e6b05a5571b2f3c4e641823cf029420cb50
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
7a477263108748903cf5a4151a4e8b739f12264a 16-Dec-2015 Robert Greenwalt <rgreenwalt@google.com> Create the new SubscriptionMonitor

Add some unit tests too.

Change-Id: I9e40be14d61f8f43d6bd37915f0c2ab5b3bf8289
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
bc2eba9036e430ea40a47ab708c0386fa567ec9c 28-Jan-2016 Robert Greenwalt <rgreenwalt@google.com> DO NOT MERGE - Make PhoneSwitcher class.

Monitors subscription->phone mapping, default subscription setting and
all mobile network requests to prioritize things, activate/deactivate phones
and also notify the curious about which phones are currently active.

Change-Id: I933876a018aebbbcfd86f48451d8b6e47646266e
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
e5e4b94927937ac5cbc83ac577d4a572fa412784 16-Dec-2015 Robert Greenwalt <rgreenwalt@google.com> DO NOT MERGE - Create the new SubscriptionMonitor

Add some unit tests too.

Change-Id: I2b8d36ccd254a8b6743137dcc8593fb8171de6d3
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
468dcf57c026a5eebac700479b518ed8c35f4c6b 19-Feb-2016 Jack Yu <jackyu@google.com> First DcTracker unit test case.
am: 27b650c406

* commit '27b650c406018355a88a41528db7859e232728a0':
First DcTracker unit test case.
27b650c406018355a88a41528db7859e232728a0 18-Feb-2016 Jack Yu <jackyu@google.com> First DcTracker unit test case.

bug: 25691379
Change-Id: Ic091ae4d92d0ef1f3eaa9b3d0736545edb2f359f
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
27f471647b2da3ff50620a766c048ebef8d45ae1 18-Feb-2016 Amit Mahajan <amitmahajan@google.com> New unit tests for InboundSmsHandler.

Bug: 25691379
Change-Id: I5fcbc95467cc7bd75f3f8a7da42c3814c1d2dac8
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
41700dcc15f0e9d31ba94422c47243ff432aa372 16-Feb-2016 Amit Mahajan <amitmahajan@google.com> Merge "Updates to InboundSmsHandler tests and sendOrderedBroadcast support" into nyc-dev
05ce040e990b396a4273dc9c8efde364a2afb5bc 12-Feb-2016 Amit Mahajan <amitmahajan@google.com> Updates to InboundSmsHandler tests and sendOrderedBroadcast support

Bug: 25691379

Change-Id: I49b06a5223f1e9693e747282f7a83a1322bb887f
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
2cc7f4762438942b0c6b098fa9bd248c29fbd471 13-Feb-2016 Chen Xu <fionaxu@google.com> Merge "Subscription related Unit test with code cleanup" into mm-wireless-dev
am: 3d141ae13b

* commit '3d141ae13bb5b109f831c16bfd886cfef649958e':
Subscription related Unit test with code cleanup
3d141ae13bb5b109f831c16bfd886cfef649958e 13-Feb-2016 Chen Xu <fionaxu@google.com> Merge "Subscription related Unit test with code cleanup" into mm-wireless-dev
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/ContextFixture.java
b2b936f797278f8f202f7f338a0854bffea33328 12-Feb-2016 Amit Mahajan <amitmahajan@google.com> DO NOT MERGE Updates to InboundSmsHandler tests and sendOrderedBroadcast support

Bug: 25691379

Change-Id: I49b06a5223f1e9693e747282f7a83a1322bb887f
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
9c96807d990cdd3f4bb2d3f0fd56a1e78a95b353 10-Feb-2016 Jack Yu <jackyu@google.com> Test infrastructure improvement and code clean up.

Added instance replacement infrastructure and auto-restore functionality.
Cleauped up test cases.
Fixed copyright year.

bug: 25691379
Change-Id: I7e9b0b121c38c3a2c7375b262e2a121abb9c9a59
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
21e1b42d578d90611f76c37d58841543821502fd 10-Feb-2016 Jack Yu <jackyu@google.com> Revert "Test infrastructure improvement and code clean up."

This reverts commit 01d7b95381a5247520e7fe4ac40d10bcced525cf.

Change-Id: I2cb03e799dc5ce2a3bd1bcf8da21fb5fe7043672
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
01d7b95381a5247520e7fe4ac40d10bcced525cf 10-Feb-2016 Jack Yu <jackyu@google.com> Test infrastructure improvement and code clean up.

Added instance replacement infrastructure and auto-restore functionality.
Cleauped up test cases.
Fixed copyright year.

bug: 25691379
Change-Id: Ie3c778df828575d10e9164922210cc5b05723b45
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
153077e0b2d9ff6f115a0739dac1d64931bffb91 10-Feb-2016 Amit Mahajan <amitmahajan@google.com> Update voicemail number related unit test.

Bug: 25691379
Change-Id: Ia80a455c99a21f50348d9ca3ef2b3e69179c93e7
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
cbe5874f0032a93b81c842db992de850fba7ed2e 05-Feb-2016 Amit Mahajan <amitmahajan@google.com> Hardcode locale in tests to Locale.US

Bug: 25691379
Change-Id: I59fe0cd44e675dbd5e586cae9c9750eab7f607d7
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
df913b3778bcb0de74c4d9a077bbe76690ffef08 04-Feb-2016 Amit Mahajan <amitmahajan@google.com> Merge "Adding some changes in ContextFixture to fix a failing test." into mm-wireless-dev
32b5fbb1a340fa16e2c37c276517ef10a4934500 03-Feb-2016 Amit Mahajan <amitmahajan@google.com> Unit tests for GsmCdmaPhone.

Also creating abstract class TelephonyTest that can be extended
by other unit tests.

Bug: 25691379
Change-Id: I9437642a0bab68c6b573954e587181ff7d04d217
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
97ef92758cd180f431f095e6bda6ea9f2676d933 03-Feb-2016 Amit Mahajan <amitmahajan@google.com> Adding some changes in ContextFixture to fix a failing test.

This also includes ContextFixture changes from ag/837521

Bug: 25691379
Change-Id: I94616574e1089b30b31b761c8ccdcfa201e64308
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
e3b8bf78b63c45806f28812a66174aa8222c2973 01-Feb-2016 Chen Xu <fionaxu@google.com> Merge "Unit test for GsmCdmaCallTracker" into mm-wireless-dev
ceea0fa1248e326663ac56e5ba37b0633f8adacc 29-Jan-2016 Amit Mahajan <amitmahajan@google.com> Unit tests for SmsStorageMonitor

Bug: 25691379
Change-Id: Iab7080afcd422d642b6d1be6d49e4f16ccf461fd
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.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/ContextFixture.java
6a787228dd7f63fbf035a49a3fc6eb784d6e4dc8 27-Jan-2016 Jack Yu <jackyu@google.com> Fixed the flacky tests.

Fixed the flacky tests by ignoring the broadcast order and supress
unwanted broadcasts.

bug: 25691379
Change-Id: Ic472d1970a9fb0aca23c3749a8c9c55d1c52bd95
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
339fadff86dd1add253a7571c8be35e51489111e 25-Jan-2016 Amit Mahajan <amitmahajan@google.com> Merge "First unit test for GsmCellBroadcastHandler" into mm-wireless-dev
3c7c2c2dfecfe11991f707a09ce79863e0ffdaa7 23-Jan-2016 Amit Mahajan <amitmahajan@google.com> First unit test for GsmCellBroadcastHandler

Bug: 25691379
Change-Id: I9e32eb7b55cf1f4edf35bf4c6786e5cc00db7870
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
59d1e823d9aa8bc80ec6fd552fd85384bdfa75cd 22-Jan-2016 Jack Yu <jackyu@google.com> Added unit test for ServiceStateTracker.

Added testSpnUpdateShowPlmnOnly test which simulates the scenario
that only PLMN is shown but not SPN.

bug: 25691379
Change-Id: I65ae7d59d1fe6039997631152997dca17c8f390f
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
0ffd5632e025ebbe0d3eedfda942f1fb07342a43 21-Jan-2016 Jack Yu <jackyu@google.com> Fixed the broken testSetRadioPower test again.

Added mocked content provider for system settings.

bug: 25691379
Change-Id: I983c46851469eb5c4e2871bf8975eef657cef7db
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
0e664d8c9ff3a1f2ab03d2bef4268615335ea1a2 17-Dec-2015 Jack Yu <jackyu@google.com> Data call retry refactoring

Moved retry manager from DataConnection to ApnContext.

bug: 22208242
Change-Id: I0baa80e06e6d815643782c2b549460547d0bfef9
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
ec334adf4017ca172f44612d01456e671f922344 19-Jan-2016 Amit Mahajan <amitmahajan@google.com> First unit test for SMS (EVENT_NEW_SMS in GsmInboundSmsHandler).

Bug: 25691379
Change-Id: Iacb24b23c224a8889cc549d02aa0dbd415e3c3d7
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
b6514b21f3d8ed47a088b741a18fe0b1de2308ea 15-Jan-2016 Jack Yu <jackyu@google.com> Fixed the broken testSetRadioPower test.

Fixed the broken testSetRadioPower test due to telephony debug
service change.

bug: 25691379
Change-Id: I1fb25671eda2ae53ba2165a0e0c64cc4525ac81b
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ContextFixture.java
0a567c9ed954f295df83c753239646c6f6a04128 24-Nov-2015 Amit Mahajan <amitmahajan@google.com> Adding initial tests for GsmCdmaCall and GsmCdmaPhone.

Also includes:
- Changes to fix/comment out failing tests
- Some cleanup in CallManager related to deletion of PhoneBase and
PhoneProxy
- ContextFixture containing mock Context for all telephony tests
- Phone test that exercises BroadcastReceiver support in the mock
Context
- Test showing how static function can be mocked

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