History log of /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6e8f3d70ac7397afb4cb5ab276d1cd385c92dd21 20-Jun-2016 Brad Ebinger <breadley@google.com> Rename Telecom Call Ids to include attempt

Telecom Call Ids will now append an attempt id (in the form of an
integer) that will be used by the CreateConnetionProcessor to name the
Telecom Call Ids that are used during the creation of a Connection to
the ConnectionService. This allows us to better identify which
Connection is calling back to Telecom to update status, disconnect,
etc. Previously, all of the attempted Connections in
CreateConnectionProcessor would be given the same name, which could lead
to multiple Connections trying to manage the same Call object in
Telecom.

Also, a supporting tests were added and a few Unit Tests were fixed.

Bug: 28799824
Change-Id: I7e23497ab671712bc8d3cc9542537ae1c4829afc
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
c6ab2cca08ff427174b790a0ed34ebb19b1ce9cd 08-Apr-2016 Brad Ebinger <breadley@google.com> Format the via_number before writing it to the calllog.

Format the via_number before writing it to the call log so that the
Dialer doesn't have to format the number every time it wants to use the
via number.

Change-Id: I103b9639a321bbd73e74f4dfda3e2e6814af8fcf
Fix: 28052897
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
c6e42ef0465fe01b35bb3aa94fbcbc081e3b45ed 20-Feb-2016 Abhijith Shastry <ashastry@google.com> Add unit tests for send to voicemail, and number blocking.

BUG: 26682702

Change-Id: Id5cd03d48ac5022e15039e420ea5daeb91f0c623
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
c9bb95616469ae02cc43a57ea827b45261d49e26 23-Jan-2016 Hall Liu <hallliu@google.com> Fix CallLogManager tests

Fix test failures resulting from the shadow call log change

Bug: 26746699
Change-Id: I934eb8827f26d514f4bab4417f01e418e2a5f51e
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
220b419bb5d1b4d1df08415c8e52cb7f0decbf7c 11-Dec-2015 Hall Liu <hallliu@google.com> Add tests for NewOutgoingCallIntentBroadcaster

Change-Id: I5dd8ee49e0afc3ab714439ae1ca7f4ce54a26072
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
ecda55454f4993003e71e09a63d20f94a216cc47 04-Dec-2015 Hall Liu <hallliu@google.com> Add unit tests for TelecomServiceImpl

Added unit tests for TelecomServiceImpl and added some refactoring to
avoid static dependencies in TelecomServiceImpl.

Change-Id: I22a54e1e36c3a44dc07f65f534c0b9b6d534abd9
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
f4745b6a7d110d6a9d23fe6c385dc1e3d7c6c2f4 09-Dec-2015 Brad Ebinger <breadley@google.com> Fixes Permission Error in TelecomSystemTest

Recent changes in TelecomSystemTest aim to test a new
KEY_INITIATING_USER Extra set in
new UserCallIntentProcessor(Context context,...).processIntent(...).
Previously, context was not getting set to the correct MockContext,
which was then improperly sending out an intent to the system.
This change uses the correct MockContext and verifies the mocked
sendBroadcastAsUser intent was called before continuing tests.

Change-Id: If09a5fe6cf09fe7bfb0ce8b7e4e0890465bc8aea
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
5385513ae43b4d5896245bf076a83b27dbf32a25 30-Oct-2015 Brad Ebinger <breadley@google.com> Add BluetoothPhoneServiceImpl testing

Adds unit tests for BluetoothPhoneServiceImpl.java, which manages
telecom's interfacing with a headset, including headset events
and connect/disconnect during a call.

Change-Id: Ia692b02f8e4d3fc52b0e266409a4c5ed1ca2e7b8
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
ada0301a8190568d90adba04bd1f555b7894a0e1 26-Oct-2015 Hall Liu <hallliu@google.com> Added tests for CallLogManager

Change-Id: I831599355fa3fa32365f8a7e011b41e37c72c9ec
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
2c93c50e5be7d85b78c4af15aaa10e44f0bcdf3e 28-Oct-2015 Brad Ebinger <breadley@google.com> Revert "Move tests around to better organize Telecom"

This reverts commit f6655ee7f26e85aef274be7e8c95e317d9d4af7f.

Change-Id: Ia54fb6173de6425d5d9979b2498654764549ce19
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
f6655ee7f26e85aef274be7e8c95e317d9d4af7f 26-Oct-2015 Brad Ebinger <breadley@google.com> Move tests around to better organize Telecom

In order to better organize the Telecom system, the tests have been moved into the Telecom package instead of a separate .test package.

Change-Id: I762372acc47c9bc4e671d8c66227eb272e20d88a
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
d931a017a0abea32ad4485a91402b5f62b9ddb0e 21-Oct-2015 Brad Ebinger <breadley@google.com> Ringer unit tests added and minor refactoring to accommodate testing.

Change-Id: Ia176dff453e1876494e14d8403eb5a9ed3dd3865
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
c165a519858a03c4381e8d0ecf8a6c5afa1ad531 24-Oct-2015 Hall Liu <hallliu@google.com> Fix duplicated registerReceiver method

Change-Id: Id4b7adad1b5251f28aa8643fa2054714abc10dca
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
877267255abf10ed14ccc88bf5201e48ab867f81 23-Oct-2015 Hall Liu <hallliu@google.com> Merge "Fix TelecomSystemTest#testAudioManagerOperations"
8fb1fb72b084a0497a3c3c3037ce5667bde14482 23-Oct-2015 Hall Liu <hallliu@google.com> Fix TelecomSystemTest#testAudioManagerOperations

testAudioManagerOperations was setting the microphone to mute
and attempting to verify that the setMicrophoneMute methond on
the AudioManager was invoked. However, CallAudioManager bypasses
AudioManager and calls AudioService directly.

This change modifies CallAudioManager so that a mock AudioService
can be injected. The test was modified so that it checks that the
appropriate mute method was called on the mock AudioService instead
of checking the mock AudioManager.

Bug: 25158760
Change-Id: I0d5946ae6b4cd31c9067e818f20dcc37a2e15c86
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
a33c44b34eaed1ec2dd5c87e00e2c0865971b7d1 20-Oct-2015 Hall Liu <hallliu@google.com> Add tests for MissedCallNotifierImpl

Refactored MissedCallNotifierImpl to be more test-friendly
and added unit tests for it.

Change-Id: I1020b7ca88b304309a8d3ee71b36154c84ef5821
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
1d903ddbf915a4aef4925a0e90042e76151c97a9 10-Oct-2015 Hall Liu <hallliu@google.com> Fix test harness by mocking TelecomManager

Bug: 24618535
Change-Id: I28537b2a64cb401df41d7de892cf21125ce8f851
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
b60f00673149da9a96d9369f4e1c4458e9a9cf53 27-May-2015 Ihab Awad <ihab@google.com> Sync for AudioManager

Fixes sync problems where the system calls back into Telecom while
Telecom is synchronously processing a message.

Bug: 21289255
Change-Id: I4ea319113be2e4651c82c6e9712eb4d97ea9e9bb
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
1b5490ac8643a5969adaba6f68d872acd251d666 12-May-2015 Ihab Awad <ihab@google.com> Update tests

ConnectionServiceFixture now does not use Mockito when() allowing
reset() at any time. Added tests for incoming calls.

Change-Id: Ic5f5fc7b910a97d2838090713439f703d80748c6
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
0a4b95fc7731943fdd1a9b295daae45eb46b28d0 18-May-2015 Ihab Awad <ihab@google.com> Fix test bitrot breakages

Change-Id: I39cbcd078c07fd48ca9b00abce21871ef273b19d
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java
aa383cca668afd8578a6e007c3ea360768dc52f6 23-Mar-2015 Ihab Awad <ihab@google.com> Further cleanup, and move functionality into TestFixture objects

Change-Id: I62b514ae8fe10f720a60c681968efd2340616eba
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ComponentContextFixture.java