/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
H A D | ResourceAcquisitionFailedException.java | 29 public ResourceAcquisitionFailedException(Exception reason) { argument 30 super(reason);
|
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
H A D | Profile.java | 38 public void mark(String reason); argument 46 * Stop the profile for a given reason. 48 public void stop(String reason); argument
|
H A D | LoggingProfile.java | 39 protected void onMark(double totalMillis, double lastMillis, String reason) { argument 40 mWriter.write(format(totalMillis, "MARK", lastMillis, reason)); 49 protected void onStop(double totalMillis, double lastMillis, String reason) { argument 50 mWriter.write(format(totalMillis, "END", lastMillis, reason));
|
H A D | GuardingProfile.java | 43 protected void onMark(double totalMillis, double lastMillis, String reason) { argument 45 mGuardWriter.write(format(totalMillis, "GUARD", lastMillis, reason)); 47 mVerboseWriter.write(format(totalMillis, "GUARD", lastMillis, reason)); 61 protected void onStop(double totalMillis, double lastMillis, String reason) { argument 62 onMark(totalMillis, lastMillis, reason);
|
H A D | ProfileBase.java | 53 public final void mark(String reason) { argument 55 onMark(getTotalMillis(time), getTimeFromLastMillis(time), reason); 67 public final void stop(String reason) { argument 69 onStop(getTotalMillis(time), getTimeFromLastMillis(time), reason); 86 * and a string reason at the end. 88 protected final String format(double totalMillis, String event, String reason) { argument 94 reason); 99 * a time since last event, and a string reason. 101 protected final String format(double totalMillis, String event, double lastMillis, String reason) { argument 108 reason); 120 onMark(double totalMillis, double lastMillis, String reason) argument 132 onStop(double totalMillis, double lastMillis, String reason) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
H A D | FatalErrorHandlerImpl.java | 44 Reason reason = Reason.MEDIA_STORAGE_FAILURE; 45 boolean finishActivity = reason.doesFinishActivity(); 46 CameraUtil.showError(mActivity, reason.getDialogMsgId(), reason.getFeedbackMsgId(), 60 Reason reason = Reason.CANNOT_CONNECT_TO_CAMERA; 61 boolean finishActivity = reason.doesFinishActivity(); 62 CameraUtil.showError(mActivity, reason.getDialogMsgId(), reason.getFeedbackMsgId(), 76 Reason reason = Reason.CANNOT_CONNECT_TO_CAMERA; 77 boolean finishActivity = reason 116 handleFatalError(Reason reason) argument [all...] |
H A D | FatalErrorHandler.java | 106 // TODO Use a more descriptive reason to distinguish between 154 public void handleFatalError(Reason reason); argument
|
/packages/services/Telephony/src/com/android/phone/settings/ |
H A D | CallForwardInfoUtil.java | 38 * 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...] |
H A D | VoicemailProviderSettings.java | 58 fi.reason = FORWARDING_SETTINGS_REASONS[i]; 59 fi.status = (fi.reason == CommandsInterface.CF_REASON_UNCONDITIONAL) ? 0 : 1; 117 || i1.reason != i2.reason
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | HandleDeskClockApiCalls.java | 140 final String reason = getString(R.string.stopwatch_already_running); 141 Voice.notifyFailure(this, reason); 142 LogUtils.i(reason); 145 final String reason = getString(R.string.stopwatch_cant_be_reset_because_is_running); 146 Voice.notifyFailure(this, reason); 147 LogUtils.i(reason); 154 final String reason = getString(R.string.stopwatch_isnt_running); 155 Voice.notifyFailure(this, reason); 156 LogUtils.i(reason); 161 final String reason; [all...] |
H A D | FetchMatchingAlarmsAction.java | 87 final String reason = mContext.getString(R.string.invalid_time, hour, minutes, 89 notifyFailureAndLog(reason, mActivity); 102 final String reason = mContext.getString(R.string.no_alarm_at, hour24, minutes); 103 notifyFailureAndLog(reason, mActivity); 110 final String reason = mContext.getString(R.string.no_scheduled_alarms); 111 notifyFailureAndLog(reason, mActivity); 129 final String reason = mContext.getString(R.string.no_label_specified); 130 notifyFailureAndLog(reason, mActivity); 142 final String reason = mContext.getString(R.string.no_alarms_with_label); 143 notifyFailureAndLog(reason, mActivit 162 notifyFailureAndLog(String reason, Activity activity) argument [all...] |
H A D | HandleApiCalls.java | 110 final String reason = context.getString(R.string.no_alarm_scheduled_for_this_time); 111 Voice.notifyFailure(activity, reason); 112 LogUtils.i(reason); 120 final String reason = context.getString(R.string.alarm_is_dismissed, time); 121 LogUtils.i(reason); 122 Voice.notifySuccess(activity, reason); 125 final String reason = context.getString( 127 Voice.notifyFailure(activity, reason); 128 LogUtils.i(reason); 148 final String reason [all...] |
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
H A D | TokenMgrError.java | 46 * 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 D | TokenMgrError.java | 46 * 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 D | TokenMgrError.java | 46 * 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/services/Telephony/src/org/apache/james/mime4j/field/address/parser/ |
H A D | TokenMgrError.java | 46 * 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/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/ |
H A D | TokenMgrError.java | 46 * 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/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/ |
H A D | TokenMgrError.java | 46 * 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/com/android/mail/ui/ |
H A D | ConversationSyncDisabledTipView.java | 114 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/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
H A D | TrampolineActivity.java | 49 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/ |
H A D | CallForwardEditPreference.java | 41 int reason; field in class:CallForwardEditPreference 55 reason = a.getInt(R.styleable.CallForwardEditPreference_reason, 59 if (DBG) Log.d(LOG_TAG, "mServiceClass=" + mServiceClass + ", reason=" + reason); 71 mPhone.getCallForwardingOption(reason, 107 int time = (reason != CommandsInterface.CF_REASON_NO_REPLY) ? 0 : 20; 120 if (DBG) Log.d(LOG_TAG, "reason=" + reason + ", action=" + action 128 // should be action, reason... 130 reason, [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
H A D | BondStateMachine.java | 184 int reason = getUnbondReasonFromHALCode(msg.arg2); 185 sendIntent(dev, newState, reason); 318 private void sendIntent(BluetoothDevice device, int newState, int reason) { argument 332 intent.putExtra(BluetoothDevice.EXTRA_REASON, reason); 479 private int getUnbondReasonFromHALCode (int reason) { argument 480 if (reason == AbstractionLayer.BT_STATUS_SUCCESS) 482 else if (reason == AbstractionLayer.BT_STATUS_RMT_DEV_DOWN) 484 else if (reason == AbstractionLayer.BT_STATUS_AUTH_FAILURE) 486 else if (reason == AbstractionLayer.BT_STATUS_AUTH_REJECTED) 488 else if (reason [all...] |
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | CheckSettingsErrorDialogFragment.java | 57 * @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) {
|
/packages/apps/Settings/src/com/android/settings/wifi/p2p/ |
H A D | WifiP2pSettings.java | 216 public void onFailure(int reason) { 237 public void onFailure(int reason) { 238 if (DBG) Log.d(TAG, " remove group fail " + reason); 257 public void onFailure(int reason) { 258 if (DBG) Log.d(TAG, " cancel connect fail " + reason); 280 public void onFailure(int reason) { 281 if (DBG) Log.d(TAG, " delete group fail " + reason); 414 public void onFailure(int reason) { 415 Log.e(TAG, " connect fail " + reason); 572 public void onFailure(int reason) { [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiApEnabler.java | 53 int reason = intent.getIntExtra(WifiManager.EXTRA_WIFI_AP_FAILURE_REASON, 55 handleWifiApStateChanged(state, reason); 152 private void handleWifiApStateChanged(int state, int reason) { argument 179 if (reason == WifiManager.SAP_START_FAILURE_NO_CHANNEL) {
|