Searched refs:reason (Results 1 - 25 of 94) sorted by relevance

1234

/frameworks/base/core/java/android/os/
H A DParcelFormatException.java28 public ParcelFormatException(String reason) { argument
29 super(reason);
H A DIPowerManager.aidl36 void goToSleep(long time, int reason);
40 void reboot(boolean confirm, String reason, boolean wait);
/frameworks/support/volley/src/com/android/volley/
H A DNoConnectionError.java28 public NoConnectionError(Throwable reason) { argument
29 super(reason);
H A DVolleyError.java39 public VolleyError(String exceptionMessage, Throwable reason) { argument
40 super(exceptionMessage, reason);
H A DAuthFailureError.java46 public AuthFailureError(String message, Exception reason) { argument
47 super(message, reason);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCallForwardInfo.java28 public int reason; /* from TS 27.007 7.11 "reason" */ field in class:CallForwardInfo
36 + " reason: " + reason
H A DPhoneNotifier.java40 /** TODO - reason should never be null */
41 public void notifyDataConnection(Phone sender, String reason, String apnType, argument
44 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); argument
H A DDefaultPhoneNotifier.java106 public void notifyDataConnection(Phone sender, String reason, String apnType, argument
108 doNotifyDataConnection(sender, reason, apnType, state);
111 private void doNotifyDataConnection(Phone sender, String reason, String apnType, argument
131 sender.isDataConnectivityPossible(apnType), reason,
144 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { argument
146 mRegistry.notifyDataConnectionFailed(reason, apnType);
H A DApnContext.java177 public synchronized void setReason(String reason) { argument
179 log("set reason as " + reason + ",current state " + mState);
181 mReason = reason;
H A DDataConnectionTracker.java404 String reason = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON);
409 msg.obj = reason;
583 protected abstract void gotoIdleAndNotifyDataConnection(String reason); argument
585 protected abstract boolean onTrySetupData(String reason); argument
594 protected abstract void onCleanUpConnection(boolean tearDown, int apnId, String reason); argument
614 String reason = null;
616 reason = (String) msg.obj;
618 onTrySetupData(reason);
809 protected void notifyDataConnection(String reason) { argument
812 mPhone.notifyDataConnection(reason, apnIdToTyp
820 notifyApnIdUpToCurrent(String reason, int apnId) argument
841 notifyApnIdDisconnected(String reason, int apnId) argument
847 notifyOffApnsOfAvailability(String reason) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTestPhoneNotifier.java51 public void notifyDataConnection(Phone sender, String reason, String apnType) { argument
54 public void notifyDataConnection(Phone sender, String reason, String apnType, argument
58 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { argument
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardSecurityView.java51 * @param reason the root cause of the event.
53 void onResume(int reason); argument
H A DKeyguardPasswordView.java77 public void onResume(int reason) { argument
78 super.onResume(reason);
80 if (reason != KeyguardSecurityView.SCREEN_ON || mShowImeAtScreenOn) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaDataConnectionTracker.java239 String reason = "";
241 reason += " - psState= " + psState;
245 reason += " - RUIM not loaded";
249 reason += " - concurrentVoiceAndData not allowed and state= " + mPhone.getState();
251 if (roaming) reason += " - Roaming";
252 if (!internalDataEnabled) reason += " - mInternalDataEnabled= false";
253 if (!desiredPowerState) reason += " - desiredPowerState= false";
254 if (mPendingRestartRadio) reason += " - mPendingRestartRadio= true";
255 if (mCdmaPhone.needsOtaServiceProvisioning()) reason += " - needs Provisioning";
256 log("Data not allowed due to" + reason);
271 trySetupData(String reason) argument
308 cleanUpConnection(boolean tearDown, String reason, boolean doAll) argument
368 setupData(String reason) argument
401 notifyDefaultData(String reason) argument
435 retryAfterDisconnected(String reason) argument
444 reconnectAfterFail(FailCause lastFailCauseCode, String reason, int retryOverride) argument
468 startAlarmForReconnect(int delay, String reason) argument
489 gotoIdleAndNotifyDataConnection(String reason) argument
523 onTrySetupData(String reason) argument
703 onCleanUpConnection(boolean tearDown, int apnId, String reason) argument
868 startDelayedRetry(FailCause cause, String reason, int retryOverride) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBinderInternal.java87 public static void forceGc(String reason) { argument
88 EventLog.writeEvent(2741, reason);
/frameworks/base/core/java/android/net/
H A DMobileDataStateTracker.java200 String reason = intent.getStringExtra(PhoneConstants.STATE_CHANGE_REASON_KEY);
213 ", reason=" + (reason == null ? "(unspecified)" : reason));
223 setDetailedState(DetailedState.DISCONNECTED, reason, apnName);
232 setDetailedState(DetailedState.CONNECTING, reason, apnName);
235 setDetailedState(DetailedState.SUSPENDED, reason, apnName);
250 setDetailedState(DetailedState.CONNECTED, reason, apnName);
255 if (TextUtils.equals(reason, PhoneConstants.REASON_LINK_PROPERTIES_CHANGED)) {
262 // Just update reason fiel
398 setDetailedState(NetworkInfo.DetailedState state, String reason, String extraInfo) argument
[all...]
H A DDummyDataStateTracker.java131 * @param reason a {@code String} indicating a reason for the state change,
135 private void setDetailedState(NetworkInfo.DetailedState state, String reason, argument
139 mNetworkInfo.setDetailedState(state, reason, extraInfo);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DITelephonyRegistry.aidl38 String reason, String apn, String apnType, in LinkProperties linkProperties,
40 void notifyDataConnectionFailed(String reason, String apnType);
/frameworks/support/v4/java/android/support/v4/content/
H A DLocalBroadcastManager.java243 String reason;
245 case IntentFilter.NO_MATCH_ACTION: reason = "action"; break;
246 case IntentFilter.NO_MATCH_CATEGORY: reason = "category"; break;
247 case IntentFilter.NO_MATCH_DATA: reason = "data"; break;
248 case IntentFilter.NO_MATCH_TYPE: reason = "type"; break;
249 default: reason = "unknown reason"; break;
251 Log.v(TAG, " Filter did not match: " + reason);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmDataConnectionTracker.java131 String reason = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON);
138 log("onActionIntentReconnectAlarm: mState=" + mState + " reason=" + reason +
145 apnContext.setReason(reason);
502 private void notifyApnIdUpToCurrent(String reason, ApnContext apnContext, String type) { argument
509 mPhone.notifyDataConnection(reason, type, PhoneConstants.DataState.CONNECTING);
513 mPhone.notifyDataConnection(reason, type, PhoneConstants.DataState.CONNECTING);
514 mPhone.notifyDataConnection(reason, type, PhoneConstants.DataState.CONNECTED);
636 String reason = "";
638 reason
657 setupDataOnReadyApns(String reason) argument
704 trySetupData(String reason, String type) argument
784 notifyOffApnsOfAvailability(String reason) argument
809 cleanUpAllConnections(boolean tearDown, String reason) argument
1387 gotoIdleAndNotifyDataConnection(String reason) argument
1426 retryAfterDisconnected(String reason) argument
1675 onTrySetupData(String reason) argument
1973 onCleanUpConnection(boolean tearDown, int apnId, String reason) argument
2006 notifyDataConnection(String reason) argument
[all...]
/frameworks/base/core/java/android/view/
H A DIWindow.aidl61 void closeSystemDialogs(String reason);
/frameworks/base/services/java/com/android/server/display/
H A DWifiDisplayController.java259 public void onFailure(int reason) {
261 Slog.d(TAG, "Failed to set WFD info with reason " + reason + ".");
316 public void onFailure(int reason) {
318 Slog.d(TAG, "Discover peers failed with reason " + reason + ".");
322 if (reason == 0 && mDiscoverPeersRetriesLeft > 0 && mWfdEnabled) {
476 public void onFailure(int reason) {
478 + oldDevice.deviceName + ", reason=" + reason);
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java72 public void closeSystemDialogs(String reason) { argument
/frameworks/base/services/jni/
H A Dcom_android_server_power_PowerManagerService.cpp196 static void nativeReboot(JNIEnv *env, jclass clazz, jstring reason) { argument
197 if (reason == NULL) {
200 const char *chars = env->GetStringUTFChars(reason, NULL);
202 env->ReleaseStringUTFChars(reason, chars); // In case it fails.
/frameworks/base/tests/BrowserTestPlugin/jni/
H A Dmain.cpp43 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
50 void NPP_URLNotify(NPP instance, const char* URL, NPReason reason,
197 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason) argument
234 void NPP_URLNotify(NPP instance, const char* url, NPReason reason, void* notifyData) argument

Completed in 243 milliseconds

1234