/system/extras/libjsonpb/verify/ |
D | test.cpp | 52 auto object = JsonStringToMessage<T>(json); in TestParseOkWithUnknownKey() local 53 ASSERT_TRUE(object.ok()) << object.error(); in TestParseOkWithUnknownKey() 56 object->GetReflection()->GetString( in TestParseOkWithUnknownKey() 57 *object, object->GetDescriptor()->FindFieldByName(field_name))); in TestParseOkWithUnknownKey() 59 ASSERT_FALSE(AllFieldsAreKnown(*object, json, &error)) in TestParseOkWithUnknownKey() 74 auto object = JsonStringToMessage<WithJsonName>(json); in TEST_F() local 75 ASSERT_TRUE(object.ok()) << object.error(); in TEST_F() 77 EXPECT_EQ("foo_bar", object->foo_bar()); in TEST_F() 78 EXPECT_EQ("barBaz", object->barbaz()); in TEST_F() 79 EXPECT_EQ("BazQux", object->bazqux()); in TEST_F() [all …]
|
/system/bt/gd/dumpsys/internal/ |
D | filter_internal_test.cc | 130 const reflection::Object* object = schema_->root_table(); in TEST_F() local 131 ASSERT_TRUE(object != nullptr); in TEST_F() 133 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 145 const reflection::Object* object = schema_->root_table(); in TEST_F() local 146 ASSERT_TRUE(object != nullptr); in TEST_F() 148 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 161 const reflection::Object* object = schema_->root_table(); in TEST_F() local 162 ASSERT_TRUE(object != nullptr); in TEST_F() 164 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in TEST_F() 176 const reflection::Object* object = schema_->root_table(); in TEST_F() local [all …]
|
/system/bt/osi/src/ |
D | reactor.cc | 143 reactor_object_t* object = in reactor_register() local 146 object->reactor = reactor; in reactor_register() 147 object->fd = fd; in reactor_register() 148 object->context = context; in reactor_register() 149 object->read_ready = read_ready; in reactor_register() 150 object->write_ready = write_ready; in reactor_register() 151 object->mutex = new std::mutex; in reactor_register() 157 event.data.ptr = object; in reactor_register() 162 delete object->mutex; in reactor_register() 163 osi_free(object); in reactor_register() [all …]
|
/system/chre/util/include/chre/util/ |
D | optional_impl.h | 28 Optional<ObjectType>::Optional(const ObjectType& object) { in Optional() argument 29 new (objectAddr()) ObjectType(object); in Optional() 34 Optional<ObjectType>::Optional(ObjectType&& object) { in Optional() argument 35 new (objectAddr()) ObjectType(std::move(object)); in Optional() 52 object().~ObjectType(); in reset() 59 return object(); in value() 64 return object(); in value() 70 object() = std::move(other); 84 object() = std::move(other.object()); 89 new (objectAddr()) ObjectType(std::move(other.object())); [all …]
|
D | optional.h | 46 Optional(const Optional<ObjectType>& object) = default; 53 Optional(Optional<ObjectType>& object) = default; 60 Optional(const ObjectType& object); 67 Optional(ObjectType&& object); 174 ObjectType& object(); 175 const ObjectType& object() const;
|
D | unique_ptr_impl.h | 35 UniquePtr<ObjectType>::UniquePtr(ObjectType *object) : mObject(object) {} in UniquePtr() argument 73 void UniquePtr<ObjectType>::reset(ObjectType *object) { in reset() argument 74 CHRE_ASSERT(object == nullptr || mObject != object); in reset() 77 mObject = object; in reset()
|
/system/libvintf/ |
D | parse_xml.cpp | 166 inline bool deserialize(Object* object, NodeType* root) { in deserialize() 167 bool ret = deserialize(object, root, &mLastError); in deserialize() 174 inline bool deserialize(Object* object, NodeType* root, std::string* error) const { in deserialize() 178 return this->buildObject(object, root, error); in deserialize() 410 virtual void mutateNode(const Object &object, NodeType *root, DocType *d) const override { in mutateNode() 411 appendText(root, ::android::vintf::to_string(object), d); in mutateNode() 413 virtual bool buildObject(Object* object, NodeType* root, std::string* error) const override { in buildObject() 414 return this->parseText(root, object, error); in buildObject() 456 void mutateNode(const TransportArch &object, NodeType *root, DocType *d) const override { in mutateNode() 457 if (object.arch != Arch::ARCH_EMPTY) { in mutateNode() [all …]
|
/system/nvram/messages/include/nvram/messages/ |
D | proto.hpp | 317 static bool Encode(const TaggedUnionType& object, ProtoWriter* writer) { in Encode() 318 const TaggedUnionMemberType* member = object.template get<kTag>(); in Encode() 325 static bool Decode(TaggedUnionType& object, ProtoReader* reader) { in Decode() 327 object.template Activate<kTag>(), reader); in Decode() 336 static bool EncodeMember(const void* object, ProtoWriter* writer) { in EncodeMember() argument 339 spec.Get(*static_cast<const StructType*>(object)), writer); in EncodeMember() 344 static bool DecodeMember(void* object, ProtoReader* reader) { in DecodeMember() argument 347 spec.Get(*static_cast<StructType*>(object)), reader); in DecodeMember() 390 explicit MessageEncoder(const StructType& object) in MessageEncoder() argument 391 : MessageEncoderBase(&object, in MessageEncoder() [all …]
|
D | message_codec.h | 38 using EncodeFunction = bool(const void* object, ProtoWriter* writer); 42 using DecodeFunction = bool(void* object, ProtoReader* reader); 66 MessageEncoderBase(const void* object, 72 static bool Encode(const void* object, 106 MessageDecoderBase(void* object, 111 static bool Decode(void* object,
|
/system/nvram/messages/ |
D | message_codec.cpp | 22 MessageEncoderBase::MessageEncoderBase(const void* object, in MessageEncoderBase() argument 25 : object_(object), in MessageEncoderBase() 29 bool MessageEncoderBase::Encode(const void* object, in Encode() argument 33 MessageEncoderBase encoder(object, descriptors, num_descriptors); in Encode() 82 MessageDecoderBase::MessageDecoderBase(void* object, in MessageDecoderBase() argument 85 : object_(object), in MessageDecoderBase() 89 bool MessageDecoderBase::Decode(void* object, in Decode() argument 93 MessageDecoderBase decoder(object, descriptors, num_descriptors); in Decode()
|
/system/tools/xsdc/tests/src/com/android/xsdc/tests/ |
D | TestCompilationResult.java | 30 for (TestHelper.InMemoryJavaClassObject object : objects) { in ByteArrayClassLoader() 31 codeMap.put(object.getClassName(), object.getBytes()); in ByteArrayClassLoader() 49 for (TestHelper.InMemoryJavaClassObject object : objects) { in TestCompilationResult() 50 Class<?> cls = loader.loadClass(object.getClassName()); in TestCompilationResult() 51 classes.put(object.getClassName(), cls); in TestCompilationResult()
|
/system/bt/gd/dumpsys/ |
D | filter.cc | 63 virtual void FilterObject(const reflection::Object* object, flatbuffers::Table* table){}; in FilterObject() argument 91 void FilterObject(const reflection::Object* object, flatbuffers::Table* table) override; 120 void UserPrivacyFilter::FilterObject(const reflection::Object* object, flatbuffers::Table* table) { in FilterObject() argument 121 ASSERT(object != nullptr); in FilterObject() 125 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in FilterObject() 138 const reflection::Object* object = schema->root_table(); in FilterTable() local 139 if (object == nullptr) { in FilterTable() 148 for (auto it = object->fields()->cbegin(); it != object->fields()->cend(); ++it) { in FilterTable()
|
/system/extras/simpleperf/ |
D | read_elf.cpp | 134 std::unique_ptr<llvm::object::Binary> binary; 135 llvm::object::ObjectFile* obj = nullptr; 161 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenObjectFile() 167 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.get()); in OpenObjectFile() 176 auto binary_or_err = llvm::object::createBinary(buffer->getMemBufferRef()); in OpenObjectFileInMemory() 182 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.get()); in OpenObjectFileInMemory() 196 void ReadSymbolTable(llvm::object::symbol_iterator sym_begin, in ReadSymbolTable() 197 llvm::object::symbol_iterator sym_end, in ReadSymbolTable() 200 const llvm::object::section_iterator& section_end) { in ReadSymbolTable() 203 auto symbol_ref = static_cast<const llvm::object::ELFSymbolRef*>(&*sym_begin); in ReadSymbolTable() [all …]
|
/system/bt/osi/test/ |
D | reactor_test.cc | 73 reactor_object_t* object; member 78 reactor_unregister(arg->object); in unregister_cb() 88 arg.object = reactor_register(reactor, fd, &arg, unregister_cb, NULL); in TEST_F() 103 reactor_object_t* object = reactor_register(reactor, fd, NULL, NULL, NULL); in TEST_F() local 106 reactor_unregister(object); in TEST_F()
|
/system/update_engine/scripts/ |
D | payload_info_unittest.py | 45 class FakeOption(object): 58 class FakeOp(object): 72 class FakeExtent(object): 79 class FakePartitionInfo(object): 85 class FakePartition(object): 95 class FakeManifest(object): 124 class FakeHeader(object): 137 class FakePayload(object): 211 with mock.patch.object(update_payload, 'Payload', return_value=payload), \
|
/system/libhwbinder/ |
D | ProcessState.cpp | 103 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject() argument 105 setContextObject(object, String16("default")); in setContextObject() 113 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject() argument 116 mContexts.add(name, object); in setContextObject() 122 sp<IBinder> object( in getContextObject() local 128 if (object != nullptr) return object; in getContextObject() 145 object = reply.readStrongBinder(); in getContextObject() 151 if (object != nullptr) setContextObject(object, name); in getContextObject() 152 return object; in getContextObject()
|
D | BpHwBinder.cpp | 45 const void* objectID, void* object, void* cleanupCookie, in attach() argument 49 e.object = object; in attach() 55 objectID, this, object); in attach() 66 return mObjects.valueAt(i).object; in find() 81 e.func(mObjects.keyAt(i), e.object, e.cleanupCookie); in kill() 241 const void* objectID, void* object, void* cleanupCookie, in attachObject() argument 245 ALOGV("Attaching object %p to binder %p (manager=%p)", object, this, &mObjects); in attachObject() 246 mObjects.attach(objectID, object, cleanupCookie, func); in attachObject()
|
/system/bt/gd/cert/ |
D | behavior.py | 46 class SingleArgumentBehavior(object): 103 class PersistenceStage(object): 119 class ReplyStage(object): 130 class BehaviorInstance(object): 149 class BoundVerificationStage(object): 160 class WaitForBehaviorSubject(object):
|
/system/update_engine/payload_generator/ |
D | payload_file.cc | 45 bool operator<(const DeltaObject& object) const { in operator <() 46 return (size != object.size) ? (size < object.size) : (name < object.name); in operator <() 330 const DeltaObject& object = object_count.first; in ReportPayloadUsage() local 334 object.size * 100.0 / total_size, in ReportPayloadUsage() 335 object.size, in ReportPayloadUsage() 336 (object.type >= 0 in ReportPayloadUsage() 338 static_cast<InstallOperation::Type>(object.type)) in ReportPayloadUsage() 340 object.name.c_str(), in ReportPayloadUsage()
|
/system/libhidl/transport/base/1.0/ |
D | IBase.hal | 39 * Provides run-time type information for this object. 44 * Calling interfaceChain on an IChild object must yield the following: 50 * object. 55 * Provides run-time type information for this object. 60 * Calling interfaceDescriptor on an IChild object must yield 64 * object (the first element of the vector returned by 83 * @param recipient a hidl_death_recipient callback object 125 * runtime type information on the object. 130 * Calling interfaceChain on an IChild object must yield the following:
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | mls | 25 # Create/relabel operations: Subject must be equivalent to object unless 44 # Create/relabel operations: Subject must be equivalent to object unless 56 # Subject must be equivalent to object unless the subject is trusted. 66 # Read operations: Subject must dominate object unless the subject 67 # or the object is trusted. 74 # Write operations: Subject must be equivalent to the object unless the 75 # subject or the object is trusted. 84 # creating process' label. Thus we also have an exemption when the "object"
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | mls | 25 # Create/relabel operations: Subject must be equivalent to object unless 44 # Create/relabel operations: Subject must be equivalent to object unless 56 # Subject must be equivalent to object unless the subject is trusted. 66 # Read operations: Subject must dominate object unless the subject 67 # or the object is trusted. 74 # Write operations: Subject must be equivalent to the object unless the 75 # subject or the object is trusted. 84 # creating process' label. Thus we also have an exemption when the "object"
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | mls | 25 # Create/relabel operations: Subject must be equivalent to object unless 44 # Create/relabel operations: Subject must be equivalent to object unless 56 # Subject must dominate object unless the subject is trusted. 66 # Read operations: Subject must dominate object unless the subject 67 # or the object is trusted. 74 # Write operations: Subject must be equivalent to the object unless the 75 # subject or the object is trusted. 84 # creating process' label. Thus we also have an exemption when the "object"
|
/system/nvram/core/ |
D | persistence.cpp | 46 storage::Status EncodeObject(const Object& object, Blob* blob) { in EncodeObject() argument 50 if (!proto::detail::MessageEncoder<Object>::Encode(object, &writer) || in EncodeObject() 67 storage::Status DecodeObject(const Blob& blob, Object* object) { in DecodeObject() argument 72 !proto::detail::MessageDecoder<Object>::Decode(*object, &reader)) { in DecodeObject()
|
/system/libhwbinder/include/hwbinder/ |
D | BpHwBinder.h | 50 void* object, 72 void* object, 86 void* object; member
|