Home
last modified time | relevance | path

Searched refs:_hidl_cb (Results 1 – 25 of 33) sorted by relevance

12

/system/keymaster/ng/include/
DAndroidKeymaster41Device.h72 Return<void> getHardwareInfo(super::getHardwareInfo_cb _hidl_cb) override { in getHardwareInfo() argument
73 return super::getHardwareInfo(_hidl_cb); in getHardwareInfo()
76 Return<void> getHmacSharingParameters(super::getHmacSharingParameters_cb _hidl_cb) override { in getHmacSharingParameters() argument
77 return super::getHmacSharingParameters(_hidl_cb); in getHmacSharingParameters()
81 super::computeSharedHmac_cb _hidl_cb) override { in computeSharedHmac() argument
82 return super::computeSharedHmac(params, _hidl_cb); in computeSharedHmac()
88 super::verifyAuthorization_cb _hidl_cb) override { in verifyAuthorization() argument
89 return super::verifyAuthorization(challenge, parametersToVerify, authToken, _hidl_cb); in verifyAuthorization()
97 super::generateKey_cb _hidl_cb) override { in generateKey() argument
98 return super::generateKey(keyParams, _hidl_cb); in generateKey()
[all …]
DAndroidKeymaster4Device.h55 Return<void> getHardwareInfo(getHardwareInfo_cb _hidl_cb) override;
56 Return<void> getHmacSharingParameters(getHmacSharingParameters_cb _hidl_cb) override;
62 verifyAuthorization_cb _hidl_cb) override;
65 generateKey_cb _hidl_cb) override;
69 getKeyCharacteristics_cb _hidl_cb) override;
71 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) override;
77 importWrappedKey_cb _hidl_cb) override;
80 exportKey_cb _hidl_cb) override;
83 attestKey_cb _hidl_cb) override;
86 upgradeKey_cb _hidl_cb) override;
[all …]
DAndroidKeymaster3Device.h62 Return<void> getHardwareFeatures(getHardwareFeatures_cb _hidl_cb);
65 generateKey_cb _hidl_cb) override;
69 getKeyCharacteristics_cb _hidl_cb) override;
71 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) override;
74 exportKey_cb _hidl_cb) override;
77 attestKey_cb _hidl_cb) override;
80 upgradeKey_cb _hidl_cb) override;
85 const hidl_vec<KeyParameter>& inParams, begin_cb _hidl_cb) override;
87 const hidl_vec<uint8_t>& input, update_cb _hidl_cb) override;
90 finish_cb _hidl_cb) override;
/system/core/trusty/gatekeeper/
Dtrusty_gatekeeper.cpp68 enroll_cb _hidl_cb) { in enroll() argument
70 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in enroll()
75 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in enroll()
85 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in enroll()
87 _hidl_cb({GatekeeperStatusCode::ERROR_RETRY_TIMEOUT, response.retry_timeout, {}}); in enroll()
89 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in enroll()
94 _hidl_cb({GatekeeperStatusCode::STATUS_OK, response.retry_timeout, new_handle}); in enroll()
102 const ::android::hardware::hidl_vec<uint8_t>& providedPassword, verify_cb _hidl_cb) { in verify() argument
104 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in verify()
109 _hidl_cb({GatekeeperStatusCode::ERROR_GENERAL_FAILURE, 0, {}}); in verify()
[all …]
Dtrusty_gatekeeper.h47 enroll_cb _hidl_cb) override;
66 verify_cb _hidl_cb) override;
68 ::android::hardware::Return<void> deleteUser(uint32_t uid, deleteUser_cb _hidl_cb) override;
70 ::android::hardware::Return<void> deleteAllUsers(deleteAllUsers_cb _hidl_cb) override;
/system/hardware/interfaces/wifi/keystore/1.0/default/
Dkeystore.cpp64 Return<void> Keystore::getBlob(const hidl_string& key, getBlob_cb _hidl_cb) { in getBlob() argument
68 _hidl_cb(KeystoreStatusCode::ERROR_UNKNOWN, {}); in getBlob()
75 _hidl_cb(KeystoreStatusCode::ERROR_UNKNOWN, {}); in getBlob()
78 _hidl_cb(KeystoreStatusCode::SUCCESS, (hidl_vec<uint8_t>)value); in getBlob()
82 Return<void> Keystore::getPublicKey(const hidl_string& keyId, getPublicKey_cb _hidl_cb) { in getPublicKey() argument
89 _hidl_cb(KeystoreStatusCode::ERROR_UNKNOWN, {}); in getPublicKey()
101 _hidl_cb(KeystoreStatusCode::ERROR_UNKNOWN, {}); in getPublicKey()
108 _hidl_cb(KeystoreStatusCode::ERROR_UNKNOWN, {}); in getPublicKey()
115 _hidl_cb(KeystoreStatusCode::ERROR_UNKNOWN, {}); in getPublicKey()
119 _hidl_cb(KeystoreStatusCode::SUCCESS, export_result.exportData); in getPublicKey()
[all …]
/system/core/trusty/keymaster/include/trusty_keymaster/
DTrustyKeymaster4Device.h51 Return<void> getHardwareInfo(getHardwareInfo_cb _hidl_cb) override;
52 Return<void> getHmacSharingParameters(getHmacSharingParameters_cb _hidl_cb) override;
58 verifyAuthorization_cb _hidl_cb) override;
61 generateKey_cb _hidl_cb) override;
65 getKeyCharacteristics_cb _hidl_cb) override;
67 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) override;
73 importWrappedKey_cb _hidl_cb) override;
76 exportKey_cb _hidl_cb) override;
79 attestKey_cb _hidl_cb) override;
82 upgradeKey_cb _hidl_cb) override;
[all …]
DTrustyKeymaster3Device.h47 Return<void> getHardwareFeatures(getHardwareFeatures_cb _hidl_cb);
50 generateKey_cb _hidl_cb) override;
54 getKeyCharacteristics_cb _hidl_cb) override;
56 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) override;
59 exportKey_cb _hidl_cb) override;
62 attestKey_cb _hidl_cb) override;
65 upgradeKey_cb _hidl_cb) override;
70 const hidl_vec<KeyParameter>& inParams, begin_cb _hidl_cb) override;
72 const hidl_vec<uint8_t>& input, update_cb _hidl_cb) override;
75 finish_cb _hidl_cb) override;
/system/security/keystore/
Dlegacy_keymaster_device_wrapper.h50 Return<void> getHardwareFeatures(getHardwareFeatures_cb _hidl_cb);
53 generateKey_cb _hidl_cb) override;
57 getKeyCharacteristics_cb _hidl_cb) override;
59 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) override;
62 exportKey_cb _hidl_cb) override;
65 attestKey_cb _hidl_cb) override;
68 upgradeKey_cb _hidl_cb) override;
73 const hidl_vec<KeyParameter>& inParams, begin_cb _hidl_cb) override;
75 const hidl_vec<uint8_t>& input, update_cb _hidl_cb) override;
78 finish_cb _hidl_cb) override;
Dlegacy_keymaster_device_wrapper.cpp206 Return<void> LegacyKeymasterDeviceWrapper::getHardwareFeatures(getHardwareFeatures_cb _hidl_cb) { in getHardwareFeatures() argument
207 _hidl_cb(false, false, false, false, false, "Fallback Device", "Google Android Security"); in getHardwareFeatures()
217 generateKey_cb _hidl_cb) { in generateKey() argument
240 _hidl_cb(legacy_enum_conversion(rc), resultKeyBlob, resultCharacteristics); in generateKey()
251 const hidl_vec<uint8_t>& appData, getKeyCharacteristics_cb _hidl_cb) { in getKeyCharacteristics() argument
272 _hidl_cb(legacy_enum_conversion(rc), resultCharacteristics); in getKeyCharacteristics()
282 importKey_cb _hidl_cb) { in importKey() argument
305 _hidl_cb(legacy_enum_conversion(rc), resultKeyBlob, resultCharacteristics); in importKey()
318 exportKey_cb _hidl_cb) { in exportKey() argument
341 _hidl_cb(legacy_enum_conversion(rc), resultKeyBlob); in exportKey()
[all …]
Dkeymaster_worker.h214 update_cb _hidl_cb);
221 void abort(sp<IBinder> token, abort_cb _hidl_cb);
224 void getHardwareInfo(getHardwareInfo_cb _hidl_cb);
228 void getHmacSharingParameters(getHmacSharingParameters_cb _hidl_cb);
232 void computeSharedHmac(hidl_vec<HmacSharingParameters> params, computeSharedHmac_cb _hidl_cb);
237 HardwareAuthToken token, verifyAuthorization_cb _hidl_cb);
240 void addRngEntropy(hidl_vec<uint8_t> data, addRngEntropy_cb _hidl_cb);
245 hidl_vec<uint8_t> entropy, int flags, generateKey_cb _hidl_cb);
248 void generateKey(hidl_vec<KeyParameter> keyParams, generateKey2_cb _hidl_cb);
254 getKeyCharacteristics_cb _hidl_cb);
[all …]
/system/libhidl/transport/allocator/1.0/default/
DAshmemAllocator.cpp53 Return<void> AshmemAllocator::allocate(uint64_t size, allocate_cb _hidl_cb) { in allocate() argument
55 _hidl_cb(memory.handle() != nullptr /* success */, memory); in allocate()
61 …rn<void> AshmemAllocator::batchAllocate(uint64_t size, uint64_t count, batchAllocate_cb _hidl_cb) { in batchAllocate() argument
64 _hidl_cb(false /* success */, {}); in batchAllocate()
85 _hidl_cb(false /* success */, {}); in batchAllocate()
87 _hidl_cb(true /* success */, batch); in batchAllocate()
DAshmemAllocator.h41 Return<void> allocate(uint64_t size, allocate_cb _hidl_cb) override;
42 Return<void> batchAllocate(uint64_t size, uint64_t count, batchAllocate_cb _hidl_cb) override;
/system/keymaster/ng/
DAndroidKeymaster3Device.cpp238 Return<void> AndroidKeymaster3Device::getHardwareFeatures(getHardwareFeatures_cb _hidl_cb) { in getHardwareFeatures() argument
241 _hidl_cb(true /* is_secure */, false /* supports_ec */, in getHardwareFeatures()
246 _hidl_cb(true /* is_secure */, true /* supports_ec */, in getHardwareFeatures()
251 _hidl_cb(true /* is_secure */, true /* supports_ec */, in getHardwareFeatures()
257 _hidl_cb(false /* is_secure */, false /* supports_ec */, in getHardwareFeatures()
277 generateKey_cb _hidl_cb) { in generateKey() argument
291 _hidl_cb(legacy_enum_conversion(response.error), resultKeyBlob, resultCharacteristics); in generateKey()
298 getKeyCharacteristics_cb _hidl_cb) { in getKeyCharacteristics() argument
311 _hidl_cb(legacy_enum_conversion(response.error), resultCharacteristics); in getKeyCharacteristics()
317 importKey_cb _hidl_cb) { in importKey() argument
[all …]
DAndroidKeymaster4Device.cpp236 Return<void> AndroidKeymaster4Device::getHardwareInfo(getHardwareInfo_cb _hidl_cb) { in getHardwareInfo() argument
237 _hidl_cb(securityLevel_, in getHardwareInfo()
243 AndroidKeymaster4Device::getHmacSharingParameters(getHmacSharingParameters_cb _hidl_cb) { in getHmacSharingParameters() argument
251 _hidl_cb(legacy_enum_conversion(response.error), params); in getHmacSharingParameters()
257 computeSharedHmac_cb _hidl_cb) { in computeSharedHmac() argument
274 _hidl_cb(legacy_enum_conversion(response.error), sharing_check); in computeSharedHmac()
281 verifyAuthorization_cb _hidl_cb) { in verifyAuthorization() argument
303 _hidl_cb(legacy_enum_conversion(response.error), token); in verifyAuthorization()
321 generateKey_cb _hidl_cb) { in generateKey() argument
335 _hidl_cb(legacy_enum_conversion(response.error), resultKeyBlob, resultCharacteristics); in generateKey()
[all …]
/system/core/trusty/keymaster/3.0/
DTrustyKeymaster3Device.cpp215 Return<void> TrustyKeymaster3Device::getHardwareFeatures(getHardwareFeatures_cb _hidl_cb) { in getHardwareFeatures() argument
216 _hidl_cb(true /* is_secure */, true /* supports_ec */, in getHardwareFeatures()
234 generateKey_cb _hidl_cb) { in generateKey() argument
248 _hidl_cb(legacy_enum_conversion(response.error), resultKeyBlob, resultCharacteristics); in generateKey()
255 getKeyCharacteristics_cb _hidl_cb) { in getKeyCharacteristics() argument
268 _hidl_cb(legacy_enum_conversion(response.error), resultCharacteristics); in getKeyCharacteristics()
275 importKey_cb _hidl_cb) { in importKey() argument
291 _hidl_cb(legacy_enum_conversion(response.error), resultKeyBlob, resultCharacteristics); in importKey()
299 exportKey_cb _hidl_cb) { in exportKey() argument
312 _hidl_cb(legacy_enum_conversion(response.error), resultKeyBlob); in exportKey()
[all …]
/system/core/trusty/keymaster/4.0/
DTrustyKeymaster4Device.cpp267 Return<void> TrustyKeymaster4Device::getHardwareInfo(getHardwareInfo_cb _hidl_cb) { in getHardwareInfo() argument
268 _hidl_cb(SecurityLevel::TRUSTED_ENVIRONMENT, "TrustyKeymaster", "Google"); in getHardwareInfo()
273 getHmacSharingParameters_cb _hidl_cb) { in getHmacSharingParameters() argument
281 _hidl_cb(legacy_enum_conversion(response.error), params); in getHmacSharingParameters()
286 const hidl_vec<HmacSharingParameters>& params, computeSharedHmac_cb _hidl_cb) { in computeSharedHmac() argument
305 _hidl_cb(legacy_enum_conversion(response.error), sharing_check); in computeSharedHmac()
311 const HardwareAuthToken& authToken, verifyAuthorization_cb _hidl_cb) { in verifyAuthorization() argument
332 _hidl_cb(legacy_enum_conversion(response.error), token); in verifyAuthorization()
349 generateKey_cb _hidl_cb) { in generateKey() argument
363 _hidl_cb(legacy_enum_conversion(response.error), resultKeyBlob, resultCharacteristics); in generateKey()
[all …]
/system/libhidl/libhidlmemory/
DHidlMemoryToken.cpp23 Return<void> HidlMemoryToken::get(get_cb _hidl_cb) { in get() argument
24 _hidl_cb(*mMemory); in get()
/system/hardware/interfaces/wifi/keystore/1.0/default/include/wifikeystorehal/
Dkeystore.h32 Return<void> getBlob(const hidl_string& key, getBlob_cb _hidl_cb) override;
34 const hidl_string& keyId, getPublicKey_cb _hidl_cb) override;
37 sign_cb _hidl_cb) override;
/system/hwservicemanager/
DServiceManager.cpp428 Return<void> ServiceManager::list(list_cb _hidl_cb) { in list() argument
430 _hidl_cb({}); in list()
444 _hidl_cb(list); in list()
449 listByInterface_cb _hidl_cb) { in listByInterface() argument
451 _hidl_cb({}); in listByInterface()
457 _hidl_cb(hidl_vec<hidl_string>()); in listByInterface()
482 _hidl_cb(list); in listByInterface()
651 listManifestByInterface_cb _hidl_cb) { in listManifestByInterface() argument
653 _hidl_cb({}); in listManifestByInterface()
660 _hidl_cb(ret); in listManifestByInterface()
DServiceManager.h53 Return<void> list(list_cb _hidl_cb) override;
55 listByInterface_cb _hidl_cb) override;
81 listManifestByInterface_cb _hidl_cb) override;
/system/libhidl/libhidlmemory/include/hidlmemory/
DHidlMemoryToken.h26 Return<void> get(get_cb _hidl_cb) override;
/system/netd/server/
DNetdHwService.cpp65 Return<void> NetdHwService::createOemNetwork(createOemNetwork_cb _hidl_cb) { in createOemNetwork() argument
76 _hidl_cb(netIdToNetHandle(netId), fwmark.intValue, toHalStatus(ret)); in createOemNetwork()
DNetdHwService.h34 Return<void> createOemNetwork(createOemNetwork_cb _hidl_cb) override;
/system/tools/hidl/test/hidl_test/
DFooCallback.h29 Return<void> reportResults(int64_t ns, reportResults_cb _hidl_cb) override;

12