Home | History | Annotate | Download | only in phone

Lines Matching defs:log

52 import android.util.Log;
269 if (DBG) log("Handler: ignoring message " + msg + "; we're destroyed!");
273 if (DBG) log("Handler: handling message " + msg + " while not in foreground");
348 if (VDBG) log("REQUEST_UPDATE_BLUETOOTH_INDICATION...");
358 if (DBG) log("Received PHONE_CDMA_CALL_WAITING event ...");
384 if (DBG) log
409 Log.wtf(LOG_TAG, "mHandler: unexpected message: " + msg);
422 // if (DBG) log("mReceiver: ACTION_HEADSET_PLUG");
423 // if (DBG) log("==> intent: " + intent);
424 // if (DBG) log(" state: " + intent.getIntExtra("state", 0));
425 // if (DBG) log(" name: " + intent.getStringExtra("name"));
437 Log.i(LOG_TAG, "onCreate()... this = " + this);
448 Log.wtf(LOG_TAG, "onCreate() reached on non-voice-capable device");
481 log("- onCreate: phone state = " + mCM.getState());
514 if (DBG) log("onCreate(): this is our very first launch, checking intent...");
519 if (DBG) log("onCreate(): exit");
527 if (VDBG) log("- Got BluetoothHeadset: " + mBluetoothHeadset);
550 if (DBG) log("onResume()...");
615 if (DBG) log("- onResume: need to show status indication!");
658 if (DBG) log("- onResume: syncWithPhoneState failed! status = " + status);
671 Log.i(LOG_TAG, " ==> syncWithPhoneState failed, but staying here anyway.");
686 Log.i(LOG_TAG, " ==> syncWithPhoneState failed; bailing out!");
758 log("onResume(): detected \"show already disconnected state\" situation."
767 if (VDBG) log("onResume() done.");
774 if (DBG) log("onPause()...");
834 if (DBG) log("DELAYED_CLEANUP_AFTER_DISCONNECT detected, moving UI to background.");
870 log("Release UpdateLock on onPause() because there's no active phone call.");
878 if (DBG) log("onStop()...");
884 if (DBG) log("onStop: state = " + state);
905 if (DBG) log("- onStop: calling finish() to clear activity history...");
916 Log.i(LOG_TAG, "onDestroy()... this = " + this);
978 if (DBG) log("finish()...");
990 if (DBG) log("endInCallScreenSession()... phone state = " + mCM.getState());
1003 log("endInCallScreenSession(" + forceFinish + ")... phone state = " + mCM.getState());
1006 Log.i(LOG_TAG, "endInCallScreenSession(): FORCING a call to super.finish()!");
1086 if (DBG) Log.d(LOG_TAG, "updateAfterRadioTechnologyChange()...");
1106 log("onNewIntent: intent = " + intent + ", phone state = " + mCM.getState());
1130 if (DBG) log("internalResolveIntent: action=" + action);
1167 if (VDBG) log("- internalResolveIntent: SHOW_DIALPAD_EXTRA: " + showDialpad);
1228 Log.wtf(LOG_TAG, "internalResolveIntent: got launched with ACTION_UNDEFINED");
1231 Log.wtf(LOG_TAG, "internalResolveIntent: unexpected intent action: " + action);
1243 if (VDBG) log("initInCallScreen()...");
1250 if (VDBG) log(" - mCallCard = " + mCallCard);
1278 if (VDBG) log("handleDialerKeyDown: keyCode " + keyCode + ", event " + event + "...");
1300 if (DBG) log("onBackPressed()...");
1312 if (DBG) log("BACK key while ringing: ignored");
1359 if (DBG) log("answerCall: First Incoming and Call Waiting scenario");
1365 if (DBG) log("answerCall: Merge 3-way call scenario");
1371 if (DBG) log("answerCall: Switch btwn 2 calls scenario");
1387 Log.w(LOG_TAG, "handleCallKey: incoming call is ringing!"
1396 if (DBG) log("handleCallKey: both lines in use ==> swap calls.");
1401 if (DBG) log("handleCallKey: call on hold ==> unhold.");
1412 if (VDBG) log("handleCallKey: call in foregound ==> ignoring.");
1440 if (VDBG) log("onWindowFocusChanged(" + hasFocus + ")...");
1442 if (VDBG) log("- onWindowFocusChanged: faking onDialerKeyUp()...");
1449 // if (DBG) log("onKeyUp(keycode " + keyCode + ")...");
1463 // if (DBG) log("onKeyDown(keycode " + keyCode + ")...");
1469 Log.w(LOG_TAG, "InCallScreen should always handle KEYCODE_CALL in onKeyDown");
1500 Log.w(LOG_TAG, "VOLUME key: incoming call is ringing!"
1519 log("----------- InCallScreen View dump --------------");
1529 log("----------- InCallScreen call state dump --------------");
1538 log("------------ Temp testing -----------------");
1557 if (DBG) log("onSuppServiceFailed: " + service);
1610 if (DBG) log("- DISMISSING mSuppServiceFailureDialog.");
1630 if (DBG) log("onPhoneStateChanged: current state = " + state);
1636 if (DBG) log("onPhoneStateChanged: Activity not in foreground! Bailing out...");
1674 if (DBG) log("onDisconnect: connection '" + c + "', cause = " + cause
1699 if (DBG) log("onDisconnect: OTA Call end already handled");
1791 if (VDBG) log("- Still-active conf call; clearing DISCONNECTED...");
1830 if (DBG) log("- onDisconnect: Respond-via-SMS dialog is still being displayed...");
1842 if (DBG) log("- onDisconnect: bailOutImmediately...");
1850 if (DBG) log("- onDisconnect: delayed bailout...");
1859 if (DBG) log("- onDisconnect: switching to 'Call ended' state...");
1872 if (DBG) log("- onDisconnect: cleaning up after FG call disconnect...");
1877 if (VDBG) log("- DISMISSING mWaitPromptDialog.");
1882 if (VDBG) log("- DISMISSING mWildPromptDialog.");
1887 if (DBG) log("- DISMISSING mPausePromptDialog.");
1912 if (DBG) log("onDisconnect: Call Collision case - staying on InCallScreen.");
1932 log("Force waking up the screen to let users see \"disconnected\" state");
1993 if (VDBG) log("onMMIInitiate()... AsyncResult r = " + r);
2001 if (VDBG) log("Activity not in foreground! Bailing out...");
2012 if (VDBG) log(" - MmiCode: " + mmiCode);
2025 if (VDBG) log("onMMICancel()...");
2039 if (DBG) log("onMMICancel: finishing InCallScreen...");
2059 if (DBG) log("Got MMI_COMPLETE, finishing InCallScreen...");
2082 if (VDBG) log("handlePostOnDialChar: state = " +
2107 if (DBG) log("handlePostOnDialChars: show WAIT prompt...");
2114 if (DBG) log("handlePostOnDialChars: show WILD prompt");
2141 if (DBG) log("showWaitPromptDialogChoice: '" + postDialStr + "'...");
2148 // if (DBG) log("- mWaitPromptDialog = " + mWaitPromptDialog);
2150 if (DBG) log("- DISMISSING mWaitPromptDialog.");
2161 if (DBG) log("handle WAIT_PROMPT_CONFIRMED, proceed...");
2169 if (DBG) log("handle POST_DIAL_CANCELED!");
2191 if (DBG) log("- DISMISSING mPausePromptDialog.");
2243 if (VDBG) log("- DISMISSING mWildPromptDialog.");
2255 if (VDBG) log("handle WILD_PROMPT_CHAR_ENTERED, proceed...");
2269 if (VDBG) log("handle POST_DIAL_CANCELED!");
2297 if (DBG) log("updateScreen()...");
2301 log(" - phone state = " + state);
2302 log(" - inCallScreenMode = " + inCallScreenMode);
2311 if (DBG) log("- updateScreen: not the foreground Activity! Bailing out...");
2316 if (DBG) log("- updateScreen: OTA call state NORMAL (NOT updating in-call UI)...");
2321 Log.w(LOG_TAG, "OtaUtils object is null, not showing any screen for that.");
2325 if (DBG) log("- updateScreen: OTA call ended state (NOT updating in-call UI)...");
2331 if (DBG) log("- updateScreen: OTA_STATUS_ACTIVATION");
2333 if (DBG) log("- updateScreen: mApp.otaUtils is not null, "
2338 if (DBG) log("- updateScreen: OTA Call end state for Dialogs");
2340 if (DBG) log("- updateScreen: Show OTA Success Failure dialog");
2346 if (DBG) log("- updateScreen: manage conference mode (NOT updating in-call UI)...");
2351 if (DBG) log("- updateScreen: call ended state...");
2357 if (DBG) log("- updateScreen: updating the in-call UI...");
2369 Log.i(LOG_TAG, "During RINGING state we force hiding dialpad.");
2420 if(DBG) log("show the Wait dialog for CDMA");
2454 if (DBG) log("syncWithPhoneState()...");
2489 if (VDBG) log("syncWithPhoneState: it's ok to be here; update the screen...");
2494 Log.i(LOG_TAG, "syncWithPhoneState: phone is idle (shouldn't be here)");
2501 if (DBG) log("handleMissingVoiceMailNumber");
2514 if (VDBG) log("Missing voicemail AlertDialog: POSITIVE click...");
2521 if (VDBG) log("Missing voicemail AlertDialog: NEGATIVE click...");
2527 if (VDBG) log("Missing voicemail AlertDialog: CANCEL handler...");
2546 if (DBG) log("addVoiceMailNumberPanel: finishing InCallScreen...");
2549 if (DBG) log("show vm setting");
2562 if (DBG) log("dontAddVoiceMailNumber: finishing InCallScreen...");
2582 if (VDBG) log("delayedCleanupAfterDisconnect()... Phone state = " + mCM.getState());
2605 if (DBG) log("- delayedCleanupAfterDisconnect: staying on the InCallScreen...");
2608 if (DBG) log("- delayedCleanupAfterDisconnect: phone is idle...");
2613 if (DBG) log("- delayedCleanupAfterDisconnect: finishing InCallScreen...");
2616 // Call Log. Otherwise, we simply call endInCallScreenSession,
2619 // UI note: In eclair and earlier, we went to the Call Log
2626 // And in any case, *never* go to the call log if we're in
2631 if (VDBG) log("- Post-call behavior:");
2632 if (VDBG) log(" - mLastDisconnectCause = " + mLastDisconnectCause);
2633 if (VDBG) log(" - isPhoneStateRestricted() = " + isPhoneStateRestricted());
2653 log("- Show Call Log (or Dialtacts) after disconnect. Current intent: "
2659 // Don't crash if there's somehow no "Call log" at
2664 // log activity....)
2665 Log.w(LOG_TAG, "delayedCleanupAfterDisconnect: "
2666 + "transition to call log failed; intent = " + intent);
2669 // Even if we did go to the call log, note that we still
2700 if (VDBG) log("onClick(View " + view + ", id " + id + ")...");
2704 if (VDBG) log("onClick: mButtonManageConferenceDone...");
2731 Log.w(LOG_TAG,
2747 log("onHoldClick: hasActiveCall = " + hasActiveCall
2786 log("toggleSpeaker(): newSpeakerState = " + newSpeakerState);
2804 log("onMuteClick(): newMuteState = " + newMuteState);
2810 * headset, or do nothing (but log a warning) if no bluetooth device
2819 if (VDBG) log("toggleBluetooth()...");
2842 Log.w(LOG_TAG, "toggleBluetooth(): bluetooth is unavailable");
2864 log("switchInCallAudio: new mode = " + newMode);
2905 Log.wtf(LOG_TAG, "switchInCallAudio: unexpected mode " + newMode);
2922 if (VDBG) log("onOpenCloseDialpad()...");
2951 if (DBG) log("handleOnscreenButtonClick(id " + id + ")...");
2995 Log.w(LOG_TAG, "handleOnscreenButtonClick: unexpected ID " + id);
3030 Log.wtf(LOG_TAG, "showStatusIndication: nothing to display");
3141 if (DBG) log("showGenericErrorDialog('" + msg + "')...");
3183 if (DBG) log("showCallLostDialog()...");
3187 if (DBG) log("showCallLostDialog: not the foreground Activity! Bailing out...");
3193 if (DBG) log("showCallLostDialog: There is a mCallLostDialog already.");
3237 Log.i(LOG_TAG, "showExitingECMDialog()...");
3240 if (DBG) log("- DISMISSING mExitingECMDialog.");
3272 if (DBG) log("bailOutAfterErrorDialog: DISMISSING mGenericErrorDialog.");
3276 if (DBG) log("bailOutAfterErrorDialog(): end InCallScreen session...");
3309 if (DBG) log("dismissAllDialogs()...");
3317 if (VDBG) log("- DISMISSING mMissingVoicemailDialog.");
3322 if (VDBG) log("- DISMISSING mMmiStartedDialog.");
3327 if (VDBG) log("- DISMISSING mGenericErrorDialog.");
3332 if (VDBG) log("- DISMISSING mSuppServiceFailureDialog.");
3337 if (VDBG) log("- DISMISSING mWaitPromptDialog.");
3342 if (VDBG) log("- DISMISSING mWildPromptDialog.");
3347 if (VDBG) log("- DISMISSING mCallLostDialog.");
3357 if (DBG) log("- DISMISSING mPausePromptDialog.");
3362 if (DBG) log("- DISMISSING mExitingECMDialog.");
3409 Log.wtf(LOG_TAG, "updateProgressIndication: unexpected value: "
3420 if (DBG) log("showProgressIndication(message " + messageResId + ")...");
3440 if (DBG) log("dismissProgressIndication()...");
3457 if (DBG) log("internalAnswerCall()...");
3467 if (DBG) log("internalAnswerCall: answering (CDMA)...");
3477 if (DBG) log("internalAnswerCall: answer "
3484 if (DBG) log("internalAnswerCall: answering (SIP)...");
3495 if (DBG) log("internalAnswerCall: answer "
3502 if (DBG) log("internalAnswerCall: answering (GSM)...");
3511 if (DBG) log("internalAnswerCall: answering (both lines in use!)...");
3521 if (DBG) log("internalAnswerCall: answering...");
3538 if (DBG) log("hangupRingingCall()...");
3549 if (DBG) log("internalSilenceRinger()...");
3562 log("internalRespondViaSms()...");
3582 log("internalHangup()... phone state = " + state);
3604 Log.w(LOG_TAG, "internalHangup(): phone is already IDLE!");
3624 // Log.i(LOG_TAG, "internalHangup(): phone is already IDLE! Bailing out...");
3633 if (DBG) log("internalSwapCalls()...");
3661 Log.e(LOG_TAG, Log.getStackTraceString(new Throwable()));
3680 if (DBG) log("setInCallScreenMode: " + newMode);
3686 Log.w(LOG_TAG, "MANAGE_CONFERENCE: no active conference call!");
3695 Log.w(LOG_TAG,
3783 log("WARNING: Setting mode to UNDEFINED but phone is OFFHOOK,"
3806 if (VDBG) log("updateManageConferencePanelIfNecessary: " + mCM.getActiveFgCall() + "...");
3810 if (VDBG) log("==> no connections on foreground call!");
3815 Log.w(LOG_TAG, "- syncWithPhoneState failed! status = " + status);
3818 if (DBG) log("updateManageConferencePanelIfNecessary: endInCallScreenSession... 1");
3827 if (VDBG) log("==> foreground call no longer a conference!");
3832 Log.w(LOG_TAG, "- syncWithPhoneState failed! status = " + status);
3835 if (DBG) log("updateManageConferencePanelIfNecessary: endInCallScreenSession... 2");
3845 if (VDBG) log("==> Conference size has changed; need to rebuild UI!");
3864 log("- updateCallCardVisibilityPerDialerState(animate="
3877 log("- updateCallCardVisibilityPerDialerState(animate="
3901 if (DBG) log("onDialerOpen()...");
3927 if (DBG) log("onDialerClose()...");
3971 if (VDBG) log ("[okToDialDTMFTones] foreground state: " + fgCallState +
3995 if (DBG) log("initInCallTouchUi()...");
4037 if (DBG) log("requestUpdateScreen()...");
4080 if (VDBG) log("isBluetoothAvailable()...");
4086 // if (DBG) log(" ==> FALSE (BT not enabled)");
4089 // if (DBG) log(" - BT enabled! device name " + adapter.getName()
4105 if (VDBG) log(" - headset state = " +
4107 if (VDBG) log(" - headset address: " + device);
4108 if (VDBG) log(" - isConnected: " + isConnected);
4112 if (VDBG) log(" ==> " + isConnected);
4121 if (VDBG) log("isBluetoothAudioConnected: ==> FALSE (null mBluetoothHeadset)");
4131 if (VDBG) log("isBluetoothAudioConnected: ==> isAudioOn = " + isAudioOn);
4147 if (VDBG) log("isBluetoothAudioConnectedOrPending: ==> TRUE (really connected)");
4158 if (VDBG) log("isBluetoothAudioConnectedOrPending: ==> TRUE (requested "
4162 if (VDBG) log("isBluetoothAudioConnectedOrPending: ==> FALSE (request too old: "
4169 if (VDBG) log("isBluetoothAudioConnectedOrPending: ==> FALSE");
4178 if (VDBG) log("requestUpdateBluetoothIndication()...");
4187 log("============== dumpBluetoothState() =============");
4188 log("= isBluetoothAvailable: " + isBluetoothAvailable());
4189 log("= isBluetoothAudioConnected: " + isBluetoothAudioConnected());
4190 log("= isBluetoothAudioConnectedOrPending: " + isBluetoothAudioConnectedOrPending());
4191 log("= PhoneApp.showBluetoothIndication: "
4193 log("=");
4200 log("= BluetoothHeadset.getCurrentDevice: " + device);
4201 log("= BluetoothHeadset.State: "
4203 log("= BluetoothHeadset audio connected: " +
4207 log("= mBluetoothHeadset is null");
4210 log("= mBluetoothAdapter is null; device is not BT capable");
4215 if (VDBG) log("connectBluetoothAudio()...");
4231 if (VDBG) log("disconnectBluetoothAudio()...");
4244 if (DBG) log("requestCloseOtaFailureNotice() with timeout: " + timeout);
4261 if (DBG) log("requestCloseSpcErrorNotice() with timeout: " + timeout);
4282 if (DBG) log("handleOtaCallEnd entering");
4289 if (DBG) log("handleOtaCallEnd - Set OTA Call End stater");
4313 if (DBG) log("checkOtaspStateOnResume: no OtaUtils instance; nothing to do.");
4352 if (DBG) log("checkOtaspStateOnResume - in OTA Normal mode");
4356 if (DBG) log("checkOtaspStateOnResume - in OTA END mode");
4365 // if (DBG) log("checkOtaspStateOnResume - set OTA END Mode");
4372 if (DBG) log("checkOtaspStateOnResume - Set OTA NORMAL Mode");
4385 // if (DBG) log("checkIsOtaCall action ACTION_MAIN");
4388 // if (DBG) log("checkIsOtaCall isRingingCall: " + isRingingCall);
4394 // if (DBG) log("action ACTION_MAIN, OTA call already in progress");
4399 // if (DBG) log("checkIsOtaCall action ACTION_MAIN, "
4424 if (VDBG) log("getUpdatedInCallControlState()...");
4430 if (DBG) log("resetInCallScreenMode: setting mode to UNDEFINED...");
4444 if (VDBG) log("updateIncomingCallWidgetHint(" + hintTextResId + ")...");
4496 if (DBG) log("onConfigurationChanged: newConfig = " + newConfig);
4517 if (DBG) log(" - isKeyboardOpen = " + isKeyboardOpen);
4519 if (DBG) log(" - isLandscape = " + isLandscape);
4520 if (DBG) log(" - uiMode = " + newConfig.uiMode);
4528 if (DBG) log("onIncomingRing()...");
4548 if (DBG) log("onNewRingingConnection()...");
4587 private void log(String msg) {
4588 Log.d(LOG_TAG, msg);
4602 log("Requested to remove provider info after " + PROVIDER_INFO_TIMEOUT + " msec.");