/frameworks/base/services/java/com/android/server/content/ |
D | SyncOperation.java | 52 public final int reason; field in SyncOperation 65 public SyncOperation(Account account, int userId, int reason, int source, String authority, in SyncOperation() argument 70 this.reason = reason; in SyncOperation() 106 this.reason = other.reason; in SyncOperation() 140 sb.append(reasonToString(pm, reason)); in dump() 148 public static String reasonToString(PackageManager pm, int reason) { in reasonToString() argument 149 if (reason >= 0) { in reasonToString() 151 final String[] packages = pm.getPackagesForUid(reason); in reasonToString() 155 final String name = pm.getNameForUid(reason); in reasonToString() 159 return String.valueOf(reason); in reasonToString() [all …]
|
/frameworks/base/core/java/android/net/ |
D | MobileDataStateTracker.java | 198 String reason = intent.getStringExtra(PhoneConstants.STATE_CHANGE_REASON_KEY); in onReceive() local 211 ", reason=" + (reason == null ? "(unspecified)" : reason)); in onReceive() 221 setDetailedState(DetailedState.DISCONNECTED, reason, apnName); in onReceive() 230 setDetailedState(DetailedState.CONNECTING, reason, apnName); in onReceive() 233 setDetailedState(DetailedState.SUSPENDED, reason, apnName); in onReceive() 248 setDetailedState(DetailedState.CONNECTED, reason, apnName); in onReceive() 253 if (TextUtils.equals(reason, PhoneConstants.REASON_LINK_PROPERTIES_CHANGED)) { in onReceive() 261 mNetworkInfo.setDetailedState(mNetworkInfo.getDetailedState(), reason, in onReceive() local 279 String reason = intent.getStringExtra(PhoneConstants.FAILURE_REASON_KEY); in onReceive() local 283 " broadcast" + reason == null ? "" : "(" + reason + ")"); in onReceive() [all …]
|
D | DummyDataStateTracker.java | 136 private void setDetailedState(NetworkInfo.DetailedState state, String reason, in setDetailedState() argument 140 mNetworkInfo.setDetailedState(state, reason, extraInfo); in setDetailedState()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | TestPhoneNotifier.java | 51 public void notifyDataConnection(Phone sender, String reason, String apnType) { in notifyDataConnection() argument 54 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument 58 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() argument
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | LocalBroadcastManager.java | 243 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/core/java/android/os/ |
D | ParcelFormatException.java | 28 public ParcelFormatException(String reason) { in ParcelFormatException() argument 29 super(reason); in ParcelFormatException()
|
D | IPowerManager.aidl | 36 void goToSleep(long time, int reason); in goToSleep() argument 40 void reboot(boolean confirm, String reason, boolean wait); in reboot() argument
|
/frameworks/volley/src/com/android/volley/ |
D | NoConnectionError.java | 28 public NoConnectionError(Throwable reason) { in NoConnectionError() argument 29 super(reason); in NoConnectionError()
|
D | VolleyError.java | 39 public VolleyError(String exceptionMessage, Throwable reason) { in VolleyError() argument 40 super(exceptionMessage, reason); in VolleyError()
|
D | AuthFailureError.java | 46 public AuthFailureError(String message, Exception reason) { in AuthFailureError() argument 47 super(message, reason); in AuthFailureError()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | DefaultPhoneNotifier.java | 110 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument 112 doNotifyDataConnection(sender, reason, apnType, state); in notifyDataConnection() 115 private void doNotifyDataConnection(Phone sender, String reason, String apnType, in doNotifyDataConnection() argument 135 sender.isDataConnectivityPossible(apnType), reason, in doNotifyDataConnection() local 149 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType) { in notifyDataConnectionFailed() argument 151 mRegistry.notifyDataConnectionFailed(reason, apnType); in notifyDataConnectionFailed()
|
D | CallForwardInfo.java | 28 public int reason; /* from TS 27.007 7.11 "reason" */ field in CallForwardInfo 37 + " reason: " + reason in toString()
|
D | PhoneNotifier.java | 41 public void notifyDataConnection(Phone sender, String reason, String apnType, in notifyDataConnection() argument 44 public void notifyDataConnectionFailed(Phone sender, String reason, String apnType); in notifyDataConnectionFailed() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcTracker.java | 564 String reason = ""; in isDataAllowed() local 566 reason += " - gprs= " + gprsState; in isDataAllowed() 568 if (!recordsLoaded) reason += " - SIM not loaded"; in isDataAllowed() 571 reason += " - PhoneState= " + mPhone.getState(); in isDataAllowed() 572 reason += " - Concurrent voice and data not allowed"; in isDataAllowed() 574 if (!internalDataEnabled) reason += " - mInternalDataEnabled= false"; in isDataAllowed() 576 reason += " - Roaming and data roaming not enabled"; in isDataAllowed() 578 if (mIsPsRestricted) reason += " - mIsPsRestricted= true"; in isDataAllowed() 579 if (!desiredPowerState) reason += " - desiredPowerState= false"; in isDataAllowed() 580 if (DBG) log("isDataAllowed: not allowed due to" + reason); in isDataAllowed() [all …]
|
D | DcTrackerBase.java | 409 String reason = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON); in onActionIntentReconnectAlarm() local 415 log("onActionIntentReconnectAlarm: mState=" + mState + " reason=" + reason + in onActionIntentReconnectAlarm() 421 apnContext.setReason(reason); in onActionIntentReconnectAlarm() 615 protected abstract void gotoIdleAndNotifyDataConnection(String reason); in gotoIdleAndNotifyDataConnection() argument 617 protected abstract boolean onTrySetupData(String reason); in onTrySetupData() argument 628 protected abstract void onCleanUpConnection(boolean tearDown, int apnId, String reason); in onCleanUpConnection() argument 648 String reason = null; in handleMessage() local 650 reason = (String) msg.obj; in handleMessage() 652 onTrySetupData(reason); in handleMessage() 847 protected void notifyDataConnection(String reason) { in notifyDataConnection() argument [all …]
|
D | DcAsyncChannel.java | 387 public void tearDown(ApnContext apnContext, String reason, Message onCompletedMsg) { in tearDown() argument 390 + " reason=" + reason + " onCompletedMsg=" + onCompletedMsg); in tearDown() 393 new DisconnectParams(apnContext, reason, onCompletedMsg)); in tearDown() 403 public void tearDownAll(String reason, Message onCompletedMsg) { in tearDownAll() argument 404 if (DBG) log("tearDownAll: reason=" + reason + " onCompletedMsg=" + onCompletedMsg); in tearDownAll() 406 new DisconnectParams(null, reason, onCompletedMsg)); in tearDownAll()
|
D | ApnContext.java | 170 public synchronized void setReason(String reason) { in setReason() argument 172 log("set reason as " + reason + ",current state " + mState); in setReason() 174 mReason = reason; in setReason()
|
/frameworks/base/services/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 196 static void nativeReboot(JNIEnv *env, jclass clazz, jstring reason) { in nativeReboot() argument 197 if (reason == NULL) { in nativeReboot() 200 const char *chars = env->GetStringUTFChars(reason, NULL); in nativeReboot() 202 env->ReleaseStringUTFChars(reason, chars); // In case it fails. in nativeReboot()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderInternal.java | 87 public static void forceGc(String reason) { in forceGc() argument 88 EventLog.writeEvent(2741, reason); in forceGc()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephonyRegistry.aidl | 38 String reason, String apn, String apnType, in LinkProperties linkProperties, in notifyDataConnection() argument 40 void notifyDataConnectionFailed(String reason, String apnType); in notifyDataConnectionFailed() argument
|
/frameworks/base/services/java/com/android/server/power/ |
D | ShutdownThread.java | 183 public static void reboot(final Context context, String reason, boolean confirm) { in reboot() argument 186 mRebootReason = reason; in reboot() 284 String reason = (mReboot ? "1" : "0") + (mRebootReason != null ? mRebootReason : ""); in run() local 285 SystemProperties.set(SHUTDOWN_ACTION_PROPERTY, reason); in run() 490 public static void rebootOrShutdown(boolean reboot, String reason) { in rebootOrShutdown() argument 492 Log.i(TAG, "Rebooting, reason: " + reason); in rebootOrShutdown() 494 PowerManagerService.lowLevelReboot(reason); in rebootOrShutdown()
|
/frameworks/base/services/java/com/android/server/ |
D | TelephonyRegistry.java | 478 String reason, String apn, String apnType, LinkProperties linkProperties, in notifyDataConnection() argument 485 + isDataConnectivityPossible + " reason='" + reason in notifyDataConnection() 511 mDataConnectionReason = reason; in notifyDataConnection() 537 broadcastDataConnectionStateChanged(state, isDataConnectivityPossible, reason, apn, in notifyDataConnection() 541 public void notifyDataConnectionFailed(String reason, String apnType) { in notifyDataConnectionFailed() argument 559 broadcastDataConnectionFailed(reason, apnType); in notifyDataConnectionFailed() 703 String reason, String apn, String apnType, LinkProperties linkProperties, in broadcastDataConnectionStateChanged() argument 714 if (reason != null) { in broadcastDataConnectionStateChanged() 715 intent.putExtra(PhoneConstants.STATE_CHANGE_REASON_KEY, reason); in broadcastDataConnectionStateChanged() 734 private void broadcastDataConnectionFailed(String reason, String apnType) { in broadcastDataConnectionFailed() argument [all …]
|
/frameworks/base/services/java/com/android/server/display/ |
D | WifiDisplayController.java | 269 public void onFailure(int reason) { in updateWfdEnableState() 271 Slog.d(TAG, "Failed to set WFD info with reason " + reason + "."); in updateWfdEnableState() 326 public void onFailure(int reason) { in tryDiscoverPeers() 328 Slog.d(TAG, "Discover peers failed with reason " + reason + "."); in tryDiscoverPeers() 332 if (reason == 0 && mDiscoverPeersRetriesLeft > 0 && mWfdEnabled) { in tryDiscoverPeers() 511 public void onFailure(int reason) { in updateConnection() 513 + oldDevice.deviceName + ", reason=" + reason); in updateConnection() 549 public void onFailure(int reason) { in updateConnection() 551 + oldDevice.deviceName + ", reason=" + reason); in updateConnection() 607 public void onFailure(int reason) { in updateConnection() [all …]
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
D | KeyguardPasswordView.java | 77 public void onResume(int reason) { in onResume() argument 78 super.onResume(reason); in onResume() 80 if (reason != KeyguardSecurityView.SCREEN_ON || mShowImeAtScreenOn) { in onResume()
|
/frameworks/base/tests/BrowserTestPlugin/jni/ |
D | main.cpp | 43 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
|