Home
last modified time | relevance | path

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

/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountSuggestion.java66 private int mReason; field in PhoneAccountSuggestion
82 this.mReason = reason; in PhoneAccountSuggestion()
88 mReason = in.readInt(); in PhoneAccountSuggestion()
116 return mReason; in getReason()
137 dest.writeInt(mReason); in writeToParcel()
146 return mReason == that.mReason in equals()
153 return Objects.hash(mHandle, mReason, mShouldAutoSelect); in hashCode()
/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/telephony/java/android/telephony/
DCallForwardingInfo.java164 private int mReason; field in CallForwardingInfo
190 mReason = reason; in CallForwardingInfo()
216 return mReason; in getReason()
261 out.writeInt(mReason); in writeToParcel()
268 mReason = in.readInt(); in CallForwardingInfo()
286 && mReason == other.mReason in equals()
295 return Objects.hash(mStatus, mNumber, mReason, mTimeSeconds); in hashCode()
317 + ", reason= " + mReason in toString()
/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.java61 private final int mReason; field in CaptureFailure
73 mReason = reason; in CaptureFailure()
132 return mReason; in getReason()
/frameworks/base/core/java/com/android/internal/app/
DUnlaunchableAppActivity.java48 private int mReason; field in UnlaunchableAppActivity
58 mReason = intent.getIntExtra(EXTRA_UNLAUNCHABLE_REASON, -1); in onCreate()
70 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE) { in onCreate()
74 Log.wtf(TAG, "Invalid unlaunchable type: " + mReason); in onCreate()
83 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE) { in onCreate()
99 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE && which == DialogInterface.BUTTON_POSITIVE) { in onClick()
/frameworks/base/core/java/com/android/ims/internal/uce/presence/
DPresResInstanceInfo.java47 private String mReason = ""; field in PresResInstanceInfo
92 return mReason; in getReason()
102 this.mReason = reason; in setReason()
159 dest.writeString(mReason); in writeToParcel()
188 mReason = source.readString(); in readFromParcel()
/frameworks/base/core/java/android/net/
DNetworkInfo.java149 private String mReason; field in NetworkInfo
192 mReason = source.mReason; in NetworkInfo()
493 this.mReason = reason; in setDetailedState()
521 return mReason; in getReason()
545 append(", reason: ").append(mReason == null ? "(unspecified)" : mReason). in toString()
598 dest.writeString(mReason); in writeToParcel()
616 netInfo.mReason = in.readString();
/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/services/core/java/com/android/server/power/
DShutdownThread.java88 private static String mReason; field in ShutdownThread
147 mReason = reason; in shutdown()
236 mReason = reason; in reboot()
257 mReason = null; in rebootSafeMode()
288 if (mReason != null && mReason.startsWith(PowerManager.REBOOT_RECOVERY_UPDATE)) { in showShutdownDialog()
310 } else if (mReason != null && mReason.equals(PowerManager.REBOOT_RECOVERY)) { in showShutdownDialog()
345 if (service.showShutdownUi(mReboot, mReason)) { in showSysuiReboot()
436 String reason = (mReboot ? "1" : "0") + (mReason != null ? mReason : ""); in run()
545 saveMetrics(mReboot, mReason); in run()
547 rebootOrShutdown(mContext, mReboot, mReason); in run()
/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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyButtonViewTest.java85 public String mReason; in testMetrics()
99 mReason = "Expected " + field + " " + val2 + " but was " + val; in testMetrics()
107 return mReason; in testMetrics()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnContext.java66 private String mReason; field in ApnContext
330 mReason = reason; in setReason()
338 return mReason; in getReason()
364 return Phone.REASON_NW_TYPE_CHANGED.equals(mReason) || in isFastRetryReason()
365 Phone.REASON_APN_CHANGED.equals(mReason); in isFastRetryReason()
625 + "} mReason=" + mReason + " mDataEnabled=" + mDataEnabled + "}"; in toString()
DDataConnection.java237 String mReason; field in DataConnection.DisconnectParams
245 mReason = reason; in DisconnectParams()
253 + " mReason=" + mReason in toString()
815 if (TextUtils.equals(dp.mReason, Phone.REASON_RADIO_TURNED_OFF) in tearDownData()
816 || TextUtils.equals(dp.mReason, Phone.REASON_PDP_RESET)) { in tearDownData()
909 reason = dp.mReason; in notifyDisconnectCompleted()
2248 } else if (mDisconnectParams != null && mDisconnectParams.mReason != null) { in exit()
2249 reason = mDisconnectParams.mReason; in exit()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServiceEvents.java75 final String mReason; field in AudioServiceEvents.ForceUseEvent
80 mReason = reason; in ForceUseEvent()
88 .append(") due to ").append(mReason).toString(); in eventToString()
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/
DKeyRevocationList.java50 final String mReason; field in KeyRevocationList.RevocationStatus
54 mReason = reason; in RevocationStatus()
/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/
DKeyRevocationListTest.java124 Assert.assertEquals(revocationStatus.mReason, "reason for key1"); in testIsRevoked()
/frameworks/base/core/java/android/permission/
DPermissionControllerManager.java701 private final int mReason; field in PermissionControllerManager.PendingRevokeRuntimePermissionRequest
717 mReason = reason; in PendingRevokeRuntimePermissionRequest()
773 mDoDryRun, mReason, mCallingPackage, mRemoteCallback); in run()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java305 private final String mReason; field in VibratorService.VibrationInfo
316 mReason = reason; in VibrationInfo()
335 .append(mReason) in toString()
DBluetoothManagerService.java187 private int mReason; field in BluetoothManagerService.ActiveLog
193 mReason = reason; in ActiveLog()
201 + " due to " + getEnableDisableReasonString(mReason) + " by " + mPackageName; in toString()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java5392 private final int mReason;
5411 this.mReason = reason;
5422 mUserId, mMustHaveFlags, mMustNotHaveFlags, mReason, listenerName);
5441 if (mReason == REASON_CLICK) {
5455 if (mReason == REASON_CANCEL
5456 || mReason == REASON_CLICK
5457 || mReason == REASON_CANCEL_ALL) {
5469 r, mSendDelete, mReason, mRank, mCount, wasPosted, listenerName);
5475 if (mReason != REASON_SNOOZED) {
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java427 final String mReason; field in ActivityStack.ScheduleDestroyArgs
430 mReason = reason; in ScheduleDestroyArgs()
489 destroyActivitiesLocked(args.mOwner, args.mReason); in handleMessage()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt21559 Landroid/hardware/camera2/CameraAccessException;->mReason:I
21651 Landroid/hardware/camera2/CaptureFailure;->mReason:I
44470 Landroid/net/NetworkInfo;->mReason:Ljava/lang/String;
68923 Landroid/telephony/PreciseDataConnectionState;->mReason:Ljava/lang/String;
86520 Lcom/android/ims/internal/uce/presence/PresResInstanceInfo;->mReason:Ljava/lang/String;