/aosp12/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
H A D | NetworkState.java | 117 mReason = "no state is recorded."; 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() 210 mReason = str.toString(); in validateNetworkConnection() 214 mReason = str.toString(); in validateNetworkConnection() [all …]
|
/aosp12/frameworks/base/telephony/java/android/telephony/ |
H A D | CallForwardingInfo.java | 111 private int mReason; field in CallForwardingInfo 137 mReason = reason; in CallForwardingInfo() 159 return mReason; in getReason() 200 out.writeInt(mReason); in writeToParcel() 207 mReason = in.readInt(); in CallForwardingInfo() 225 && mReason == other.mReason in equals() 234 return Objects.hash(mEnabled, mNumber, mReason, mTimeSeconds); in hashCode() 256 + ", reason= " + mReason in toString()
|
/aosp12/frameworks/base/telecomm/java/android/telecom/ |
H A D | PhoneAccountSuggestion.java | 66 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()
|
/aosp12/packages/services/Telephony/src/com/android/services/telephony/rcs/validator/ |
H A D | IncomingTransportStateValidator.java | 46 private int mReason = SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED; field in IncomingTransportStateValidator 53 mReason = -1; in open() 62 mReason = reason; in close() 68 return new ValidationResult(mReason, in validate() 78 + SipDelegateManager.MESSAGE_FAILURE_REASON_STRING_MAP.getOrDefault(mReason, in toString() 79 String.valueOf(mReason)); in toString()
|
H A D | OutgoingTransportStateValidator.java | 66 private int mReason = SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED; field in OutgoingTransportStateValidator 81 mReason = -1; in open() 109 mReason = reason; in restrict() 118 mReason = reason; in close() 126 return new ValidationResult(mReason, "outgoing transport closed."); in validate() 147 + SipDelegateManager.MESSAGE_FAILURE_REASON_STRING_MAP.getOrDefault(mReason, in toString() 148 String.valueOf(mReason)) + ", allowed tags: " + mAllowedTags + ", restricted tags: " in toString() 226 return new ValidationResult(mReason, "empty call id"); in verifyRestrictedMessage() 230 return new ValidationResult(mReason, "call id " + callId + " is not associated with" in verifyRestrictedMessage()
|
/aosp12/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | FactoryResetter.java | 46 private final @Nullable String mReason; field in FactoryResetter 88 if (mReason == null) { in toString() 91 builder.append("reason='").append(mReason).append("'"); in toString() 116 + "wipeAdoptableStorage=%b, wipeFRP=%b", mReason, mShutdown, mForce, mWipeEuicc, in factoryResetInternalUnchecked() 141 RecoverySystem.rebootWipeUserData(mContext, mShutdown, mReason, mForce, mWipeEuicc); in factoryResetInternalUnchecked() 147 mReason = builder.mReason; in FactoryResetter() 169 private @Nullable String mReason; field in FactoryResetter.Builder 193 mReason = Objects.requireNonNull(reason); in setReason()
|
H A D | OneTimeSafetyChecker.java | 52 private final @OperationSafetyReason int mReason; field in OneTimeSafetyChecker 61 mReason = reason; in OneTimeSafetyChecker() 77 reason = mReason; in getUnsafeOperationReason() 100 boolean safe = mReason != reason; in isSafeOperation() 133 + ", reason=" + operationSafetyReasonToString(mReason) in toString()
|
/aosp12/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraAccessException.java | 97 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()
|
H A D | CaptureFailure.java | 61 private final int mReason; field in CaptureFailure 74 mReason = reason; in CaptureFailure() 133 return mReason; in getReason()
|
/aosp12/frameworks/base/telephony/java/android/telephony/ims/ |
H A D | RcsContactTerminatedReason.java | 32 private final String mReason; field in RcsContactTerminatedReason 36 mReason = reason; in RcsContactTerminatedReason() 41 mReason = in.readString(); in RcsContactTerminatedReason() 47 out.writeString(mReason); in writeToParcel() 73 return mReason; in getReason()
|
/aosp12/frameworks/base/core/java/android/app/admin/ |
H A D | UnsafeStateException.java | 44 private final @OperationSafetyReason int mReason; field in UnsafeStateException 54 mReason = reason; in UnsafeStateException() 71 return Arrays.asList(mReason); in getReasons() 77 return DevicePolicyManager.operationSafetyReasonToString(mReason); in getMessage() 88 dest.writeInt(mReason); in writeToParcel()
|
/aosp12/packages/modules/Connectivity/core/java/android/net/ |
H A D | NetworkInfo.java | 119 private String mReason; field in NetworkInfo 166 mReason = source.mReason; in NetworkInfo() 392 this.mReason = reason; in setDetailedState() 416 return mReason; in getReason() 438 append(", reason: ").append(mReason == null ? "(unspecified)" : mReason). in toString() 474 dest.writeString(mReason); in writeToParcel() 497 netInfo.mReason = in.readString();
|
/aosp12/frameworks/base/core/java/com/android/internal/app/ |
H A D | UnlaunchableAppActivity.java | 50 private int mReason; field in UnlaunchableAppActivity 60 mReason = intent.getIntExtra(EXTRA_UNLAUNCHABLE_REASON, -1); in onCreate() 72 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE) { in onCreate() 76 Log.wtf(TAG, "Invalid unlaunchable type: " + mReason); in onCreate() 85 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE) { in onCreate() 101 if (mReason == UNLAUNCHABLE_REASON_QUIET_MODE && which == DialogInterface.BUTTON_POSITIVE) { in onClick()
|
/aosp12/frameworks/base/media/java/android/media/metrics/ |
H A D | TrackChangeEvent.java | 60 private final int mReason; field in TrackChangeEvent 123 this.mReason = reason; in TrackChangeEvent() 153 return mReason; in getTrackChangeReason() 291 dest.writeInt(mReason); in writeToParcel() 333 this.mReason = reason; in TrackChangeEvent() 367 + "reason = " + mReason + ", " in toString() 390 && mReason == that.mReason in equals() 408 return Objects.hash(mState, mReason, mContainerMimeType, mSampleMimeType, mCodecName, in hashCode() 419 private int mReason = TRACK_CHANGE_REASON_UNKNOWN; field in TrackChangeEvent.Builder 466 mReason = value; in setTrackChangeReason() [all …]
|
/aosp12/packages/modules/Connectivity/framework/src/android/net/ |
H A D | NetworkInfo.java | 148 private String mReason; field in NetworkInfo 191 mReason = source.mReason; in NetworkInfo() 492 this.mReason = reason; in setDetailedState() 520 return mReason; in getReason() 544 append(", reason: ").append(mReason == null ? "(unspecified)" : mReason). in toString() 597 dest.writeString(mReason); in writeToParcel() 615 netInfo.mReason = in.readString();
|
/aosp12/frameworks/base/core/java/com/android/ims/internal/uce/presence/ |
H A D | PresResInstanceInfo.java | 48 private String mReason = ""; field in PresResInstanceInfo 93 return mReason; in getReason() 103 this.mReason = reason; in setReason() 160 dest.writeString(mReason); in writeToParcel() 189 mReason = source.readString(); in readFromParcel()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | ApplicationExitInfo.java | 388 private @Reason int mReason; field in ApplicationExitInfo 569 return mReason; in getReason() 793 mReason = reason; in setReason() 954 dest.writeInt(mReason); in writeToParcel() 990 mReason = other.mReason; in ApplicationExitInfo() 1014 mReason = in.readInt(); in ApplicationExitInfo() 1056 pw.println(prefix + " reason=" + mReason + " (" + reasonCodeToString(mReason) + ")"); in dump() 1080 sb.append(" reason=").append(mReason).append(" (") in toString() 1191 proto.write(ApplicationExitInfoProto.REASON, mReason); in writeToProto() 1282 && mConnectionGroup == o.mConnectionGroup && mReason == o.mReason in equals() [all …]
|
/aosp12/packages/apps/SecureElement/src/com/android/se/security/ |
H A D | ChannelAccess.java | 47 private String mReason = "no access by default"; field in ChannelAccess 55 ca.setAccess(mAccess, mReason); in clone() 97 mReason = reason; in setAccess() 117 return mReason; in getReason() 175 mReason = "Carrier-Privilege"; in setCarrierPrivilegeAccess() 202 sb.append(mReason); in toString()
|
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/restrictions/ |
H A D | JobRestriction.java | 38 private final int mReason; field in JobRestriction 44 mReason = reason; in JobRestriction() 74 return mReason; in getReason()
|
/aosp12/frameworks/base/services/core/java/com/android/server/power/ |
H A D | ShutdownThread.java | 88 private static String mReason; field in ShutdownThread 150 mReason = reason; in shutdown() 243 mReason = reason; in reboot() 264 mReason = null; in rebootSafeMode() 295 if (mReason != null && mReason.startsWith(PowerManager.REBOOT_RECOVERY_UPDATE)) { in showShutdownDialog() 317 } else if (mReason != null && mReason.equals(PowerManager.REBOOT_RECOVERY)) { in showShutdownDialog() 354 if (service.showShutdownUi(mReboot, mReason)) { in showSysuiReboot() 450 String reason = (mReboot ? "1" : "0") + (mReason != null ? mReason : ""); in run() 567 saveMetrics(mReboot, mReason); in run() 569 rebootOrShutdown(mContext, mReboot, mReason); in run()
|
/aosp12/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
H A D | MyNotificationListenerService.java | 85 private String mReason = null; field in MyNotificationListenerService.PendingIntentSender 93 if (mSentIntent != null || mReason != null) { in send() 98 + ") for reason '" + mReason + "' when requested another for '" + reason in send() 105 mReason = reason; in send()
|
/aosp12/frameworks/ex/common/java/com/android/common/ |
H A D | NetworkConnectivityListener.java | 48 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()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | FalsingClassifier.java | 167 private final String mReason; field in FalsingClassifier.Result 176 mReason = reason; in Result() 188 return String.format("{context=%s reason=%s}", mContext, mReason); in getReason()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
H A D | ForcedResizableInfoActivityController.java | 63 int mReason; field in ForcedResizableInfoActivityController.PendingTaskRecord 67 this.mReason = reason; in PendingTaskRecord() 125 intent.putExtra(EXTRA_FORCED_RESIZEABLE_REASON, pendingRecord.mReason); in showPending()
|
/aosp12/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecStandbyModeHandler.java | 45 private final int mReason; field in HdmiCecStandbyModeHandler.Aborter 47 mReason = reason; in Aborter() 51 mService.maySendFeatureAbortCommand(message, mReason); in handle()
|