Home
last modified time | relevance | path

Searched defs:extensionId (Results 1 – 24 of 24) sorted by relevance

/base/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_utils.cpp46 std::string PrintUtils::GetGlobalId(const std::string& extensionId, const std::string& localId) in GetGlobalId()
51 std::string PrintUtils::GetLocalId(const std::string& globalId, const std::string& extensionId) in GetLocalId()
64 std::string PrintUtils::EncodeExtensionCid(const std::string &extensionId, uint32_t callbackId) in EncodeExtensionCid()
69 bool PrintUtils::DecodeExtensionCid(const std::string &cid, std::string &extensionId, uint32_t &cal… in DecodeExtensionCid()
Dprint_manager_client.cpp356 int32_t PrintManagerClient::RegisterExtCallback(const std::string &extensionId, in RegisterExtCallback()
385 int32_t PrintManagerClient::RegisterExtCallback(const std::string &extensionId, in RegisterExtCallback()
416 int32_t PrintManagerClient::RegisterExtCallback(const std::string &extensionId, in RegisterExtCallback()
447 int32_t PrintManagerClient::RegisterExtCallback(const std::string &extensionId, in RegisterExtCallback()
478 int32_t PrintManagerClient::UnregisterAllExtCallback(const std::string &extensionId) in UnregisterAllExtCallback()
490 int32_t PrintManagerClient::LoadExtSuccess(const std::string &extensionId) in LoadExtSuccess()
Dprint_extension_info.cpp45 void PrintExtensionInfo::SetExtensionId(const std::string &extensionId) in SetExtensionId()
Dprint_callback_stub.cpp84 std::string extensionId = data.ReadString(); in HandleExtEvent() local
Dprint_service_proxy.cpp479 int32_t PrintServiceProxy::UnregisterAllExtCallback(const std::string &extensionId) in UnregisterAllExtCallback()
492 int32_t PrintServiceProxy::LoadExtSuccess(const std::string &extensionId) in LoadExtSuccess()
/base/print/print_fwk/services/src/
Dprint_service_ability.cpp347 std::string extensionId = PrintUtils::GetExtensionId(printerId); in ConnectPrinter() local
384 std::string extensionId = PrintUtils::GetExtensionId(printerId); in DisconnectPrinter() local
417 for (auto extensionId : extensionIds) { in StartDiscoverPrinter() local
453 bool PrintServiceAbility::DelayStartDiscovery(const std::string &extensionId) in DelayStartDiscovery()
631 auto extensionId = PrintUtils::GetExtensionId(printerId); in StartPrintJob() local
691 std::string extensionId = PrintUtils::GetExtensionId(jobIt->second->GetPrinterId()); in CancelPrintJob() local
750 auto extensionId = PrintUtils::GetExtensionId(printerId); in SendQueuePrintJob() local
785 …std::string extensionId = DelayedSingleton<PrintBMSHelper>::GetInstance()->QueryCallerBundleName(); in AddPrinters() local
822 …std::string extensionId = DelayedSingleton<PrintBMSHelper>::GetInstance()->QueryCallerBundleName(); in RemovePrinters() local
855 …std::string extensionId = DelayedSingleton<PrintBMSHelper>::GetInstance()->QueryCallerBundleName(); in UpdatePrinters() local
[all …]
Dprint_callback_proxy.cpp82 bool PrintCallbackProxy::OnCallback(const std::string &extensionId, const std::string &info) in OnCallback()
Dprint_service_stub.cpp460 std::string extensionId = data.ReadString(); in OnUnregisterAllExtCallback() local
470 std::string extensionId = data.ReadString(); in OnLoadExtSuccess() local
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/mock/
Dmock_print_callback_stub.h37 bool OnCallback(const std::string &extensionId, const std::string &info) override in OnCallback()
/base/print/print_fwk/test/unittest/service_test/mock/
Dmock_print_service.h88 int32_t UpdateExtensionInfo(const std::string &extensionId) override in UpdateExtensionInfo()
113 int32_t UnregisterAllExtCallback(const std::string &extensionId) override in UnregisterAllExtCallback()
117 int32_t LoadExtSuccess(const std::string &extensionId) override in LoadExtSuccess()
/base/print/print_fwk/interfaces/kits/napi/include/
Dprint_callback.h35 std::string extensionId; member
Dnapi_print_ext.h59 std::string extensionId = ""; member
/base/print/print_fwk/frameworks/helper/src/
Dprint_extension_info_helper.cpp52 …std::string extensionId = NapiPrintUtils::GetStringPropertyUtf8(env, jsValue, PARAM_EXTINFO_EXTENS… in BuildFromJs() local
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
Dprint_utils_test.cpp170 std::string extensionId = "com.sample.ext"; variable
184 std::string extensionId = "com.sample.ext"; variable
Dprint_callback_stub_test.cpp184 std::string extensionId = "com.sample.ext"; variable
Dprint_manager_client_test.cpp1172 std::string extensionId = "extensionId-1"; variable
1186 std::string extensionId = "extensionId-1"; variable
1201 std::string extensionId = "extensionId-1"; variable
1222 [&testExtensionId](const std::string &extensionId) { in __anona276a03c1102()
Dprint_service_proxy_test.cpp730 [&testExtId](const std::string &extensionId) { in __anon8929ab752b02()
759 [&testExtId](const std::string &extensionId) { in __anon8929ab752d02()
/base/print/print_fwk/test/unittest/service_test/
Dprint_callback_proxy_test.cpp246 std::string extensionId = "com.sample.ext"; variable
274 std::string extensionId = "com.sample.ext"; variable
Dprint_service_stub_test.cpp279 std::string extensionId = "com.sample.ext"; variable
999 std::string extensionId = "com.exmpale.ext"; variable
/base/print/print_fwk/interfaces/kits/napi/src/
Dprint_callback.cpp225 bool PrintCallback::OnCallback(const std::string &extensionId, const std::string &info) in OnCallback()
Dnapi_inner_print.cpp82 std::string extensionId = NapiPrintUtils::GetStringFromValueUtf8(env, value); in StartDiscovery() local
/base/print/print_fwk/interfaces/kits/jskits/
D@ohos.print.d.ts208 extensionId: string; // extension id of printer extension property
/base/print/print_fwk/frameworks/kits/extension/src/
Djs_print_extension_context.cpp466 std::shared_ptr<PrintExtensionContext> context, std::string &extensionId) in CreateJsPrintExtensionContext()
Djs_print_extension.cpp102 …intExtension::InitContextObj(JsRuntime &jsRuntime, NativeObject *&extObj, std::string &extensionId) in InitContextObj()