Home | History | Annotate | Download | only in phone

Lines Matching defs:log

55 import android.util.Log;
61 * updating notifications, writing call log entries, etc.)
95 // "timed out" and should be logged in Call Log as a missed call. If it's
195 Log.wtf(LOG_TAG, "init() called multiple times! sInstance = " + sInstance);
237 Log.d(LOG_TAG, "CallNotifier: mSignalInfoToneGenerator created when toneplay");
239 Log.w(LOG_TAG, "CallNotifier: Exception caught while creating " +
244 Log.d(LOG_TAG, "mSignalInfoToneGenerator created already, hence skipping");
252 log("RINGING... (new)");
265 if (DBG) log("RINGING... (PHONE_INCOMING_RING event)");
268 if (DBG) log("RING before NEW_RING, skipping");
278 if (DBG) log("DISCONNECT");
295 if (DBG) log("Received PHONE_CDMA_CALL_WAITING event");
300 Log.i(LOG_TAG, "Received CDMA_CALL_WAITING_REJECT event");
305 Log.i(LOG_TAG, "Received CALLWAITING_CALLERINFO_DISPLAY_DONE event");
311 if (DBG) log("Received CALLWAITING_ADDCALL_DISABLE_TIMEOUT event ...");
318 if (DBG) log("Received PHONE_STATE_DISPLAYINFO event");
323 if (DBG) log("Received PHONE_STATE_SIGNALINFO event");
328 if (DBG) log("Received Display Info notification done event ...");
333 if (DBG) log("EVENT_OTA_PROVISION_CHANGE...");
338 if (DBG) log("PHONE_ENHANCED_VP_ON...");
344 if (DBG) log("- updating notification for VP state...");
350 if (DBG) log("PHONE_ENHANCED_VP_OFF...");
356 if (DBG) log("- updating notification for VP state...");
395 log("onNewRingingConnection(): state = " + mCM.getState() + ", conn = { " + c + " }");
410 Log.i(LOG_TAG, "CallNotifier.onNewRingingConnection(): connection not ringing!");
414 // without doing anything. (But presumably we'll log it in
415 // the call log when the disconnect event comes in...)
424 if (VDBG) log("- connection is ringing! state = " + state);
453 if (VDBG) log("Holding wake lock on new incoming connection.");
461 if (VDBG) log("- starting call waiting tone...");
468 if (DBG) log("- showing incoming call (this is a WAITING call)...");
482 if (VDBG) log("- onNewRingingConnection() done.");
504 // ...but still log a warning, since we shouldn't have gotten this
507 Log.w(LOG_TAG, "Got onNewRingingConnection() on non-voice-capable device! Ignoring...");
515 if (DBG) log("Incoming call while in ECM: always allow...");
523 Log.i(LOG_TAG, "Ignoring incoming call: not provisioned");
536 Log.i(LOG_TAG, "Ignoring incoming call: OTA call is active");
587 if (VDBG) log("- CallerInfo already up to date, using available data");
590 if (VDBG) log("- Starting query, posting timeout message.");
606 // In this case, just log the request and ring.
607 if (VDBG) log("RINGING... (request to ring arrived while query is running)");
612 if (DBG) log("- showing incoming call (couldn't start query)...");
629 * CallerInfo query is taking too long. In that case, we log a
645 Log.w(LOG_TAG, "CallerInfo query took too long; falling back to default ringtone");
662 Log.i(LOG_TAG, "onCustomRingQueryComplete: No incoming call! Bailing out...");
669 if (VDBG) log("RINGING... (onCustomRingQueryComplete)");
673 if (DBG) log("- showing incoming call (custom ring query complete)...");
683 if (DBG) log("- showing incoming call (unknown connection appeared)...");
708 log("showIncomingCall()... phone state = " + mCM.getState());
727 if (DBG) log("- updating notification from showIncomingCall()...");
741 if (VDBG) log("onPhoneStateChanged: state = " + state);
782 if (VDBG) log("onPhoneStateChanged: OFF HOOK");
798 if (DBG) log("stopRing()... (OFFHOOK state)");
814 if (DBG) log("- posting UPDATE_IN_CALL_NOTIFICATION request...");
826 if (VDBG) log("onPhoneStateChanged: it is an emergency call.");
867 if (DBG) Log.d(LOG_TAG, "updateCallNotifierRegistrationsAfterRadioTechnologyChange...");
919 if (VDBG) log("CallerInfo query complete, posting missed call notification");
925 if (VDBG) log("CallerInfo query complete (for CallNotifier), "
943 if (DBG) log("send to voicemail flag detected. hanging up.");
950 if (DBG) log("custom ringtone found, setting up ringer.");
974 Log.w(LOG_TAG, "CallerInfo query took too long; look up local fallback cache.");
977 // TODO: Remove the verbose log when it looks stable and reliable enough.
983 log("send to voicemail flag detected (in fallback cache). hanging up.");
989 log("custom ringtone found (in fallback cache), setting up ringer: "
998 log("Failed to find fallback cache. Use default ringer tone.");
1005 if (VDBG) log("onDisconnect()... CallManager state: " + mCM.getState());
1010 log("onDisconnect: cause = " + c.getDisconnectCause()
1014 Log.w(LOG_TAG, "onDisconnect: null connection");
1053 if (DBG) log("cancelCallInProgressNotifications()... (onDisconnect)");
1056 if (DBG) log("stopRing()... (onDisconnect)");
1060 if (DBG) log("stopRing()... (onDisconnect)");
1074 if (DBG) log("onDisconnect: this was an OTASP call!");
1087 if (DBG) log("- need to play BUSY tone!");
1090 if (DBG) log("- need to play CONGESTION tone!");
1095 if (DBG) log("- need to play OTA_CALL_END tone!");
1098 if (DBG) log("- need to play CDMA_REORDER tone!");
1101 if (DBG) log("- need to play CDMA_INTERCEPT tone!");
1104 if (DBG) log("- need to play CDMA_DROP tone!");
1107 if (DBG) log("- need to play OUT OF SERVICE tone!");
1110 if (DBG) log("- need to play TONE_UNOBTAINABLE_NUMBER tone!");
1113 if (DBG) log("- DisconnectCause is ERROR_UNSPECIFIED: play TONE_CALL_ENDED!");
1131 if (VDBG) log("- need to play CALL_ENDED tone!");
1181 if (VDBG) log("- starting post-disconnect tone (" + toneToPlay + ")...");
1221 if (VDBG) log("resetAudioStateAfterDisconnect()...");
1235 if (VDBG) log("onMwiChanged(): " + visible);
1240 // ...but still log a warning, since we shouldn't have gotten this
1245 Log.w(LOG_TAG, "Got onMwiChanged() on non-voice-capable device! Ignoring...");
1262 if (VDBG) log("onCfiChanged(): " + visible);
1279 if (DBG) log("stopRing()... (silenceRinger)");
1290 if (DBG) log("restartRinger()...");
1297 if (DBG) log("- ringingCall state: " + ringingCall.getState());
1362 log("InCallTonePlayer.run(toneId = " + mToneId + ")...");
1466 // if (DBG) log("- created toneGenerator: " + toneGenerator);
1468 Log.w(LOG_TAG,
1496 if (DBG) log("- InCallTonePlayer: start playing call tone=" + toneType);
1506 if (DBG) log("InCallTonePlayer:playing call fail tone:" + toneType);
1514 if (DBG) log("InCallTonePlayer:playing tone for toneType=" + toneType);
1532 Log.w(LOG_TAG,
1539 // if (DBG) log("- InCallTonePlayer: done playing.");
1582 if (DBG) log("onDisplayInfo: displayInfo=" + displayInfo);
1608 log("SignalInfoTonePlayer.run(toneId = " + mToneId + ")...");
1626 Log.w(LOG_TAG, "Got onSignalInfo() on non-voice-capable device! Ignoring...");
1640 if (DBG) log("onSignalInfo: isPresent=" + isPresent);
1646 if (DBG) log("onSignalInfo: uSignalType=" + uSignalType + ", uAlertPitch=" +
1666 if (DBG) log("stopSignalInfoTone: Stopping SignalInfo tone player");
1686 if (DBG) log("- showing incoming call (CDMA call waiting)...");
1705 if (DBG) log("onCdmaCallWaiting: isPresent=" + isPresent);
1710 if (DBG) log("onCdmaCallWaiting: uSignalType=" + uSignalType + ", uAlertPitch="
1803 // sense to log this missed call until the query comes back.
1804 if (VDBG) log("showMissedCallNotification: Querying for CallerInfo on missed call...");
1829 Log.w(LOG_TAG, "showMissedCallNotification: got null CallerInfo for Connection " + c);
1858 if (VDBG) log("call startEmergencyToneOrVibrate.");
1863 log("EmergencyTonePlayerVibrator.start(): emergency tone...");
1875 log("EmergencyTonePlayerVibrator.start(): emergency vibrate...");
1887 if (VDBG) log("call stopEmergencyToneOrVibrate.");
1908 if (VDBG) log("- Got BluetoothHeadset: " + mBluetoothHeadset);
1946 private void log(String msg) {
1947 Log.d(LOG_TAG, msg);