Searched defs:object (Results 1 - 20 of 20) sorted by relevance

/system/bt/osi/test/
H A Dreactor_test.cc73 reactor_object_t* object; member in struct:__anon755
78 reactor_unregister(arg->object);
88 arg.object = reactor_register(reactor, fd, &arg, unregister_cb, NULL);
103 reactor_object_t* object = reactor_register(reactor, fd, NULL, NULL, NULL); local
106 reactor_unregister(object);
/system/chre/util/include/chre/util/
H A Doptional_impl.h28 Optional<ObjectType>::Optional(const ObjectType& object) { argument
29 new (objectAddr()) ObjectType(object);
34 Optional<ObjectType>::Optional(ObjectType&& object) { argument
35 new (objectAddr()) ObjectType(std::move(object));
47 object().~ObjectType();
54 return object();
59 return object();
65 object() = std::move(other);
79 object() = std::move(other.object());
141 ObjectType& Optional<ObjectType>::object() { function in class:chre::Optional
146 const ObjectType& Optional<ObjectType>::object() const { function in class:chre::Optional
[all...]
H A Dunique_ptr_impl.h32 UniquePtr<ObjectType>::UniquePtr(ObjectType *object) : mObject(object) {} argument
/system/connectivity/wificond/scanning/offload/
H A Dhidl_call_util.h84 // Invokes |method| on |object|, providing |method| a CallbackT as the
90 MethodT method, ObjectT object, ArgT&&... methodArg) {
92 const auto& res = ((*object).*method)(std::forward<ArgT>(methodArg)...,
89 invokeMethod( MethodT method, ObjectT object, ArgT&&... methodArg) argument
/system/nvram/core/
H A Dpersistence.cpp32 // Encodes an |object| as a protobuf message and writes it to |blob|. Note that
34 // of the encoded object. This is not good enough here, as encoding should
46 storage::Status EncodeObject(const Object& object, Blob* blob) { argument
50 if (!proto::detail::MessageEncoder<Object>::Encode(object, &writer) ||
52 NVRAM_LOG_ERR("Failed to encode object.");
58 // Decodes a protobuf-encoded |object| from |blob|. It is OK if the provided
59 // |blob| includes trailing data that doesn't belong to the encoded object.
67 storage::Status DecodeObject(const Blob& blob, Object* object) { argument
72 !proto::detail::MessageDecoder<Object>::Decode(*object, &reader)) {
73 NVRAM_LOG_ERR("Failed to decode object o
[all...]
/system/nvram/messages/
H A Dmessage_codec.cpp22 MessageEncoderBase::MessageEncoderBase(const void* object, argument
25 : object_(object),
29 bool MessageEncoderBase::Encode(const void* object, argument
33 MessageEncoderBase encoder(object, descriptors, num_descriptors);
46 // message. Note that computing the size of |object| requires a second
82 MessageDecoderBase::MessageDecoderBase(void* object, argument
85 : object_(object),
89 bool MessageDecoderBase::Decode(void* object, argument
93 MessageDecoderBase decoder(object, descriptors, num_descriptors);
/system/libhwbinder/include/hwbinder/
H A DBpHwBinder.h50 void* object,
68 void* object,
82 void* object; member in struct:android::hardware::BpHwBinder::ObjectManager::entry_t
/system/bt/osi/src/
H A Dreactor.cc55 reactor_t* reactor; // the reactor instance this object is registered with.
56 std::mutex* mutex; // protects the lifetime of this object and all variables.
92 LOG_ERROR(LOG_TAG, "%s unable to allocate object invalidation list.",
145 reactor_object_t* object = local
148 object->reactor = reactor;
149 object->fd = fd;
150 object->context = context;
151 object->read_ready = read_ready;
152 object->write_ready = write_ready;
153 object
172 reactor_change_registration(reactor_object_t* object, void (*read_ready)(void* context), void (*write_ready)(void* context)) argument
267 reactor_object_t* object = (reactor_object_t*)events[j].data.ptr; local
[all...]
/system/nvram/messages/include/nvram/messages/
H A Dproto.hpp107 // * |static bool Encode(const Type& object, ProtoWriter* writer)| writes the
108 // encoded form of |object| to |writer|.
109 // * |static bool Decode(Type& object, ProtoReader* reader)| decodes a field
110 // from |reader| and places recovered data in |object|.
317 static bool Encode(const TaggedUnionType& object, ProtoWriter* writer) { argument
318 const TaggedUnionMemberType* member = object.template get<kTag>();
325 static bool Decode(TaggedUnionType& object, ProtoReader* reader) { argument
327 object.template Activate<kTag>(), reader);
334 // Encodes a member. Retrieves a reference to the member within |object| and
336 static bool EncodeMember(const void* object, ProtoWrite argument
344 DecodeMember(void* object, ProtoReader* reader) argument
390 MessageEncoder(const StructType& object) argument
395 Encode(const StructType& object, ProtoWriter* writer) argument
407 MessageDecoder(StructType& object) argument
412 Decode(StructType& object, ProtoReader* reader) argument
436 Encode(const StructType& object, ProtoWriter* writer) argument
440 Decode(StructType& object, ProtoReader* reader) argument
449 GetSize(const Struct& object) argument
458 Encode(const Struct& object, OutputStreamBuffer* stream) argument
470 Decode(Struct* object, InputStreamBuffer* stream) argument
[all...]
/system/libhwbinder/
H A DBinder.cpp118 const void* objectID, void* object, void* cleanupCookie,
136 e->mObjects.attach(objectID, object, cleanupCookie, func);
180 // the BpHwRefBase object holding it (when it is constructed), to the
181 // owner of the BpHwRefBase object when it first acquires that BpHwRefBase.
117 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
H A DBpHwBinder.cpp45 const void* objectID, void* object, void* cleanupCookie,
49 e.object = object;
54 ALOGE("Trying to attach object ID %p to binder ObjectManager %p with object %p, but object ID already in use",
55 objectID, this, object);
66 return mObjects.valueAt(i).object;
81 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie);
229 const void* objectID, void* object, voi
44 attach( const void* objectID, void* object, void* cleanupCookie, IBinder::object_cleanup_func func) argument
228 attachObject( const void* objectID, void* object, void* cleanupCookie, object_cleanup_func func) argument
[all...]
H A DProcessState.cpp83 void ProcessState::setContextObject(const sp<IBinder>& object) argument
85 setContextObject(object, String16("default"));
93 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) argument
96 mContexts.add(name, object);
102 sp<IBinder> object(
106 //printf("Getting context object %s for %p\n", String8(name).string(), caller.get());
108 if (object != NULL) return object;
125 object = reply.readStrongBinder();
131 if (object !
[all...]
/system/libvintf/
H A DVintfObject.cpp32 std::unique_ptr<T> object; member in struct:android::vintf::LockedUniquePtr
48 if (skipCache || ptr->object == nullptr) {
49 ptr->object = std::make_unique<T>();
50 if (fetchAllInformation(ptr->object.get()) != OK) {
51 ptr->object = nullptr; // frees the old object
54 return ptr->object.get();
H A Dparse_xml.cpp159 inline bool deserialize(Object *object, NodeType *root) const { argument
163 return this->buildObject(object, root);
190 // All append* functions helps mutateNode() to serialize the object into XML.
227 // All parse* functions helps buildObject() to deserialize XML to the object. Returns
375 virtual void mutateNode(const Object &object, NodeType *root, DocType *d) const override {
376 appendText(root, ::android::vintf::to_string(object), d);
378 virtual bool buildObject(Object *object, NodeType *root) const override {
379 return this->parseText(root, object);
396 void mutateNode(const TransportArch &object, NodeType *root, DocType *d) const override {
397 if (object
[all...]
/system/update_engine/common/
H A Dtest_utils.h104 // Class to unmount FS when object goes out of scope
214 // This is a simple Action class for testing. It feeds an object into
248 // This is a simple Action class for testing. It receives an object from
265 const T& object() const { return object_; } function in class:chromeos_update_engine::ObjectCollectorAction
/system/vold/
H A DKeymaster.cpp258 const uint8_t* object,
268 if (!key_blob || !object || !signature_buffer || !signature_buffer_size) {
275 std::string input(reinterpret_cast<const char*>(object), object_size);
255 keymaster_sign_object_for_cryptfs_scrypt(const uint8_t* key_blob, size_t key_blob_size, uint32_t ratelimit, const uint8_t* object, const size_t object_size, uint8_t** signature_buffer, size_t* signature_buffer_size) argument
H A Dcryptfs.cpp133 /* This signs the given object using the keymaster key. */
135 const unsigned char *object,
163 // object size. However, it's still broken (but not unusably
166 memcpy(to_sign + 1, object, std::min((size_t)RSA_KEY_SIZE_BYTES - 1, object_size));
167 SLOGI("Signing safely-padded object");
134 keymaster_sign_object(struct crypt_mnt_ftr *ftr, const unsigned char *object, const size_t object_size, unsigned char **signature, size_t *signature_size) argument
/system/vold/tests/
H A DCryptfsScryptHidlizationEquivalence_test.cpp230 /* This signs the given object using the keymaster key. */
232 const unsigned char *object,
270 // object size. However, it's still broken (but not unusably
273 memcpy(to_sign + 1, object, min(RSA_KEY_SIZE_BYTES - 1, object_size));
274 SLOGI("Signing safely-padded object");
394 /* This signs the given object using the keymaster key. */
396 const unsigned char *object,
424 // object size. However, it's still broken (but not unusably
427 memcpy(to_sign + 1, object, min(RSA_KEY_SIZE_BYTES - 1, object_size));
428 SLOGI("Signing safely-padded object");
231 keymaster_sign_object_old(struct crypt_mnt_ftr *ftr, const unsigned char *object, const size_t object_size, unsigned char **signature, size_t *signature_size) argument
395 keymaster_sign_object_new(struct crypt_mnt_ftr *ftr, const unsigned char *object, const size_t object_size, unsigned char **signature, size_t *signature_size) argument
460 uint8_t object[] = "the object"; local
[all...]
/system/tools/aidl/
H A Dast_java.h101 Expression* object; member in struct:android::aidl::java::FieldVariable
105 FieldVariable(Expression* object, const std::string& name);
/system/tpm/attestation/common/
H A Dtpm_utility_v1.cc199 TPM_LOG(ERROR, result) << __func__ << ": Failed to create object.";
276 // Create a PCRS object which holds the value of PCR0.
291 // Create a ENCDATA object to receive the sealed data.
333 // Create an ENCDATA object with the sealed value.
448 // Create a hash object to hold the digest.
453 TPM_LOG(ERROR, result) << __func__ << ": Failed to create hash object.";
543 // and we need to get it manually. Once it's in the key object, we don't need
615 TSS_HOBJECT object,
622 Tspi_GetAttribData(object, flag, sub_flag, &length, buffer.ptr());
624 TPM_LOG(ERROR, result) << __func__ << "Failed to read object attribut
614 GetDataAttribute(TSS_HCONTEXT context, TSS_HOBJECT object, TSS_FLAG flag, TSS_FLAG sub_flag, std::string* data) argument
[all...]

Completed in 288 milliseconds