Home
last modified time | relevance | path

Searched refs:msgId (Results 1 – 25 of 32) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/util/
H A DIndicationHelper.kt35 (isPrimaryAuthRequired() && !isFingerprintLockoutErrorMsg(msgId)) ||
36 msgId == BiometricFingerprintConstants.FINGERPRINT_ERROR_CANCELED ||
40 (isPrimaryAuthRequired() && !isFaceLockoutErrorMsg(msgId)) ||
41 msgId == BiometricFaceConstants.FACE_ERROR_CANCELED ||
42 msgId == BiometricFaceConstants.FACE_ERROR_UNABLE_TO_PROCESS
47 private fun isFingerprintLockoutErrorMsg(msgId: Int): Boolean {
48 return msgId == BiometricFingerprintConstants.FINGERPRINT_ERROR_LOCKOUT ||
49 msgId == BiometricFingerprintConstants.FINGERPRINT_ERROR_LOCKOUT_PERMANENT
52 fun isFaceLockoutErrorMsg(msgId: Int): Boolean {
53 return msgId == BiometricFaceConstants.FACE_ERROR_LOCKOUT ||
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
H A DFaceAuthenticationModels.kt37 val msgId: Int,
56 val msgId: Int,
66 msgId == FaceManager.FACE_ERROR_LOCKOUT_PERMANENT || msgId == FaceManager.FACE_ERROR_LOCKOUT
72 fun isCancellationError() = msgId == FaceManager.FACE_ERROR_CANCELED
76 msgId == FaceManager.FACE_ERROR_HW_UNAVAILABLE ||
77 msgId == FaceManager.FACE_ERROR_UNABLE_TO_PROCESS
H A DFingerprintAuthenticationModels.kt36 val msgId: Int,
49 val msgId: Int,
55 return msgId == FingerprintManager.FINGERPRINT_ERROR_LOCKOUT ||
56 msgId == FingerprintManager.FINGERPRINT_ERROR_LOCKOUT_PERMANENT
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSimPukView.java56 int msgId = isDefault ? R.string.kg_password_default_puk_message : in getPukPasswordErrorMessage() local
58 displayMessage = icuMessageFormat(getResources(), msgId, attemptsRemaining); in getPukPasswordErrorMessage()
60 int msgId = isDefault ? R.string.kg_puk_enter_puk_hint : in getPukPasswordErrorMessage() local
62 displayMessage = getContext().getString(msgId); in getPukPasswordErrorMessage()
H A DKeyguardSimPinViewController.java239 int msgId; in getPinPasswordErrorMessage() local
244 msgId = isDefault ? R.string.kg_password_default_pin_message : in getPinPasswordErrorMessage()
246 displayMessage = icuMessageFormat(mView.getResources(), msgId, attemptsRemaining); in getPinPasswordErrorMessage()
248 msgId = isDefault ? R.string.kg_sim_pin_instructions : R.string.kg_password_pin_failed; in getPinPasswordErrorMessage()
249 displayMessage = mView.getResources().getString(msgId); in getPinPasswordErrorMessage()
H A DKeyguardUpdateMonitorCallback.java238 public void onBiometricHelp(int msgId, String helpString, in onBiometricHelp() argument
249 public void onBiometricError(int msgId, String errString, in onBiometricError() argument
H A DKeyguardUpdateMonitor.java1105 if (msgId == FingerprintManager.FINGERPRINT_ERROR_CANCELED in handleFingerprintError()
1136 if (msgId == FingerprintManager.FINGERPRINT_ERROR_LOCKOUT in handleFingerprintError()
1147 mLogger.logFingerprintError(msgId, errString); in handleFingerprintError()
1332 private void handleFaceHelp(int msgId, String helpString) { in handleFaceHelp() argument
1333 if (mFaceAcquiredInfoIgnoreList.contains(msgId)) { in handleFaceHelp()
1340 cb.onBiometricHelp(msgId, helpString, FACE); in handleFaceHelp()
1352 mLogger.logFaceAuthError(msgId, originalErrMsg); in handleFaceError()
1362 if (msgId == FaceManager.FACE_ERROR_CANCELED in handleFaceError()
1383 if (msgId == FaceManager.FACE_ERROR_LOCKOUT_PERMANENT) { in handleFaceError()
1398 cb.onBiometricError(msgId, errString, in handleFaceError()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
H A DTestHandler.java131 int msgId = msg.message.what; in dispatch() local
133 if (!hasMessages(msgId)) { in dispatch()
139 Integer pendingMsgCount = mPendingMsgTypeCounts.getOrDefault(msgId, 0); in dispatch()
141 removeMessages(msgId); in dispatch()
143 mPendingMsgTypeCounts.put(msgId, pendingMsgCount - 1); in dispatch()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/
H A DControlsSettingsDialogManager.kt214 msgId: Int,
217 setButton(DialogInterface.BUTTON_NEUTRAL, context.getText(msgId), listener)
221 msgId: Int,
224 setButton(DialogInterface.BUTTON_POSITIVE, context.getText(msgId), listener)
227 private fun AlertDialog.setMessage(msgId: Int) {
228 setMessage(context.getText(msgId))
/aosp14/frameworks/base/telephony/common/com/google/android/mms/pdu/
H A DPduPersister.java610 if (msgId == -1L) { in load()
615 loadAddress(msgId, headers); in load()
937 persistAddress(msgId, type, array); in updateAddress()
1211 long msgId = -1; in persist() local
1213 msgId = ContentUris.parseId(uri); in persist()
1217 boolean existingUri = msgId != -1; in persist()
1399 msgId = ContentUris.parseId(res); in persist()
1403 values.put(Part.MSG_ID, msgId); in persist()
1413 res = Uri.parse(uri + "/" + msgId); in persist()
1493 long msgId = ContentUris.parseId(from); in move() local
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardIndicationController.java313 for (int msgId : msgIds) { in KeyguardIndicationController()
314 mCoExFaceAcquisitionMsgIdsToShow.add(msgId); in KeyguardIndicationController()
1166 public void onBiometricHelp(int msgId, String helpString, in onBiometricHelp() argument
1176 && msgId == BIOMETRIC_HELP_FACE_NOT_AVAILABLE; in onBiometricHelp()
1184 && msgId != BIOMETRIC_HELP_FACE_NOT_RECOGNIZED in onBiometricHelp()
1196 msgId, in onBiometricHelp()
1274 public void onBiometricError(int msgId, String errString, in onBiometricError() argument
1277 onFaceAuthError(msgId, errString); in onBiometricError()
1279 onFingerprintAuthError(msgId, errString); in onBiometricError()
1292 if (msgId == FaceManager.FACE_ERROR_TIMEOUT) { in onFaceAuthError()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DFingerprintReEnrollNotificationImpl.java26 public boolean isFingerprintReEnrollRequired(int msgId) { in isFingerprintReEnrollRequired() argument
27 return msgId == BiometricFingerprintConstants.FINGERPRINT_ACQUIRED_RE_ENROLL; in isFingerprintReEnrollRequired()
H A DBiometricNotificationService.java107 public void onBiometricError(int msgId, String errString,
109 if (msgId == BiometricFaceConstants.BIOMETRIC_ERROR_RE_ENROLL
118 public void onBiometricHelp(int msgId, String helpString,
122 msgId)) {
H A DFingerprintReEnrollNotification.java24 boolean isFingerprintReEnrollRequired(int msgId); in isFingerprintReEnrollRequired() argument
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DMmsQueryHelper.java86 String msgId = cursor.getString(msgIdIndex); in querySince() local
97 String address = getMmsAddress(msgId, msgBox); in querySince()
114 private String getMmsAddress(String msgId, int msgBox) { in getMmsAddress() argument
115 Uri addressUri = Mms.Addr.getAddrUriForMessage(msgId); in getMmsAddress()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
H A DDeviceEntryFingerprintAuthRepository.kt185 msgId: Int,
192 msgId,
199 msgId: Int,
206 msgId,
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
H A DBiometricMessageInteractor.kt63 !indicationHelper.shouldSuppressErrorMsg(FINGERPRINT, it.msgId)
70 errorStatus.msgId,
84 helpStatus.msgId,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
H A DBiometricMessageInteractorTest.kt94 msgId = FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE,
124 msgId = FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE,
145 msgId = FingerprintManager.FINGERPRINT_ACQUIRED_IMAGER_DIRTY,
170 msgId = FingerprintManager.FINGERPRINT_ACQUIRED_IMAGER_DIRTY,
/aosp14/frameworks/base/telephony/common/com/google/android/mms/util/
H A DPduCache.java147 String msgId = uri.getLastPathSegment(); in purge() local
148 return purgeSingleEntry(Uri.withAppendedPath(Mms.CONTENT_URI, msgId)); in purge()
205 String msgId = uri.getLastPathSegment(); in normalizeKey() local
206 normalizedKey = Uri.withAppendedPath(Mms.CONTENT_URI, msgId); in normalizeKey()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/
H A DKeyguardUpdateMonitorLogger.kt112 fun logFaceAuthError(msgId: Int, originalErrMsg: String) {
118 int1 = msgId
225 fun logFingerprintError(msgId: Int, originalErrMsg: String) {
231 int1 = msgId
307 fun logRetryAfterFpErrorWithDelay(msgId: Int, errString: String?, delay: Int) {
312 int1 = msgId
H A DKeyguardLogger.kt68 msgId: Int? = null,
76 str2 = "$msgId"
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DKeyguardIndicationControllerTest.java638 for (int msgId : msgIds) { in sendFaceHelpMessages_fingerprintEnrolled()
639 final String message = helpString + msgId; in sendFaceHelpMessages_fingerprintEnrolled()
642 msgId, message, BiometricSourceType.FACE); in sendFaceHelpMessages_fingerprintEnrolled()
667 for (int msgId : msgIds) { in doNotSendMostFaceHelpMessages_fingerprintEnrolled()
669 msgId, helpString + msgId, BiometricSourceType.FACE); in doNotSendMostFaceHelpMessages_fingerprintEnrolled()
695 for (int msgId : msgIds) { in sendAllFaceHelpMessages_fingerprintNotEnrolled()
696 final String numberedHelpString = helpString + msgId; in sendAllFaceHelpMessages_fingerprintNotEnrolled()
698 msgId, numberedHelpString, BiometricSourceType.FACE); in sendAllFaceHelpMessages_fingerprintNotEnrolled()
1267 final int msgId = 1; in onBiometricHelp_faceAcquiredInfo_faceHelpMessageDeferral() local
1270 msgId, in onBiometricHelp_faceAcquiredInfo_faceHelpMessageDeferral()
[all …]
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DSmsMessage.java706 int msgId = inStream.read(8) << 8; in preprocessCdmaFdeaWap() local
707 msgId |= inStream.read(8); in preprocessCdmaFdeaWap()
708 mBearerData.messageId = msgId; in preprocessCdmaFdeaWap()
709 mMessageRef = msgId; in preprocessCdmaFdeaWap()
920 int msgId = TelephonyProperties.cdma_msg_id().orElse(1);
921 int nextMsgId = msgId % 0xFFFF + 1;
931 return msgId;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
H A DDeviceEntryFingerprintAuthRepositoryTest.kt230 assertThat(status.msgId).isEqualTo(1)
248 assertThat(status.msgId).isEqualTo(1)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBiometricUnlockController.java739 public void onBiometricError(int msgId, String errString, in onBiometricError() argument
743 .addTaggedData(MetricsEvent.FIELD_BIOMETRIC_AUTH_ERROR, msgId)); in onBiometricError()
748 && (msgId == FingerprintManager.FINGERPRINT_ERROR_LOCKOUT in onBiometricError()
749 || msgId == FingerprintManager.FINGERPRINT_ERROR_LOCKOUT_PERMANENT); in onBiometricError()

12