History log of /packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bcf23de07aed59ed34d0121a76d29b6ed9a14288 04-Aug-2017 Tyler Gunn <tgunn@google.com> Change getAgeMillis to use elapsed system time instead of wall-clock time.

Changing getAgeMillis to rely on SystemClock#elapsedRealtime() to determine
the duration of a call. This ensures that changes to the device time zone,
clock updates by the network and user initiated time changes to not
impact the duration of calls in the call log.

Test: Manual, unit
Bug: 64068300
Merged-In: I62924dc7889c86a7457d05f8fbb20ab8189ece1a
Change-Id: I62924dc7889c86a7457d05f8fbb20ab8189ece1a
(cherry picked from commit 6c3a2dd68c9ac5584f48cf5f62fa01896fccdc7d)
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
7bba1112556e122254013562650aac6a6af80ac6 08-Jun-2017 Brad Ebinger <breadley@google.com> Fixes some of the flakiness in Telecom

- Fixes some flakiness in the tests
- Mocks out the ToneGenerator

Test: Run Telecom Unit Tests
Change-Id: If3bd51fe4a82068cc0d712d2e499abde4fdb0481
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
daeffaf3dbcfadfcb58b07a56169982eacb697db 11-Apr-2017 Tyler Gunn <tgunn@google.com> Remove auto-DND while in call.

Removing the auto DND functionality while in a call.
This functionality is being phased out due to b/28688969.

Test: Unit/Manual
Bug: 37154069
Change-Id: I5690116fc6a3938e7725a4b2963741885ddc8ac0
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
e0d7233f24a808e61e16f49881292269b2669583 31-Mar-2017 Tyler Gunn <tgunn@google.com> Merge "Self-Managed Incoming Call Disambiguation UX." am: b77f30fa1f am: be4ff39882
am: c6e9cba5a9

Change-Id: I6f186038a14efe86d31bcc4616f194dd40b1981f
2b17f23d3257dec66d965ac7b4a59aa2226b43a5 08-Mar-2017 Tyler Gunn <tgunn@google.com> Self-Managed Incoming Call Disambiguation UX.

- Handle auto-disconnect of foreground call when answering a self-managed
call.
- Enforce restriction that the PhoneAccount associated with a self-managed
CS must have a label which is the app's name.
- Ensure self-managed phone accounts can't be registered with
call provider, connection manager, or sim sub capabilities.
- Add "incoming call" UX which is shown when a new incoming call from a
self-managed CS comes in and there is an existing call for another CS.

Test: Unit, manual
Bug: 34159263
Change-Id: I371be9baa6f56c77aa83349977c0131f0e319047
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
66f26d1745238d6c29b3e0b18fb80cdd57b84676 19-Dec-2016 mike dooley <mdooley@google.com> Add last emergency call time to ConnectionRequest and Call

This can be used to determine if a call is a potential emergency callback.
This cl also renames the EmergencyLocationHelper class to EmergencyCallHelper
since its not just used for location anymore.

This change greatly simplifies the emergency callback handling in the DialerConnectionService
since it will not be able to directly listen for emergency call broadcasts in O.

This cl is dependent on ag/30952524

Bug: 30952524
Test: Added unit test to BasicCallTests and manual testing with real device
Change-Id: I43513c56b92f978f0a70be878a9430aec74ea77f
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
14e947bd6aacd8b7abd438a66a76841a33cb5cf7 05-Jan-2017 Hall Liu <hallliu@google.com> Replace BluetoothManager (multi-hfp part 3) am: 486cb197d4 am: d1b47792e1 am: ac935c47e1
am: b794cfc1f6

Change-Id: Ic9f9110f752a9ca240a94757220647b6762003ee
486cb197d4426a0f740b1c73ba3acdc76b3d67d3 22-Oct-2016 Hall Liu <hallliu@google.com> Replace BluetoothManager (multi-hfp part 3)

Replace BluetoothManager in the rest of Telecom with the functionality
of BluetoothRouteManager. Currently, the Bluetooth stack still
supports only one connected HFP device, so the new multi-device handling
has not yet been tested/verified except through unit tests.

Test: Manual testing
Change-Id: I19f3ab36386a67f797790394a5b5297786af8e77
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
21fb1afe2e6ba030581ae8c94e377adf7c62877d 05-Dec-2016 mike dooley <mdooley@google.com> Grant temporary location permission to default dialer during emergency calls
(if it doesn't already have it). And revoke the permission after the call ends
(if it was granted).

Test: manual testing with real device
Change-Id: I578e4408f29cad67d560da730f06da0f5522c763
BugId: 30952524
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
2b33df76a3b7b43ae9fde36f73da11cb22954656 07-Dec-2016 Hall Liu <hallliu@google.com> Use DefaultDialerCache in Telecom (part 2)

Use the DefaultDialerCache throughout Telecom whereever the value of the
default dialer for a particular user is accessed or modified. Also moves
the DefaultDialerManagerAdapter to DefaultDialerCache since
TelecomServiceImpl no longer directly uses it.

Test: Unit tests and manual tests as specified in design
Change-Id: I61ee37f382f4b29266ce254a0e1f7db183e7a0bb
Merged-In: I5d8f46b4a236e570528425b4010976ac837644ac
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
7c9283261ad4fdbc5ebbb74257671388f9c758c7 07-Dec-2016 Hall Liu <hallliu@google.com> Use DefaultDialerCache in Telecom (part 2)

Use the DefaultDialerCache throughout Telecom whereever the value of the
default dialer for a particular user is accessed or modified. Also moves
the DefaultDialerManagerAdapter to DefaultDialerCache since
TelecomServiceImpl no longer directly uses it.

Test: Unit tests and manual tests as specified in design
Change-Id: I5d8f46b4a236e570528425b4010976ac837644ac
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
8f98f10d53f4f7aa1605a37313a6186f90dc6c0e 21-Oct-2016 Brad Ebinger <breadley@google.com> resolve merge conflicts of 953e1af to stage-aosp-master

Test: Manual Testing
Change-Id: I3c8cac2c8b3634db7a20cceda434e6db6cdb05ca
953e1af643b66df6f931d76c23bcc54147668cd4 06-Oct-2016 Brad Ebinger <breadley@google.com> Switch to using android.telecom.Log in Telecom

Sorry.

Test: All affected unit tests still pass.
Bug: 26571395
Change-Id: I890d68d935cd554ba89042e99c155757697e1a37
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
a3eccfee788c3ac3c831a443b085b141b39bb63d 06-Oct-2016 Brad Ebinger <breadley@google.com> Switch to using android.telecom.Log in Telecom

Sorry.
CP from: https://android-review.googlesource.com/#/c/287332/

Test: Added unit tests for Log Sessions and Events. All other affected
unit tests still pass.
Bug: 26571395
Change-Id: I890d68d935cd554ba89042e99c155757697e1a37
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
14295772c3c055e4b9b25b8b8e9c39a2b78f9a18 11-Oct-2016 Hall Liu <hallliu@google.com> resolve merge conflicts of 253b129 to nyc-mr1-dev-plus-aosp

Change-Id: I9d37a418982377eb1b94596998e22467d6c86402
8755e29fd54403b404b4940d3dccebf83a8acbcf 22-Sep-2016 Hall Liu <hallliu@google.com> Refactor and fix MissedCallNotifier

This change affects the behavior of the MissedCallNotifier on system
startup. Previously, MissedCallNotifierImpl created a new Call object
and used it to pull in contacts-related data. This created excessive
dependencies for MissedCallNotifierImpl, so it has been changed to use
CallerInfoLookupHelper.

Additionally, the at-boot notification has been broken for some time,
and this was due to the calls/contacts db not being ready when
TelecomSystem was initialized. This change also deferrs the missed call
lookup to when we receive ACTION_BOOT_COMPLETE.

Test: Added unit tests, tested manually on device
Change-Id: I10fe1c78e24484ece6b87fa986e725b00c753d39
Merged-In: Ibf8ec41d8d18b5ed7943a9520242f15bf546bda7
Fix: 30796667
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
3037ac6f171b6a3627494bb10042ab7adb34366a 22-Sep-2016 Hall Liu <hallliu@google.com> Refactor and fix MissedCallNotifier

This change affects the behavior of the MissedCallNotifier on system
startup. Previously, MissedCallNotifierImpl created a new Call object
and used it to pull in contacts-related data. This created excessive
dependencies for MissedCallNotifierImpl, so it has been changed to use
CallerInfoLookupHelper.

Additionally, the at-boot notification has been broken for some time,
and this was due to the calls/contacts db not being ready when
TelecomSystem was initialized. This change also deferrs the missed call
lookup to when we receive ACTION_BOOT_COMPLETE.

Test: Added unit tests, tested manually on device
Change-Id: Ibf8ec41d8d18b5ed7943a9520242f15bf546bda7
Fix: 30796667
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
eaaf074d6b8b0b16fb922d8d511d6e8b979bfe0d 16-Sep-2016 Tyler Gunn <tgunn@google.com> Prevent notification vibration when the user is on the earpiece.

When the earpiece route is activated, if the user has not already enabled
a notification interruption filter, we will set it to alarms-only. This
ensures that notifications don't cause the phone to vibrate while in
earpiece mode.

If the user changes the interruption filter during the call we will keep
their new chosen filter when the earpiece route is disabled.

This notification filtering only takes place for the earpiece route.

Bug: 29962221
Change-Id: Ia332a988f10427a2a0f8315af9f31d854836db9f
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
6ab66c31dbd8373d777b0c680e47e5ef451d9d9c 16-Jul-2016 Brad Ebinger <breadley@google.com> Fix NPE in Call.setHandle

Fix a NPE in Call.setHandle that was occuring in MissedCallNotifierImpl,
when switching to second user.

Change-Id: I9d3fc394683f3000711fa05c09ea737e2f6c4553
Fix: 30170188
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
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/src/com/android/server/telecom/TelecomSystem.java
6d4b66df3d918e3f17263ff40ca3ba0ec5a46719 02-Apr-2016 Hall Liu <hallliu@google.com> Incorporate parallel call blocking checks

Modify CallsManager to use the IncomingCallFilter class introduced in a
previous CL.
Modifies AsyncBlockCheckTask and CallScreening to implement CallFilter
and removes the logic in those classes that used to execute the filters
in series.
Added tests for block-check and call screening.
Added logging events to track how long each of the call filters take.

Change-Id: Iecd60463fe9ac6dbbd85d57ef6ae2bfccb94d967
Fix: 26883888
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
9ecbb1cbae4dbb62a892c1347d8cb8691550ad1b 14-Apr-2016 Hall Liu <hallliu@google.com> Fix unit tests

Unit tests were failing because:

1. The fake context's bindServiceAsUser asynchronously calls
onServiceConnected, but the InCallController assumes that its connect()
method would finish before onServiceConnected gets called.

2. Video call tests depended on counting the number of audio state
transitions. This number is not a guaranteed (or even consistent) value,
so the mechanism for determining the final audio state has been replaced
by a latch posted to the CARSM handler.

3. IncomingCallFilter tests were experiencing a strange problem where
setting the timeouts value only worked when the tests were run in
isolation. This was fixed by putting in an adapter for the static
Timeouts class.

Fix: 28200736
Change-Id: If5fbd60e1a3c5d478d4555d8794a49855997f1d3
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
7ade5e2c3f7a849e41de3b81051c12a8fcd6ea83 06-Apr-2016 Brad Ebinger <breadley@google.com> Mock out AsyncRingtonePlayer during Testing

AsyncRingtonePlayer wasn't being correctly Mocked in the
TelecomSystemTests. Since the Async threads to continue to
run after the tests were completed, The AsyncRingtonePlayer log messages
were interfering with LogTest's Log capturing.

Fix: 28044674
Change-Id: Ic58a0091a969f8eb36b777b859ba08202810221a
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
83bc41189494799f48c50a5a0c47560d2859deda 02-Apr-2016 Brad Ebinger <breadley@google.com> Handle CAMSM initialization and Runnable cases in Logging

Add a session to TelecomSystem when it is initialized to track that
entry point as well as provide the CAMSM a session for its
initialization. Also only run Log.endSession on a Telecom Runnable if
the subsession that was created was not cancelled (and is now equal to null).

Change-Id: Iaa895afe44855a8862d9d7b0a61d465561bfacd0
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
501b9b3775232bb3033afd9f1fd608dd07d0b91e 07-Mar-2016 Santos Cordon <santoscordon@google.com> Dynamic InCallService switching.

Be able to switch between in-call services UIs.

Created a tree data structure to handle switching between InCallServices
depending on the state of the system. Tree looks like this:

CarModeSwitchingConnection
| |
+------+ +-------+
| |
CarModeConnection EmergencyConnection
|
|
DefaultDialerConnection

Bug: 24571147
Change-Id: I0999fad4185321d5211172aed2f1d60fe8f5fe3a
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
e74af084ac087f6af0f16ecbed5e74ce7183d254 11-Feb-2016 Hall Liu <hallliu@google.com> Add way for external bluetooth audio changes to notify CARSM

update onBluetoothStateChange and BluetoothManager to be more aware of
bluetooth changes coming from external sources. Also add tests for
BluetoothManager.

Bug: 27133607
Change-Id: I10790a9cfad329574c8e9dd4144127020eea65e4
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
3f7f64d6042f32bfda99b13d053bd49997a08306 08-Jan-2016 Hall Liu <hallliu@google.com> Perform disk operations in background thread

Use a background thread to perform writes in PhoneAccountRegistrar in
order to avoid disk operations in an UI thread.

(cherry picked from commit d0fc618d74descbff09b783a150d9547148e5b47)

Bug: 26069217
Change-Id: I389ddaac3648696d8ce78620cf2734662891edf2
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
b171bc2a87830b1863d3e3686cad94785af89499 22-Jan-2016 Brad Ebinger <breadley@google.com> Merge "Increase Logging Statements in Telecom"
58f365891ab631d8c45ad69d7024519384e9b75a 21-Jan-2016 Brad Ebinger <breadley@google.com> Increase Logging Statements in Telecom

Increased session logging in Telecom to include previously unseen entry points.

Bug: 26722101
Change-Id: I7771c5d3ca880c4175408497bbae37381854d456
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
f78a72f8a1054726aa6f85a21372d917576906dd 21-Jan-2016 Santos Cordon <santoscordon@google.com> Revert "Revert "Support car-mode UI in telecom.""

This reverts commit 88cda8452124d43c145d54a97477dc5cf8a32a58.

Change-Id: Icfd1ab3ed3af39f62bd828dceb5ff2d4d517cb91
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
88cda8452124d43c145d54a97477dc5cf8a32a58 21-Jan-2016 Brad Ebinger <breadley@google.com> Revert "Support car-mode UI in telecom."

This reverts commit d3182912911d167e4a5a8d379cef11c619d18d36.

Change-Id: I48da1122846b18c03bec486ee2bf977f721723a2
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
d3182912911d167e4a5a8d379cef11c619d18d36 11-Dec-2015 Santos Cordon <santoscordon@google.com> Support car-mode UI in telecom.

Add additional step to look for and bind to a car-mode UI if the device
is currently in car-mode. Add a system state component to listen for
car-mode changes.

Change-Id: I5124b46f43b47bda39cf3d0f882378cf69b0505b
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
a993094840386163e9c2aa65a05e14b49d122318 15-Jan-2016 Tony Mak <tonymak@google.com> Updated missed call notification behaviour

Change-Id: Id32110413fbb5fa4ae4c3478e70f54d211b78389

Missed call notification

1. If the phone account has multi user capability, the notification
is shown in current user.

2. If the phone account has no multi user capability, the notification
is shown in the user that owns the phone account of the call

3. Whenever user is switched, reload missed call from database and post
notifications if necessary.

Change-Id: Id32110413fbb5fa4ae4c3478e70f54d211b78389
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
a5e650516df103a8234c91433d70b9d9c823ec80 17-Dec-2015 Hall Liu <hallliu@google.com> Merge "Add tests for ContactsHelperAsync"
0a6dd30f0f7acab586db9933bd4836148cd91c89 17-Dec-2015 Hall Liu <hallliu@google.com> Add more tests for TelecomServiceImpl

Change-Id: Ieef40369762736c01a331fe4a3cc72bed8928103
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
9ccc43d63648800e92396c430228772f8d0738cd 15-Dec-2015 Hall Liu <hallliu@google.com> Add tests for ContactsHelperAsync

Change-Id: I6ce3c7523fab97d4dc4d4a23ded84af8ec882e5c
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.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/src/com/android/server/telecom/TelecomSystem.java
11623a354be47205bf3bc686ed8fdfc278958983 25-Nov-2015 Brad Ebinger <breadley@google.com> Adds Telecom Logging to TelecomServiceImpl.

Adds Telecom logging sessions to the major entry points in TelecomServiceImpl
and other modules in order to track the code paths of other processess.

Refactor CallAudioRouteStateMachine to use callbacks in StateMachine to
handle logging.

Change-Id: I48a70afaf2028ace73608be4f825c49af16c1622
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
ae694b10e9156cfe0c8c57d73989fed13c887f69 12-Nov-2015 Tyler Gunn <tgunn@google.com> Make TelecomSystemTest compatible with code coverage

Creates a few implementations of interfaces to spy on to avoid
mysterious exceptions resulting from interactions between Mockito and
Emma.

Change-Id: Ie32b1bb101811471722f6e48aa4c5a75f364575c
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
f62630a57de0d52be2bdbc92a9bf8f305cc0892d 27-Oct-2015 Hall Liu <hallliu@google.com> Refactor CallAudioManager's audio routing

This change separates the audio routing functionality of
CallAudioManager into a separate component, implemented as a formal
state machine.

Change-Id: I4ca66abe72609d67dc8bde8ed8ff1538b7d0cf57
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
b3979ee8e636820cc5e68f26562bc02987e5d489 12-Nov-2015 Hall Liu <hallliu@google.com> Fix test breakage when phone bluetooth is on

When the phone's bluetooth is enabled, TelecomSystemTest will fail with
a permission error in BluetoothPhoneServiceImpl. This change introduces
a new factory to facilitate mocking of BluetoothPhoneServiceImpl.

Change-Id: I58e1d5532a7f55580d37158fee27209e3de24988
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
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/src/com/android/server/telecom/TelecomSystem.java
b5e7d80c2c64e0d8643d9331a2bebda1939b0c78 21-Oct-2015 Tyler Gunn <tgunn@google.com> Add Dialer secret codes.

- Added *#*#823241#*#* (TCDBG1) to enable verbose logging (does not log
pii).
Logging enabled for 30 minutes and then it automatically reverts back to
regular log level.
- Added *#*#823240#*#* (TCDBG0) to disable verbose logging (when previously
set).
- Added *#*#826275#*#* (TCMARK) to add a "MARK" in the call log; this is
so that a user can immediately make a mark in the call log so that it is
easier for someone debugging a bug report to know when the problem
happened.

Bug: 20852653
Change-Id: I2cb6c944085efd78a05c4adf56a900ae0b05186f
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
abcbce4441720c52a443d292d5adc2d95f446494 07-Apr-2015 Ihab Awad <ihab@google.com> Fix deadlock around locking in AudioManager

Includes proof of concept tests, but the tests are not yet
highlighting the problem, due to its nondeterminism.

Bug: 20103143
Bug: 20108354
Change-Id: I8323a660c6cc4093888f4e608070709a828624e6
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
8d5d9ddc66b55b6906364ab3c0e244dab4d58f13 12-Mar-2015 Ihab Awad <ihab@google.com> Make Telecom synchronous

Remove main-thread handlers and add a systemwide lock object.

Change-Id: I6334fdfa6c244836f6375bea302404f61c81301b
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
8de76915ea2772faeb41705aaaeb65f5b3478ac4 17-Feb-2015 Ihab Awad <ihab@google.com> Further refactor Telecom and add tests

Complete refactoring Telecom to remove singletons from the core code.

Introduce a unit test that simulates a full outgoing phone call from
start to hangup.

Change-Id: I8b09cac6eb9b6aeeb0aeba5d8ae032b4c303c08d
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java
78a5e6b9c1595c81f72d7a822617cb78db224e48 06-Feb-2015 Ihab Awad <ihab@google.com> Refactoring for testability

Refactor to a single app singleton, TelecomSystem, which owns the
intialization of the rest of the app.

Change-Id: I3036f200b56f710e7f830b469260a67145c327e7
/packages/services/Telecomm/src/com/android/server/telecom/TelecomSystem.java