Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/android/telephony/
DCallForwardingInfo.java111 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()
/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/services/core/java/com/android/server/display/brightness/
DBrightnessReason.java65 private int mReason; field in BrightnessReason
75 setReason(other == null ? REASON_UNKNOWN : other.mReason); in set()
95 return other.mReason == mReason && other.mModifier == mModifier; in equals()
100 return Objects.hash(mReason, mModifier); in hashCode()
117 sb.append(reasonToString(mReason)); in toString()
161 this.mReason = reason; in setReason()
166 return mReason; in getReason()
DBrightnessEvent.java48 private BrightnessReason mReason = new BrightnessReason(); field in BrightnessEvent
88 mReason.set(that.getReason()); in copyFrom()
121 mReason = new BrightnessReason(); in reset()
160 return mReason.equals(that.mReason) in equalsMainData()
215 + ", reason=" + mReason.toString(mAdjustmentFlags) in toString()
227 return mReason; in getReason()
231 this.mReason = reason; in setReason()
/frameworks/base/tests/Internal/src/com/android/internal/os/
DTimeoutRecordTest.java49 assertEquals(record.mReason, in forBroadcastReceiver_returnsCorrectTimeoutRecord()
63 assertEquals(record.mReason, in forBroadcastReceiver_withPackageAndClass_returnsCorrectTimeoutRecord()
78 assertEquals(record.mReason, in forBroadcastReceiver_withTimeoutDurationMs_returnsCorrectTimeoutRecord()
90 assertEquals(record.mReason, in forInputDispatchNoFocusedWindow_returnsCorrectTimeoutRecord()
101 assertEquals(record.mReason, "Test ANR reason"); in forInputDispatchWindowUnresponsive_returnsCorrectTimeoutRecord()
111 assertEquals(record.mReason, "executing service com.app.MyService, waited 1000ms"); in forServiceExec_returnsCorrectTimeoutRecord()
121 assertEquals(record.mReason, "Test ANR reason"); in forServiceStartWithEndTime_returnsCorrectTimeoutRecord()
132 assertEquals(record.mReason, "Test ANR reason"); in forContentProvider_returnsCorrectTimeoutRecord()
142 assertEquals(record.mReason, "Test ANR reason"); in forApp_returnsCorrectTimeoutRecord()
/frameworks/base/telephony/java/android/telephony/ims/feature/
DConnectionFailureInfo.java94 private final @FailureReason int mReason; field in ConnectionFailureInfo
108 mReason = in.readInt(); in ConnectionFailureInfo()
124 mReason = reason; in ConnectionFailureInfo()
133 return mReason; in getReason()
156 String reason = sReasonMap.get(mReason, "UNKNOWN"); in toString()
157 return "ConnectionFailureInfo :: {" + mReason + " : " + reason + ", " in toString()
168 out.writeInt(mReason); in writeToParcel()
/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
74 mReason = reason; in CaptureFailure()
133 return mReason; in getReason()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsContactTerminatedReason.java32 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()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DFactoryResetter.java51 private final @Nullable String mReason; field in FactoryResetter
95 if (mReason == null) { in toString()
98 builder.append("reason='").append(mReason).append("'"); in toString()
123 + "wipeAdoptableStorage=%b, wipeFRP=%b", mReason, mShutdown, mForce, mWipeEuicc, in factoryResetInternalUnchecked()
148 RecoverySystem.rebootWipeUserData(mContext, mShutdown, mReason, mForce, mWipeEuicc); in factoryResetInternalUnchecked()
154 mReason = builder.mReason; in FactoryResetter()
176 private @Nullable String mReason; field in FactoryResetter.Builder
200 mReason = Objects.requireNonNull(reason); in setReason()
DOneTimeSafetyChecker.java52 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()
/frameworks/base/core/java/android/app/admin/
DUnsafeStateException.java44 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()
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessLowLuxModifier.java55 private int mReason; field in BrightnessLowLuxModifier
110 || mReason != reason in recalculateLowerBound()
113 mReason = reason; in recalculateLowerBound()
118 + ", mReason: " + (mReason) in recalculateLowerBound()
141 return mReason; in getBrightnessReason()
166 return mReason; in getModifier()
178 stateBuilder.getBrightnessReason().addModifier(mReason); in apply()
197 pw.println(" mReason=" + mReason); in dump()
/frameworks/ex/camera2/extensions/service_based_sample/oem_library/src/java/androidx/camera/extensions/impl/service/
DCaptureFailureWrapper.java32 private int mReason; field in CaptureFailureWrapper
40 mReason = captureFailure.getReason(); in CaptureFailureWrapper()
49 mReason = parcel.readInt(); in CaptureFailureWrapper()
64 parcel.writeInt(mReason); in writeToParcel()
85 return new CaptureFailure(mRequest, mReason, mWasImageCaptured, mSequenceId, in toCaptureFailure()
/frameworks/base/core/java/com/android/ims/internal/uce/presence/
DPresResInstanceInfo.java48 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()
/frameworks/base/core/java/com/android/internal/app/
DSetScreenLockDialogActivity.java70 private @LaunchReason int mReason; field in SetScreenLockDialogActivity
84 mReason = intent.getIntExtra(EXTRA_LAUNCH_REASON, LAUNCH_REASON_UNKNOWN); in onCreate()
87 if (mReason == LAUNCH_REASON_UNKNOWN) { in onCreate()
88 Log.e(TAG, "Invalid launch reason: " + mReason); in onCreate()
103 Log.d(TAG, "Launching screen lock setup dialog due to " + mReason); in onCreate()
138 if (mReason == LAUNCH_REASON_PRIVATE_SPACE_SETTINGS_ACCESS) { in setLaunchUserSpecificMessage()
DUnlaunchableAppActivity.java54 private int mReason; field in UnlaunchableAppActivity
66 mReason = intent.getIntExtra(EXTRA_UNLAUNCHABLE_REASON, -1); in onCreate()
89 if (mReason != UNLAUNCHABLE_REASON_QUIET_MODE) { in onCreate()
90 Log.wtf(TAG, "Invalid unlaunchable type: " + mReason); in onCreate()
136 if (mReason != UNLAUNCHABLE_REASON_QUIET_MODE) { in onClick()
/frameworks/base/media/java/android/media/metrics/
DTrackChangeEvent.java60 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 …]
/frameworks/base/services/core/java/com/android/server/pm/
DSystemDeleteException.java20 final PackageManagerException mReason; field in SystemDeleteException
23 mReason = reason; in SystemDeleteException()
/frameworks/base/core/java/android/app/
DApplicationExitInfo.java530 private @Reason int mReason; field in ApplicationExitInfo
731 return mReason; in getReason()
970 mReason = reason; in setReason()
1149 dest.writeInt(mReason); in writeToParcel()
1185 mReason = other.mReason; in ApplicationExitInfo()
1211 mReason = in.readInt(); in ApplicationExitInfo()
1263 .append(" reason=").append(mReason) in dump()
1264 .append(" (").append(reasonCodeToString(mReason)).append(")") in dump()
1294 sb.append(" reason=").append(mReason).append(" (") in toString()
1295 .append(reasonCodeToString(mReason)).append(")"); in toString()
[all …]
DApplicationStartInfo.java250 private @StartReason int mReason; field in ApplicationStartInfo
402 mReason = reason; in setReason()
559 return mReason; in getReason()
657 dest.writeInt(mReason); in writeToParcel()
683 mReason = other.mReason; in ApplicationStartInfo()
699 mReason = in.readInt(); in ApplicationStartInfo()
752 proto.write(ApplicationStartInfoProto.REASON, mReason); in writeToProto()
824 mReason = proto.readInt(ApplicationStartInfoProto.REASON); in readFromProto()
893 .append(" reason=").append(reasonToString(mReason)) in dump()
949 && mDefiningUid == o.mDefiningUid && mReason == o.mReason
[all …]
/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/src/com/android/systemui/classifier/
DFalsingClassifier.java172 private final String mReason; field in FalsingClassifier.Result
181 mReason = reason; in Result()
193 return String.format("{context=%s reason=%s}", mContext, mReason); in getReason()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipPerfHintController.java121 private final String mReason; field in PipPerfHintController.PipHighPerfSession
131 mReason = reason; in PipHighPerfSession()
155 return "[" + super.toString() + "] initially started due to: " + mReason; in toString()

12