/external/icing/icing/jni/ |
D | icing-search-engine-jni.cc | 67 icing::lib::IcingSearchEngine* GetIcingSearchEnginePointer(JNIEnv* env, in GetIcingSearchEnginePointer() 72 return reinterpret_cast<icing::lib::IcingSearchEngine*>(native_pointer); in GetIcingSearchEnginePointer() 92 icing::lib::IcingSearchEngineOptions options; in Java_com_google_android_icing_IcingSearchEngine_nativeCreate() 100 std::unique_ptr<const icing::lib::JniCache> jni_cache; in Java_com_google_android_icing_IcingSearchEngine_nativeCreate() 102 ICING_ASSIGN_OR_RETURN(jni_cache, icing::lib::JniCache::Create(env), 0); in Java_com_google_android_icing_IcingSearchEngine_nativeCreate() 104 icing::lib::IcingSearchEngine* icing = in Java_com_google_android_icing_IcingSearchEngine_nativeCreate() local 105 new icing::lib::IcingSearchEngine(options, std::move(jni_cache)); in Java_com_google_android_icing_IcingSearchEngine_nativeCreate() 106 return reinterpret_cast<jlong>(icing); in Java_com_google_android_icing_IcingSearchEngine_nativeCreate() 112 icing::lib::IcingSearchEngine* icing = in Java_com_google_android_icing_IcingSearchEngine_nativeDestroy() local 114 delete icing; in Java_com_google_android_icing_IcingSearchEngine_nativeDestroy() [all …]
|
D | jni-cache.h | 19 namespace icing { 33 namespace icing {
|
/external/icing/icing/ |
D | icing-search-engine_test.cc | 54 namespace icing { namespace 59 using ::icing::lib::portable_equals_proto::EqualsProto; 297 IcingSearchEngine icing(GetDefaultIcingOptions(), GetTestJniCache()); in TEST_F() local 298 ASSERT_THAT(icing.Initialize().status(), ProtoIsOk()); in TEST_F() 299 ASSERT_THAT(icing.SetSchema(CreateMessageSchema()).status(), ProtoIsOk()); in TEST_F() 302 ASSERT_THAT(icing.Put(document).status(), ProtoIsOk()); in TEST_F() 303 ASSERT_THAT(icing.Put(DocumentProto(document)).status(), ProtoIsOk()); in TEST_F() 307 IcingSearchEngine icing(GetDefaultIcingOptions(), GetTestJniCache()); in TEST_F() local 308 ASSERT_THAT(icing.Initialize().status(), ProtoIsOk()); in TEST_F() 309 ASSERT_THAT(icing.SetSchema(CreateMessageSchema()).status(), ProtoIsOk()); in TEST_F() [all …]
|
D | icing-search-engine_benchmark.cc | 67 namespace icing { namespace 223 std::unique_ptr<IcingSearchEngine> icing = in BM_IndexLatency() local 226 ASSERT_THAT(icing->Initialize().status(), ProtoIsOk()); in BM_IndexLatency() 227 ASSERT_THAT(icing->SetSchema(schema).status(), ProtoIsOk()); in BM_IndexLatency() 234 ASSERT_THAT(icing->Put(doc).status(), ProtoIsOk()); in BM_IndexLatency() 293 std::unique_ptr<IcingSearchEngine> icing = in BM_IndexThroughput() local 296 ASSERT_THAT(icing->Initialize().status(), ProtoIsOk()); in BM_IndexThroughput() 297 ASSERT_THAT(icing->SetSchema(schema).status(), ProtoIsOk()); in BM_IndexThroughput() 304 ASSERT_THAT(icing->Put(doc).status(), ProtoIsOk()); in BM_IndexThroughput() 364 auto icing = std::make_unique<IcingSearchEngine>(options); in BM_MutlipleIndices() local [all …]
|
D | icing-search-engine-with-icu-file_test.cc | 34 namespace icing { namespace 37 using ::icing::lib::portable_equals_proto::EqualsProto; 74 IcingSearchEngine icing(GetDefaultIcingOptions()); in TEST() local 75 EXPECT_THAT(icing.Initialize().status().code(), Eq(StatusProto::OK)); in TEST() 85 EXPECT_THAT(icing.SetSchema(schema).status().code(), Eq(StatusProto::OK)); in TEST() 89 IcingSearchEngine icing(GetDefaultIcingOptions()); in TEST() local 90 ASSERT_THAT(icing.Initialize().status().code(), Eq(StatusProto::OK)); in TEST() 100 ASSERT_THAT(icing.SetSchema(schema).status().code(), Eq(StatusProto::OK)); in TEST() 103 ASSERT_THAT(icing.Put(document_one).status().code(), Eq(StatusProto::OK)); in TEST() 106 ASSERT_THAT(icing.Put(document_two).status().code(), Eq(StatusProto::OK)); in TEST() [all …]
|
D | icing-search-engine_fuzz_test.cc | 30 namespace icing { namespace 75 IcingSearchEngine icing(icing_options); in LLVMFuzzerTestOneInput() local 79 icing.Initialize(); in LLVMFuzzerTestOneInput() 89 icing.SetSchema(schema_proto); in LLVMFuzzerTestOneInput() 93 icing.Put(document); in LLVMFuzzerTestOneInput() 101 icing.Search(search_spec, scoring_spec, result_spec); in LLVMFuzzerTestOneInput()
|
D | icing-search-engine_flush_benchmark.cc | 64 namespace icing { namespace 172 std::unique_ptr<IcingSearchEngine> icing = in BM_FlushBenchmark() local 175 ASSERT_THAT(icing->Initialize().status(), ProtoIsOk()); in BM_FlushBenchmark() 176 ASSERT_THAT(icing->SetSchema(schema).status(), ProtoIsOk()); in BM_FlushBenchmark() 179 icing->Put(generator.generateDoc()); in BM_FlushBenchmark() 182 icing->PersistToDisk(persist_type); in BM_FlushBenchmark()
|
/external/icing/ |
D | Android.bp | 65 "icing/**/*.cc", 68 "icing/**/*-test-*", 69 "icing/**/*-test.*", 70 "icing/**/*_test.cc", 71 "icing/**/*_benchmark.cc", 72 "icing/testing/**/*", 73 "icing/tokenization/reverse_jni/**/*", 74 "icing/tokenization/simple/**/*", 75 "icing/tools/**/*", 76 "icing/transform/map/**/*", [all …]
|
D | CMakeLists.txt | 18 set(VERSION_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/icing/jni.lds") 27 set(Icing_PROTO_GEN_DIR "${CMAKE_CURRENT_BINARY_DIR}/icing-protobuf-gen") 53 # Glob Icing proto sources. Results look like this: icing/proto/document.proto 96 icing/*.cc icing/*.h 104 list(FILTER Icing_CC_SOURCES EXCLUDE REGEX "^icing/.*[^a-zA-Z0-9]test[^a-zA-Z0-9].*$") 105 list(FILTER Icing_CC_SOURCES EXCLUDE REGEX "^icing/.*_benchmark\.cc$") 106 list(FILTER Icing_CC_SOURCES EXCLUDE REGEX "^icing/helpers/icu/.*$") 107 list(FILTER Icing_CC_SOURCES EXCLUDE REGEX "^icing/testing/.*$") 108 list(FILTER Icing_CC_SOURCES EXCLUDE REGEX "^icing/tokenization/icu/.*$") 109 list(FILTER Icing_CC_SOURCES EXCLUDE REGEX "^icing/tokenization/simple/.*$") [all …]
|
D | METADATA | 9 value: "http://go/icing-lib-notes" 13 value: "http://google3/third_party/icing/"
|
D | build.gradle | 49 // TODO(b/161205849): Re-enable this test once icing nativeLib is no longer being built 89 archiveBaseName.set("icing-${variantName}") 91 // The proto-lite dependency includes .proto files, which are not used by icing. When apps
|
/external/icing/java/tests/instrumentation/src/com/google/android/icing/ |
D | IcingSearchEngineTest.java | 15 package com.google.android.icing; 20 import com.google.android.icing.proto.DeleteByNamespaceResultProto; 21 import com.google.android.icing.proto.DeleteByQueryResultProto; 22 import com.google.android.icing.proto.DeleteBySchemaTypeResultProto; 23 import com.google.android.icing.proto.DeleteResultProto; 24 import com.google.android.icing.proto.DocumentProto; 25 import com.google.android.icing.proto.GetAllNamespacesResultProto; 26 import com.google.android.icing.proto.GetOptimizeInfoResultProto; 27 import com.google.android.icing.proto.GetResultProto; 28 import com.google.android.icing.proto.GetResultSpecProto; [all …]
|
/external/icing/java/src/com/google/android/icing/ |
D | IcingSearchEngine.java | 15 package com.google.android.icing; 19 import com.google.android.icing.proto.DeleteByNamespaceResultProto; 20 import com.google.android.icing.proto.DeleteByQueryResultProto; 21 import com.google.android.icing.proto.DeleteBySchemaTypeResultProto; 22 import com.google.android.icing.proto.DeleteResultProto; 23 import com.google.android.icing.proto.DocumentProto; 24 import com.google.android.icing.proto.GetAllNamespacesResultProto; 25 import com.google.android.icing.proto.GetOptimizeInfoResultProto; 26 import com.google.android.icing.proto.GetResultProto; 27 import com.google.android.icing.proto.GetResultSpecProto; [all …]
|
/external/icing/proto/icing/proto/ |
D | document.proto | 17 package icing.lib; 19 import "icing/proto/logging.proto"; 20 import "icing/proto/status.proto"; 22 option java_package = "com.google.android.icing.proto"; 40 // See icing.lib.SchemaTypeConfigProto.schema_type for details. 84 // See icing.lib.PropertyConfigProto.property_name for details. 88 // icing.lib.PropertyConfigProto.data_type should be set. 110 // go/icing-library-apis. 132 // go/icing-library-apis. 166 // go/icing-library-apis. [all …]
|
D | usage.proto | 17 package icing.lib; 19 import "icing/proto/status.proto"; 21 option java_package = "com.google.android.icing.proto"; 53 // //depot/google3/icing/store/usage-store.h:UsageScores, 54 // //depot/google3/icing/proto/\
|
D | document_wrapper.proto | 17 package icing.lib; 19 import "icing/proto/document.proto"; 21 option java_package = "com.google.android.icing.proto"; 26 // be used by icing team internally. It stores the original document provided
|
D | initialize.proto | 17 package icing.lib; 19 import "icing/proto/logging.proto"; 20 import "icing/proto/status.proto"; 22 option java_package = "com.google.android.icing.proto"; 88 // go/icing-library-apis. 98 // go/icing-library-apis.
|
D | reset.proto | 17 package icing.lib; 19 import "icing/proto/status.proto"; 21 option java_package = "com.google.android.icing.proto";
|
D | optimize.proto | 17 package icing.lib; 19 import "icing/proto/status.proto"; 21 option java_package = "com.google.android.icing.proto"; 40 // go/icing-library-apis.
|
D | persist.proto | 17 package icing.lib; 19 import "icing/proto/status.proto"; 21 option java_package = "com.google.android.icing.proto";
|
D | term.proto | 17 package icing.lib; 19 option java_package = "com.google.android.icing.proto";
|
/external/icing/proto/ |
D | Android.bp | 25 name: "icing-java-proto-lite", 31 srcs: ["icing/proto/*.proto"], 36 name: "icing-c-proto", 45 srcs: ["icing/**/*.proto"],
|
/external/icing/icing/portable/ |
D | equals-proto.h | 27 namespace icing { 43 namespace icing {
|
/external/icing/icing/legacy/index/ |
D | icing-common-types.h | 29 namespace icing { 68 namespace icing { 125 using namespace ::com::google::android::gms::icing; // NOLINT(build/namespaces)
|
/external/icing/proto/icing/proto/internal/ |
D | optimize.proto | 17 package icing.lib; 19 option java_package = "com.google.android.icing.internal.proto";
|