/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | keystore.cpp | 64 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/ |
D | AndroidKeymaster4Device.h | 54 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 …]
|
D | AndroidKeymaster3Device.h | 62 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/ |
D | TrustyKeymaster3Device.h | 47 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/ |
D | legacy_keymaster_device_wrapper.h | 50 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;
|
D | legacy_keymaster_device_wrapper.cpp | 206 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 …]
|
D | keymaster_worker.h | 219 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/ |
D | AshmemAllocator.cpp | 53 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()
|
D | AshmemAllocator.h | 41 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/ |
D | AndroidKeymaster3Device.cpp | 238 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 …]
|
D | AndroidKeymaster4Device.cpp | 223 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/ |
D | TrustyKeymaster3Device.cpp | 215 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/ |
D | HidlMemoryToken.cpp | 23 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/ |
D | keystore.h | 32 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/ |
D | mock_offload.h | 45 StatusCallback _hidl_cb)); 50 StatusCallback _hidl_cb));
|
/system/hwservicemanager/ |
D | ServiceManager.cpp | 418 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()
|
D | ServiceManager.h | 54 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/ |
D | HidlMemoryToken.h | 26 Return<void> get(get_cb _hidl_cb) override;
|
/system/netd/server/ |
D | NetdHwService.cpp | 65 Return<void> NetdHwService::createOemNetwork(createOemNetwork_cb _hidl_cb) { in createOemNetwork() argument 76 _hidl_cb(netIdToNetHandle(netId), fwmark.intValue, toHalStatus(ret)); in createOemNetwork()
|
D | NetdHwService.h | 34 Return<void> createOemNetwork(createOemNetwork_cb _hidl_cb) override;
|
/system/tools/hidl/test/hidl_test/ |
D | FooCallback.h | 29 Return<void> reportResults(int64_t ns, reportResults_cb _hidl_cb) override;
|
/system/chre/host/hal_generic/ |
D | generic_context_hub.h | 60 Return<void> getHubs(getHubs_cb _hidl_cb) override;
|
D | generic_context_hub.cc | 129 Return<void> GenericContextHub::getHubs(getHubs_cb _hidl_cb) { in getHubs() argument 165 _hidl_cb(hubs); in getHubs()
|
/system/tools/hidl/ |
D | Android.bp | 37 // _hidl_cb and addOnewayTask are stuck because of the legacy ABI
|
/system/bt/audio_hal_interface/ |
D | client_interface.cc | 105 Return<void> getPresentationPosition(getPresentationPosition_cb _hidl_cb) { in getPresentationPosition() argument 124 _hidl_cb((retval ? BluetoothAudioStatus::SUCCESS in getPresentationPosition()
|