Searched defs:reason (Results 1 - 25 of 35) sorted by relevance

12

/packages/services/Telephony/src/com/android/services/telephony/
H A DDisconnectCauseUtil.java34 * @param telephonyDisconnectCause The code for the reason for the disconnect.
37 return toTelecomDisconnectCause(telephonyDisconnectCause, null /* reason */);
46 * @param telephonyDisconnectCause The code for the reason for the disconnect.
47 * @param reason Description of the reason for the disconnect, not intended for the user to see..
50 int telephonyDisconnectCause, String reason) {
56 toTelecomDisconnectReason(telephonyDisconnectCause, reason),
303 private static String toTelecomDisconnectReason(int telephonyDisconnectCause, String reason) { argument
305 if (reason == null) {
308 return reason
49 toTelecomDisconnectCause( int telephonyDisconnectCause, String reason) argument
[all...]
/packages/apps/Email/src/com/android/email/activity/setup/
H A DCheckSettingsErrorDialogFragment.java57 * @param reason see REASON_* constants
61 public static CheckSettingsErrorDialogFragment newInstance(int reason, String message) { argument
65 arguments.putInt(ARGS_REASON, reason);
75 final int reason = arguments.getInt(ARGS_REASON);
84 if (reason == REASON_AUTHENTICATION_FAILED) {
91 if (reason == REASON_CERTIFICATE_REQUIRED) {
H A DAccountServerSettingsActivity.java173 public void onCheckSettingsError(int reason, String message) { argument
175 CheckSettingsErrorDialogFragment.newInstance(reason, message)
H A DAccountCheckSettingsFragment.java106 * @param reason from
111 void onCheckSettingsError(int reason, String message); argument
242 final int reason =
246 getCallbackTarget().onCheckSettingsError(reason, errorMessage);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
H A DAddWifiNetworkActivity.java57 public void onConnectToWifiCompleted(int reason) { argument
59 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason));
H A DSaveWifiConfigurationFragment.java94 public void onFailure(int reason) { argument
H A DEditIpSettingsActivity.java83 public void onSaveWifiConfigurationCompleted(int reason) { argument
85 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason));
H A DEditProxySettingsActivity.java83 public void onSaveWifiConfigurationCompleted(int reason) { argument
85 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason));
H A DWifiConnectionActivity.java89 public void onConnectToWifiCompleted(int reason) { argument
91 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason));
H A DConnectToWifiFragment.java50 void onConnectToWifiCompleted(int reason); argument
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
H A DTokenMgrError.java46 * Indicates the reason why the exception is thrown. It will have
140 public TokenMgrError(String message, int reason) { argument
142 errorCode = reason;
145 public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar, int reason) { argument
146 this(LexicalError(EOFSeen, lexState, errorLine, errorColumn, errorAfter, curChar), reason);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
H A DTokenMgrError.java46 * Indicates the reason why the exception is thrown. It will have
140 public TokenMgrError(String message, int reason) { argument
142 errorCode = reason;
145 public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar, int reason) { argument
146 this(LexicalError(EOFSeen, lexState, errorLine, errorColumn, errorAfter, curChar), reason);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DTokenMgrError.java46 * Indicates the reason why the exception is thrown. It will have
140 public TokenMgrError(String message, int reason) { argument
142 errorCode = reason;
145 public TokenMgrError(boolean EOFSeen, int lexState, int errorLine, int errorColumn, String errorAfter, char curChar, int reason) { argument
146 this(LexicalError(EOFSeen, lexState, errorLine, errorColumn, errorAfter, curChar), reason);
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
H A DTrampolineActivity.java49 private static final String KEY_REASON = "reason";
61 final int reason;
67 reason = cursor.getInt(cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_REASON));
77 Log.d(Constants.TAG, "Found " + id + " with status " + status + ", reason " + reason);
86 if (reason == DownloadManager.PAUSED_QUEUED_FOR_WIFI) {
103 FailedDialogFragment.show(getFragmentManager(), id, reason);
160 public static void show(FragmentManager fm, long id, int reason) { argument
164 args.putInt(KEY_REASON, reason);
178 final int reason
[all...]
/packages/services/Telephony/src/com/android/phone/settings/
H A DCallForwardInfoUtil.java38 * Returns the first CallForwardInfo in infos which has the specified reason.
40 * @param reason The reason we want to find a CallForwardInfo for.
42 public static CallForwardInfo infoForReason(CallForwardInfo[] infos, int reason) { argument
49 if (infos[i].reason == reason) {
83 info.reason,
92 * object which disables the specified reason.
94 public static CallForwardInfo getCallForwardInfo(CallForwardInfo[] infos, int reason) { argument
104 // If there is no info, create a CallForwardInfo to disable this reason
[all...]
/packages/apps/Settings/src/com/android/settings/nfc/
H A DPaymentSettings.java189 public void onPackageAppeared(String packageName, int reason) { argument
194 public void onPackageDisappeared(String packageName, int reason) { argument
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationSyncDisabledTipView.java114 LogUtils.i(LOG_TAG, "Sync is off with reason %d", mReasonSyncOff);
155 private void setReasonSyncOff(int reason) { argument
156 if (mReasonSyncOff != reason) {
157 mReasonSyncOff = reason;
178 final String reason;
182 reason = "auto_sync_off";
186 reason = "account_sync_off";
189 reason = null;
192 Analytics.getInstance().sendEvent("list_swipe", "sync_disabled_tip", reason, 0);
/packages/services/Telephony/src/com/android/phone/
H A DCallForwardEditPreference.java39 int reason; field in class:CallForwardEditPreference
53 reason = a.getInt(R.styleable.CallForwardEditPreference_reason,
57 if (DBG) Log.d(LOG_TAG, "mServiceClass=" + mServiceClass + ", reason=" + reason);
69 mPhone.getCallForwardingOption(reason,
105 int time = (reason != CommandsInterface.CF_REASON_NO_REPLY) ? 0 : 20;
118 if (DBG) Log.d(LOG_TAG, "reason=" + reason + ", action=" + action
126 // should be action, reason...
128 reason,
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DBondStateMachine.java179 int reason = getUnbondReasonFromHALCode(msg.arg2);
180 sendIntent(dev, newState, reason);
305 private void sendIntent(BluetoothDevice device, int newState, int reason) { argument
319 intent.putExtra(BluetoothDevice.EXTRA_REASON, reason);
464 private int getUnbondReasonFromHALCode (int reason) { argument
465 if (reason == AbstractionLayer.BT_STATUS_SUCCESS)
467 else if (reason == AbstractionLayer.BT_STATUS_RMT_DEV_DOWN)
469 else if (reason == AbstractionLayer.BT_STATUS_AUTH_FAILURE)
471 else if (reason == AbstractionLayer.BT_STATUS_AUTH_REJECTED)
473 else if (reason
[all...]
/packages/apps/Camera2/src/com/android/camera/session/
H A DCaptureSession.java131 public void finishWithFailure(CharSequence reason); argument
H A DCaptureSessionManager.java58 public void onSessionFailed(Uri mediaUri, CharSequence reason); argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DNotificationImportExportListener.java280 * @param reason The reason why the import has failed. Shown in description field.
283 Context context, String reason) {
289 .setContentText(reason)
282 constructImportFailureNotification( Context context, String reason) argument
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothEventManager.java291 int reason = intent.getIntExtra(BluetoothDevice.EXTRA_REASON,
294 showUnbondMessage(context, cachedDevice.getName(), reason);
301 * @param reason one of the error reasons from
304 private void showUnbondMessage(Context context, String name, int reason) { argument
307 switch(reason) {
324 Log.w(TAG, "showUnbondMessage: Not displaying any message for reason: " + reason);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
H A DWifiSetupActivity.java167 public void onConnectToWifiCompleted(int reason) { argument
169 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason));
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DParser.java170 EasParserException(final String reason) { argument
171 super(reason);

Completed in 1129 milliseconds

12