Home
last modified time | relevance | path

Searched refs:mimeType (Results 1 – 25 of 34) sorted by relevance

12

/base/request/request/services/service/rust/src/c_wrapper/include/
Dc_form_item.h27 CStringWrapper mimeType; member
34 std::string mimeType; member
Dc_task_info.h65 CStringWrapper mimeType; member
81 std::string mimeType; member
/base/web/webview/ohos_adapter/pasteboard_adapter/src/
Dpasteboard_client_adapter_impl.cpp45 const std::string& mimeType) in PasteDataRecordAdapterImpl() argument
47 builder_ = std::make_shared<PasteDataRecord::Builder>(mimeType); in PasteDataRecordAdapterImpl()
54 const std::string& mimeType, in PasteDataRecordAdapterImpl() argument
58 record_ = std::make_shared<PasteDataRecord>(mimeType, in PasteDataRecordAdapterImpl()
66 const std::string& mimeType) in NewRecord() argument
68 return std::make_shared<PasteDataRecordAdapterImpl>(mimeType); in NewRecord()
72 const std::string& mimeType, in NewRecord() argument
76 return std::make_shared<PasteDataRecordAdapterImpl>(mimeType, in NewRecord()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_conversational_message_test.cpp63 std::string mimeType = "MimeType"; variable
67 rrc->SetData(mimeType, uriPtr);
68 EXPECT_EQ(rrc->GetMimeType(), mimeType);
Dnotification_user_input_test.cpp331 std::string mimeType = ""; variable
334 rrc->SetPermitMimeTypes(mimeType, doPermit);
/base/web/webview/test/fuzztest/loadwithdata_fuzzer/
Dloadwithdata_fuzzer.cpp113 const std::string mimeType; in DoSomethingInterestingWithMyAPI() local
115 g_nweb->LoadWithData(datas, mimeType, encoding); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/unittest/pasteboard_adapter/
Dpasteboard_client_adapter_test.cpp80 std::string mimeType = "pixelMap"; in SetUpTestCase() local
81 g_datarecordnull = std::make_shared<PasteDataRecordAdapterImpl>(mimeType); in SetUpTestCase()
90 g_datarecord = std::make_shared<PasteDataRecordAdapterImpl>(mimeType); in SetUpTestCase()
200 std::string mimeType = g_paster->GetMimeType(); variable
201 if (mimeType.empty()) {
205 mimeType = g_pasternull->GetMimeType();
206 if (mimeType.empty()) {
569 std::string mimeType = "test"; variable
570 …tr<PasteDataRecordAdapterImpl> datarecord = std::make_shared<PasteDataRecordAdapterImpl>(mimeType);
586 std::string mimeType = "test"; variable
[all …]
/base/web/webview/test/fuzztest/loadwithdataandbaseurl_fuzzer/
Dloadwithdataandbaseurl_fuzzer.cpp114 const std::string mimeType; in DoSomethingInterestingWithMyAPI() local
117 g_nweb->LoadWithDataAndBaseUrl(baseUrl, datas, mimeType, encoding, historyUrl); in DoSomethingInterestingWithMyAPI()
/base/web/webview/ohos_adapter/interfaces/
Dpasteboard_client_adapter.h93 const std::string& mimeType);
96 const std::string& mimeType,
/base/request/request/services/service/rust/src/c_wrapper/source/
Dc_request_database.cpp177 … insertValues.PutString("mime_type", std::string(taskInfo->mimeType.cStr, taskInfo->mimeType.len)); in WriteRequestTaskInfo()
217 … std::string(taskInfo->fileSpecsPtr[i].mimeType.cStr, taskInfo->fileSpecsPtr[i].mimeType.len)); in WriteTaskInfoAttachment()
422 resultSet->GetString(15, taskInfo.mimeType); in TouchRequestTaskInfo()
456 resultSet->GetString(14, taskInfo.mimeType); in QueryRequestTaskInfo()
499 resultSet->GetString(5, fileSpec.mimeType); in TouchTaskInfoAttachment()
562 fileSpecsPtr[i].mimeType = WrapperCString(taskInfo.fileSpecs[i].mimeType); in BuildCTaskInfo()
579 cTaskInfo->mimeType = WrapperCString(taskInfo.mimeType); in BuildCTaskInfo()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_conversational_message.h68 void SetData(const std::string &mimeType, const std::shared_ptr<Uri> &uri);
Dnotification_user_input.h183 void SetPermitMimeTypes(const std::string &mimeType, bool doPermit);
/base/web/webview/ohos_adapter/pasteboard_adapter/include/
Dpasteboard_client_adapter_impl.h39 PasteDataRecordAdapterImpl(const std::string& mimeType,
42 explicit PasteDataRecordAdapterImpl(const std::string& mimeType);
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_conversational_message.cpp47 void NotificationConversationalMessage::SetData(const std::string &mimeType, const std::shared_ptr<… in SetData() argument
49 mimeType_ = mimeType; in SetData()
Dnotification_user_input.cpp161 void NotificationUserInput::SetPermitMimeTypes(const std::string &mimeType, bool doPermit) in SetPermitMimeTypes() argument
163 if (mimeType.empty()) { in SetPermitMimeTypes()
169 permitMimeTypes_.emplace(mimeType); in SetPermitMimeTypes()
173 permitMimeTypes_.erase(mimeType); in SetPermitMimeTypes()
/base/request/request/frameworks/native/include/
Drequest_service_interface.h33 virtual int32_t QueryMimeType(const std::string &tid, std::string &mimeType) = 0;
Drequest_service_proxy.h34 int32_t QueryMimeType(const std::string &tid, std::string &mimeType) override;
Drequest_manager.h53 REQUEST_API int32_t QueryMimeType(const std::string &tid, std::string &mimeType);
/base/request/request/test/fuzztest/downloaduploadmanager_fuzzer/
Ddownloaduploadmanager_fuzzer.cpp129 std::string mimeType(data, data + size); in QueryMimeTypeRequestFuzzTest() local
131 RequestManager::GetInstance()->QueryMimeType(tid, mimeType); in QueryMimeTypeRequestFuzzTest()
/base/web/webview/test/unittest/common/
Dnweb_create_window.h160 const std::string& mimeType, in LoadWithDataAndBaseUrl() argument
167 const std::string& mimeType, in LoadWithData() argument
/base/request/request/frameworks/native/src/
Drequest_manager.cpp189 int32_t RequestManager::QueryMimeType(const std::string &tid, std::string &mimeType) in QueryMimeType() argument
197 return proxy->QueryMimeType(tid, mimeType); in QueryMimeType()
Dparcel_helper.cpp57 info.mimeType = data.ReadString(); in UnMarshalBase()
Drequest_service_proxy.cpp242 int32_t RequestServiceProxy::QueryMimeType(const std::string &tid, std::string &mimeType) in QueryMimeType() argument
259 mimeType = reply.ReadString(); in QueryMimeType()
/base/web/webview/ohos_nweb/include/
Dnweb.h406 const std::string& mimeType,
420 const std::string& mimeType,
/base/request/request/frameworks/js/napi/include/
Djs_common.h199 std::string mimeType; member

12