/system/bt/osi/src/ |
H A D | reactor.cc | 55 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 D | message_codec.h | 36 // A function to encode a struct field in protobuf wire format. |object| is a 38 using EncodeFunction = bool(const void* object, ProtoWriter* writer); 41 // data is stored in the struct instance pointed at by |object|. 42 using DecodeFunction = bool(void* object, ProtoReader* reader); 59 // A table-driven protobuf message encoder. Takes a pointer to a C++ object to 64 // Initialize the encoder to encode |object|, using the descriptor table 66 MessageEncoderBase(const void* object, 72 static bool Encode(const void* object, 77 // Returns the encoded size of the object. 80 // Encodes the object a [all...] |
H A D | proto.hpp | 107 // * |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...] |
H A D | struct.h | 19 // members in an object. 131 const MemberType& Get(const Struct& object) const { 132 return object.*kMember; 135 MemberType& Get(Struct& object) const { 136 return object.*kMember;
|
/system/libvintf/ |
H A D | parse_xml.cpp | 153 inline bool deserialize(Object *object, NodeType *root) const { argument 157 return this->buildObject(object, root); 184 // All append* functions helps mutateNode() to serialize the object into XML. 221 // All parse* functions helps buildObject() to deserialize XML to the object. Returns 362 virtual void mutateNode(const Object &object, NodeType *root, DocType *d) const override { 363 appendText(root, ::android::vintf::to_string(object), d); 365 virtual bool buildObject(Object *object, NodeType *root) const override { 366 return this->parseText(root, object); 383 void mutateNode(const TransportArch &object, NodeType *root, DocType *d) const override { 384 if (object [all...] |
H A D | VintfObject.cpp | 32 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();
|
/system/chre/util/include/chre/util/ |
H A D | optional.h | 23 * This container keeps track of an optional object. The container is similar to 30 * Default constructs the optional object with no initial value. 37 * @param object The initial value of the object. 39 Optional(const ObjectType& object); 44 * @param object The instance of the initial object to take ownership of. 46 Optional(ObjectType&& object); 49 * @return Returns true if the object tracked by this container has been 56 * object [all...] |
H A D | optional_impl.h | 28 Optional<ObjectType>::Optional(const ObjectType& object) argument 29 : mObject(object), mHasValue(true) {} 32 Optional<ObjectType>::Optional(ObjectType&& object) argument 33 : mObject(std::move(object)), mHasValue(true) {}
|
H A D | unique_ptr.h | 25 * Wraps a pointer to a dynamically allocated object and manages the underlying 33 * Construct a UniquePtr instance that does not own any object. 38 * Constructs a UniquePtr instance that owns the given object, and will free 41 * @param object Pointer to an object allocated via memoryAlloc. It is not 42 * valid for this object's memory to come from any other source, 45 UniquePtr(ObjectType *object); 50 * @param other UniquePtr instance to move into this object 55 * Deconstructs the object (if necessary) and releases associated memory. 60 * Determines if this UniquePtr owns an object, o [all...] |
H A D | unique_ptr_impl.h | 30 UniquePtr<ObjectType>::UniquePtr(ObjectType *object) : mObject(object) {} argument
|
/system/nvram/messages/ |
H A D | message_codec.cpp | 22 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/extras/simpleperf/ |
H A D | read_elf.cpp | 144 ElfStatus GetBuildIdFromELFFile(const llvm::object::ELFObjectFile<ELFT>* elf, BuildId* build_id) { 146 const llvm::object::ELFSectionRef& section_ref = *it; 160 static ElfStatus GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) { 161 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(obj)) { 163 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(obj)) { 170 llvm::object::OwningBinary<llvm::object::Binary> binary; 171 llvm::object::ObjectFile* obj; 193 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); 197 wrapper->binary = llvm::object [all...] |
/system/chre/platform/shared/idl/ |
H A D | update.sh | 9 --gen-mutable --gen-object-api host_messages.fbs
|
/system/bt/osi/test/ |
H A D | reactor_test.cc | 73 reactor_object_t* object; member in struct:__anon760 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/libhwbinder/include/hwbinder/ |
H A D | BpHwBinder.h | 50 void* object, 68 void* object, 82 void* object; member in struct:android::hardware::BpHwBinder::ObjectManager::entry_t
|
H A D | ProcessState.h | 40 void setContextObject(const sp<IBinder>& object); 43 void setContextObject(const sp<IBinder>& object,
|
H A D | IBinder.h | 37 * Base class and low-level protocol for a remotable object. 38 * You can derive from this class to create an object for which other 69 * goes away. If this binder object unexpectedly goes away 95 * The @a recipient will no longer be called if this object 110 void* object,
|
/system/bt/osi/include/ |
H A D | reactor.h | 40 // Creates a new reactor object. Returns NULL on failure. The returned object 44 // Frees a reactor object created with |reactor_new|. |reactor| may be NULL. 52 // registered object becomes ready. |reactor| may not be NULL. 66 // may be NULL. This function returns an opaque object that represents the file 68 // interested in events on the |fd|, it must free the returned object by calling 75 // |object|. If the caller has already registered a file descriptor with a 76 // reactor, has a valid |object|, and decides to change the |read_ready| and/or 79 // |object| may not be NULL, |read_ready| and |write_ready| may be NULL. 80 bool reactor_change_registration(reactor_object_t* object, [all...] |
/system/libhwbinder/ |
H A D | BpHwBinder.cpp | 45 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 D | ProcessState.cpp | 78 void ProcessState::setContextObject(const sp<IBinder>& object) argument 80 setContextObject(object, String16("default")); 88 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) argument 91 mContexts.add(name, object); 97 sp<IBinder> object( 101 //printf("Getting context object %s for %p\n", String8(name).string(), caller.get()); 103 if (object != NULL) return object; 120 object = reply.readStrongBinder(); 126 if (object ! [all...] |
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
H A D | test_channel.py | 59 class Connection(object): 60 """Simple wrapper class for a socket object. 76 class TestChannel(object): 120 class DeviceManager(object): 133 class Device(object):
|
/system/extras/tests/bootloader/ |
H A D | bootctl.py | 15 class Bootctl(object):
|
/system/nvram/core/ |
H A D | persistence.cpp | 32 // 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/update_engine/payload_generator/ |
H A D | payload_file.cc | 43 bool operator <(const DeltaObject& object) const { 44 return (size != object.size) ? (size < object.size) : (name < object.name); 344 for (const DeltaObject& object : objects) { 347 object.size * 100.0 / total_size, 348 static_cast<intmax_t>(object.size), 349 (object.type >= 0 ? InstallOperationTypeName( 350 static_cast<InstallOperation_Type>(object.type)) 352 object [all...] |
/system/extras/simpleperf/scripts/ |
H A D | simpleperf_report_lib.py | 93 class SampleStructUsingStr(object): 105 class EventStructUsingStr(object): 110 class SymbolStructUsingStr(object): 119 class CallChainEntryStructureUsingStr(object): 125 class CallChainStructureUsingStr(object): 137 class ReportLib(object):
|