Home
last modified time | relevance | path

Searched refs:getCode (Results 1 – 25 of 102) sorted by relevance

12345

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/
DGrpcResponse.java43 && (mStatus.getCode() == Code.UNAVAILABLE in hasRecoverableError()
44 || mStatus.getCode() == Code.UNKNOWN in hasRecoverableError()
45 || mStatus.getCode() == Code.INVALID_ARGUMENT in hasRecoverableError()
46 || mStatus.getCode() == Code.PERMISSION_DENIED in hasRecoverableError()
47 || mStatus.getCode() == Code.DEADLINE_EXCEEDED in hasRecoverableError()
48 || mStatus.getCode() == Code.RESOURCE_EXHAUSTED in hasRecoverableError()
49 || mStatus.getCode() == Code.ABORTED in hasRecoverableError()
50 || mStatus.getCode() == Code.DATA_LOSS in hasRecoverableError()
51 || mStatus.getCode() == Code.UNAUTHENTICATED); in hasRecoverableError()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
DTranscriptionResponse.java41 return status.getCode() == Status.Code.UNAVAILABLE; in hasRecoverableError()
49 return status.getCode() == Code.ALREADY_EXISTS; in isStatusAlreadyExists()
57 return status.getCode() != Status.Code.OK && status.getCode() != Status.Code.UNAVAILABLE; in hasFatalError()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DDynamicGridKeyboard.java69 if (key.getCode() == code) { in getTemplateKey()
138 keys.add(key.getCode()); in saveRecentKeys()
149 if (key.getCode() == code) { in getKeyByCode()
254 if (getCode() != key.getCode()) return false; in equals()
DEmojiCategory.java423 if (lhs.getCode() == rhs.getCode()) {
426 return lhs.getCode() < rhs.getCode() ? -1 : 1;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java256 (key == null ? "none" : Constants.printableCode(key.getCode())), in callListenerOnPressAndCheckKeyboardLayoutChange()
265 sListener.onPressKey(key.getCode(), repeatCount, getActivePointerTrackerCount() == 1); in callListenerOnPressAndCheckKeyboardLayoutChange()
729 if (!sInGesture && key != null && Character.isLetter(key.getCode()) in onGestureMoveEvent()
799 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processPhantomSuddenMoveHack()
800 x, y, Constants.printableCode(key.getCode()))); in processPhantomSuddenMoveHack()
818 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processProximateBogusDownMoveUpEventHack()
819 x, y, Constants.printableCode(key.getCode()))); in processProximateBogusDownMoveUpEventHack()
827 callListenerOnRelease(oldKey, oldKey.getCode(), true /* withSliding */); in processDraggingFingerOutFromOldKey()
981 callListenerOnRelease(currentKey, currentKey.getCode(), true /* withSliding */); in onUpEventInternal()
995 && (currentKey.getCode() == currentRepeatingKeyCode) && !isInDraggingFinger) { in onUpEventInternal()
[all …]
DProximityInfo.java100 return key.getCode() >= Constants.CODE_SPACE; in needsProximityInfo()
128 proximityCharsArray[infoIndex] = neighborKey.getCode(); in createNativeProximityInfo()
169 keyCharCodes[infoIndex] = key.getCode(); in createNativeProximityInfo()
210 Constants.printableCode(key.getCode()))); in createNativeProximityInfo()
384 final int code = key.getCode(); in fillArrayWithNearestKeyCodes()
DKeyDetector.java109 || key.getCode() > primaryKey.getCode()) { in detectHitKey()
DKeyboardLayout.java60 mKeyCodes[i] = Character.toLowerCase(key.getCode()); in KeyboardLayout()
117 if (key.getCode() != ',') { in newKeyboardLayout()
/packages/services/Telecomm/src/com/android/server/telecom/stats/
DCallStateChangedAtomWriter.java50 mDisconnectCause.getCode() : DisconnectCause.UNKNOWN, in write()
59 mStartFailCause.getCode() : CallFailureCause.NONE.getCode()); in write()
/packages/services/Telephony/src/com/android/phone/
DImsRcsController.java145 throw new ServiceSpecificException(e.getCode()); in registerImsRegistrationCallback()
247 throw new ServiceSpecificException(e.getCode()); in registerRcsAvailabilityCallback()
299 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in isCapable()
329 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in isAvailable()
354 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in requestCapabilities()
379 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in requestAvailability()
407 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in getUcePublishState()
567 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in registerUcePublishStateCallback()
651 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in isSipDelegateSupported()
697 throw new ServiceSpecificException(e.getCode(), e.getMessage()); in createSipDelegate()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DDisconnectCauseUtilTest.java92 assertEquals(android.telecom.DisconnectCause.ERROR, tcCause.getCode()); in testDropDueToWifiLoss()
107 assertEquals(android.telecom.DisconnectCause.ERROR, tcCause.getCode()); in testDefaultDisconnectCauseBehaviorForCauseNotInCarrierBusyToneArray()
239 assertEquals(android.telecom.DisconnectCause.BUSY, disconnectCause.getCode()); in assertBusyCauseWithTargetLabel()
287 assertEquals(android.telecom.DisconnectCause.ERROR, tcCause.getCode()); in testIccError()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DUceControllerManagerTest.java143 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testRequestCapabilitiesWithRcsUnavailable()
193 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testRequestNetworkAvailabilityWithRcsUnavailable()
220 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testGetPublishStateWithRcsUnavailable()
247 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testRegisterPublishStateCallbackWithRcsUnavailable()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DMeasurementOdpApiCallStats.java36 return mCode == MeasurementOdpApiCallStats.getCode() in equals()
46 public int getCode() { in getCode() method in MeasurementOdpApiCallStats
DMeasurementOdpRegistrationStats.java43 return mCode == measurementOdpRegistrationStats.getCode() in equals()
53 public int getCode() { in getCode() method in MeasurementOdpRegistrationStats
DMeasurementWipeoutStats.java37 return mCode == measurementWipeoutStats.getCode() in equals()
47 public int getCode() { in getCode() method in MeasurementWipeoutStats
DMeasurementDelayedSourceRegistrationStats.java39 return mCode == measurementDelayedSourceRegistrationStats.getCode() in equals()
53 public int getCode() { in getCode() method in MeasurementDelayedSourceRegistrationStats
DStatsdAdServicesLogger.java140 measurementReportsStats.getCode(), in logMeasurementReports()
155 apiCallStats.getCode(), in logApiCallStats()
167 uiStats.getCode(), in logUIStats()
211 stats.getCode(), in logMeasurementRegistrationsResponseSize()
435 measurementAttributionStats.getCode(), in logMeasurementAttributionStats()
455 measurementWipeoutStats.getCode(), in logMeasurementWipeoutStats()
464 measurementDelayedSourceRegistrationStats.getCode(), in logMeasurementDelayedSourceRegistrationStats()
494 stats.getCode(), stats.getRegistrationType(), stats.getRegistrationStatus()); in logMeasurementOdpRegistrations()
499 AdServicesStatsLog.write(stats.getCode(), stats.getLatency(), stats.getApiCallStatus()); in logMeasurementOdpApiCall()
DMeasurementReportsStats.java44 return mCode == measurementReportsStats.getCode() in equals()
67 public int getCode() { in getCode() method in MeasurementReportsStats
DUIStats.java41 return mCode == uiStats.getCode() in equals()
63 public int getCode() { in getCode() method in UIStats
DMeasurementAttributionStats.java48 return mCode == measurementAttributionStats.getCode() in equals()
86 public int getCode() { in getCode() method in MeasurementAttributionStats
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/
DDefaultErrorDialog.java34 && (disconnectCause.getCode() == DisconnectCause.ERROR in shouldShow()
35 || disconnectCause.getCode() == DisconnectCause.RESTRICTED); in shouldShow()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DTimerHandler.java93 obtainMessage(MSG_REPEAT_KEY, key.getCode(), repeatCount, tracker), delay); in startKeyRepeatTimerOf()
117 final int messageId = (key.getCode() == Constants.CODE_SHIFT) in startLongPressTimerOf()
152 final int typedCode = typedKey.getCode(); in startTypingStateTimer()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/leveldb/
DLevelDBManagerTest.java80 assertThat(levelDBResult.getCode()).isNotNull(); in verifySuccessResult()
81 assertThat(levelDBResult.getCode()).isEqualTo(SUCCESS_CODE); in verifySuccessResult()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/wfc/
DWfcActivationHelper.java322 imsReasonInfo.getCode(), in onUnregistered()
342 imsReasonInfo.getCode(), in onTechnologyChangeFailed()
350 if (imsReasonInfo.getCode() == ImsReasonInfo.CODE_EPDG_TUNNEL_ESTABLISH_FAILURE) { in isIkev2AuthFailure()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyOutput.java84 return mCode == key.getCode(); in hasSameKeyOutput()
139 return key.getCode() == Constants.CODE_OUTPUT_TEXT in hasSameKeyOutput()

12345