Home
last modified time | relevance | path

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

12

/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/keymaster/ng/include/
DAndroidKeymaster4Device.h54 Return<void> getHardwareInfo(getHardwareInfo_cb _hidl_cb) override;
55 Return<void> getHmacSharingParameters(getHmacSharingParameters_cb _hidl_cb) override;
61 verifyAuthorization_cb _hidl_cb) override;
64 generateKey_cb _hidl_cb) override;
68 getKeyCharacteristics_cb _hidl_cb) override;
70 const hidl_vec<uint8_t>& keyData, importKey_cb _hidl_cb) override;
76 importWrappedKey_cb _hidl_cb) override;
79 exportKey_cb _hidl_cb) override;
82 attestKey_cb _hidl_cb) override;
85 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/keymaster/include/trusty_keymaster/
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.h219 update_cb _hidl_cb);
226 void abort(sp<IBinder> token, abort_cb _hidl_cb);
229 void getHardwareInfo(getHardwareInfo_cb _hidl_cb);
233 void getHmacSharingParameters(getHmacSharingParameters_cb _hidl_cb);
237 void computeSharedHmac(hidl_vec<HmacSharingParameters> params, computeSharedHmac_cb _hidl_cb);
242 HardwareAuthToken token, verifyAuthorization_cb _hidl_cb);
245 void addRngEntropy(hidl_vec<uint8_t> data, addRngEntropy_cb _hidl_cb);
250 hidl_vec<uint8_t> entropy, int flags, generateKey_cb _hidl_cb);
253 void generateKey(hidl_vec<KeyParameter> keyParams, generateKey2_cb _hidl_cb);
259 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.cpp223 Return<void> AndroidKeymaster4Device::getHardwareInfo(getHardwareInfo_cb _hidl_cb) { in getHardwareInfo() argument
224 _hidl_cb(securityLevel_, in getHardwareInfo()
230 AndroidKeymaster4Device::getHmacSharingParameters(getHmacSharingParameters_cb _hidl_cb) { in getHmacSharingParameters() argument
238 _hidl_cb(legacy_enum_conversion(response.error), params); in getHmacSharingParameters()
244 computeSharedHmac_cb _hidl_cb) { in computeSharedHmac() argument
261 _hidl_cb(legacy_enum_conversion(response.error), sharing_check); in computeSharedHmac()
268 verifyAuthorization_cb _hidl_cb) { in verifyAuthorization() argument
290 _hidl_cb(legacy_enum_conversion(response.error), token); in verifyAuthorization()
308 generateKey_cb _hidl_cb) { in generateKey() argument
322 _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/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/connectivity/wificond/tests/
Dmock_offload.h45 StatusCallback _hidl_cb));
50 StatusCallback _hidl_cb));
/system/hwservicemanager/
DServiceManager.cpp418 Return<void> ServiceManager::list(list_cb _hidl_cb) { in list() argument
420 _hidl_cb({}); in list()
434 _hidl_cb(list); in list()
439 listByInterface_cb _hidl_cb) { in listByInterface() argument
441 _hidl_cb({}); in listByInterface()
447 _hidl_cb(hidl_vec<hidl_string>()); in listByInterface()
472 _hidl_cb(list); in listByInterface()
637 listManifestByInterface_cb _hidl_cb) { in listManifestByInterface() argument
639 _hidl_cb({}); in listManifestByInterface()
646 _hidl_cb(ret); in listManifestByInterface()
DServiceManager.h54 Return<void> list(list_cb _hidl_cb) override;
56 listByInterface_cb _hidl_cb) override;
82 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;
/system/chre/host/hal_generic/
Dgeneric_context_hub.h60 Return<void> getHubs(getHubs_cb _hidl_cb) override;
Dgeneric_context_hub.cc129 Return<void> GenericContextHub::getHubs(getHubs_cb _hidl_cb) { in getHubs() argument
165 _hidl_cb(hubs); in getHubs()
/system/tools/hidl/
DAndroid.bp37 // _hidl_cb and addOnewayTask are stuck because of the legacy ABI
/system/bt/audio_hal_interface/
Dclient_interface.cc105 Return<void> getPresentationPosition(getPresentationPosition_cb _hidl_cb) { in getPresentationPosition() argument
124 _hidl_cb((retval ? BluetoothAudioStatus::SUCCESS in getPresentationPosition()

12