Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java56 private final int mCode; field in ExpectedKeyOutput.Code
58 Code(final int code) { mCode = code; } in Code()
62 if (Constants.isLetterCode(mCode)) { in toUpperCase()
63 final String codeString = StringUtils.newSingleCodePointString(mCode); in toUpperCase()
74 return new CasePreservedCode(mCode); in preserveCase()
79 return StringUtils.codePointCount(text) == 1 && text.codePointAt(0) == mCode; in hasSameKeyOutput()
84 return mCode == key.getCode(); in hasSameKeyOutput()
89 return mCode == moreKeySpec.mCode; in hasSameKeyOutput()
94 return (output instanceof Code) && mCode == ((Code)output).mCode; in hasSameKeyOutput()
99 return Constants.isLetterCode(mCode) ? StringUtils.newSingleCodePointString(mCode) in toString()
[all …]
DActualKeyboardBuilder.java107 return toString(spec.mLabel, spec.mIconId, spec.mOutputText, spec.mCode); in stringize()
/packages/modules/Connectivity/tests/common/java/android/net/
DCaptivePortalTest.java45 int mCode = -1; field in CaptivePortalTest.MyCaptivePortalImpl
50 mCode = response; in appResponse()
55 mCode = request; in appRequest()
60 mCode = eventId; in logEvent()
79 assertEquals(result.mCode, CaptivePortal.APP_RETURN_DISMISSED); in testReportCaptivePortalDismissed()
85 assertEquals(result.mCode, CaptivePortal.APP_RETURN_UNWANTED); in testIgnoreNetwork()
91 assertEquals(result.mCode, CaptivePortal.APP_RETURN_WANTED_AS_IS); in testUseNetwork()
98 assertEquals(result.mCode, CaptivePortal.APP_REQUEST_REEVALUATION_REQUIRED); in testReevaluateNetwork()
118 assertEquals(result.mCode, 42); in testLogEvent_UntilR()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DMeasurementRegistrationResponseStats.java26 private final int mCode; field in MeasurementRegistrationResponseStats
41 mCode = builder.mCode; in MeasurementRegistrationResponseStats()
61 return mCode == that.mCode in equals()
79 mCode, in hashCode()
98 + mCode in toString()
127 return mCode; in getCode()
181 private final int mCode; field in MeasurementRegistrationResponseStats.Builder
208 mCode = code; in Builder()
DApiCallStats.java27 private int mCode; field in ApiCallStats
44 return mCode == apiCallStats.mCode in equals()
56 mCode, in hashCode()
66 return mCode; in getCode()
97 + mCode in toString()
124 mBuilding.mCode = code; in setCode()
DMeasurementOdpApiCallStats.java24 private int mCode; field in MeasurementOdpApiCallStats
36 return mCode == MeasurementOdpApiCallStats.getCode() in equals()
43 return Objects.hash(mCode, mLatency, mApiCallStatus); in hashCode()
47 return mCode; in getCode()
68 mBuilding.mCode = code; in setCode()
DMeasurementOdpRegistrationStats.java30 private int mCode; field in MeasurementOdpRegistrationStats
43 return mCode == measurementOdpRegistrationStats.getCode() in equals()
50 return Objects.hash(mCode, mRegistrationType, mRegistrationStatus); in hashCode()
54 return mCode; in getCode()
75 mBuilding.mCode = code; in setCode()
DMeasurementWipeoutStats.java25 private int mCode; field in MeasurementWipeoutStats
37 return mCode == measurementWipeoutStats.getCode() in equals()
44 return Objects.hash(mCode, mWipeoutType, mSourceRegistrant); in hashCode()
48 return mCode; in getCode()
69 mBuilding.mCode = code; in setCode()
DUIStats.java25 private int mCode; field in UIStats
41 return mCode == uiStats.getCode() in equals()
53 mCode, in hashCode()
64 return mCode; in getCode()
125 + mCode in toString()
151 mBuilding.mCode = code; in setCode()
DMeasurementDelayedSourceRegistrationStats.java25 private int mCode; field in MeasurementDelayedSourceRegistrationStats
39 return mCode == measurementDelayedSourceRegistrationStats.getCode() in equals()
50 return Objects.hash(mCode, mRegistrationStatus, mRegistrationDelay, mRegistrant); in hashCode()
54 return mCode; in getCode()
79 mBuilding.mCode = code; in setCode()
DMeasurementReportsStats.java27 private int mCode; field in MeasurementReportsStats
44 return mCode == measurementReportsStats.getCode() in equals()
57 mCode, in hashCode()
68 return mCode; in getCode()
113 mBuilding.mCode = code; in setCode()
DMeasurementAttributionStats.java25 private int mCode; field in MeasurementAttributionStats
48 return mCode == measurementAttributionStats.getCode() in equals()
70 mCode, in hashCode()
87 return mCode; in getCode()
152 mBuilding.mCode = code; in setCode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java48 public final int mCode; field in MoreKeySpec
68 mCode = Constants.CODE_OUTPUT_TEXT; in MoreKeySpec()
71 mCode = code; in MoreKeySpec()
82 return new Key(mLabel, mIconId, mCode, mOutputText, null /* hintLabel */, labelFlags, in buildKey()
90 hashCode = 31 + mCode; in hashCode()
106 return mCode == other.mCode in equals()
118 final String output = (mCode == Constants.CODE_OUTPUT_TEXT ? mOutputText in toString()
119 : Constants.printableCode(mCode)); in toString()
120 if (StringUtils.codePointCount(label) == 1 && label.codePointAt(0) == mCode) { in toString()
140 final int code = moreKey.mCode; in contains()
/packages/providers/MediaProvider/src/com/android/providers/media/leveldb/
DLevelDBResult.java27 private String mCode; field in LevelDBResult
37 return mCode; in getCode()
49 return SUCCESS_CODE.equals(mCode); in isSuccess()
53 return NOT_FOUND_CODE.equals(mCode); in isNotFound()
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/
DDTC.java51 private String mCode; field in DTC
72 this.mCode = code; in DTC()
88 this.mCode = code; in DTC()
103 this.mCode = in.readString(); in DTC()
111 return mCode; in getCode()
170 dest.writeString(this.mCode); in writeToParcel()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DStatus.h39 explicit Status(int code) : mCode(code) {} in Status()
42 Status(int code, std::string msg) : mCode(code), mMsg(std::move(msg)) { assert(!ok()); } in Status()
48 : mCode(result.ok() ? 0 : static_cast<int>(result.error().code())), in Status()
51 int code() const { return mCode; } in code()
64 int mCode = 0;
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/
DChatServiceException.java35 private int mCode = CODE_ERROR_UNSPECIFIED; field in ChatServiceException
53 mCode = code; in ChatServiceException()
67 mCode = code; in ChatServiceException()
85 return mCode; in getCode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java56 private final int mCode; field in Key
232 mCode = code; in Key()
377 mCode = mHintLabel.codePointAt(0); in Key()
379 mCode = mLabel.codePointAt(0); in Key()
385 mCode = CODE_OUTPUT_TEXT; in Key()
389 mCode = outputText.codePointAt(0); in Key()
392 mCode = CODE_OUTPUT_TEXT; in Key()
395 mCode = needsToUpcase ? StringUtils.toTitleCaseOfKeyCode(code, localeForUpcasing) in Key()
420 mCode = key.mCode; in Key()
472 key.mCode, in computeHashCode()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/stats/
DCallFailureCause.java41 private final int mCode; field in CallFailureCause
49 mCode = code; in CallFailureCause()
58 return mCode; in getCode()
/packages/services/Car/cpp/vhal/client/include/
DIVhalClient.h101 VhalClientError() : mCode(ErrorCode::OK) {} in VhalClientError()
103 VhalClientError(ErrorCode&& code) : mCode(code) {} in VhalClientError()
105 VhalClientError(const ErrorCode& code) : mCode(code) {} in VhalClientError()
108 mCode(statusCodeToErrorCode(code)) {} in VhalClientError()
111 mCode(statusCodeToErrorCode(code)) {} in VhalClientError()
122 ErrorCode mCode;
/packages/services/Car/cpp/vhal/client/src/
DIVhalClient.cpp115 return mCode; in value()
142 return VhalClientError::toString(mCode); in print()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DHttp.java289 private final int mCode; field in Http.HttpError
300 mCode = code; in HttpError()
307 return mCode; in getResponseCode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DMainKeyboardAccessibilityDelegate.java285 final int codePointOfNoPanelAutoMoreKey = key.getMoreKeys()[0].mCode; in performLongClickOn()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java45 Constants.printableCode(spec.mCode)); in assertParser()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DQnsImsManagerTest.java508 reason.mCode = ImsReasonInfo.CODE_SIP_BUSY; in triggerMmTelCallback_onUnregistered()
561 reason.mCode = ImsReasonInfo.CODE_SIP_BUSY; in triggerRcsCallback_onUnregistered()

12