/system/tools/hidl/ |
D | Type.cpp | 188 std::unordered_set<const Type*>* visited) const { in recursivePass() 226 std::unordered_set<const Type*>* stack) const { in topologicalOrder() 283 status_t Type::checkForwardReferenceRestrictions(const Reference<Type>& ref) const { in checkForwardReferenceRestrictions() argument 348 bool Type::canCheckEquality(std::unordered_set<const Type*>* visited) const { in canCheckEquality() 357 bool Type::deepCanCheckEquality(std::unordered_set<const Type*>* /* visited */) const { in deepCanCheckEquality() 382 std::string Type::getCppType(StorageMode, bool) const { in getCppType() 388 const std::string &name, StorageMode mode, bool specifyNamespaces) const { in decorateCppName() 392 std::string Type::getJavaType(bool /* forInitializer */) const { in getJavaType() 401 std::string Type::getJavaTypeCast(const std::string& objName) const { in getJavaTypeCast() argument 426 ErrorMode) const { in emitReaderWriter() [all …]
|
D | StringType.cpp | 31 bool StringType::deepCanCheckEquality(std::unordered_set<const Type*>* /* visited */) const { in deepCanCheckEquality() 40 bool specifyNamespaces) const { in getCppType() 57 std::string StringType::getJavaType(bool /* forInitializer */) const { in getJavaType() 75 ErrorMode mode) const { in emitReaderWriter() 135 const std::string &offsetText) const { in emitReaderWriterEmbedded() argument 152 Formatter &out, const std::string &fieldName) const { in emitJavaFieldInitializer() argument 157 Formatter &out, const std::string &declaredFieldName) const { in emitJavaFieldDefaultInitialValue() argument 168 bool isReader) const { in emitJavaFieldReaderWriter() 215 void StringType::emitVtsTypeDeclarations(Formatter& out) const { in emitVtsTypeDeclarations() 220 void StringType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize()
|
D | HandleType.cpp | 37 bool specifyNamespaces) const { in getCppType() 54 std::string HandleType::getJavaType(bool /* forInitializer */) const { in getJavaType() 72 ErrorMode mode) const { in emitReaderWriter() 111 const std::string &offsetText) const { in emitReaderWriterEmbedded() argument 128 Formatter &out, const std::string &fieldName) const { in emitJavaFieldInitializer() argument 134 Formatter &out, const std::string &declaredFieldName) const { in emitJavaFieldDefaultInitialValue() argument 148 bool isReader) const { in emitJavaFieldReaderWriter() 177 bool HandleType::deepIsJavaCompatible(std::unordered_set<const Type*>* /* visited */) const { in deepIsJavaCompatible() 182 void HandleType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() 187 void HandleType::emitVtsTypeDeclarations(Formatter& out) const { in emitVtsTypeDeclarations()
|
D | MemoryType.cpp | 29 bool specifyNamespaces) const { in getCppType() 54 std::string MemoryType::getJavaType(bool /* forInitializer */) const { in getJavaType() 63 Formatter &out, const std::string &fieldName) const { in emitJavaFieldInitializer() argument 69 Formatter &out, const std::string &declaredFieldName) const { in emitJavaFieldDefaultInitialValue() argument 80 bool isReader) const { in emitJavaFieldReaderWriter() 114 bool isReader) const { in emitJavaReaderWriter() 146 ErrorMode mode) const { in emitReaderWriter() 206 const std::string &offsetText) const { in emitReaderWriterEmbedded() argument 234 bool MemoryType::deepIsJavaCompatible(std::unordered_set<const Type*>* /* visited */) const { in deepIsJavaCompatible() 239 void MemoryType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() [all …]
|
D | ScalarType.cpp | 47 bool ScalarType::deepCanCheckEquality(std::unordered_set<const Type*>* /* visited */) const { in deepCanCheckEquality() 55 std::string ScalarType::getCppType(StorageMode, bool) const { in getCppType() 73 std::string ScalarType::getJavaType(bool /* forInitializer */) const { in getJavaType() 149 void ScalarType::emitJavaFieldInitializer(Formatter& out, const std::string& fieldName) const { in emitJavaFieldInitializer() argument 157 const std::string& declaredFieldName) const { in emitJavaFieldDefaultInitialValue() argument 181 ErrorMode mode) const { in emitReaderWriter() 199 bool needsCast) const { in emitReaderWriterWithCast() 242 const std::string &name) const { in emitHexDump() argument 248 const std::string &name) const { in emitConvertToJavaHexString() argument 287 bool isReader) const { in emitJavaFieldReaderWriter() [all …]
|
D | EnumType.cpp | 43 void EnumType::forEachValueFromRoot(const std::function<void(const EnumValue*)> f) const { in forEachValueFromRoot() argument 163 bool EnumType::deepCanCheckEquality(std::unordered_set<const Type*>* /* visited */) const { in deepCanCheckEquality() 167 std::string EnumType::getCppType(StorageMode, in getCppType() 172 std::string EnumType::getJavaType(bool forInitializer) const { in getJavaType() 188 std::string EnumType::getBitfieldCppType(StorageMode /* mode */, bool specifyNamespaces) const { in getBitfieldCppType() 193 std::string EnumType::getBitfieldJavaType(bool forInitializer) const { in getBitfieldJavaType() 201 LocalIdentifier *EnumType::lookupIdentifier(const std::string &name) const { in lookupIdentifier() argument 214 void EnumType::emitJavaFieldInitializer(Formatter& out, const std::string& fieldName) const { in emitJavaFieldInitializer() argument 219 const std::string& fieldName) const { in emitJavaFieldDefaultInitialValue() argument 229 ErrorMode mode) const { in emitReaderWriter() [all …]
|
/system/netd/libnetdutils/ |
D | Syscalls.cpp | 44 StatusOr<UniqueFd> open(const std::string& pathname, int flags, mode_t mode) const override { in open() 52 StatusOr<UniqueFd> socket(int domain, int type, int protocol) const override { in socket() 60 Status getsockname(Fd sock, sockaddr* addr, socklen_t* addrlen) const override { in getsockname() 69 socklen_t* optlen) const override { in getsockopt() 78 socklen_t optlen) const override { in setsockopt() 86 Status bind(Fd sock, const sockaddr* addr, socklen_t addrlen) const override { in bind() 94 Status connect(Fd sock, const sockaddr* addr, socklen_t addrlen) const override { in connect() 102 StatusOr<ifreq> ioctl(Fd sock, unsigned long request, ifreq* ifr) const override { in ioctl() 110 StatusOr<UniqueFd> eventfd(unsigned int initval, int flags) const override { in eventfd() 118 StatusOr<int> ppoll(pollfd* fds, nfds_t nfds, double timeout) const override { in ppoll() [all …]
|
/system/bt/gd/packet/parser/fields/ |
D | checksum_field.cc | 33 void ChecksumField::GenExtractor(std::ostream&, int, bool) const {} in GenExtractor() 39 void ChecksumField::GenGetter(std::ostream&, Size, Size) const {} in GenGetter() argument 41 bool ChecksumField::GenBuilderParameter(std::ostream&) const { in GenBuilderParameter() 49 void ChecksumField::GenParameterValidator(std::ostream&) const { in GenParameterValidator() 53 void ChecksumField::GenInserter(std::ostream& s) const { in GenInserter() 58 void ChecksumField::GenValidator(std::ostream&) const { in GenValidator() 62 void ChecksumField::GenStringRepresentation(std::ostream& s, std::string) const { in GenStringRepresentation()
|
D | size_field.cc | 29 void SizeField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() 39 bool SizeField::GenBuilderParameter(std::ostream&) const { in GenBuilderParameter() 48 void SizeField::GenParameterValidator(std::ostream&) const { in GenParameterValidator() 53 void SizeField::GenInserter(std::ostream&) const { in GenInserter() 57 void SizeField::GenValidator(std::ostream&) const { in GenValidator() 65 void SizeField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
|
D | payload_field.cc | 57 void PayloadField::GenExtractor(std::ostream&, int, bool) const { in GenExtractor() 65 void PayloadField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() 91 void PayloadField::GenBuilderParameterFromView(std::ostream& s) const { in GenBuilderParameterFromView() 99 void PayloadField::GenParameterValidator(std::ostream&) const { in GenParameterValidator() 103 void PayloadField::GenInserter(std::ostream&) const { in GenInserter() 107 void PayloadField::GenValidator(std::ostream&) const { in GenValidator() 111 void PayloadField::GenStringRepresentation(std::ostream& s, std::string) const { in GenStringRepresentation()
|
D | fixed_field.cc | 25 void FixedField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() 35 bool FixedField::GenBuilderParameter(std::ostream&) const { in GenBuilderParameter() 44 void FixedField::GenParameterValidator(std::ostream&) const { in GenParameterValidator() 48 void FixedField::GenInserter(std::ostream& s) const { in GenInserter() 54 void FixedField::GenValidator(std::ostream& s) const { in GenValidator()
|
D | custom_field.cc | 42 void CustomField::GenExtractor(std::ostream& s, int, bool) const { in GenExtractor() 59 void CustomField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() 83 void CustomField::GenParameterValidator(std::ostream&) const { in GenParameterValidator() 87 void CustomField::GenInserter(std::ostream& s) const { in GenInserter() 91 void CustomField::GenValidator(std::ostream&) const { in GenValidator() 95 void CustomField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation() 99 void CustomField::GenBuilderParameterFromView(std::ostream& s) const { in GenBuilderParameterFromView()
|
D | count_field.cc | 29 void CountField::GenGetter(std::ostream& s, Size start_offset, Size end_offset) const { in GenGetter() 35 bool CountField::GenBuilderParameter(std::ostream&) const { in GenBuilderParameter() 44 void CountField::GenParameterValidator(std::ostream&) const { in GenParameterValidator() 49 void CountField::GenInserter(std::ostream&) const { in GenInserter() 53 void CountField::GenValidator(std::ostream&) const { in GenValidator()
|
D | checksum_start_field.cc | 37 void ChecksumStartField::GenExtractor(std::ostream&, int, bool) const {} in GenExtractor() 43 void ChecksumStartField::GenGetter(std::ostream&, Size, Size) const {} in GenGetter() argument 53 void ChecksumStartField::GenParameterValidator(std::ostream&) const {} in GenParameterValidator() 55 void ChecksumStartField::GenInserter(std::ostream&) const { in GenInserter() 59 void ChecksumStartField::GenValidator(std::ostream&) const {} in GenValidator() 65 void ChecksumStartField::GenStringRepresentation(std::ostream&, std::string) const { in GenStringRepresentation()
|
D | custom_field_fixed_size.cc | 34 …omFieldFixedSize::GenBounds(std::ostream& s, Size start_offset, Size end_offset, Size size) const { in GenBounds() 47 void CustomFieldFixedSize::GenExtractor(std::ostream& s, int, bool) const { in GenExtractor() 55 void CustomFieldFixedSize::GenParameterValidator(std::ostream&) const { in GenParameterValidator() 59 void CustomFieldFixedSize::GenInserter(std::ostream& s) const { in GenInserter() 63 void CustomFieldFixedSize::GenValidator(std::ostream&) const { in GenValidator() 67 void CustomFieldFixedSize::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
|
D | body_field.cc | 47 void BodyField::GenExtractor(std::ostream&, int, bool) const {} in GenExtractor() 53 void BodyField::GenGetter(std::ostream&, Size, Size) const {} in GenGetter() argument 63 void BodyField::GenParameterValidator(std::ostream&) const { in GenParameterValidator() 67 void BodyField::GenInserter(std::ostream&) const { in GenInserter() 71 void BodyField::GenValidator(std::ostream&) const { in GenValidator() 75 void BodyField::GenStringRepresentation(std::ostream& s, std::string accessor) const { in GenStringRepresentation()
|
/system/libvintf/ |
D | PropertyFetcher.cpp | 28 const std::string& defaultValue) const { in getProperty() argument 33 uint64_t defaultValue) const { in getUintProperty() 37 bool PropertyFetcherNoOp::getBoolProperty(const std::string&, bool defaultValue) const { in getBoolProperty() 42 const std::string& defaultValue) const { in getProperty() argument 47 uint64_t max) const { in getUintProperty() 51 bool PropertyFetcherImpl::getBoolProperty(const std::string& key, bool defaultValue) const { in getBoolProperty()
|
/system/bt/gd/packet/parser/ |
D | custom_field_def.cc | 30 PacketField* CustomFieldDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField() 42 void CustomFieldDef::GenInclude(std::ostream& s) const { in GenInclude() 46 void CustomFieldDef::GenPyBind11Include(std::ostream& s) const { in GenPyBind11Include() 50 void CustomFieldDef::GenUsing(std::ostream& s) const { in GenUsing() 64 void CustomFieldDef::GenFixedSizeCustomFieldCheck(std::ostream& s) const { in GenFixedSizeCustomFieldCheck() 72 void CustomFieldDef::GenCustomFieldCheck(std::ostream& s, bool little_endian) const { in GenCustomFieldCheck()
|
D | struct_def.cc | 26 PacketField* StructDef::GetNewField(const std::string& name, ParseLocation loc) const { in GetNewField() 38 void StructDef::GenSpecialize(std::ostream& s) const { in GenSpecialize() 48 void StructDef::GenToString(std::ostream& s) const { in GenToString() 79 void StructDef::GenParse(std::ostream& s) const { in GenParse() 161 void StructDef::GenParseFunctionPrototype(std::ostream& s) const { in GenParseFunctionPrototype() 171 void StructDef::GenDefinition(std::ostream& s) const { in GenDefinition() 223 void StructDef::GenDefinitionPybind11(std::ostream& s) const { in GenDefinitionPybind11() 253 void StructDef::GenConstructor(std::ostream& s) const { in GenConstructor() 289 Size StructDef::GetStructOffsetForField(std::string field_name) const { in GetStructOffsetForField()
|
D | packet_def.cc | 28 PacketField* PacketDef::GetNewField(const std::string&, ParseLocation) const { in GetNewField() 32 void PacketDef::GenParserDefinition(std::ostream& s) const { in GenParserDefinition() 93 void PacketDef::GenTestingParserFromBytes(std::ostream& s) const { in GenTestingParserFromBytes() 116 void PacketDef::GenParserDefinitionPybind11(std::ostream& s) const { in GenParserDefinitionPybind11() 152 void PacketDef::GenParserFieldGetter(std::ostream& s, const PacketField* field) const { in GenParserFieldGetter() argument 169 void PacketDef::GenValidator(std::ostream& s) const { in GenValidator() 315 void PacketDef::GenParserToString(std::ostream& s) const { in GenParserToString() 344 void PacketDef::GenBuilderDefinition(std::ostream& s) const { in GenBuilderDefinition() 390 void PacketDef::GenTestingFromView(std::ostream& s) const { in GenTestingFromView() 410 void PacketDef::GenBuilderDefinitionPybind11(std::ostream& s) const { in GenBuilderDefinitionPybind11() [all …]
|
/system/tools/aidl/ |
D | ast_java.cpp | 80 void Field::Write(CodeWriter* to) const { in Write() 98 void LiteralExpression::Write(CodeWriter* to) const { in Write() 104 void StringLiteralExpression::Write(CodeWriter* to) const { in Write() 110 void Variable::WriteDeclaration(CodeWriter* to) const { in WriteDeclaration() 117 void Variable::Write(CodeWriter* to) const { to->Write("%s", name.c_str()); } in Write() 124 void FieldVariable::Write(CodeWriter* to) const { in Write() 134 void LiteralStatement::Write(CodeWriter* to) const { in Write() 138 void StatementBlock::Write(CodeWriter* to) const { in Write() 159 void ExpressionStatement::Write(CodeWriter* to) const { in Write() 170 void Assignment::Write(CodeWriter* to) const { in Write() [all …]
|
D | io_delegate.cpp | 87 const string& content_suffix) const { in GetFileContents() argument 108 const string& file_path) const { in GetLineReader() argument 112 bool IoDelegate::FileIsReadable(const string& path) const { in FileIsReadable() argument 149 bool IoDelegate::CreateDirForPath(const string& path) const { in CreateDirForPath() argument 180 const string& file_path) const { in GetCodeWriter() argument 188 void IoDelegate::RemovePath(const std::string& file_path) const { in RemovePath() argument 197 vector<string> IoDelegate::ListFiles(const string&) const { in ListFiles() argument 220 vector<string> IoDelegate::ListFiles(const string& dir) const { in ListFiles() argument
|
/system/keymaster/contexts/ |
D | keymaster2_passthrough_context.cpp | 38 uint32_t* os_patchlevel) const { in GetSystemVersion() 43 KeyFactory* Keymaster2PassthroughContext::GetKeyFactory(keymaster_algorithm_t algorithm) const { in GetKeyFactory() 51 keymaster_purpose_t purpose) const { in GetOperationFactory() 56 size_t* algorithms_count) const { in GetSupportedAlgorithms() 63 KeymasterKeyBlob* upgraded_key) const { in UpgradeKeyBlob() 70 const AuthorizationSet& additional_params, UniquePtr<Key>* key) const { in ParseKeyBlob() 109 keymaster_error_t Keymaster2PassthroughContext::DeleteKey(const KeymasterKeyBlob& blob) const { in DeleteKey() argument 118 size_t length) const { in AddRngEntropy() 128 const AuthorizationSet& attest_params, CertChainPtr* cert_chain) const { in GenerateAttestation() 150 const KeymasterKeyBlob&, AuthorizationSet*, keymaster_key_format_t*, KeymasterKeyBlob*) const { in UnwrapKey()
|
/system/bt/vendor_libs/test_vendor_lib/model/controller/ |
D | acl_connection_handler.cc | 31 bool AclConnectionHandler::HasHandle(uint16_t handle) const { in HasHandle() 58 bool AclConnectionHandler::HasPendingConnection(Address addr) const { in HasPendingConnection() 96 bool AclConnectionHandler::HasPendingLeConnection(AddressWithType addr) const { in HasPendingLeConnection() 140 uint16_t AclConnectionHandler::GetHandle(AddressWithType addr) const { in GetHandle() 150 bluetooth::hci::Address addr) const { in GetHandleOnlyAddress() 159 AddressWithType AclConnectionHandler::GetAddress(uint16_t handle) const { in GetAddress() 164 AddressWithType AclConnectionHandler::GetOwnAddress(uint16_t handle) const { in GetOwnAddress() 176 bool AclConnectionHandler::IsEncrypted(uint16_t handle) const { in IsEncrypted() 192 Phy::Type AclConnectionHandler::GetPhyType(uint16_t handle) const { in GetPhyType()
|
/system/update_engine/update_manager/ |
D | real_device_policy_provider.cc | 107 void RealDevicePolicyProvider::UpdateVariable(AsyncCopyVariable<T>* var, in UpdateVariable() 120 void RealDevicePolicyProvider::UpdateVariable( in UpdateVariable() 133 RollbackToTargetVersion* rollback_to_target_version) const { in ConvertRollbackToTargetVersion() 150 set<ConnectionType>* allowed_types) const { in ConvertAllowedConnectionTypesForUpdate() 170 TimeDelta* scatter_factor) const { in ConvertScatterFactor() 186 WeeklyTimeIntervalVector* disallowed_intervals_out) const { in ConvertDisallowedTimeIntervals() 202 bool RealDevicePolicyProvider::ConvertHasOwner(bool* has_owner) const { in ConvertHasOwner()
|