Home
last modified time | relevance | path

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

12345

/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaDataConnectionTracker.java137 String reason = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON);
139 cleanUpConnection(false, reason);
141 trySetupData(reason);
313 private boolean trySetupData(String reason) { in trySetupData() argument
314 if (DBG) log("***trySetupData due to " + (reason == null ? "(unspecified)" : reason)); in trySetupData()
320 phone.notifyDataConnection(reason); in trySetupData()
341 return setupData(reason); in trySetupData()
373 private void cleanUpConnection(boolean tearDown, String reason) { in cleanUpConnection() argument
374 if (DBG) log("cleanUpConnection: reason: " + reason); in cleanUpConnection()
391 conn.disconnect(obtainMessage(EVENT_DISCONNECT_DONE, reason)); in cleanUpConnection()
[all …]
DCdmaInformationRecords.java191 int pi, int si, int reason) { in CdmaRedirectingNumberInfoRec() argument
194 redirectingReason = reason; in CdmaRedirectingNumberInfoRec()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmDataConnectionTracker.java175 String reason = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON);
179 msg.obj = (String) reason;
430 private boolean trySetupData(String reason) { in trySetupData() argument
431 if (DBG) log("***trySetupData due to " + (reason == null ? "(unspecified)" : reason)); in trySetupData()
439 phone.notifyDataConnection(reason); in trySetupData()
471 return setupData(reason); in trySetupData()
500 private void cleanUpConnection(boolean tearDown, String reason) { in cleanUpConnection() argument
501 if (DBG) log("Clean up connection due to " + reason); in cleanUpConnection()
517 conn.disconnect(obtainMessage(EVENT_DISCONNECT_DONE, reason)); in cleanUpConnection()
529 gotoIdleAndNotifyDataConnection(reason); in cleanUpConnection()
[all …]
/frameworks/base/core/java/android/os/
DPower.java101 public static void reboot(String reason) throws IOException in reboot() argument
103 rebootNative(reason); in reboot()
106 private static native void rebootNative(String reason) throws IOException ; in rebootNative() argument
DParcelFormatException.java28 public ParcelFormatException(String reason) { in ParcelFormatException() argument
29 super(reason); in ParcelFormatException()
DIPowerManager.aidl28 void goToSleepWithReason(long time, int reason); in goToSleepWithReason() argument
39 void reboot(String reason); in reboot() argument
DPowerManager.java507 public void reboot(String reason) in reboot() argument
510 mService.reboot(reason); in reboot()
/frameworks/base/core/jni/
Dandroid_os_Power.cpp86 static void android_os_Power_reboot(JNIEnv *env, jobject clazz, jstring reason) in android_os_Power_reboot() argument
90 if (reason == NULL) { in android_os_Power_reboot()
93 const char *chars = env->GetStringUTFChars(reason, NULL); in android_os_Power_reboot()
96 env->ReleaseStringUTFChars(reason, chars); // In case it fails. in android_os_Power_reboot()
/frameworks/base/core/java/android/net/
DMobileDataStateTracker.java160 String reason = intent.getStringExtra(Phone.STATE_CHANGE_REASON_KEY); in onReceive() local
194 (reason == null ? "(unspecified)" : reason) + in onReceive()
206 setDetailedState(DetailedState.DISCONNECTED, reason, apnName); in onReceive()
238 setDetailedState(DetailedState.CONNECTING, reason, apnName); in onReceive()
241 setDetailedState(DetailedState.SUSPENDED, reason, apnName); in onReceive()
252 setDetailedState(DetailedState.CONNECTED, reason, apnName); in onReceive()
259 String reason = intent.getStringExtra(Phone.FAILURE_REASON_KEY); in onReceive() local
262 reason == null ? "" : "(" + reason + ")"); in onReceive()
263 setDetailedState(DetailedState.FAILED, reason, apnName); in onReceive()
DNetworkStateTracker.java276 public void setDetailedState(NetworkInfo.DetailedState state, String reason, String extraInfo) { in setDetailedState() argument
286 if (wasConnecting && state == NetworkInfo.DetailedState.CONNECTED && reason == null in setDetailedState()
288 reason = lastReason; in setDetailedState()
289 mNetworkInfo.setDetailedState(state, reason, extraInfo); in setDetailedState()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallForwardInfo.java28 public int reason; /* from TS 27.007 7.11 "reason" */ field in CallForwardInfo
36 + " reason: " + reason in toString()
DPhoneNotifier.java36 public void notifyDataConnection(Phone sender, String reason); in notifyDataConnection() argument
38 public void notifyDataConnectionFailed(Phone sender, String reason); in notifyDataConnectionFailed() argument
DDefaultPhoneNotifier.java95 public void notifyDataConnection(Phone sender, String reason) { in notifyDataConnection() argument
100 sender.isDataConnectivityPossible(), reason, in notifyDataConnection() local
112 public void notifyDataConnectionFailed(Phone sender, String reason) { in notifyDataConnectionFailed() argument
114 mRegistry.notifyDataConnectionFailed(reason); in notifyDataConnectionFailed()
DITelephonyRegistry.aidl35 String reason, String apn, in String[] apnTypes, String interfaceName, int networkType, in notifyDataConnection() argument
37 void notifyDataConnectionFailed(String reason); in notifyDataConnectionFailed() argument
DDataConnectionTracker.java260 protected abstract boolean onTrySetupData(String reason); in onTrySetupData() argument
270 protected abstract void onCleanUpConnection(boolean tearDown, String reason); in onCleanUpConnection() argument
281 String reason = null; in handleMessage() local
283 reason = (String)msg.obj; in handleMessage()
285 onTrySetupData(reason); in handleMessage()
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestPhoneNotifier.java45 public void notifyDataConnection(Phone sender, String reason) { in notifyDataConnection() argument
48 public void notifyDataConnectionFailed(Phone sender, String reason) { in notifyDataConnectionFailed() argument
/frameworks/base/core/java/com/android/internal/app/
DShutdownThread.java132 public static void reboot(final Context context, String reason, boolean confirm) { in reboot() argument
134 mRebootReason = reason; in reboot()
209 String reason = (mReboot ? "1" : "0") + (mRebootReason != null ? mRebootReason : ""); in run() local
210 SystemProperties.set(SHUTDOWN_ACTION_PROPERTY, reason); in run()
352 public static void rebootOrShutdown(boolean reboot, String reason) { in rebootOrShutdown() argument
354 Log.i(TAG, "Rebooting, reason: " + reason); in rebootOrShutdown()
356 Power.reboot(reason); in rebootOrShutdown()
/frameworks/base/services/java/com/android/server/
DTelephonyRegistry.java355 String reason, String apn, String[] apnTypes, String interfaceName, int networkType, in notifyDataConnection() argument
361 + isDataConnectivityPossible + " reason=" + reason in notifyDataConnection()
366 mDataConnectionReason = reason; in notifyDataConnection()
382 broadcastDataConnectionStateChanged(state, isDataConnectivityPossible, reason, apn, in notifyDataConnection()
386 public void notifyDataConnectionFailed(String reason) { in notifyDataConnectionFailed() argument
404 broadcastDataConnectionFailed(reason); in notifyDataConnectionFailed()
546 String reason, String apn, String[] apnTypes, String interfaceName, String gateway) { in broadcastDataConnectionStateChanged() argument
556 if (reason != null) { in broadcastDataConnectionStateChanged()
557 intent.putExtra(Phone.STATE_CHANGE_REASON_KEY, reason); in broadcastDataConnectionStateChanged()
578 private void broadcastDataConnectionFailed(String reason) { in broadcastDataConnectionFailed() argument
[all …]
DIntentResolver.java516 String reason; in buildResolveList() local
518 case IntentFilter.NO_MATCH_ACTION: reason = "action"; break; in buildResolveList()
519 case IntentFilter.NO_MATCH_CATEGORY: reason = "category"; break; in buildResolveList()
520 case IntentFilter.NO_MATCH_DATA: reason = "data"; break; in buildResolveList()
521 case IntentFilter.NO_MATCH_TYPE: reason = "type"; break; in buildResolveList()
522 default: reason = "unknown reason"; break; in buildResolveList()
524 Slog.v(TAG, " Filter did not match: " + reason); in buildResolveList()
/frameworks/base/core/java/com/android/internal/os/
DBinderInternal.java88 public static void forceGc(String reason) { in forceGc() argument
89 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/app/
DIActivityWatcher.aidl26 void closingSystemDialogs(String reason); in closingSystemDialogs() argument
/frameworks/base/core/java/android/ddm/
DDdmHandleHello.java175 public static void sendWAIT(int reason) { in sendWAIT() argument
176 byte[] data = new byte[] { (byte) reason }; in sendWAIT()
/frameworks/base/core/java/android/view/
DIWindow.aidl58 void closeSystemDialogs(String reason); in closeSystemDialogs() argument
/frameworks/base/test-runner/src/android/test/
DTestRecorder.java157 public void failed(String className, String reason) { in failed() argument
161 map.put("exception", reason); in failed()

12345