Home | History | Annotate | Download | only in phone

Lines Matching refs:log

53 import android.util.Log;
59 * updating notifications, writing call log entries, etc.)
93 // "timed out" and should be logged in Call Log as a missed call. If it's
183 Log.wtf(LOG_TAG, "init() called multiple times! sInstance = " + sInstance);
229 Log.d(LOG_TAG, "CallNotifier: mSignalInfoToneGenerator created when toneplay");
231 Log.w(LOG_TAG, "CallNotifier: Exception caught while creating " +
236 Log.d(LOG_TAG, "mSignalInfoToneGenerator created already, hence skipping");
244 log("RINGING... (new)");
257 if (DBG) log("RINGING... (PHONE_INCOMING_RING event)");
260 if (DBG) log("RING before NEW_RING, skipping");
270 if (DBG) log("DISCONNECT");
287 if (DBG) log("Received PHONE_CDMA_CALL_WAITING event");
292 Log.i(LOG_TAG, "Received CDMA_CALL_WAITING_REJECT event");
297 Log.i(LOG_TAG, "Received CALLWAITING_CALLERINFO_DISPLAY_DONE event");
303 if (DBG) log("Received CALLWAITING_ADDCALL_DISABLE_TIMEOUT event ...");
309 if (DBG) log("Received PHONE_STATE_DISPLAYINFO event");
314 if (DBG) log("Received PHONE_STATE_SIGNALINFO event");
319 if (DBG) log("Received Display Info notification done event ...");
324 if (DBG) log("EVENT_OTA_PROVISION_CHANGE...");
329 if (DBG) log("PHONE_ENHANCED_VP_ON...");
338 if (DBG) log("PHONE_ENHANCED_VP_OFF...");
376 log("onNewRingingConnection(): state = " + mCM.getState() + ", conn = { " + c + " }");
391 Log.i(LOG_TAG, "CallNotifier.onNewRingingConnection(): connection not ringing!");
395 // without doing anything. (But presumably we'll log it in
396 // the call log when the disconnect event comes in...)
405 if (VDBG) log("- connection is ringing! state = " + state);
434 if (VDBG) log("Holding wake lock on new incoming connection.");
453 if (VDBG) log("- onNewRingingConnection() done.");
475 // ...but still log a warning, since we shouldn't have gotten this
478 Log.w(LOG_TAG, "Got onNewRingingConnection() on non-voice-capable device! Ignoring...");
486 if (DBG) log("Incoming call while in ECM: always allow...");
494 Log.i(LOG_TAG, "Ignoring incoming call: not provisioned");
507 Log.i(LOG_TAG, "Ignoring incoming call: OTA call is active");
557 if (VDBG) log("- CallerInfo already up to date, using available data");
560 if (VDBG) log("- Starting query, posting timeout message.");
592 * CallerInfo query is taking too long. In that case, we log a
608 Log.w(LOG_TAG, "CallerInfo query took too long; falling back to default ringtone");
625 Log.i(LOG_TAG, "onCustomRingQueryComplete: No incoming call! Bailing out...");
644 if (DBG) log("unknown connection appeared...");
660 if (VDBG) log("- starting call waiting tone...");
679 if (VDBG) log("onPhoneStateChanged: state = " + state);
722 if (VDBG) log("onPhoneStateChanged: OFF HOOK");
732 if (DBG) log("stopRing()... (OFFHOOK state)");
740 if (VDBG) log("onPhoneStateChanged: it is an emergency call.");
781 if (DBG) Log.d(LOG_TAG, "updateCallNotifierRegistrationsAfterRadioTechnologyChange...");
802 if (VDBG) log("CallerInfo query complete, posting missed call notification");
809 if (VDBG) log("CallerInfo query complete (for CallNotifier), "
827 if (DBG) log("send to voicemail flag detected. hanging up.");
837 if (DBG) log("custom ringtone found, setting up ringer.");
861 Log.w(LOG_TAG, "CallerInfo query took too long; look up local fallback cache.");
864 // TODO: Remove the verbose log when it looks stable and reliable enough.
872 log("send to voicemail flag detected (in fallback cache). hanging up.");
880 log("custom ringtone found (in fallback cache), setting up ringer: "
889 log("Failed to find fallback cache. Use default ringer tone.");
897 if (VDBG) log("onDisconnect()... CallManager state: " + mCM.getState());
902 log("onDisconnect: cause = " + c.getDisconnectCause()
906 Log.w(LOG_TAG, "onDisconnect: null connection");
945 if (DBG) log("cancelCallInProgressNotifications()... (onDisconnect)");
948 if (DBG) log("stopRing()... (onDisconnect)");
952 if (DBG) log("stopRing()... (onDisconnect)");
966 if (DBG) log("onDisconnect: this was an OTASP call!");
979 if (DBG) log("- need to play BUSY tone!");
982 if (DBG) log("- need to play CONGESTION tone!");
987 if (DBG) log("- need to play OTA_CALL_END tone!");
990 if (DBG) log("- need to play CDMA_REORDER tone!");
993 if (DBG) log("- need to play CDMA_INTERCEPT tone!");
996 if (DBG) log("- need to play CDMA_DROP tone!");
999 if (DBG) log("- need to play OUT OF SERVICE tone!");
1002 if (DBG) log("- need to play TONE_UNOBTAINABLE_NUMBER tone!");
1005 if (DBG) log("- DisconnectCause is ERROR_UNSPECIFIED: play TONE_CALL_ENDED!");
1023 if (VDBG) log("- need to play CALL_ENDED tone!");
1073 if (VDBG) log("- starting post-disconnect tone (" + toneToPlay + ")...");
1116 if (VDBG) log("resetAudioStateAfterDisconnect()...");
1130 if (VDBG) log("onMwiChanged(): " + visible);
1135 // ...but still log a warning, since we shouldn't have gotten this
1140 Log.w(LOG_TAG, "Got onMwiChanged() on non-voice-capable device! Ignoring...");
1157 if (VDBG) log("onCfiChanged(): " + visible);
1174 if (DBG) log("stopRing()... (silenceRinger)");
1185 if (DBG) log("restartRinger()...");
1193 if (DBG) log("- ringingCall state: " + ringingCall.getState());
1258 log("InCallTonePlayer.run(toneId = " + mToneId + ")...");
1362 // if (DBG) log("- created toneGenerator: " + toneGenerator);
1364 Log.w(LOG_TAG,
1392 if (DBG) log("- InCallTonePlayer: start playing call tone=" + toneType);
1402 if (DBG) log("InCallTonePlayer:playing call fail tone:" + toneType);
1410 if (DBG) log("InCallTonePlayer:playing tone for toneType=" + toneType);
1428 Log.w(LOG_TAG,
1435 // if (DBG) log("- InCallTonePlayer: done playing.");
1478 if (DBG) log("onDisplayInfo: displayInfo=" + displayInfo);
1504 log("SignalInfoTonePlayer.run(toneId = " + mToneId + ")...");
1522 Log.w(LOG_TAG, "Got onSignalInfo() on non-voice-capable device! Ignoring...");
1536 if (DBG) log("onSignalInfo: isPresent=" + isPresent);
1542 if (DBG) log("onSignalInfo: uSignalType=" + uSignalType + ", uAlertPitch=" +
1562 if (DBG) log("stopSignalInfoTone: Stopping SignalInfo tone player");
1594 if (DBG) log("onCdmaCallWaiting: isPresent=" + isPresent);
1599 if (DBG) log("onCdmaCallWaiting: uSignalType=" + uSignalType + ", uAlertPitch="
1698 // sense to log this missed call until the query comes back.
1699 if (VDBG) log("showMissedCallNotification: Querying for CallerInfo on missed call...");
1724 Log.w(LOG_TAG, "showMissedCallNotification: got null CallerInfo for Connection " + c);
1753 if (VDBG) log("call startEmergencyToneOrVibrate.");
1758 log("EmergencyTonePlayerVibrator.start(): emergency tone...");
1770 log("EmergencyTonePlayerVibrator.start(): emergency vibrate...");
1782 if (VDBG) log("call stopEmergencyToneOrVibrate.");
1803 if (VDBG) log("- Got BluetoothHeadset: " + mBluetoothHeadset);
1841 private void log(String msg) {
1842 Log.d(LOG_TAG, msg);