Home
last modified time | relevance | path

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

12

/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);
/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/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()) {
580 std::string mimeType = "test"; variable
581 …tr<PasteDataRecordAdapterImpl> datarecord = std::make_shared<PasteDataRecordAdapterImpl>(mimeType);
597 std::string mimeType = "test"; variable
[all …]
/base/web/webview/ohos_adapter/interfaces/
Dpasteboard_client_adapter.h93 const std::string& mimeType);
96 const std::string& mimeType,
/base/web/webview/test/fuzztest/loadwithdata_fuzzer/
Dloadwithdata_fuzzer.cpp130 const std::string mimeType; in DoSomethingInterestingWithMyAPI() local
132 g_nweb->LoadWithData(datas, mimeType, encoding); in DoSomethingInterestingWithMyAPI()
/base/request/request/download/interfaces/innerkits/include/
Ddownload_service_interface.h34 virtual bool QueryMimeType(uint32_t taskId, std::string &mimeType) = 0;
/base/request/request/download/interfaces/kits/js/napi/download_single/include/
Ddownload_service_proxy.h33 bool QueryMimeType(uint32_t taskId, std::string &mimeType) override;
Ddownload_manager.h50 bool QueryMimeType(uint32_t taskId, std::string &mimeType);
/base/web/webview/test/fuzztest/loadwithdataandbaseurl_fuzzer/
Dloadwithdataandbaseurl_fuzzer.cpp131 const std::string mimeType; in DoSomethingInterestingWithMyAPI() local
134 g_nweb->LoadWithDataAndBaseUrl(baseUrl, datas, mimeType, encoding, historyUrl); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_user_input.cpp160 void NotificationUserInput::SetPermitMimeTypes(const std::string &mimeType, bool doPermit) in SetPermitMimeTypes() argument
162 if (mimeType.empty()) { in SetPermitMimeTypes()
168 permitMimeTypes_.emplace(mimeType); in SetPermitMimeTypes()
172 permitMimeTypes_.erase(mimeType); in SetPermitMimeTypes()
Dnotification_conversational_message.cpp47 void NotificationConversationalMessage::SetData(const std::string &mimeType, const std::shared_ptr<… in SetData() argument
49 mimeType_ = mimeType; in SetData()
/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/request/request/download/interfaces/kits/js/napi/download_single/src/
Ddownload_manager.cpp92 bool DownloadManager::QueryMimeType(uint32_t taskId, std::string &mimeType) in QueryMimeType() argument
99 return proxy->QueryMimeType(taskId, mimeType); in QueryMimeType()
Ddownload_service_proxy.cpp163 bool DownloadServiceProxy::QueryMimeType(uint32_t taskId, std::string &mimeType) in QueryMimeType() argument
176 mimeType = reply.ReadString(); in QueryMimeType()
/base/request/request/download/services/include/
Ddownload_service_ability.h55 bool QueryMimeType(uint32_t taskId, std::string &mimeType) override;
Ddownload_service_manager.h53 bool QueryMimeType(uint32_t taskId, uint32_t uid, std::string &mimeType);
Ddownload_service_task.h46 bool QueryMimeType(std::string &mimeType);
/base/web/webview/test/unittest/common/
Dnweb_create_window.h199 const std::string& mimeType, in LoadWithDataAndBaseUrl() argument
206 const std::string& mimeType, in LoadWithData() argument
/base/web/webview/ohos_nweb/include/
Dnweb.h388 const std::string& mimeType,
402 const std::string& mimeType,
/base/request/request/download/services/src/
Ddownload_service_ability.cpp210 bool DownloadServiceAbility::QueryMimeType(uint32_t taskId, std::string &mimeType) in QueryMimeType() argument
219 return instance->QueryMimeType(taskId, IPCSkeleton::GetCallingUid(), mimeType); in QueryMimeType()
Ddownload_service_manager.cpp266 bool DownloadServiceManager::QueryMimeType(uint32_t taskId, uint32_t uid, std::string &mimeType) in QueryMimeType() argument
278 return it->second->QueryMimeType(mimeType); in QueryMimeType()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
Dwebview_controller.h120 ErrCode LoadData(std::string data, std::string mimeType, std::string encoding,
Dwebview_controller.cpp507 ErrCode WebviewController::LoadData(std::string data, std::string mimeType, std::string encoding, in LoadData() argument
515 return nweb_ptr->LoadWithData(data, mimeType, encoding); in LoadData()
517 return nweb_ptr->LoadWithDataAndBaseUrl(baseUrl, data, mimeType, encoding, historyUrl); in LoadData()

12