/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/apps/TV/src/com/android/tv/menu/ |
H A D | IMenuView.java | 39 * @param reason A reason why this is called. See {@link MenuShowReason}. 40 * @param rowIdToSelect An ID of the row which corresponds to the {@code reason}. 42 void onShow(@MenuShowReason int reason, String rowIdToSelect, Runnable runnableAfterShow); argument
|
/packages/services/Telephony/src/com/android/services/telephony/ |
H A D | DisconnectCauseUtil.java | 35 * @param telephonyDisconnectCause The code for the reason for the disconnect. 38 return toTelecomDisconnectCause(telephonyDisconnectCause, null /* reason */); 47 * @param telephonyDisconnectCause The code for the reason for the disconnect. 48 * @param reason Description of the reason for the disconnect, not intended for the user to see.. 51 int telephonyDisconnectCause, String reason) { 57 toTelecomDisconnectReason(telephonyDisconnectCause, reason), 343 private static String toTelecomDisconnectReason(int telephonyDisconnectCause, String reason) { argument 345 if (reason == null) { 348 return reason 50 toTelecomDisconnectCause( int telephonyDisconnectCause, String reason) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
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); 124 final String reason = mContext.getString(R.string.no_scheduled_alarms); 125 notifyFailureAndLog(reason, mActivity); 143 final String reason = mContext.getString(R.string.no_label_specified); 144 notifyFailureAndLog(reason, mActivity); 156 final String reason = mContext.getString(R.string.no_alarms_with_label); 157 notifyFailureAndLog(reason, mActivit 176 notifyFailureAndLog(String reason, Activity activity) argument [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/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
H A D | TunerRecordingSession.java | 110 public void onRecordUnexpectedlyStopped(int reason) { argument 111 Log.w(TAG, "Notifying record failed: " + reason); 112 notifyError(reason);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
H A D | AddWifiNetworkActivity.java | 51 public void onConnectToWifiCompleted(int reason) { argument 53 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason));
|
H A D | SaveWifiConfigurationFragment.java | 90 public void onFailure(int reason) { argument
|
H A D | EditIpSettingsActivity.java | 72 public void onSaveWifiConfigurationCompleted(int reason) { argument 74 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason));
|
H A D | EditProxySettingsActivity.java | 72 public void onSaveWifiConfigurationCompleted(int reason) { argument 74 result.putString(FormPage.DATA_KEY_SUMMARY_STRING, Integer.toString(reason));
|
/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/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
H A D | TrampolineActivity.java | 49 private static final String KEY_REASON = "reason"; 62 final int reason; 69 reason = cursor.getInt(cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_REASON)); 81 Log.d(Constants.TAG, "Found " + id + " with status " + status + ", reason " + reason); 90 if (reason == DownloadManager.PAUSED_QUEUED_FOR_WIFI) { 107 FailedDialogFragment.show(getFragmentManager(), id, reason); 182 public static void show(FragmentManager fm, long id, int reason) { argument 186 args.putInt(KEY_REASON, reason); 200 final int reason [all...] |
/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...] |
/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/Settings/src/com/android/settings/wifi/ |
H A D | WifiApEnabler.java | 55 int reason = intent.getIntExtra(WifiManager.EXTRA_WIFI_AP_FAILURE_REASON, 57 handleWifiApStateChanged(state, reason); 156 private void handleWifiApStateChanged(int state, int reason) { argument 183 if (reason == WifiManager.SAP_START_FAILURE_NO_CHANNEL) {
|