Lines Matching refs:log
48 import android.util.Log;
55 * updating notifications, writing call log entries, etc.)
89 // "timed out" and should be logged in Call Log as a missed call. If it's
190 Log.wtf(LOG_TAG, "init() called multiple times! sInstance = " + sInstance);
215 Log.w(LOG_TAG, "CallNotifier: Exception caught while creating " +
234 log("RINGING... (new)");
247 if (DBG) log("RINGING... (PHONE_INCOMING_RING event)");
250 if (DBG) log("RING before NEW_RING, skipping");
260 if (DBG) log("DISCONNECT");
272 Log.w(LOG_TAG, "CallerInfo query took too long; manually starting ringer");
290 if (DBG) log("Received PHONE_CDMA_CALL_WAITING event");
295 Log.i(LOG_TAG, "Received CDMA_CALL_WAITING_REJECT event");
300 Log.i(LOG_TAG, "Received CALLWAITING_CALLERINFO_DISPLAY_DONE event");
306 if (DBG) log("Received CALLWAITING_ADDCALL_DISABLE_TIMEOUT event ...");
313 if (DBG) log("Received PHONE_STATE_DISPLAYINFO event");
318 if (DBG) log("Received PHONE_STATE_SIGNALINFO event");
323 if (DBG) log("Received Display Info notification done event ...");
328 if (DBG) log("EVENT_OTA_PROVISION_CHANGE...");
333 if (DBG) log("PHONE_ENHANCED_VP_ON...");
339 if (DBG) log("- updating notification for VP state...");
345 if (DBG) log("PHONE_ENHANCED_VP_OFF...");
351 if (DBG) log("- updating notification for VP state...");
390 log
405 Log.w(LOG_TAG, "CallNotifier.onNewRingingConnection(): null connection!");
411 Log.i(LOG_TAG, "CallNotifier.onNewRingingConnection(): connection not ringing!");
415 // without doing anything. (But presumably we'll log it in
416 // the call log when the disconnect event comes in...)
425 if (VDBG) log("- connection is ringing! state = " + state);
454 if (VDBG) log("Holding wake lock on new incoming connection.");
462 if (VDBG) log("- starting call waiting tone...");
469 if (DBG) log("- showing incoming call (this is a WAITING call)...");
483 if (VDBG) log("- onNewRingingConnection() done.");
505 // ...but still log a warning, since we shouldn't have gotten this
508 Log.w(LOG_TAG, "Got onNewRingingConnection() on non-voice-capable device! Ignoring...");
516 if (DBG) log("Incoming call while in ECM: always allow...");
524 Log.i(LOG_TAG, "Ignoring incoming call: not provisioned");
537 Log.i(LOG_TAG, "Ignoring incoming call: OTA call is active");
588 if (VDBG) log("- CallerInfo already up to date, using available data");
591 if (VDBG) log("- Starting query, posting timeout message.");
603 // In this case, just log the request and ring.
604 if (VDBG) log("RINGING... (request to ring arrived while query is running)");
609 if (DBG) log("- showing incoming call (couldn't start query)...");
626 * CallerInfo query is taking too long. In that case, we log a
642 Log.w(LOG_TAG, "CallerInfo query took too long; falling back to default ringtone");
659 Log.i(LOG_TAG, "onCustomRingQueryComplete: No incoming call! Bailing out...");
666 if (VDBG) log("RINGING... (onCustomRingQueryComplete)");
670 if (DBG) log("- showing incoming call (custom ring query complete)...");
680 if (DBG) log("- showing incoming call (unknown connection appeared)...");
705 log("showIncomingCall()... phone state = " + mCM.getState());
751 if (DBG) log("- updating notification from showIncomingCall()...");
765 if (VDBG) log("onPhoneStateChanged: state = " + state);
806 if (VDBG) log("onPhoneStateChanged: OFF HOOK");
823 if (DBG) log("stopRing()... (OFFHOOK state)");
839 if (DBG) log("- posting UPDATE_IN_CALL_NOTIFICATION request...");
851 if (VDBG) log("onPhoneStateChanged: it is an emergency call.");
892 if (DBG) Log.d(LOG_TAG, "updateCallNotifierRegistrationsAfterRadioTechnologyChange...");
948 if (VDBG) log("CallerInfo query complete, posting missed call notification");
953 if (VDBG) log("CallerInfo query complete (for CallNotifier), "
971 if (DBG) log("send to voicemail flag detected. hanging up.");
978 if (DBG) log("custom ringtone found, setting up ringer.");
989 if (VDBG) log("onDisconnect()... CallManager state: " + mCM.getState());
994 log("onDisconnect: cause = " + c.getDisconnectCause()
998 Log.w(LOG_TAG, "onDisconnect: null connection");
1037 if (DBG) log("cancelCallInProgressNotifications()... (onDisconnect)");
1040 if (DBG) log("stopRing()... (onDisconnect)");
1044 if (DBG) log("stopRing()... (onDisconnect)");
1058 if (DBG) log("onDisconnect: this was an OTASP call!");
1071 if (DBG) log
1074 if (DBG) log("- need to play CONGESTION tone!");
1079 if (DBG) log("- need to play OTA_CALL_END tone!");
1082 if (DBG) log("- need to play CDMA_REORDER tone!");
1085 if (DBG) log("- need to play CDMA_INTERCEPT tone!");
1088 if (DBG) log("- need to play CDMA_DROP tone!");
1091 if (DBG) log("- need to play OUT OF SERVICE tone!");
1094 if (DBG) log("- need to play TONE_UNOBTAINABLE_NUMBER tone!");
1097 if (DBG) log("- DisconnectCause is ERROR_UNSPECIFIED: play TONE_CALL_ENDED!");
1115 if (VDBG) log("- need to play CALL_ENDED tone!");
1136 if (VDBG) log("onDisconnect: force InCallScreen to finish()");
1139 if (VDBG) log("onDisconnect: In call screen. Set short timeout.");
1152 // Set the "type" to be displayed in the call log (see constants in CallLog.Calls)
1160 if (VDBG) log("- callLogType: " + callLogType + ", UserData: " + c.getUserData());
1167 if (DBG) log("- onDisconnect(): logNumber set to: " + /*logNumber*/ "xxxxxxx");
1186 // emergency numbers, we *never* log emergency calls to
1187 // the Call Log. (This behavior is set on a per-product
1197 // Don't log emergency numbers if the device doesn't allow it,
1198 // and never log OTASP calls.
1224 if (VDBG) log("- starting post-disconnect tone (" + toneToPlay + ")...");
1243 if (VDBG) log("- NOT showing in-call screen; releasing wake locks!");
1247 if (VDBG) log("- still showing in-call screen; not releasing wake locks.");
1250 if (VDBG) log("- phone still in use; not releasing wake locks.");
1280 if (VDBG) log("resetAudioStateAfterDisconnect()...");
1294 if (VDBG) log("onMwiChanged(): " + visible);
1299 // ...but still log a warning, since we shouldn't have gotten this
1304 Log.w(LOG_TAG, "Got onMwiChanged() on non-voice-capable device! Ignoring...");
1321 if (VDBG) log("onCfiChanged(): " + visible);
1338 if (DBG) log("stopRing()... (silenceRinger)");
1349 if (DBG) log("restartRinger()...");
1356 if (DBG) log("- ringingCall state: " + ringingCall.getState());
1372 if (DBG) log("onBatteryLow()...");
1439 log("InCallTonePlayer.run(toneId = " + mToneId + ")...");
1551 // if (DBG) log("- created toneGenerator: " + toneGenerator);
1553 Log.w(LOG_TAG,
1581 if (DBG) log("- InCallTonePlayer: start playing call tone=" + toneType);
1591 if (DBG) log("InCallTonePlayer:playing call fail tone:" + toneType);
1599 if (DBG) log("InCallTonePlayer:playing tone for toneType=" + toneType);
1617 Log.w(LOG_TAG,
1624 // if (DBG) log("- InCallTonePlayer: done playing.");
1667 if (DBG) log("onDisplayInfo: displayInfo=" + displayInfo);
1693 log("SignalInfoTonePlayer.run(toneId = " + mToneId + ")...");
1711 Log.w(LOG_TAG, "Got onSignalInfo() on non-voice-capable device! Ignoring...");
1725 if (DBG) log("onSignalInfo: isPresent=" + isPresent);
1731 if (DBG) log("onSignalInfo: uSignalType=" + uSignalType + ", uAlertPitch=" +
1751 if (DBG) log("stopSignalInfoTone: Stopping SignalInfo tone player");
1771 if (DBG) log("- showing incoming call (CDMA call waiting)...");
1790 if (DBG) log("onCdmaCallWaiting: isPresent=" + isPresent);
1795 if (DBG) log("onCdmaCallWaiting: uSignalType=" + uSignalType + ", uAlertPitch="
1840 // get the callerinfo object and then log the call with it.
1854 if (DBG) log("- onCdmaCallWaitingReject(): logNumber set to: " + logNumber
1910 // sense to log this missed call until the query comes back.
1911 if (VDBG) log("showMissedCallNotification: Querying for CallerInfo on missed call...");
1936 Log.w(LOG_TAG, "showMissedCallNotification: got null CallerInfo for Connection " + c);
1963 if (VDBG) log("call startEmergencyToneOrVibrate.");
1968 log("EmergencyTonePlayerVibrator.start(): emergency tone...");
1980 log("EmergencyTonePlayerVibrator.start(): emergency vibrate...");
1993 if (VDBG) log("call stopEmergencyToneOrVibrate.");
2089 if (VDBG) log("getLogNumber: " + number);
2127 if (DBG) log("- getPresentation(): ignoring connection's presentation: " +
2130 if (DBG) log("- getPresentation: presentation: " + presentation);
2134 private void log(String msg) {
2135 Log.d(LOG_TAG, msg);