/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/converter/ |
D | SearchSpecToProtoConverter.java | 47 TermMatchType.Code termMatchCodeProto = TermMatchType.Code.forNumber(termMatchCode); in toSearchSpecProto() 48 if (termMatchCodeProto == null || termMatchCodeProto.equals(TermMatchType.Code.UNKNOWN)) { in toSearchSpecProto() 80 ScoringSpecProto.Order.Code orderCodeProto = in toScoringSpecProto() 81 ScoringSpecProto.Order.Code.forNumber(orderCode); in toScoringSpecProto() 92 private static ScoringSpecProto.RankingStrategy.Code toProtoRankingStrategy( in toProtoRankingStrategy() 96 return ScoringSpecProto.RankingStrategy.Code.NONE; in toProtoRankingStrategy() 98 return ScoringSpecProto.RankingStrategy.Code.DOCUMENT_SCORE; in toProtoRankingStrategy() 100 return ScoringSpecProto.RankingStrategy.Code.CREATION_TIMESTAMP; in toProtoRankingStrategy() 102 return ScoringSpecProto.RankingStrategy.Code.RELEVANCE_SCORE; in toProtoRankingStrategy() 104 return ScoringSpecProto.RankingStrategy.Code.USAGE_TYPE1_COUNT; in toProtoRankingStrategy() [all …]
|
D | SchemaToProtoConverter.java | 72 PropertyConfigProto.DataType.Code dataTypeProto = in toPropertyConfigProto() 73 PropertyConfigProto.DataType.Code.forNumber(dataType); in toPropertyConfigProto() 81 PropertyConfigProto.Cardinality.Code cardinalityProto = in toPropertyConfigProto() 82 PropertyConfigProto.Cardinality.Code.forNumber(cardinality); in toPropertyConfigProto() 168 TermMatchType.Code termMatchTypeProto = proto.getStringIndexingConfig().getTermMatchType(); in toStringPropertyConfig() 186 private static TermMatchType.Code convertTermMatchTypeToProto( in convertTermMatchTypeToProto() 190 return TermMatchType.Code.UNKNOWN; in convertTermMatchTypeToProto() 192 return TermMatchType.Code.EXACT_ONLY; in convertTermMatchTypeToProto() 194 return TermMatchType.Code.PREFIX; in convertTermMatchTypeToProto() 201 private static int convertTermMatchTypeFromProto(@NonNull TermMatchType.Code termMatchType) { in convertTermMatchTypeFromProto() [all …]
|
D | ResultCodeToProtoConverter.java | 38 @NonNull StatusProto.Code statusCode) { in toResultCode()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/converter/ |
D | SchemaToProtoConverterTest.java | 66 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testGetProto_Email() 68 PropertyConfigProto.Cardinality.Code.OPTIONAL) in testGetProto_Email() 73 .Code.PLAIN) in testGetProto_Email() 75 TermMatchType.Code.PREFIX))) in testGetProto_Email() 79 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testGetProto_Email() 81 PropertyConfigProto.Cardinality.Code.OPTIONAL) in testGetProto_Email() 86 .Code.PLAIN) in testGetProto_Email() 88 TermMatchType.Code.PREFIX))) in testGetProto_Email() 126 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testGetProto_MusicRecording() 128 PropertyConfigProto.Cardinality.Code.REPEATED) in testGetProto_MusicRecording() [all …]
|
D | GenericDocumentToProtoConverterTest.java | 153 .setCardinality(PropertyConfigProto.Cardinality.Code.REPEATED) in testConvertDocument_whenPropertyHasEmptyList() 154 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testConvertDocument_whenPropertyHasEmptyList() 206 .setCardinality(PropertyConfigProto.Cardinality.Code.REPEATED) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList() 207 .setDataType(PropertyConfigProto.DataType.Code.DOCUMENT) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList() 218 .setCardinality(PropertyConfigProto.Cardinality.Code.REPEATED) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList() 219 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testConvertDocument_whenNestedDocumentPropertyHasEmptyList()
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | BitcodeWriter.cpp | 143 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument 155 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord() 250 unsigned Code = 0; in WriteTypeTable() local 254 case Type::VoidTyID: Code = bitc::TYPE_CODE_VOID; break; in WriteTypeTable() 255 case Type::HalfTyID: Code = bitc::TYPE_CODE_HALF; break; in WriteTypeTable() 256 case Type::FloatTyID: Code = bitc::TYPE_CODE_FLOAT; break; in WriteTypeTable() 257 case Type::DoubleTyID: Code = bitc::TYPE_CODE_DOUBLE; break; in WriteTypeTable() 258 case Type::X86_FP80TyID: Code = bitc::TYPE_CODE_X86_FP80; break; in WriteTypeTable() 259 case Type::FP128TyID: Code = bitc::TYPE_CODE_FP128; break; in WriteTypeTable() 260 case Type::PPC_FP128TyID: Code = bitc::TYPE_CODE_PPC_FP128; break; in WriteTypeTable() [all …]
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | BitcodeWriter.cpp | 143 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument 155 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord() 248 unsigned Code = 0; in WriteTypeTable() local 252 case Type::VoidTyID: Code = bitc::TYPE_CODE_VOID; break; in WriteTypeTable() 253 case Type::FloatTyID: Code = bitc::TYPE_CODE_FLOAT; break; in WriteTypeTable() 254 case Type::DoubleTyID: Code = bitc::TYPE_CODE_DOUBLE; break; in WriteTypeTable() 255 case Type::X86_FP80TyID: Code = bitc::TYPE_CODE_X86_FP80; break; in WriteTypeTable() 256 case Type::FP128TyID: Code = bitc::TYPE_CODE_FP128; break; in WriteTypeTable() 257 case Type::PPC_FP128TyID: Code = bitc::TYPE_CODE_PPC_FP128; break; in WriteTypeTable() 258 case Type::LabelTyID: Code = bitc::TYPE_CODE_LABEL; break; in WriteTypeTable() [all …]
|
/frameworks/base/tools/codegen/src/com/android/codegen/ |
D | FileInfo.kt | 109 it.javaClass == CodeChunk.Code::class.java in <lambda>() 112 .flatMap { (it as CodeChunk.Code).lines } in <lambda>() 129 is CodeChunk.Code -> chunk.lines.forEach { stringBuilder.appendln(it) } in <lambda>() 192 open class Code(val lines: List<String>): CodeChunk() {} in <lambda>() class in com.android.codegen.FileInfo.CodeChunk 195 class FileHeader(lines: List<String>): Code(lines) in <lambda>() 198 open class GeneratedCode(lines: List<String>): Code(lines) { in <lambda>() 204 object ClosingBrace: Code(listOf("}")) in <lambda>() 213 val initial = Code(lines = classBounds.fileInfo.sourceLines.subList( in <lambda>() 224 chunks += Code(lines = classBounds.fileInfo.sourceLines.subList( in <lambda>() 241 chunks.last = (chunks.last as Code) in <lambda>() [all …]
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | BitcodeWriter.cpp | 120 static void WriteStringRecord(unsigned Code, StringRef Str, in WriteStringRecord() argument 132 Stream.EmitRecord(Code, Vals, AbbrevToUse); in WriteStringRecord() 263 unsigned Code = 0; in WriteTypeTable() local 267 case Type::VoidTyID: Code = bitc::TYPE_CODE_VOID; break; in WriteTypeTable() 268 case Type::FloatTyID: Code = bitc::TYPE_CODE_FLOAT; break; in WriteTypeTable() 269 case Type::DoubleTyID: Code = bitc::TYPE_CODE_DOUBLE; break; in WriteTypeTable() 270 case Type::X86_FP80TyID: Code = bitc::TYPE_CODE_X86_FP80; break; in WriteTypeTable() 271 case Type::FP128TyID: Code = bitc::TYPE_CODE_FP128; break; in WriteTypeTable() 272 case Type::PPC_FP128TyID: Code = bitc::TYPE_CODE_PPC_FP128; break; in WriteTypeTable() 273 case Type::LabelTyID: Code = bitc::TYPE_CODE_LABEL; break; in WriteTypeTable() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/ |
D | FrameworkOptimizeStrategyTest.java | 40 .setStatus(StatusProto.newBuilder().setCode(StatusProto.Code.OK).build()) in testShouldOptimize_byteThreshold() 53 .setStatus(StatusProto.newBuilder().setCode(StatusProto.Code.OK).build()) in testShouldNotOptimize_timeThreshold() 66 .setStatus(StatusProto.newBuilder().setCode(StatusProto.Code.OK).build()) in testShouldOptimize_docCountThreshold()
|
/frameworks/native/vulkan/ |
D | README.md | 15 ## Code Generation 17 …ectly from the Vulkan Registry (external/vulkan-headers/registry/vk.xml). Code generation must be … 19 ### Run The Code Generator
|
/frameworks/base/services/tests/servicestests/src/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImplTest.java | 121 .setDataType(PropertyConfigProto.DataType.Code.STRING) in testRewriteSchema_addType() 123 PropertyConfigProto.Cardinality.Code.OPTIONAL) in testRewriteSchema_addType() 128 .Code.PLAIN) in testRewriteSchema_addType() 129 .setTermMatchType(TermMatchType.Code.PREFIX) in testRewriteSchema_addType() 135 .setDataType(PropertyConfigProto.DataType.Code.DOCUMENT) in testRewriteSchema_addType() 137 PropertyConfigProto.Cardinality.Code.OPTIONAL) in testRewriteSchema_addType() 193 PropertyConfigProto.DataType.Code in testRewriteSchema_addType() 196 PropertyConfigProto.Cardinality.Code in testRewriteSchema_addType() 203 .Code.PLAIN) in testRewriteSchema_addType() 205 TermMatchType.Code in testRewriteSchema_addType() [all …]
|
D | AppSearchLoggerTest.java | 224 int nativeRankingStrategy = ScoringSpecProto.RankingStrategy.Code.CREATION_TIMESTAMP_VALUE; in testAppSearchLoggerHelper_testCopyNativeStats_search() 242 ScoringSpecProto.RankingStrategy.Code.forNumber( in testAppSearchLoggerHelper_testCopyNativeStats_search() 284 .setDeleteType(DeleteStatsProto.DeleteType.Code.forNumber(nativeDeleteType)) in testAppSearchLoggerHelper_testCopyNativeStats_remove() 456 assertThat(putResultProto.getStatus().getCode()).isEqualTo(StatusProto.Code.OK); in testLoggingStats_initialize_failure() 615 .setTermMatch(TermMatchType.Code.PREFIX_VALUE) in testLoggingStats_search_success() 668 .setTermMatch(TermMatchType.Code.PREFIX_VALUE) in testLoggingStats_search_failure() 717 assertThat(rStats.getDeleteType()).isEqualTo(DeleteStatsProto.DeleteType.Code.SINGLE_VALUE); in testLoggingStats_remove_success() 763 assertThat(rStats.getDeleteType()).isEqualTo(DeleteStatsProto.DeleteType.Code.SINGLE_VALUE); in testLoggingStats_remove_failure() 792 new SearchSpec.Builder().setTermMatch(TermMatchType.Code.PREFIX_VALUE).build(); in testLoggingStats_removeByQuery_success() 803 assertThat(rStats.getDeleteType()).isEqualTo(DeleteStatsProto.DeleteType.Code.QUERY_VALUE); in testLoggingStats_removeByQuery_success()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 1126 unsigned Code = Stream.ReadCode(); in ParseOldTypeTable() local 1127 if (Code == bitc::END_BLOCK) { in ParseOldTypeTable() 1147 if (Code == bitc::ENTER_SUBBLOCK) { in ParseOldTypeTable() 1155 if (Code == bitc::DEFINE_ABBREV) { in ParseOldTypeTable() 1163 switch (Stream.readRecord(Code, Record)) { in ParseOldTypeTable() 1302 unsigned Code = Stream.ReadCode(); in ParseOldTypeSymbolTable() local 1303 if (Code == bitc::END_BLOCK) { in ParseOldTypeSymbolTable() 1309 if (Code == bitc::ENTER_SUBBLOCK) { in ParseOldTypeSymbolTable() 1317 if (Code == bitc::DEFINE_ABBREV) { in ParseOldTypeSymbolTable() 1324 switch (Stream.readRecord(Code, Record)) { in ParseOldTypeSymbolTable() [all …]
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 1421 unsigned Code = Stream.ReadCode(); in ParseOldTypeTable() local 1422 if (Code == bitc::END_BLOCK) { in ParseOldTypeTable() 1442 if (Code == bitc::ENTER_SUBBLOCK) { in ParseOldTypeTable() 1450 if (Code == bitc::DEFINE_ABBREV) { in ParseOldTypeTable() 1458 switch (Stream.readRecord(Code, Record)) { in ParseOldTypeTable() 1614 unsigned Code = Stream.ReadCode(); in ParseOldTypeSymbolTable() local 1615 if (Code == bitc::END_BLOCK) { in ParseOldTypeSymbolTable() 1621 if (Code == bitc::ENTER_SUBBLOCK) { in ParseOldTypeSymbolTable() 1629 if (Code == bitc::DEFINE_ABBREV) { in ParseOldTypeSymbolTable() 1636 switch (Stream.readRecord(Code, Record)) { in ParseOldTypeSymbolTable() [all …]
|
/frameworks/multidex/ |
D | NOTICE | 7 Android Code
|
/frameworks/native/libs/vr/libpdx/ |
D | Android.bp | 72 // Code analysis target.
|
/frameworks/minikin/doc/ |
D | minikin_style.md | 3 The C++ style in Minikin follows Android Framework C++ Code Style Guide except for following rules:
|
/frameworks/base/core/proto/android/nfc/ |
D | nfc_fservice_info.proto | 32 // System Code of the service
|
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/ |
D | AppSearchImpl.java | 368 persistToDisk(PersistType.Code.FULL); in close() 449 == StatusProto.Code.FAILED_PRECONDITION; in setSchema() 1343 deleteResultProto.getStatus(), StatusProto.Code.OK, StatusProto.Code.NOT_FOUND); in removeByQuery() 1531 public void persistToDisk(@NonNull PersistType.Code persistType) throws AppSearchException { in persistToDisk() 2070 checkCodeOneOf(schemaProto.getStatus(), StatusProto.Code.OK, StatusProto.Code.NOT_FOUND); in getSchemaProtoLocked() 2145 checkCodeOneOf(statusProto, StatusProto.Code.OK); in checkSuccess() 2152 private static void checkCodeOneOf(StatusProto statusProto, StatusProto.Code... codes) in checkCodeOneOf() 2161 if (statusProto.getCode() == StatusProto.Code.WARNING_DATA_LOSS) { in checkCodeOneOf()
|
/frameworks/base/tools/protologtool/ |
D | README.md | 3 Code transformation tool and viewer for ProtoLog. 9 ### Code transformation
|
/frameworks/native/cmds/dumpstate/ |
D | README.md | 101 ## Code style and formatting
|
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/ |
D | AppSearchManagerService.java | 520 instance.getAppSearchImpl().persistToDisk(PersistType.Code.LITE); in putDocuments() 933 instance.getAppSearchImpl().persistToDisk(PersistType.Code.FULL); in putDocumentsFromFile() 1042 instance.getAppSearchImpl().persistToDisk(PersistType.Code.LITE); in removeByDocumentId() 1112 instance.getAppSearchImpl().persistToDisk(PersistType.Code.LITE); in removeByQuery() 1199 instance.getAppSearchImpl().persistToDisk(PersistType.Code.FULL); in persistToDisk()
|
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/visibilitystore/ |
D | VisibilityStoreImpl.java | 242 mAppSearchImpl.persistToDisk(PersistType.Code.LITE); in setVisibility()
|
/frameworks/compile/libbcc/ |
D | README.rst | 180 JIT'ed Code Calling Conventions
|