Home
last modified time | relevance | path

Searched refs:mReason (Results 1 – 20 of 20) 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/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/telephony/java/com/android/ims/internal/uce/presence/
DPresResInstanceInfo.java46 private String mReason = ""; field in PresResInstanceInfo
91 return mReason; in getReason()
101 this.mReason = reason; in setReason()
158 dest.writeString(mReason); in writeToParcel()
187 mReason = source.readString(); in readFromParcel()
/frameworks/base/core/java/android/net/
DNetworkInfo.java146 private String mReason; field in NetworkInfo
180 mReason = source.mReason; in NetworkInfo()
479 this.mReason = reason; in setDetailedState()
507 return mReason; in getReason()
531 append(", reason: ").append(mReason == null ? "(unspecified)" : mReason). in toString()
558 dest.writeString(mReason); in writeToParcel()
576 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.java87 private static String mReason; field in ShutdownThread
146 mReason = reason; in shutdown()
235 mReason = reason; in reboot()
256 mReason = null; in rebootSafeMode()
287 if (mReason != null && mReason.startsWith(PowerManager.REBOOT_RECOVERY_UPDATE)) { in showShutdownDialog()
309 } else if (mReason != null && mReason.equals(PowerManager.REBOOT_RECOVERY)) { in showShutdownDialog()
344 if (service.showShutdownUi(mReboot, mReason)) { in showSysuiReboot()
435 String reason = (mReboot ? "1" : "0") + (mReason != null ? mReason : ""); in run()
535 saveMetrics(mReboot, mReason); in run()
537 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.java69 String mReason; field in ApnContext
318 mReason = reason; in setReason()
326 return mReason; in getReason()
352 return Phone.REASON_NW_TYPE_CHANGED.equals(mReason) || in isFastRetryReason()
353 Phone.REASON_APN_CHANGED.equals(mReason); in isFastRetryReason()
637 "} mReason=" + mReason + " mDataEnabled=" + mDataEnabled + " mDependencyMet=" + in toString()
DDataConnection.java221 String mReason; field in DataConnection.DisconnectParams
229 mReason = reason; in DisconnectParams()
237 + " mReason=" + mReason in toString()
726 if (TextUtils.equals(dp.mReason, Phone.REASON_RADIO_TURNED_OFF) in tearDownData()
727 || TextUtils.equals(dp.mReason, Phone.REASON_PDP_RESET)) { in tearDownData()
820 reason = dp.mReason; in notifyDisconnectCompleted()
1995 } else if (mDisconnectParams != null && mDisconnectParams.mReason != null) { in exit()
1996 reason = mDisconnectParams.mReason; in exit()
/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/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.java287 private final String mReason; field in VibratorService.VibrationInfo
298 mReason = reason; in VibrationInfo()
317 .append(mReason) in toString()
DBluetoothManagerService.java174 private int mReason; field in BluetoothManagerService.ActiveLog
180 mReason = reason; in ActiveLog()
188 + " due to " + getEnableDisableReasonString(mReason) + " by " + mPackageName; in toString()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java5203 private final int mReason;
5222 this.mReason = reason;
5233 mUserId, mMustHaveFlags, mMustNotHaveFlags, mReason, listenerName);
5252 if (mReason == REASON_CLICK) {
5266 r, mSendDelete, mReason, mRank, mCount, wasPosted, listenerName);
5272 if (mReason != REASON_SNOOZED) {
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStack.java424 final String mReason; field in ActivityStack.ScheduleDestroyArgs
427 mReason = reason; in ScheduleDestroyArgs()
486 destroyActivitiesLocked(args.mOwner, args.mReason); in handleMessage()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt23011 Landroid/hardware/camera2/CameraAccessException;->mReason:I
23108 Landroid/hardware/camera2/CaptureFailure;->mReason:I
47721 Landroid/net/NetworkInfo;->mReason:Ljava/lang/String;
73899 Landroid/telephony/PreciseDataConnectionState;->mReason:Ljava/lang/String;
92762 Lcom/android/ims/internal/uce/presence/PresResInstanceInfo;->mReason:Ljava/lang/String;