/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/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/bt/osi/src/ |
D | reactor.cc | 145 reactor_object_t* object = in reactor_register() local 148 object->reactor = reactor; in reactor_register() 149 object->fd = fd; in reactor_register() 150 object->context = context; in reactor_register() 151 object->read_ready = read_ready; in reactor_register() 152 object->write_ready = write_ready; in reactor_register() 153 object->mutex = new std::mutex; in reactor_register() 159 event.data.ptr = object; in reactor_register() 164 delete object->mutex; in reactor_register() 165 osi_free(object); in reactor_register() [all …]
|
/system/libvintf/ |
D | parse_xml.cpp | 165 inline bool deserialize(Object* object, NodeType* root) { in deserialize() 166 bool ret = deserialize(object, root, &mLastError); in deserialize() 173 inline bool deserialize(Object* object, NodeType* root, std::string* error) const { in deserialize() 177 return this->buildObject(object, root, error); in deserialize() 409 virtual void mutateNode(const Object &object, NodeType *root, DocType *d) const override { in mutateNode() 410 appendText(root, ::android::vintf::to_string(object), d); in mutateNode() 412 virtual bool buildObject(Object* object, NodeType* root, std::string* error) const override { in buildObject() 413 return this->parseText(root, object, error); in buildObject() 455 void mutateNode(const TransportArch &object, NodeType *root, DocType *d) const override { in mutateNode() 456 if (object.arch != Arch::ARCH_EMPTY) { in mutateNode() [all …]
|
D | CompatibilityMatrix.cpp | 352 if (e.object.type() != SchemaType::FRAMEWORK) { in combine() 362 if (e.object.level() == Level::UNSPECIFIED) { in combine() 363 e.object.mLevel = deviceLevel; in combine() 370 [](const auto& x, const auto& y) { return x.object.level() < y.object.level(); }); in combine() 378 if (e.object.level() < deviceLevel) { in combine() 383 if (e.object.level() == deviceLevel) { in combine() 422 if (!addAllHals(&inputMatrix->object, error) || !addAllXmlFiles(&inputMatrix->object, error) || in addAll() 423 !addAllKernels(&inputMatrix->object, error) || !addSepolicy(&inputMatrix->object, error) || in addAll() 424 !addAvbMetaVersion(&inputMatrix->object, error) || !addVndk(&inputMatrix->object, error) || in addAll() 425 !addVendorNdk(&inputMatrix->object, error) || !addSystemSdk(&inputMatrix->object, error)) { in addAll() [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/extras/simpleperf/ |
D | read_elf.cpp | 145 ElfStatus GetBuildIdFromELFFile(const llvm::object::ELFObjectFile<ELFT>* elf, BuildId* build_id) { in GetBuildIdFromELFFile() 150 const llvm::object::ELFSectionRef& section_ref = *it; in GetBuildIdFromELFFile() 166 static ElfStatus GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) { in GetBuildIdFromObjectFile() 167 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(obj)) { in GetBuildIdFromObjectFile() 169 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(obj)) { in GetBuildIdFromObjectFile() 176 llvm::object::OwningBinary<llvm::object::Binary> binary; 177 llvm::object::ObjectFile* obj; 199 auto binary_or_err = llvm::object::createBinary(buffer_or_err.get()->getMemBufferRef()); in OpenObjectFile() 203 wrapper->binary = llvm::object::OwningBinary<llvm::object::Binary>(std::move(binary_or_err.get()), in OpenObjectFile() 205 wrapper->obj = llvm::dyn_cast<llvm::object::ObjectFile>(wrapper->binary.getBinary()); in OpenObjectFile() [all …]
|
/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/libvintf/include/vintf/ |
D | Named.h | 25 T object; member 28 Named(const std::string& n, const T& o) : name(n), object(o) {} in Named() 29 Named(std::string&& n, T&& o) : name(std::move(n)), object(std::move(o)) {} in Named()
|
/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/libhwbinder/ |
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() 236 const void* objectID, void* object, void* cleanupCookie, in attachObject() argument 240 ALOGV("Attaching object %p to binder %p (manager=%p)", object, this, &mObjects); in attachObject() 241 mObjects.attach(objectID, object, cleanupCookie, func); in attachObject()
|
D | ProcessState.cpp | 95 void ProcessState::setContextObject(const sp<IBinder>& object) in setContextObject() argument 97 setContextObject(object, String16("default")); in setContextObject() 105 void ProcessState::setContextObject(const sp<IBinder>& object, const String16& name) in setContextObject() argument 108 mContexts.add(name, object); in setContextObject() 114 sp<IBinder> object( in getContextObject() local 120 if (object != nullptr) return object; in getContextObject() 137 object = reply.readStrongBinder(); in getContextObject() 143 if (object != nullptr) setContextObject(object, name); in getContextObject() 144 return object; in getContextObject()
|
/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/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/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/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/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/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 <() 365 const DeltaObject& object = object_count.first; in ReportPayloadUsage() local 369 object.size * 100.0 / total_size, in ReportPayloadUsage() 370 object.size, in ReportPayloadUsage() 371 (object.type >= 0 in ReportPayloadUsage() 373 static_cast<InstallOperation::Type>(object.type)) in ReportPayloadUsage() 375 object.name.c_str(), in ReportPayloadUsage()
|
/system/update_engine/scripts/ |
D | payload_info_unittest.py | 38 class FakeOption(object): 50 class FakeOp(object): 63 class FakePartition(object): 70 class FakeManifest(object): 106 class FakeHeader(object): 119 class FakePayload(object): 192 with mock.patch.object(update_payload, 'Payload', return_value=payload), \
|
/system/libhwbinder/include/hwbinder/ |
D | BpHwBinder.h | 50 void* object, 73 void* object, 87 void* object; member
|
/system/sepolicy/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. 73 # Read operations: Subject must dominate object unless the subject 74 # or the object is trusted. 81 # Write operations: Subject must be equivalent to the object unless the 82 # subject or the object is trusted. 91 # creating process' label. Thus we also have an exemption when the "object"
|