Home
last modified time | relevance | path

Searched refs:hat (Results 1 – 25 of 56) sorted by relevance

123

/hardware/interfaces/security/keymint/aidl/vts/functional/
DAuthTest.cpp244 AuthorizationSet* out_params, const HardwareAuthToken& hat) { in ProcessMessage() argument
246 ErrorCode result = Begin(operation, key_blob, in_params, out_params, hat); in ProcessMessage()
262 EXPECT_EQ(ErrorCode::OK, Finish(message, {} /* signature */, &output, hat, time_token)); in ProcessMessage()
268 const HardwareAuthToken& hat) { in EncryptMessage() argument
270 return ProcessMessage(key_blob, KeyPurpose::ENCRYPT, message, in_params, out_params, hat); in EncryptMessage()
274 const AuthorizationSet& params, const HardwareAuthToken& hat) { in DecryptMessage() argument
278 ProcessMessage(key_blob, KeyPurpose::DECRYPT, ciphertext, params, &out_params, hat); in DecryptMessage()
285 const HardwareAuthToken& hat) { in SignMessage() argument
287 return ProcessMessage(key_blob, KeyPurpose::SIGN, message, in_params, out_params, hat); in SignMessage()
335 const std::optional<HardwareAuthToken> hat = doVerify(challenge, handle_, password_); in TEST_P() local
[all …]
/hardware/interfaces/biometrics/face/aidl/default/tests/
DFakeFaceEngineTest.cpp204 keymaster::HardwareAuthToken hat{.mac = {2, 4}}; in TEST_F() local
205 mEngine.enrollImpl(mCallback.get(), hat, {} /*enrollmentType*/, {} /*features*/, in TEST_F()
216 keymaster::HardwareAuthToken hat{.mac = {2, 4}}; in TEST_F() local
217 mEngine.enrollImpl(mCallback.get(), hat, {} /*enrollmentType*/, {} /*features*/, in TEST_F()
225 keymaster::HardwareAuthToken hat{.mac = {2, 4}}; in TEST_F() local
227 mEngine.enrollImpl(mCallback.get(), hat, {} /*enrollmentType*/, {} /*features*/, in TEST_F()
283 keymaster::HardwareAuthToken hat{.mac = {2, 4}}; in TEST_F() local
284 mEngine.setFeatureImpl(mCallback.get(), hat, Feature::REQUIRE_ATTENTION, true); in TEST_F()
298 keymaster::HardwareAuthToken hat{.mac = {2, 4}}; in TEST_F() local
299 mEngine.setFeatureImpl(mCallback.get(), hat, Feature::REQUIRE_ATTENTION, true); in TEST_F()
[all …]
/hardware/interfaces/biometrics/face/aidl/default/
DSession.cpp71 const keymaster::HardwareAuthToken& hat, EnrollmentType enrollmentType, in enroll() argument
79 [this, hat, enrollmentType, features, cancFuture = std::move(cancFuture)] { in enroll()
80 mEngine->enrollImpl(mCb.get(), hat, enrollmentType, features, cancFuture); in enroll()
136 ndk::ScopedAStatus Session::setFeature(const keymaster::HardwareAuthToken& hat, Feature feature, in setFeature() argument
139 mThread->schedule(Callable::from([this, hat, feature, enabled] { in setFeature()
140 mEngine->setFeatureImpl(mCb.get(), hat, feature, enabled); in setFeature()
158 ndk::ScopedAStatus Session::resetLockout(const keymaster::HardwareAuthToken& hat) { in resetLockout() argument
160 mThread->schedule(Callable::from([this, hat] { mEngine->resetLockoutImpl(mCb.get(), hat); })); in resetLockout()
180 ndk::ScopedAStatus Session::enrollWithContext(const keymaster::HardwareAuthToken& hat, in enrollWithContext() argument
186 return enroll(hat, enrollmentType, features, previewSurface, out); in enrollWithContext()
DSession.h52 ndk::ScopedAStatus enroll(const keymaster::HardwareAuthToken& hat,
70 ndk::ScopedAStatus setFeature(const keymaster::HardwareAuthToken& hat, Feature feature,
77 ndk::ScopedAStatus resetLockout(const keymaster::HardwareAuthToken& hat) override;
86 const keymaster::HardwareAuthToken& hat, EnrollmentType enrollmentType,
/hardware/interfaces/biometrics/face/aidl/android/hardware/biometrics/face/
DISession.aidl122 ICancellationSignal enroll(in HardwareAuthToken hat, in EnrollmentType type, in enroll() argument
289 void setFeature(in HardwareAuthToken hat, in Feature feature, boolean enabled); in setFeature() argument
393 void resetLockout(in HardwareAuthToken hat); in resetLockout() argument
427 ICancellationSignal enrollWithContext(in HardwareAuthToken hat, in EnrollmentType type, in enrollWithContext() argument
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/3/android/hardware/biometrics/face/
DISession.aidl40 …ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enroll() argument
46 …void setFeature(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardware.biometric… in setFeature() argument
49 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout() argument
52 …onSignal enrollWithContext(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enrollWithContext() argument
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/2/android/hardware/biometrics/face/
DISession.aidl40 …ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enroll() argument
46 …void setFeature(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardware.biometric… in setFeature() argument
49 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout() argument
52 …onSignal enrollWithContext(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enrollWithContext() argument
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/1/android/hardware/biometrics/face/
DISession.aidl40 …ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enroll() argument
46 …void setFeature(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardware.biometric… in setFeature() argument
49 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout() argument
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/4/android/hardware/biometrics/face/
DISession.aidl44 …ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enroll() argument
50 …void setFeature(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardware.biometric… in setFeature() argument
53 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout() argument
59 …onSignal enrollWithContext(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enrollWithContext() argument
/hardware/interfaces/biometrics/face/aidl/aidl_api/android.hardware.biometrics.face/current/android/hardware/biometrics/face/
DISession.aidl44 …ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enroll() argument
50 …void setFeature(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardware.biometric… in setFeature() argument
53 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout() argument
59 …onSignal enrollWithContext(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enrollWithContext() argument
/hardware/interfaces/biometrics/fingerprint/aidl/android/hardware/biometrics/fingerprint/
DISession.aidl148 ICancellationSignal enroll(in HardwareAuthToken hat); in enroll() argument
375 void resetLockout(in HardwareAuthToken hat); in resetLockout() argument
471 ICancellationSignal enrollWithContext(in HardwareAuthToken hat, in OperationContext context); in enrollWithContext() argument
/hardware/interfaces/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/2/android/hardware/biometrics/fingerprint/
DISession.aidl39 ….biometrics.common.ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat); in enroll() argument
46 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout() argument
52 …onSignal enrollWithContext(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enrollWithContext() argument
/hardware/interfaces/biometrics/fingerprint/aidl/default/
DSession.cpp108 ndk::ScopedAStatus Session::enroll(const keymaster::HardwareAuthToken& hat, in enroll() argument
116 mWorker->schedule(Callable::from([this, hat, cancFuture = std::move(cancFuture)] { in enroll()
121 mEngine->enrollImpl(mCb.get(), hat, cancFuture); in enroll()
225 ndk::ScopedAStatus Session::resetLockout(const keymaster::HardwareAuthToken& hat) { in resetLockout() argument
229 mWorker->schedule(Callable::from([this, hat] { in resetLockout()
231 mEngine->resetLockoutImpl(mCb.get(), hat); in resetLockout()
284 ndk::ScopedAStatus Session::enrollWithContext(const keymaster::HardwareAuthToken& hat, in enrollWithContext() argument
287 return enroll(hat, out); in enrollWithContext()
DFakeFingerprintEngineUdfps.cpp81 const keymaster::HardwareAuthToken& hat) { in updateContext() argument
82 FakeFingerprintEngine::updateContext(mode, cb, cancel, operationId, hat); in updateContext()
/hardware/interfaces/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/3/android/hardware/biometrics/fingerprint/
DISession.aidl40 ….biometrics.common.ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat); in enroll() argument
47 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout() argument
59 …onSignal enrollWithContext(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enrollWithContext() argument
/hardware/interfaces/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/4/android/hardware/biometrics/fingerprint/
DISession.aidl40 ….biometrics.common.ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat); in enroll() argument
47 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout() argument
59 …onSignal enrollWithContext(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enrollWithContext() argument
/hardware/interfaces/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/current/android/hardware/biometrics/fingerprint/
DISession.aidl40 ….biometrics.common.ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat); in enroll() argument
47 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout() argument
59 …onSignal enrollWithContext(in android.hardware.keymaster.HardwareAuthToken hat, in android.hardwar… in enrollWithContext() argument
/hardware/interfaces/biometrics/face/1.0/default/
DBiometricsFace.h50 Return<Status> enroll(const hidl_vec<uint8_t>& hat, uint32_t timeoutSec,
55 Return<Status> setFeature(Feature feature, bool enabled, const hidl_vec<uint8_t>& hat,
72 Return<Status> resetLockout(const hidl_vec<uint8_t>& hat) override;
/hardware/interfaces/biometrics/fingerprint/aidl/aidl_api/android.hardware.biometrics.fingerprint/1/android/hardware/biometrics/fingerprint/
DISession.aidl39 ….biometrics.common.ICancellationSignal enroll(in android.hardware.keymaster.HardwareAuthToken hat); in enroll() argument
46 void resetLockout(in android.hardware.keymaster.HardwareAuthToken hat); in resetLockout() argument
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/support/
Dmsg_formatting.h257 HardwareAuthToken* hat = nullptr;
258 return sizeof hat->challenge + sizeof hat->userId + sizeof hat->authenticatorId +
259 sizeof hat->authenticatorType + sizeof hat->timestamp;
271 auto& hat = std::get<1>(result);
280 pos = copyField(hat.challenge, pos);
281 pos = copyField(hat.userId, pos);
282 pos = copyField(hat.authenticatorId, pos);
283 pos = copyField(hat.authenticatorType, pos);
284 pos = copyField(hat.timestamp, pos);
285 std::tie(in, hat.mac) = readSimpleHidlVecInPlace<uint8_t>(in);
/hardware/interfaces/biometrics/fingerprint/2.1/default/
DBiometricsFingerprint.cpp161 Return<RequestStatus> BiometricsFingerprint::enroll(const hidl_array<uint8_t, 69>& hat, in enroll() argument
164 reinterpret_cast<const hw_auth_token_t*>(hat.data()); in enroll()
318 const uint8_t* hat = in notify() local
319 reinterpret_cast<const uint8_t *>(&msg->data.authenticated.hat); in notify()
321 std::vector<uint8_t>(hat, hat + sizeof(msg->data.authenticated.hat))); in notify()
/hardware/interfaces/biometrics/fingerprint/aidl/default/include/
DSession.h56 ndk::ScopedAStatus enroll(const keymaster::HardwareAuthToken& hat,
73 ndk::ScopedAStatus resetLockout(const keymaster::HardwareAuthToken& hat) override;
89 const keymaster::HardwareAuthToken& hat, const common::OperationContext& context,
DFakeFingerprintEngine.h46 virtual void enrollImpl(ISessionCallback* cb, const keymaster::HardwareAuthToken& hat,
92 int64_t operationId, const keymaster::HardwareAuthToken& hat);
94 bool onEnrollFingerDown(ISessionCallback* cb, const keymaster::HardwareAuthToken& hat,
/hardware/libhardware/include/hardware/
Dfingerprint.h106 hw_auth_token_t hat; member
177 int (*enroll)(struct fingerprint_device *dev, const hw_auth_token_t *hat,
/hardware/libhardware/include_all/hardware/
Dfingerprint.h106 hw_auth_token_t hat; member
177 int (*enroll)(struct fingerprint_device *dev, const hw_auth_token_t *hat,

123