Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/util/
DIndicationHelper.kt32 fun shouldSuppressErrorMsg(biometricSource: BiometricSourceType, msgId: Int): Boolean { in shouldSuppressErrorMsg()
35 (isPrimaryAuthRequired() && !isFingerprintLockoutErrorMsg(msgId)) || in shouldSuppressErrorMsg()
36 msgId == BiometricFingerprintConstants.FINGERPRINT_ERROR_CANCELED || in shouldSuppressErrorMsg()
37 msgId == BiometricFingerprintConstants.FINGERPRINT_ERROR_USER_CANCELED || in shouldSuppressErrorMsg()
38 msgId == BiometricFingerprintConstants.BIOMETRIC_ERROR_POWER_PRESSED in shouldSuppressErrorMsg()
40 (isPrimaryAuthRequired() && !isFaceLockoutErrorMsg(msgId)) || in shouldSuppressErrorMsg()
41 msgId == BiometricFaceConstants.FACE_ERROR_CANCELED || in shouldSuppressErrorMsg()
42 msgId == BiometricFaceConstants.FACE_ERROR_UNABLE_TO_PROCESS in shouldSuppressErrorMsg()
47 private fun isFingerprintLockoutErrorMsg(msgId: Int): Boolean { in isFingerprintLockoutErrorMsg()
48 return msgId == BiometricFingerprintConstants.FINGERPRINT_ERROR_LOCKOUT || in isFingerprintLockoutErrorMsg()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/shared/model/
DFaceAuthenticationModels.kt43 val msgId: Int, constant in com.android.systemui.deviceentry.shared.model.HelpFaceAuthenticationStatus
62 val msgId: Int, constant in com.android.systemui.deviceentry.shared.model.ErrorFaceAuthenticationStatus
71 fun isLockoutError() = msgId == FACE_ERROR_LOCKOUT_PERMANENT || msgId == FACE_ERROR_LOCKOUT in isLockoutError()
77 fun isCancellationError() = msgId == FACE_ERROR_CANCELED in isLockoutError()
79 fun isUnableToProcessError() = msgId == FACE_ERROR_UNABLE_TO_PROCESS in isLockoutError()
83 msgId == FACE_ERROR_HW_UNAVAILABLE || msgId == FACE_ERROR_UNABLE_TO_PROCESS in isLockoutError()
86 fun isTimeoutError() = msgId == FACE_ERROR_TIMEOUT in isLockoutError()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DFingerprintReEnrollNotificationImpl.java26 public boolean isFingerprintReEnrollRequested(int msgId) { in isFingerprintReEnrollRequested() argument
27 return msgId == BiometricFingerprintConstants.FINGERPRINT_ACQUIRED_RE_ENROLL_OPTIONAL in isFingerprintReEnrollRequested()
28 || msgId == BiometricFingerprintConstants.FINGERPRINT_ACQUIRED_RE_ENROLL_FORCED; in isFingerprintReEnrollRequested()
32 public boolean isFingerprintReEnrollForced(int msgId) { in isFingerprintReEnrollForced() argument
33 return msgId == BiometricFingerprintConstants.FINGERPRINT_ACQUIRED_RE_ENROLL_FORCED; in isFingerprintReEnrollForced()
DFingerprintReEnrollNotification.java31 @BiometricFingerprintConstants.FingerprintAcquired int msgId); in isFingerprintReEnrollRequested()
37 @BiometricFingerprintConstants.FingerprintAcquired int msgId); in isFingerprintReEnrollForced()
DBiometricNotificationService.java110 public void onBiometricError(int msgId, String errString,
112 if (msgId == BiometricFaceConstants.BIOMETRIC_ERROR_RE_ENROLL
121 public void onBiometricHelp(int msgId, String helpString,
125 msgId)) {
128 mFingerprintReEnrollNotification.isFingerprintReEnrollForced(msgId);
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DFingerprintAuthenticationModels.kt44 val msgId: Int, constant in com.android.systemui.keyguard.shared.model.HelpFingerprintAuthenticationStatus
79 val msgId: Int, constant in com.android.systemui.keyguard.shared.model.ErrorFingerprintAuthenticationStatus
85 msgId == BiometricFingerprintConstants.FINGERPRINT_ERROR_CANCELED ||
86 msgId == BiometricFingerprintConstants.FINGERPRINT_ERROR_USER_CANCELED
89 msgId == BiometricFingerprintConstants.BIOMETRIC_ERROR_POWER_PRESSED
92 msgId == FingerprintManager.FINGERPRINT_ERROR_LOCKOUT ||
93 msgId == FingerprintManager.FINGERPRINT_ERROR_LOCKOUT_PERMANENT
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/interactor/
DBiometricMessageInteractorTest.kt78 msgId = FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE, in fingerprintErrorMessage()
98 msgId = FingerprintManager.FINGERPRINT_ERROR_LOCKOUT, in fingerprintLockoutErrorMessage()
116 msgId = FingerprintManager.FINGERPRINT_ERROR_HW_UNAVAILABLE, in fingerprintErrorMessage_suppressedError()
136 msgId = FingerprintManager.FINGERPRINT_ACQUIRED_IMAGER_DIRTY, in fingerprintHelpMessage()
156 msgId = FingerprintManager.FINGERPRINT_ACQUIRED_IMAGER_DIRTY, in fingerprintHelpMessage_primaryAuthRequired()
271 msgId = FACE_ACQUIRED_TOO_RIGHT, in faceHelpMessage_faceOnly()
298 msgId = FACE_ACQUIRED_TOO_RIGHT, in faceHelpMessageShouldDefer()
323 msgId = FACE_ACQUIRED_TOO_RIGHT, in faceHelpMessage_coEx()
338 ErrorFaceAuthenticationStatus(msgId = FACE_ERROR_HW_UNAVAILABLE, msg = "test") in faceErrorMessage_suppressedError()
352 ErrorFaceAuthenticationStatus(msgId = FACE_ERROR_HW_UNAVAILABLE, msg = "test") in faceErrorMessage()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSimPukView.java55 int msgId = isDefault ? R.string.kg_password_default_puk_message : in getPukPasswordErrorMessage() local
57 displayMessage = icuMessageFormat(getResources(), msgId, attemptsRemaining); in getPukPasswordErrorMessage()
59 int msgId = isDefault ? R.string.kg_puk_enter_puk_hint : in getPukPasswordErrorMessage() local
61 displayMessage = getContext().getString(msgId); in getPukPasswordErrorMessage()
DKeyguardUpdateMonitorCallback.java240 public void onBiometricHelp(int msgId, String helpString, in onBiometricHelp() argument
251 public void onBiometricError(int msgId, String errString, in onBiometricError() argument
DKeyguardSimPinViewController.java264 int msgId; in getPinPasswordErrorMessage() local
269 msgId = isDefault ? R.string.kg_password_default_pin_message : in getPinPasswordErrorMessage()
271 displayMessage = icuMessageFormat(mView.getResources(), msgId, attemptsRemaining); in getPinPasswordErrorMessage()
273 msgId = isDefault ? R.string.kg_sim_pin_instructions : R.string.kg_password_pin_failed; in getPinPasswordErrorMessage()
274 displayMessage = mView.getResources().getString(msgId); in getPinPasswordErrorMessage()
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/
DControlsSettingsDialogManager.kt214 msgId: Int, in AlertDialog()
217 setButton(DialogInterface.BUTTON_NEUTRAL, context.getText(msgId), listener) in AlertDialog()
221 msgId: Int, in AlertDialog()
224 setButton(DialogInterface.BUTTON_POSITIVE, context.getText(msgId), listener) in AlertDialog()
227 private fun AlertDialog.setMessage(msgId: Int) { in AlertDialog()
228 setMessage(context.getText(msgId)) in AlertDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DSimBouncerInteractor.kt301 val msgId = R.string.kg_password_default_pin_message in getPinPasswordErrorMessage() constant
302 icuMessageFormat(resources, msgId, attemptsRemaining) in getPinPasswordErrorMessage()
304 val msgId = R.string.kg_sim_pin_instructions in getPinPasswordErrorMessage() constant
305 resources.getString(msgId) in getPinPasswordErrorMessage()
323 val msgId = in getPukPasswordErrorMessage() constant
326 icuMessageFormat(resources, msgId, attemptsRemaining) in getPukPasswordErrorMessage()
328 val msgId = in getPukPasswordErrorMessage() constant
331 resources.getString(msgId) in getPukPasswordErrorMessage()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduPersister.java370 private PduPart[] loadParts(long msgId) throws MmsException { in loadParts() argument
372 Uri.parse("content://mms/" + msgId + "/part"), in loadParts()
380 Log.v(TAG, "loadParts(" + msgId + "): no part to load."); in loadParts()
495 private void loadAddress(long msgId, PduHeaders headers) { in loadAddress() argument
497 Uri.parse("content://mms/" + msgId + "/addr"), in loadAddress()
570 long msgId = ContentUris.parseId(uri); in load() local
610 if (msgId == -1L) { in load()
615 loadAddress(msgId, headers); in load()
624 PduPart[] parts = loadParts(msgId); in load()
698 long msgId, int type, EncodedStringValue[] array) { in persistAddress() argument
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DFaceHelpMessageDeferralInteractor.kt67 fun shouldDefer(msgId: Int): Boolean { in <lambda>()
68 return faceHelpMessageDeferral.shouldDefer(msgId) in <lambda>()
108 faceHelpMessageDeferral.updateMessage(helpAuthenticationStatus.msgId, msg) in <lambda>()
/frameworks/base/services/people/java/com/android/server/people/data/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java1311 public void onBiometricHelp(int msgId, String helpString, in onBiometricHelp() argument
1314 mFaceAcquiredMessageDeferral.updateMessage(msgId, helpString); in onBiometricHelp()
1315 if (mFaceAcquiredMessageDeferral.shouldDefer(msgId)) { in onBiometricHelp()
1321 && msgId == BIOMETRIC_HELP_FACE_NOT_AVAILABLE; in onBiometricHelp()
1329 && msgId != BIOMETRIC_HELP_FACE_NOT_RECOGNIZED in onBiometricHelp()
1330 && msgId != BIOMETRIC_HELP_FACE_NOT_AVAILABLE; in onBiometricHelp()
1332 && msgId == BIOMETRIC_HELP_FACE_NOT_RECOGNIZED; // ran through matcher & failed in onBiometricHelp()
1336 msgId, in onBiometricHelp()
1341 && msgId == BIOMETRIC_HELP_FINGERPRINT_NOT_RECOGNIZED; // ran matcher & failed in onBiometricHelp()
1345 if (isCoExFaceAcquisitionMessage && !mCoExFaceAcquisitionMsgIdsToShow.contains(msgId)) { in onBiometricHelp()
[all …]
/frameworks/av/media/module/bufferpool/2.0/
DObserver.cpp33 Return<void> Observer::onMessage(int64_t connectionId, uint32_t msgId) { in onMessage() argument
42 client->receiveInvalidation(msgId); in onMessage()
DAccessorImpl.cpp365 uint32_t msgId) { in onAck() argument
371 if (isMessageLater(msgId, it->second)) { in onAck()
372 mAcks[conId] = msgId; in onAck()
381 uint32_t msgId = 0; in onBufferInvalidated() local
383 msgId = ++mInvalidationId; in onBufferInvalidated()
384 if (msgId == 0) { in onBufferInvalidated()
386 msgId = ++mInvalidationId; in onBufferInvalidated()
389 channel.postInvalidation(msgId, it->mFrom, it->mTo); in onBufferInvalidated()
404 uint32_t msgId = 0; in onInvalidationRequest() local
406 msgId = ++mInvalidationId; in onInvalidationRequest()
[all …]
DAccessor.cpp130 uint32_t msgId; in connect() local
135 observer, false, &connection, &connectionId, &msgId, &fmqDesc, &invDesc); in connect()
137 _hidl_cb(status, connection, connectionId, msgId, *fmqDesc, *invDesc); in connect()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DDeviceEntryFingerprintAuthRepository.kt224 msgId: Int, in <lambda>()
231 msgId, in <lambda>()
238 msgId: Int, in <lambda>()
245 msgId, in <lambda>()
/frameworks/base/telephony/common/com/google/android/mms/util/
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()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/
DKeyguardUpdateMonitorLogger.kt103 fun logFaceAuthError(msgId: Int, originalErrMsg: String) { in logFaceAuthError()
109 int1 = msgId in logFaceAuthError()
200 fun logFingerprintError(msgId: Int, originalErrMsg: String) { in logFingerprintError()
206 int1 = msgId in logFingerprintError()
273 fun logRetryAfterFpErrorWithDelay(msgId: Int, errString: String?, delay: Int) { in logRetryAfterFpErrorWithDelay()
278 int1 = msgId in logRetryAfterFpErrorWithDelay()
DKeyguardLogger.kt68 msgId: Int? = null, in logBiometricMessage()
76 str2 = "$msgId" in logBiometricMessage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java650 for (int msgId : msgIds) { in sendFaceHelpMessages_fingerprintEnrolled()
651 final String message = helpString + msgId; in sendFaceHelpMessages_fingerprintEnrolled()
654 msgId, message, BiometricSourceType.FACE); in sendFaceHelpMessages_fingerprintEnrolled()
679 for (int msgId : msgIds) { in doNotSendMostFaceHelpMessages_fingerprintEnrolled()
681 msgId, helpString + msgId, BiometricSourceType.FACE); in doNotSendMostFaceHelpMessages_fingerprintEnrolled()
707 for (int msgId : msgIds) { in sendAllFaceHelpMessages_fingerprintNotEnrolled()
708 final String numberedHelpString = helpString + msgId; in sendAllFaceHelpMessages_fingerprintNotEnrolled()
710 msgId, numberedHelpString, BiometricSourceType.FACE); in sendAllFaceHelpMessages_fingerprintNotEnrolled()
1279 final int msgId = 1; in onBiometricHelp_faceAcquiredInfo_faceHelpMessageDeferral() local
1282 msgId, in onBiometricHelp_faceAcquiredInfo_faceHelpMessageDeferral()
[all …]

12