History log of /packages/services/Telecomm/src/com/android/server/telecom/Log.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fb8f300a86373486fe77d13aa417f73beb05fb7a 11-Jan-2017 Tyler Gunn <tgunn@google.com> Enhance logging for vibration during ringing.

Adding call events for vibration which occurs during ringing. When
vibration is suppressed, logging reason for skipping vibration. This
will help diagnose issues where the phone does not vibrate when ringing.

Merged-In: I58713b270decb207d50b058131723bebfd8c4c59
Bug: 33376887
Change-Id: I58713b270decb207d50b058131723bebfd8c4c59
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
33e453811b7dc0af47301d1aa22384de3d464da4 02-Sep-2016 Tyler Gunn <tgunn@google.com> Increase log level for VideoProviderProxy, add connection event logging.

Increased log level for VideoPRoviderProxy to info (this is not a very
chatty API) to aid test team; this is primarily to expose the sesssion
events -- I didn't see a value of putting these in the regular telecom
event logs.
Added Connection Event logging in the telecom event logging.

Bug: 31199425
Change-Id: I33ac8a67ae6c4a16c26a6c3d0ccf696735e730bb
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
0d7a00a8040771e1c361af5f0cb402c35efd3868 27-Jul-2016 Santos Cordon <santoscordon@google.com> Add more logging to Telecom for NYC-DR.

Bug: 30411195
Change-Id: I074dcfc41f96ae056153b951cd272896fc116a86
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
54ca13a21940379065becf4f564329b275c6c7ce 20-Jul-2016 Tyler Gunn <tgunn@google.com> Add telecom log to report when call changes external state.

Bug: 29906222
Change-Id: Id3c6e70d7922d83b84c533e60cd665c0f6d3d1d3
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
1e37be5dd86a51b90e461f09dc8a89effe4aee21 11-Jul-2016 Tyler Gunn <tgunn@google.com> Finalize multiendpoint functionality.

1) Handle the PULLING state throughout telecom.
2) When parcelling calls to send to InCallServices, remap PULLING state
to DIALING if an InCallService doesn't support external calls. This
ensures compatibility for things like Android Wear/Auto.
3) Ensure add call isn't disabled because of external calls.
4) Modify InCallController to handle changes to whether a call is external
or not. For IncallServices that do not support external calls, we will
add the call when an external call becomes a regular call, and we will
remove it when a regular call becomes external.

Change-Id: I1bf6c1f7e182834c3ab1ed34cd119467a4698993
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
70d6f858f10a77277c63aafcaa1f113f647117a6 21-Jun-2016 Tyler Gunn <tgunn@google.com> Add video events to Telecom logs.

Adding some video state, request, and response tracking events to the
telecom event logs.

Change-Id: I0a76791826f706ba31496677e47fb2dc4f40215c
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
874c0f8fa95a5da5a82e67c1fe39697883d753eb 30-Apr-2016 Hall Liu <hallliu@google.com> Add call events to analytics

Adds a record of events and timing information to analytics for each
call. Also add session timing information independent of calls.

Bug: 28623064
Change-Id: Iea6d4a7482365534a3a0c6c672a969dae8141932
/packages/services/Telecomm/src/com/android/server/telecom/Log.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/Log.java
5b305385062f4f0c28aae6cd47cdc2edb2b6f479 02-Apr-2016 Tyler Gunn <tgunn@google.com> Add year, month, day to telecom dumpsys.

The dumpsys for Telecom only shows the time of a call in the heading
for each call. This bit me in b/27729247, as there appears to have been
a call lingering around for a long time that was not disconnected.

Adding the year, month, day to the heading for each call will make it
easier to spot this type of anomaly quickly.

Bug: 27729247
Change-Id: Ia880864bcc6a91d2a758a7750247be9d0f04b3b4
/packages/services/Telecomm/src/com/android/server/telecom/Log.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/Log.java
7776877a5c8b44e4eef0c4429e6a89cdeb56a269 15-Mar-2016 Tyler Gunn <tgunn@google.com> Merge "Support for new multi-endpoint APIs." into nyc-dev
d45e6d973ea7460fb605a1eb7a66ba38c6f2467d 11-Mar-2016 Tyler Gunn <tgunn@google.com> Support for new multi-endpoint APIs.

- piping through "pullExternalCall" API from incall layer to connection
service.
- mapping of new capabilities/properties between connections/calls.
- basic unit tests for new pullExternalCall API (there will be some
follow-up work on these in the future).
- plumbing through of Connection and Call events.

Bug: 27458894
Change-Id: I421ebab28fada224bddca54ed4d3d9dff6f33bcf
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
bb68a0698ca39a8259881d7ed71e2a87054775ec 09-Mar-2016 Brad Ebinger <breadley@google.com> Resolve possible deadlock in Logging

Currently, if the sCleanStaleSessions telecom.Runnable runs while
another thread has the Log lock, a deadlock can occur. Instead, a normal
android.Runnable will be used in order to prevent the deadlock from
occuring.

Bug: 27552152
Change-Id: Ie41aac6d77db243daa048a9a8b0e2217b9c3ac5c
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
db82191d1ef7dd4155478071815a56947b31fc11 16-Feb-2016 Tyler Gunn <tgunn@google.com> Listen for ConnectionEvent and use the InCallToneMonitor to play the tone

BUG=25357778

Change-Id: Iad4f36f9b01670a2f188e726895a8349aeeb1502
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
e62e9e83a17824b8e2057be35c2adcca20af9e35 02-Feb-2016 Brad Ebinger <breadley@google.com> Introduce LoggingRunnable for Session logging

Introduces a Session.LoggingRunnable class to reduce code duplication
when implementing Runnables in Telecom.

Bug: 26807413
Change-Id: I40c709fd09260c6a40b63fd2c401e5a582035a5c
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
8cb83ea9b12793863638a1834278d4957e51bedd 28-Jan-2016 Abhijith Shastry <ashastry@google.com> Block calls from numbers blocked by the user.

Block check is performed after send to voicemail, and before CallScreening.

BUG:26682702
Change-Id: Ifa63a88d5815e4efb7b4fc9a18f38bc667e1ffa3
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
ae92595c2f0f88a5bef8d2601f026b9d3ae2d7dd 25-Jan-2016 Sailesh Nepal <sail@google.com> Use CallScreningService to screen calls

This CL uses the new CallScreeningService to allow or disallow calls.
Similar to InCallService, the call screening service holds a wake lock.

We also implement a timeout on the telecom side. The timeout is a very
large value (5 seconds). The logic is that a flaky in-call can mess up
calls in many ways so there's no point in trying to be strict here.

Currently the service is invoked after the send to voicemail logic. We
should consider depreciating the old logic and insisting that the dialer
handle all call screening.

BUG: 22857261
Change-Id: I52b97be8e20c0f404839790e69a5f33588093daa
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
c07b8e190b04e8b3e504478fa808d646d8c88a52 24-Jan-2016 Sailesh Nepal <sail@google.com> Allow dialer to play incoming call ringtone

This CL allows the default dialer app to play the incoming call
ringtone. This is useful because:
- the sound will now be played at the same time the UI is shown.
Previously the sound could be played earlier
- it will be easier for the system to respect the user's do not
disturb setting on a per contact basis

The dialer app can opt into the new behavior by setting a meta-data
value of IN_CALL_SERVICE_RINGING to true.

This CL also notifies the InCallService if silenceRinger was called.

BUG: 22857261
Change-Id: If1d05a922dd9869bc5b58157c67e9144001ee1ad
/packages/services/Telecomm/src/com/android/server/telecom/Log.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/Log.java
6c67ff1b9644aaf91be78b274d0926811a802408 14-Jan-2016 Brad Ebinger <breadley@google.com> Merge "Fixes LogTest Tests"
c207586e68fc76ba092e9e100fafb92737ef9980 13-Jan-2016 Brad Ebinger <breadley@google.com> Fixes LogTest Tests

Fixes error occuring in LogTest tests after Session logging formatting
changed from the displaying at the beginning of the log message to the end.

Change-Id: If404d059615c990a287dc608d64047460cbee244
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
27327e554f3c502681dbaaed8fb11560c25f7828 05-Jan-2016 Brad Ebinger <breadley@google.com> A stale session that was occurring has been corrected

When the ConnectionServiceWrapper calls the removeCall method,
an invisible session was not being created, however the Logging system
was still treating one of the subsessions as an invisible session. To
fix this problem, Log.endSession now checks the intended invisible
session flag instead of just checking if the thread ids are the same.

Also, LogTest now does not print messages during unit tests.

Change-Id: I22888f19263d8d0f7c235b2d50aa05ab5d130ae7
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
209e4135874ffc0164856c87d47fd904a06bf40e 18-Dec-2015 Brad Ebinger <breadley@google.com> Record ComponentName when using InCallAdapter

Records the Package Name of the component using an InCallAdapter
to be displayed in logging.

Also, Logging Start/End Sessions have been moved to a verbose
logging level for now.

Bug: 26236642
Change-Id: Ic76c9618f3acd98c8c761dbfab6a202ad30fd05f
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
69fbbf2860e620224fb357299a06ef1ea65a48a2 16-Dec-2015 Brad Ebinger <breadley@google.com> No longer start visible subsessions in Logging

Currently, if Log.startSession() is called when a session is
already active, a new subsession will be created (along with
the corresponding Log messages in logcat). This can cause confusion
in the Logging messages because a subsession was not started
explicitly and also adds un-needed verbosity.

This change creates "invisible" subsessions instead that still
track the start/end of the invisible subsession, but do not
report themselves in the log messages.

Also, to help with verbosity in the logs, the log messages
for createSubsession() have moved down to verbose.

Change-Id: Ifc1638b0bb197f20b6baa70293df5bc389dd1fc2
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
a5c4b8ce1253d96ace236df0c068a1c14a20026f 14-Dec-2015 Brad Ebinger <breadley@google.com> Fix Crashes on UserCallActivity.onCreate

Currently, Telecom's Logging system uses the TelecomService context
for its ContentResolver, which is not available when other processes
execute UserCallActivity.onCreate(). In this case, the default state
session timeout value will be set to the default.

Bug: 26176790
Change-Id: I1806a4ba06995c11da29c197e10fc9654e0f4904
/packages/services/Telecomm/src/com/android/server/telecom/Log.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/Log.java
b64bbfd21ed93bec77c6797be27293f4dc9b0a93 05-Dec-2015 Bryce Lee <brycelee@google.com> resolve merge conflicts of 63b075d113 to master.

Change-Id: I9570cca152dc3b9f07211d98b86d907abe91e6da
18ceebcb85640fbb167c33e50d323580a47a2961 04-Dec-2015 Bryce Lee <brycelee@google.com> Fix log type used for logging silence.

Change-Id: I8d8c12e73fa0536ff5b88800bfb8b7bb699444c8
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
116b859400b6c69c70fd325c352ad503baa3a8cf 18-Nov-2015 Brad Ebinger <breadley@google.com> Introduces sessions into Telecom Logging

Sessions are introduced into the Telecom logging framework in order
to better trace code execution paths in the Telecom logs. Mostly,
this code keeps track of threads that are currently executing code in
Telecom and when a log or event is recorded, the unique session
information is appended to the log/event.

Change-Id: Ied3940fbb33e097636a99571e946dd40a154d64b
/packages/services/Telecomm/src/com/android/server/telecom/Log.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/Log.java
8452be0e1e82e0d12cfb884bbf683ec5f95c9781 17-Sep-2015 Tyler Gunn <tgunn@google.com> Modify Telecom to have "one call ID to rule them all".

- Add call ID to the Telecom call class.
- Modify CallIdMapper to use Telecom call ID instead of a new sequentially
generated one.
- Remove isValidCallId and isValidConferenceId from CallIdMapper as they
are no longer required.
- Modify event logger to use telecom call ID instead of a sequential ID.

Bug: 23357902
Change-Id: I485f751d1668e96b7787c4be97aa76c1e5ec0798
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
165c1ced107a1c3b9b359757d41438f9ca585e78 11-Jul-2015 Santos Cordon <santoscordon@google.com> Add logging in Telecom for conference call & audio tracking.

Bug: 22331056
Change-Id: Ib6147e55cd886d678d924c92bb86743c22ad6366
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
8c9ec002efffd3a3fb87c963b69be2a8f029b4b2 23-Jun-2015 Santos Cordon <santoscordon@google.com> InCallService meta-data [1/4]

Bug: 21816241
Change-Id: If8fe9e19495e8799be10223953c285216fa2228f
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
5fa4e4f1eb98f052cc0ee4b3ad0f6acb8e92c719 10-Jun-2015 Santos Cordon <santoscordon@google.com> Add more logging.

1) Call state logging was lost in a merge conflict, adding that back.
2) Adding better ringing state logging. Fixes problems:
- No more superfluous "STOP_RINGER" logging
- Adding call-waiting logging
- More accurate call attribution for start and stop ringing

Change-Id: Ie41340ab6790a6c5f87f5592836b29bf6799708d
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
a83f8a7012309177c75879c731132df0c8fc66f2 03-Jun-2015 Santos Cordon <santoscordon@google.com> Add ringer logging to telecom.

Bug: 21595219
Change-Id: I51ccaf4db1bd5d6238fa8f7e7091d092b75d0c1a
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
ee6c2fef0331f14f186c7f4cc2914b2cc280bafc 24-Apr-2015 Santos Cordon <santoscordon@google.com> Add disconnect cause + phone number to event logging.

Change-Id: I62528dbc5f8675d2b4401549ee8aaf950465da39
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
92694519535c54f542b4ef3973e9c1934f2feeff 23-Apr-2015 Santos Cordon <santoscordon@google.com> Move CallState and rename PRE_DIAL_WAIT.

CallState was a public API only being used by Telecom so I've moved it
into to Telecom and removed it from the public API. The translation
from CallState to Call.STATE_* was happening on the public Call object
which wasn't ideal (Call.java shouldn't have to know that other
representations of state exist). So I moved the translation into
InCallController.java and what we pass into ParcelableCall is now
Call.STATE_* constants.

Bug: 20532827
Bug: 20532435
Change-Id: I79ce36c7e971c1a49b857506c9a56cfe316069cf
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
2685dabdb656f72dfe851215f2e99f82896f052f 18-Apr-2015 Santos Cordon <santoscordon@google.com> Add call event logging to telecom.

This code saves the last 5 calls and prints out all the call-related
events when doing a "dumpsys telecom". This includes dumping all
information about the last 5 calls so that bug reports always contain
information about the calls.

Bug: 18923652

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

Change-Id: I62b514ae8fe10f720a60c681968efd2340616eba
/packages/services/Telecomm/src/com/android/server/telecom/Log.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/Log.java
d04de9dad82efd738dbe9bea254fa5a26bb830e6 02-Dec-2014 Yorke Lee <yorkelee@google.com> Turn off SYSTRACE_DEBUG

Bug: 18473078
Change-Id: I68d3e1f5ff842ebce1ab6435041368d80f969780
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
e4a9c412f5c6f76f006659f0b4e171ef4547dc45 15-Nov-2014 Yorke Lee <yorkelee@google.com> Add Systrace logging to Telecom

More granular per-listener logging is protected by a
static boolean flag which is currently turned on for
dogfooding.

Bug: 18373617

Change-Id: Id37c75f2e2475923dcd66aa7325b3d8767f29a97
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
91d43cf9c985cc5a83795f256ef5c46ebb8fbdc1 17-Sep-2014 Tyler Gunn <tgunn@google.com> Preparatory work to move Telecom to system service.

- Removed use of TelecomApp.getInstance() as context.
- Refactored singleton logic and initialization to support being
performed from a SystemService.
- Note: You will see some commented out references to
"import com.android.internal.R"; these must uncommented when the code
is moved to a system service.
- You will also notice in PhoneAccountRegistrar.java a comment block with:
"UNCOMMENT_FOR_MOVE_TO_SYSTEM_SERVICE"
The code in that comment block will replace the existing file path
code.
These were added as a convenience so that I can run a simple sed script
to make the required changes to the code in an automated manner once it
is moved to its new location.

Bug: 17364651
Change-Id: I8e80e9cffc481b688c10a2bca0b59f5ccf8e0fb2
/packages/services/Telecomm/src/com/android/server/telecom/Log.java
7cc70b4f0ad1064a4a0dce6056ad82b205887160 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: Ib7b20ba6348948afb391450b4eef8919261f3272
/packages/services/Telecomm/src/com/android/server/telecom/Log.java