Home
last modified time | relevance | path

Searched refs:mCode (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/libs/ui/include/ui/
DResult.h53 Error(ErrorCode err) : mCode(err) {} in Error()
55 Error(ErrorCode err, std::string&& message) : mCode(err), mMessage(std::move(message)) {} in Error()
56 Error(ErrorCode err, const std::string_view& message) : mCode(err), mMessage(message) {} in Error()
94 constexpr status_t asStatus() const { return codeToStatus(mCode); } in asStatus()
96 ErrorCode code() const { return mCode; } in code()
100 bool operator==(const ErrorCode code) { return mCode == code; }
103 ErrorCode mCode;
/frameworks/base/telephony/java/com/android/ims/
DImsException.java33 private int mCode; field in ImsException
40 mCode = code; in ImsException()
45 mCode = code; in ImsException()
54 return mCode; in getCode()
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonView.java56 private int mCode; field in KeyButtonView
73 mCode = KEYCODE_BACK; in KeyButtonView()
76 mCode = KEYCODE_UNKNOWN; in KeyButtonView()
94 return mCode != KEYCODE_UNKNOWN || super.isClickable(); in isClickable()
98 mCode = code; in setCode()
110 if (mCode != KEYCODE_UNKNOWN) { in onInitializeAccessibilityNodeInfo()
129 if (action == ACTION_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal()
136 } else if (action == ACTION_LONG_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal()
167 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
190 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonView.java75 private int mCode; field in KeyButtonView
138 if (mCode != KEYCODE_UNKNOWN) {
165 mCode = a.getInteger(R.styleable.KeyButtonView_keyCode, KEYCODE_UNKNOWN); in KeyButtonView()
189 return mCode != KEYCODE_UNKNOWN || super.isClickable(); in isClickable()
193 mCode = code; in setCode()
232 if (mCode != KEYCODE_UNKNOWN) { in onInitializeAccessibilityNodeInfo()
251 if (action == ACTION_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal()
257 } else if (action == ACTION_LONG_CLICK && mCode != KEYCODE_UNKNOWN) { in performAccessibilityActionInternal()
287 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
313 if (mCode != KEYCODE_UNKNOWN) { in onTouchEvent()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DQueryLocationException.java64 private int mCode = ERROR_UNSPECIFIED; field in QueryLocationException
73 dest.writeInt(mCode); in writeToParcel()
105 mCode = code; in QueryLocationException()
111 mCode = code; in QueryLocationException()
115 return mCode; in getCode()
DCallException.java75 private int mCode = CODE_ERROR_UNKNOWN; field in CallException
86 dest.writeInt(mCode); in writeToParcel()
126 mCode = code; in CallException()
134 return mCode; in getCode()
DCallEndpointException.java58 private int mCode = ERROR_UNSPECIFIED; field in CallEndpointException
69 dest.writeInt(mCode); in writeToParcel()
97 mCode = code; in CallEndpointException()
102 return mCode; in getCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResultCode.java191 private int mCode; field in ResultCode
194 mCode = code; in ResultCode()
203 return mCode; in value()
208 if (r.mCode == value) { in fromInt()
/frameworks/base/core/java/android/content/
DUriMatcher.java133 mCode = code; in UriMatcher()
141 mCode = NO_MATCH; in UriMatcher()
200 node.mCode = code; in addURI()
230 return this.mCode;
273 return node.mCode;
280 private int mCode;
/frameworks/base/telephony/java/android/telephony/ims/
DImsException.java77 private int mCode = CODE_ERROR_UNSPECIFIED; field in ImsException
97 mCode = code; in ImsException()
111 mCode = code; in ImsException()
118 return mCode; in getCode()
DImsReasonInfo.java1345 public int mCode; field in ImsReasonInfo
1359 mCode = CODE_UNSPECIFIED; in ImsReasonInfo()
1365 mCode = in.readInt(); in ImsReasonInfo()
1373 mCode = code; in ImsReasonInfo()
1379 mCode = code; in ImsReasonInfo()
1388 return mCode; in getCode()
1412 String imsCode = (sImsCodeMap.containsKey(mCode)) ? sImsCodeMap.get(mCode) : "UNKNOWN_CODE"; in toString()
1413 return "ImsReasonInfo :: {" + mCode + " : " + imsCode + ", " in toString()
1424 out.writeInt(mCode); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpItem.java24 private int mCode; field in AppOpItem
32 this.mCode = code; in AppOpItem()
45 return mCode; in getCode()
/frameworks/av/media/mtp/
DMtpProperty.h50 MtpPropertyCode mCode;
89 MtpPropertyCode getPropertyCode() const { return mCode; } in getPropertyCode()
108 return ( ((mCode & 0xF000) == 0x5000) in isDeviceProperty()
109 || ((mCode & 0xF800) == 0xD000)); in isDeviceProperty()
DMtpProperty.cpp34 : mCode(0), in MtpProperty()
56 : mCode(propCode), in MtpProperty()
133 if (!packet.getUInt16(mCode)) return false; in read()
185 packet.putUInt16(mCode); in write()
356 ALOGI(" %s (%04X)", MtpDebug::getDevicePropCodeName(mCode), mCode); in print()
358 ALOGI(" %s (%04X)", MtpDebug::getObjectPropCodeName(mCode), mCode); in print()
/frameworks/base/core/java/com/android/internal/os/
DBinderCallHeavyHitterWatcher.java167 public int mCode; field in BinderCallHeavyHitterWatcher.HeavyHitterContainer
186 this.mCode = other.mCode; in HeavyHitterContainer()
196 return this.mUid == o.mUid && this.mClass == o.mClass && this.mCode == o.mCode in equals()
202 return hashCode(mUid, mClass, mCode); in hashCode()
375 container.mCode = code; in onTransaction()
/frameworks/base/core/java/android/app/
DAppOpInfo.java129 private int mCode; field in AppOpInfo.Builder
145 this.mCode = code; in Builder()
152 this.mCode = value; in setCode()
208 return new AppOpInfo(mCode, mSwitchCode, mName, mSimpleName, mPermission, mRestriction, in build()
/frameworks/base/media/java/android/mtp/
DMtpPropertyList.java43 private int mCode; field in MtpPropertyList
46 mCode = code; in MtpPropertyList()
73 return mCode; in getCode()
/frameworks/native/libs/binder/include/binder/
DTextOutput.h93 uint32_t mCode;
178 inline TypeCode::TypeCode(uint32_t code) : mCode(code) { } in TypeCode()
180 inline uint32_t TypeCode::typeCode() const { return mCode; } in typeCode()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderHeavyHitterTest.java104 container.mCode = code; in newContainer()
145 watcher.onTransaction(container.mUid, container.mClass, container.mCode); in testPositive()
174 watcher.onTransaction(container.mUid, container.mClass, container.mCode); in testNegative()
/frameworks/base/services/core/java/com/android/server/wm/
DActivitySnapshotController.java258 private final int mCode; field in ActivitySnapshotController.LoadActivitySnapshotItem
265 mCode = code; in LoadActivitySnapshotItem()
273 final TaskSnapshot snapshot = mSnapshotLoader.loadTask(mCode, in write()
296 return mCode == other.mCode && mUserId == other.mUserId in equals()
302 return "LoadActivitySnapshotItem{code=" + mCode + ", UserId=" + mUserId + "}"; in toString()
DBackgroundActivityStartController.java567 private final @BalCode int mCode; field in BalVerdict
579 this.mCode = balCode; in BalVerdict()
589 return mCode == BAL_BLOCK; in blocks()
612 builder.append(balCodeToString(mCode)); in toString()
619 if (mCode == BAL_BLOCK) { in toString()
634 return mCode; in getRawCode()
638 if (mBasedOnRealCaller && mCode != BAL_BLOCK) { in getCode()
642 return mCode; in getCode()
1263 @BalCode int balCode = checkBackgroundActivityStartAllowedByCaller(state).mCode; in checkActivityAllowedToClearTask()
/frameworks/base/services/tests/RemoteProvisioningServiceTests/src/com/android/server/security/rkp/
DRemoteProvisioningShellCommandTest.java91 private int mCode; field in RemoteProvisioningShellCommandTest.CommandResult
96 mCode = code; in CommandResult()
102 return mCode; in getCode()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsUt.java629 AsyncResult.forMessage(result, null, new ImsException(errorString, error.mCode)); in sendFailureReport()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java689 proto.disconnectReasonCode = reasonInfo.mCode; in finishImsCall()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java116 mImsReasonInfo.mCode = 123; in setUp()

12