Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 244) sorted by relevance

12345678910

/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaDataConnectionTracker.java239 String reason = ""; in isDataAllowed() local
241 reason += " - psState= " + psState; in isDataAllowed()
245 reason += " - RUIM not loaded"; in isDataAllowed()
249 reason += " - concurrentVoiceAndData not allowed and state= " + mPhone.getState(); in isDataAllowed()
251 if (roaming) reason += " - Roaming"; in isDataAllowed()
252 if (!internalDataEnabled) reason += " - mInternalDataEnabled= false"; in isDataAllowed()
253 if (!desiredPowerState) reason += " - desiredPowerState= false"; in isDataAllowed()
254 if (mPendingRestartRadio) reason += " - mPendingRestartRadio= true"; in isDataAllowed()
255 if (mCdmaPhone.needsOtaServiceProvisioning()) reason += " - needs Provisioning"; in isDataAllowed()
256 log("Data not allowed due to" + reason); in isDataAllowed()
[all …]
/frameworks/base/core/java/android/net/
DMobileDataStateTracker.java196 String reason = intent.getStringExtra(Phone.STATE_CHANGE_REASON_KEY); in onReceive() local
209 ", reason=" + (reason == null ? "(unspecified)" : reason)); in onReceive()
219 setDetailedState(DetailedState.DISCONNECTED, reason, apnName); in onReceive()
228 setDetailedState(DetailedState.CONNECTING, reason, apnName); in onReceive()
231 setDetailedState(DetailedState.SUSPENDED, reason, apnName); in onReceive()
246 setDetailedState(DetailedState.CONNECTED, reason, apnName); in onReceive()
251 if (TextUtils.equals(reason, Phone.REASON_LINK_PROPERTIES_CHANGED)) { in onReceive()
258 mNetworkInfo.setDetailedState(mNetworkInfo.getDetailedState(), reason, in onReceive() local
276 String reason = intent.getStringExtra(Phone.FAILURE_REASON_KEY); in onReceive() local
280 " broadcast" + reason == null ? "" : "(" + reason + ")"); in onReceive()
[all …]
DDummyDataStateTracker.java131 private void setDetailedState(NetworkInfo.DetailedState state, String reason, in setDetailedState() argument
135 mNetworkInfo.setDetailedState(state, reason, extraInfo); in setDetailedState()
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestPhoneNotifier.java48 public void notifyDataConnection(Phone sender, String reason, String apnType) { in notifyDataConnection() argument
51 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument
55 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() argument
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataConnectionTracker.java479 String reason = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON); in onActionIntentReconnectAlarm() local
484 msg.obj = reason; in onActionIntentReconnectAlarm()
654 protected abstract void gotoIdleAndNotifyDataConnection(String reason); in gotoIdleAndNotifyDataConnection() argument
656 protected abstract boolean onTrySetupData(String reason); in onTrySetupData() argument
665 protected abstract void onCleanUpConnection(boolean tearDown, int apnId, String reason); in onCleanUpConnection() argument
688 String reason = null; in handleMessage() local
690 reason = (String) msg.obj; in handleMessage()
692 onTrySetupData(reason); in handleMessage()
879 protected void notifyDataConnection(String reason) { in notifyDataConnection() argument
882 mPhone.notifyDataConnection(reason, apnIdToType(id)); in notifyDataConnection()
[all …]
DDefaultPhoneNotifier.java104 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument
106 doNotifyDataConnection(sender, reason, apnType, state); in notifyDataConnection()
109 private void doNotifyDataConnection(Phone sender, String reason, String apnType, in doNotifyDataConnection() argument
129 sender.isDataConnectivityPossible(apnType), reason, in doNotifyDataConnection() local
142 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() argument
144 mRegistry.notifyDataConnectionFailed(reason, apnType); in notifyDataConnectionFailed()
DCallForwardInfo.java28 public int reason; /* from TS 27.007 7.11 "reason" */ field in CallForwardInfo
36 + " reason: " + reason in toString()
DPhoneNotifier.java39 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument
42 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); in notifyDataConnectionFailed() argument
DDataConnection.java95 public DisconnectParams(String reason, Message onCompletedMsg) { in DisconnectParams() argument
96 this.reason = reason; in DisconnectParams()
100 public String reason; field in DataConnection.DisconnectParams
300 if (TextUtils.equals(dp.reason, Phone.REASON_RADIO_TURNED_OFF)) { in tearDownData()
302 } else if (TextUtils.equals(dp.reason, Phone.REASON_PDP_RESET)) { in tearDownData()
354 String reason = null; in notifyDisconnectCompleted() local
362 reason = dp.reason; in notifyDisconnectCompleted()
373 if (reason != null) a.setReason(reason); in notifyDisconnectCompleted()
1198 public void tearDown(String reason, Message onCompletedMsg) { in tearDown() argument
1199 sendMessage(obtainMessage(EVENT_DISCONNECT, new DisconnectParams(reason, onCompletedMsg))); in tearDown()
[all …]
DITelephonyRegistry.aidl38 String reason, String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnection() argument
40 void notifyDataConnectionFailed(String reason, String apnType); in notifyDataConnectionFailed() argument
DApnContext.java174 public synchronized void setReason(String reason) { in setReason() argument
176 log("set reason as " + reason + ",current state " + mState); in setReason()
178 mReason = reason; in setReason()
/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java243 String reason; in sendBroadcast() local
245 case IntentFilter.NO_MATCH_ACTION: reason = "action"; break; in sendBroadcast()
246 case IntentFilter.NO_MATCH_CATEGORY: reason = "category"; break; in sendBroadcast()
247 case IntentFilter.NO_MATCH_DATA: reason = "data"; break; in sendBroadcast()
248 case IntentFilter.NO_MATCH_TYPE: reason = "type"; break; in sendBroadcast()
249 default: reason = "unknown reason"; break; in sendBroadcast()
251 Log.v(TAG, " Filter did not match: " + reason); in sendBroadcast()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmDataConnectionTracker.java153 String reason = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON); in onActionIntentReconnectAlarm() local
160 apnContext.setReason(reason); in onActionIntentReconnectAlarm()
504 private void notifyApnIdUpToCurrent(String reason, ApnContext apnContext, String type) { in notifyApnIdUpToCurrent() argument
511 mPhone.notifyDataConnection(reason, type, Phone.DataState.CONNECTING); in notifyApnIdUpToCurrent()
515 mPhone.notifyDataConnection(reason, type, Phone.DataState.CONNECTING); in notifyApnIdUpToCurrent()
516 mPhone.notifyDataConnection(reason, type, Phone.DataState.CONNECTED); in notifyApnIdUpToCurrent()
635 String reason = ""; in isDataAllowed() local
637 reason += " - gprs= " + gprsState; in isDataAllowed()
639 if (!mPhone.mIccRecords.getRecordsLoaded()) reason += " - SIM not loaded"; in isDataAllowed()
642 reason += " - PhoneState= " + mPhone.getState(); in isDataAllowed()
[all …]
/frameworks/base/core/java/android/os/
DParcelFormatException.java28 public ParcelFormatException(String reason) { in ParcelFormatException() argument
29 super(reason); in ParcelFormatException()
DIPowerManager.aidl30 void goToSleepWithReason(long time, int reason); in goToSleepWithReason() argument
42 void reboot(String reason); in reboot() argument
/frameworks/support/volley/src/com/android/volley/
DNoConnectionError.java28 public NoConnectionError(Throwable reason) { in NoConnectionError() argument
29 super(reason); in NoConnectionError()
DVolleyError.java39 public VolleyError(String exceptionMessage, Throwable reason) { in VolleyError() argument
40 super(exceptionMessage, reason); in VolleyError()
DAuthFailureError.java46 public AuthFailureError(String message, Exception reason) { in AuthFailureError() argument
47 super(message, reason); in AuthFailureError()
/frameworks/base/services/java/com/android/server/
DTelephonyRegistry.java416 String reason, String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument
423 + isDataConnectivityPossible + " reason='" + reason in notifyDataConnection()
448 mDataConnectionReason = reason; in notifyDataConnection()
474 broadcastDataConnectionStateChanged(state, isDataConnectivityPossible, reason, apn, in notifyDataConnection()
478 public void notifyDataConnectionFailed(String reason, String apnType) { in notifyDataConnectionFailed() argument
496 broadcastDataConnectionFailed(reason, apnType); in notifyDataConnectionFailed()
634 String reason, String apn, String apnType, LinkProperties linkProperties, in broadcastDataConnectionStateChanged() argument
644 if (reason != null) { in broadcastDataConnectionStateChanged()
645 intent.putExtra(Phone.STATE_CHANGE_REASON_KEY, reason); in broadcastDataConnectionStateChanged()
664 private void broadcastDataConnectionFailed(String reason, String apnType) { in broadcastDataConnectionFailed() argument
[all …]
DIntentResolver.java560 String reason; in buildResolveList() local
562 case IntentFilter.NO_MATCH_ACTION: reason = "action"; break; in buildResolveList()
563 case IntentFilter.NO_MATCH_CATEGORY: reason = "category"; break; in buildResolveList()
564 case IntentFilter.NO_MATCH_DATA: reason = "data"; break; in buildResolveList()
565 case IntentFilter.NO_MATCH_TYPE: reason = "type"; break; in buildResolveList()
566 default: reason = "unknown reason"; break; in buildResolveList()
568 Slog.v(TAG, " Filter did not match: " + reason); in buildResolveList()
/frameworks/base/services/jni/
Dcom_android_server_PowerManagerService.cpp199 static void nativeReboot(JNIEnv *env, jobject clazz, jstring reason) { in nativeReboot() argument
200 if (reason == NULL) { in nativeReboot()
203 const char *chars = env->GetStringUTFChars(reason, NULL); in nativeReboot()
205 env->ReleaseStringUTFChars(reason, chars); // In case it fails. in nativeReboot()
/frameworks/base/services/java/com/android/server/pm/
DShutdownThread.java178 public static void reboot(final Context context, String reason, boolean confirm) { in reboot() argument
181 mRebootReason = reason; in reboot()
279 String reason = (mReboot ? "1" : "0") + (mRebootReason != null ? mRebootReason : ""); in run() local
280 SystemProperties.set(SHUTDOWN_ACTION_PROPERTY, reason); in run()
487 public static void rebootOrShutdown(boolean reboot, String reason) { in rebootOrShutdown() argument
489 Log.i(TAG, "Rebooting, reason: " + reason); in rebootOrShutdown()
491 PowerManagerService.lowLevelReboot(reason); in rebootOrShutdown()
/frameworks/base/core/java/com/android/internal/os/
DBinderInternal.java87 public static void forceGc(String reason) { in forceGc() argument
88 EventLog.writeEvent(2741, reason); in forceGc()
/frameworks/base/tests/BrowserTestPlugin/jni/
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) in NPP_DestroyStream() argument
234 void NPP_URLNotify(NPP instance, const char* url, NPReason reason, void* notifyData) in NPP_URLNotify() argument
/frameworks/base/core/java/android/server/
DBluetoothBondState.java135 public synchronized void setBondState(String address, int state, int reason) { in setBondState() argument
136 if (DBG) Log.d(TAG, "setBondState " + "address" + " " + state + "reason: " + reason); in setBondState()
170 + " (" + reason + ")"); in setBondState()
177 if (reason <= 0) { in setBondState()
180 reason = BluetoothDevice.UNBOND_REASON_REMOVED; in setBondState()
182 intent.putExtra(BluetoothDevice.EXTRA_REASON, reason); in setBondState()

12345678910