Home
last modified time | relevance | path

Searched refs:mReason (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java47 private String mReason = ""; field in PreciseDataConnectionState
63 mReason = reason; in PreciseDataConnectionState()
84 mReason = in.readString(); in PreciseDataConnectionState()
144 return mReason; in getDataConnectionChangeReason()
172 out.writeString(mReason); in writeToParcel()
197 result = prime * result + ((mReason == null) ? 0 : mReason.hashCode()); in hashCode()
246 if (mReason == null) { in equals()
247 if (other.mReason != null) { in equals()
250 } else if (!mReason.equals(other.mReason)) { in equals()
267 sb.append(", Change reason: " + mReason); in toString()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DNetworkState.java39 private String mReason = null; // record mReason of state transition failure field in NetworkState
117 mReason = "no state is recorded."; in validateNetworkStates()
121 mReason = "no broadcast is expected, instead broadcast is probably received"; in validateNetworkStates()
127 mReason = String.format("%s is expected, but it is %s", in validateNetworkStates()
146 mReason = str.toString(); in validateNetworkDisconnection()
153 mReason = str.toString(); in validateNetworkDisconnection()
169 mReason = str.toString(); in validateNetworkDisconnection()
173 mReason = str.toString(); in validateNetworkDisconnection()
187 mReason = str.toString(); in validateNetworkConnection()
194 mReason = str.toString(); in validateNetworkConnection()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCameraAccessException.java97 private final int mReason; field in CameraAccessException
108 return mReason; in getReason()
113 mReason = problem; in CameraAccessException()
118 mReason = problem; in CameraAccessException()
123 mReason = problem; in CameraAccessException()
128 mReason = problem; in CameraAccessException()
DCaptureFailure.java60 private final int mReason; field in CaptureFailure
71 mReason = reason; in CaptureFailure()
129 return mReason; in getReason()
/frameworks/base/telephony/java/com/android/ims/internal/uce/presence/
DPresResInstanceInfo.java45 private String mReason = ""; field in PresResInstanceInfo
88 return mReason; in getReason()
97 this.mReason = reason; in setReason()
151 dest.writeString(mReason); in writeToParcel()
180 mReason = source.readString(); in readFromParcel()
/frameworks/base/core/java/android/net/
DNetworkInfo.java119 private String mReason; field in NetworkInfo
151 mReason = source.mReason; in NetworkInfo()
360 this.mReason = reason; in setDetailedState()
384 return mReason; in getReason()
405 append(", reason: ").append(mReason == null ? "(unspecified)" : mReason). in toString()
432 dest.writeString(mReason); in writeToParcel()
450 netInfo.mReason = in.readString();
/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java57 private int mReason; field in UnlaunchableAppActivity
67 mReason = intent.getIntExtra(EXTRA_UNLAUNCHABLE_REASON, -1); in onCreate()
79 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE) { in onCreate()
83 Log.wtf(TAG, "Invalid unlaunchable type: " + mReason); in onCreate()
97 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE) { in onCreate()
113 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE && which == DialogInterface.BUTTON_POSITIVE) { in onClick()
/frameworks/ex/common/java/com/android/common/
DNetworkConnectivityListener.java48 private String mReason; field in NetworkConnectivityListener
88 mReason = intent.getStringExtra(ConnectivityManager.EXTRA_REASON); in onReceive()
158 mReason = null; in stopListening()
223 return mReason; in getReason()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java66 public String mReason; in testMetrics()
80 mReason = "Expected " + field + " " + val2 + " but was " + val; in testMetrics()
88 return mReason; in testMetrics()
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java96 private static String mReason; field in ShutdownThread
157 mReason = reason; in shutdown()
246 mReason = reason; in reboot()
267 mReason = null; in rebootSafeMode()
298 if (mReason != null && mReason.startsWith(PowerManager.REBOOT_RECOVERY_UPDATE)) { in showShutdownDialog()
320 } else if (mReason != null && mReason.equals(PowerManager.REBOOT_RECOVERY)) { in showShutdownDialog()
355 if (service.showShutdownUi(mReboot, mReason)) { in showSysuiReboot()
441 String reason = (mReboot ? "1" : "0") + (mReason != null ? mReason : ""); in run()
591 rebootOrShutdown(mContext, mReboot, mReason); in run()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServiceEvents.java74 final String mReason; field in AudioServiceEvents.ForceUseEvent
79 mReason = reason; in ForceUseEvent()
87 .append(") due to ").append(mReason).toString(); in eventToString()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecStandbyModeHandler.java45 private final int mReason; field in HdmiCecStandbyModeHandler.Aborter
47 mReason = reason; in Aborter()
51 mService.maySendFeatureAbortCommand(message, mReason); in handle()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java66 String mReason; field in ApnContext
310 mReason = reason; in setReason()
318 return mReason; in getReason()
345 return Phone.REASON_NW_TYPE_CHANGED.equals(mReason) || in isFastRetryReason()
346 Phone.REASON_APN_CHANGED.equals(mReason); in isFastRetryReason()
699 "} mReason=" + mReason + " mDataEnabled=" + mDataEnabled + " mDependencyMet=" + in toString()
DDataConnection.java138 String mReason; field in DataConnection.DisconnectParams
143 mReason = reason; in DisconnectParams()
150 + " mReason=" + mReason in toString()
494 if (TextUtils.equals(dp.mReason, Phone.REASON_RADIO_TURNED_OFF)) { in tearDownData()
496 } else if (TextUtils.equals(dp.mReason, Phone.REASON_PDP_RESET)) { in tearDownData()
598 reason = dp.mReason; in notifyDisconnectCompleted()
1593 } else if (mDisconnectParams != null && mDisconnectParams.mReason != null) { in exit()
1594 reason = mDisconnectParams.mReason; in exit()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java369 final String mReason; field in ActivityStack.ScheduleDestroyArgs
372 mReason = reason; in ScheduleDestroyArgs()
431 destroyActivitiesLocked(args.mOwner, args.mReason); in handleMessage()