/system/chre/util/include/chre/util/ |
D | unique_ptr_impl.h | 32 UniquePtr<ObjectType>::UniquePtr() : mObject(nullptr) {} in UniquePtr() function 35 UniquePtr<ObjectType>::UniquePtr(ObjectType *object) : mObject(object) {} in UniquePtr() function 38 UniquePtr<ObjectType>::UniquePtr(UniquePtr<ObjectType> &&other) { in UniquePtr() function 45 UniquePtr<ObjectType>::UniquePtr(UniquePtr<OtherObjectType> &&other) { in UniquePtr() function 51 UniquePtr<ObjectType>::~UniquePtr() { in ~UniquePtr() 56 bool UniquePtr<ObjectType>::isNull() const { in isNull() 61 ObjectType *UniquePtr<ObjectType>::get() const { in get() 66 ObjectType *UniquePtr<ObjectType>::release() { in release() 73 void UniquePtr<ObjectType>::reset(ObjectType *object) { in reset() 81 void UniquePtr<ObjectType>::reset() { in reset() [all …]
|
D | unique_ptr.h | 32 class UniquePtr : public NonCopyable { 42 UniquePtr(); 52 UniquePtr(ObjectType *object); 59 UniquePtr(UniquePtr<ObjectType> &&other); 69 UniquePtr(UniquePtr<OtherObjectType> &&other); 74 ~UniquePtr(); 138 UniquePtr<ObjectType> &operator=(UniquePtr<ObjectType> &&other); 148 bool operator==(const UniquePtr<ObjectType> &other) const; 158 bool operator!=(const UniquePtr<ObjectType> &other) const; 164 friend class UniquePtr; [all …]
|
/system/chre/apps/include/chre/apps/ |
D | apps.h | 25 UniquePtr<Nanoapp> initializeStaticNanoappAshWorld(); 26 UniquePtr<Nanoapp> initializeStaticNanoappAudioWorld(); 27 UniquePtr<Nanoapp> initializeStaticNanoappDebugDumpWorld(); 28 UniquePtr<Nanoapp> initializeStaticNanoappGnssWorld(); 29 UniquePtr<Nanoapp> initializeStaticNanoappHelloWorld(); 30 UniquePtr<Nanoapp> initializeStaticNanoappHostAwakeWorld(); 31 UniquePtr<Nanoapp> initializeStaticNanoappMessageWorld(); 32 UniquePtr<Nanoapp> initializeStaticNanoappPowerTest(); 33 UniquePtr<Nanoapp> initializeStaticNanoappSensorWorld(); 34 UniquePtr<Nanoapp> initializeStaticNanoappSpammer(); [all …]
|
/system/gatekeeper/include/gatekeeper/ |
D | UniquePtr.h | 52 class UniquePtr { 55 class UniquePtr; 57 UniquePtr() : mPtr(nullptr) {} 59 explicit UniquePtr(T* ptr) : mPtr(ptr) { 62 UniquePtr(const decltype(nullptr)&) : mPtr(nullptr) {} 64 UniquePtr(UniquePtr && other): mPtr(other.mPtr) { 70 UniquePtr(UniquePtr<U>&& other) : mPtr(other.mPtr) { 73 UniquePtr& operator=(UniquePtr && other) { 81 ~UniquePtr() { 116 template <typename T2> bool operator==(const UniquePtr<T2>& p) const; [all …]
|
/system/chre/util/tests/ |
D | unique_ptr_test.cc | 9 using chre::UniquePtr; 31 TEST(UniquePtr, Construct) { in TEST() argument 32 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST() 44 TEST(UniquePtr, MakeUniqueZeroFill) { in TEST() argument 55 TEST(UniquePtr, MoveConstruct) { in TEST() argument 56 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST() 60 UniquePtr<Value> moved(std::move(myInt)); in TEST() 65 TEST(UniquePtr, Move) { in TEST() argument 69 UniquePtr<Value> myInt = MakeUnique<Value>(0xcafe); in TEST() 73 UniquePtr<Value> myMovedInt = MakeUnique<Value>(0); in TEST() [all …]
|
D | blocking_queue_test.cc | 24 using chre::UniquePtr; 43 UniquePtr<int> ptr = MakeUnique<int>(); in TEST() 46 FixedSizeBlockingQueue<UniquePtr<int>, 16> blockingQueue; in TEST()
|
/system/hardware/interfaces/wifi/keystore/1.0/default/ |
D | wifikeystorehal_utils.h | 16 bssl::UniquePtr<X509> decoded_cert(d2i_X509(nullptr, &p, cert_bytes.size())); in extractPubKey() 19 bssl::UniquePtr<BIO> cert_bio(BIO_new_mem_buf(cert_bytes.data(), cert_bytes.size())); in extractPubKey() 25 bssl::UniquePtr<X509>(PEM_read_bio_X509(cert_bio.get(), nullptr, nullptr, nullptr)); in extractPubKey() 31 bssl::UniquePtr<EVP_PKEY> pub_key(X509_get_pubkey(decoded_cert.get())); in extractPubKey() 36 bssl::UniquePtr<BIO> pub_key_bio(BIO_new(BIO_s_mem())); in extractPubKey()
|
/system/keymaster/include/keymaster/contexts/ |
D | keymaster1_passthrough_context.h | 84 UniquePtr<Key>* key) const override; 113 UniquePtr<Key> attest_key, 138 mutable std::unordered_map<keymaster_algorithm_t, UniquePtr<KeyFactory>> factories_; 139 UniquePtr<KeymasterPassthroughEngine> pt_engine_; 140 UniquePtr<Keymaster1Engine> km1_engine_;
|
D | keymaster2_passthrough_context.h | 78 UniquePtr<Key>* key) const override; 107 UniquePtr<Key> attest_key, 126 mutable std::unordered_map<keymaster_algorithm_t, UniquePtr<KeymasterPassthroughKeyFactory>> 128 UniquePtr<KeymasterPassthroughEngine> engine_;
|
/system/keymaster/tests/ |
D | android_keymaster_messages_test.cpp | 39 UniquePtr<uint8_t[]> buf(new uint8_t[size]); in round_trip() 54 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(ver, msg, 4)); in TEST() 63 UniquePtr<EmptyKeymasterResponse> deserialized(round_trip(ver, msg, 4)); in TEST() 87 UniquePtr<GenerateKeyRequest> deserialized(round_trip(ver, req, ver < 4 ? 78 : 170)); in TEST() 116 UniquePtr<GenerateKeyResponse> deserialized; in TEST() 151 UniquePtr<GenerateKeyResponse> deserialized(round_trip(ver, rsp, 4)); in TEST() 164 UniquePtr<GenerateRkpKeyRequest> deserialized(round_trip(ver, req, 1)); in TEST() 178 UniquePtr<GenerateRkpKeyResponse> deserialized; in TEST() 202 UniquePtr<GenerateCsrRequest> deserialized(round_trip(ver, req, 65)); in TEST() 234 UniquePtr<GenerateCsrResponse> deserialized; in TEST() [all …]
|
/system/chre/core/include/chre/core/ |
D | event_loop_manager.h | 59 UniquePtr<T> &&data); 120 void deferCallback(SystemCallbackType type, UniquePtr<T> &&data, in deferCallback() 125 UniquePtr<T> dataWrapped = UniquePtr<T>(static_cast<T *>(data)); in deferCallback() 143 void deferCallback(SystemCallbackType type, UniquePtr<T> &&data, in deferCallback() 154 void deferCallback(SystemCallbackType /*type*/, UniquePtr<T> && /*data*/, in deferCallback()
|
/system/chre/platform/slpi/see/include/chre/target_platform/ |
D | platform_sensor_manager_base.h | 62 UniquePtr<SeeHelperCallbackInterface::SamplingStatusData> &&status) 66 UniquePtr<uint8_t> &&eventData) override; 72 UniquePtr<struct chreSensorThreeAxisData> &&biasData) override;
|
/system/keymaster/include/keymaster/km_openssl/ |
D | openssl_utils.h | 51 typedef UniquePtr<name, name##_Delete> name##_Ptr; 72 typedef UniquePtr<BIGNUM, BIGNUM_Delete> BIGNUM_Ptr; 83 inline void release_because_ownership_transferred(UniquePtr<T, Delete_T>& p) { in release_because_ownership_transferred() 89 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey); 94 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* evp_pkey);
|
D | rsa_key_factory.h | 33 UniquePtr<Key> attest_key, 42 UniquePtr<Key> attest_key, // 50 UniquePtr<AsymmetricKey>* key) const override;
|
D | ec_key_factory.h | 36 UniquePtr<Key> attest_key, // 45 UniquePtr<Key> attest_key, // 53 UniquePtr<AsymmetricKey>* key) const override;
|
/system/bt/gd/rust/shim/src/ |
D | message_loop_thread.rs | 26 closure: UniquePtr<OnceClosure>, in main_message_loop_thread_do_delayed() 36 tx: UnboundedSender<cxx::UniquePtr<ffi::OnceClosure>>, 43 let (tx, mut rx) = unbounded_channel::<cxx::UniquePtr<ffi::OnceClosure>>(); in main_message_loop_thread_create() 61 closure: cxx::UniquePtr<ffi::OnceClosure>, in main_message_loop_thread_do_delayed()
|
D | hci.rs | 15 cb: cxx::UniquePtr<ffi::u8SliceCallback>, 38 callback: cxx::UniquePtr<ffi::u8SliceOnceCallback>, in hci_send_command() 79 pub fn hci_set_acl_callback(hci: &mut Hci, cb: cxx::UniquePtr<ffi::u8SliceCallback>) { in hci_set_acl_callback() 83 pub fn hci_set_evt_callback(hci: &mut Hci, cb: cxx::UniquePtr<ffi::u8SliceCallback>) { in hci_set_evt_callback() 87 pub fn hci_set_le_evt_callback(hci: &mut Hci, cb: cxx::UniquePtr<ffi::u8SliceCallback>) { in hci_set_le_evt_callback()
|
/system/keymaster/include/keymaster/legacy_support/ |
D | keymaster1_legacy_support.h | 67 UniquePtr<Key> attest_key, // in GenerateKey() 87 UniquePtr<Key> attest_key, // in ImportKey() 106 UniquePtr<Key>* key) const override { in LoadKey() 148 UniquePtr<Key> attest_key, // 158 AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, UniquePtr<Key>* key) const; 163 AuthorizationSet&& hw_enforced, AuthorizationSet&& sw_enforced, UniquePtr<Key>* key) const;
|
D | keymaster_passthrough_key.h | 44 UniquePtr<Key> /* attest_key */, in GenerateKey() 55 UniquePtr<Key> /* attest_key */, in ImportKey() 67 UniquePtr<Key>* key) const override; 98 UniquePtr<uint8_t[]>* material,
|
D | ec_keymaster1_key.h | 45 UniquePtr<Key> attest_key, // 55 UniquePtr<Key> attest_key, // 65 UniquePtr<Key>* key) const override;
|
/system/keymaster/km_openssl/ |
D | asymmetric_key_factory.cpp | 45 UniquePtr<Key>* key) const { in LoadKey() 46 UniquePtr<AsymmetricKey> asym_key; in LoadKey() 56 UniquePtr<EVP_PKEY, EVP_PKEY_Delete> pkey_deleter(pkey); in LoadKey()
|
D | openssl_utils.cpp | 81 UniquePtr<EVP_PKEY, EVP_PKEY_Delete>* pkey) { in convert_pkcs8_blob_to_evp() 84 UniquePtr<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_Delete> pkcs8( in convert_pkcs8_blob_to_evp() 140 bssl::UniquePtr<BIGNUM> x(BN_new()); in GetEcdsa256KeyFromCert() 141 bssl::UniquePtr<BIGNUM> y(BN_new()); in GetEcdsa256KeyFromCert() 161 UniquePtr<BN_CTX, BN_CTX_Delete> bn_ctx(BN_CTX_new()); in ec_group_size_bits() 162 UniquePtr<BIGNUM, BIGNUM_Delete> order(BN_new()); in ec_group_size_bits()
|
D | hkdf.cpp | 36 UniquePtr<uint8_t[]> zeros(new (std::nothrow) uint8_t[digest_size_]); in GenerateKey() 44 UniquePtr<uint8_t[]> pseudo_random_key(new (std::nothrow) uint8_t[digest_size_]); in GenerateKey() 57 UniquePtr<uint8_t[]> buf(new (std::nothrow) uint8_t[digest_size_ + info_len + 1]); in GenerateKey() 58 UniquePtr<uint8_t[]> digest(new (std::nothrow) uint8_t[digest_size_]); in GenerateKey()
|
/system/keymaster/include/keymaster/ |
D | key_factory.h | 40 UniquePtr<Key> attestation_signing_key, 50 UniquePtr<Key> attestation_signing_key, // 61 UniquePtr<Key>* key) const = 0;
|
D | operation_table.h | 27 using OperationPtr = UniquePtr<Operation>; 38 UniquePtr<OperationPtr[]> table_;
|