Home
last modified time | relevance | path

Searched refs:odid (Results 1 - 16 of 16) sorted by relevance

/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp303 std::string odid; in DoSomethingInterestingWithMyAPI() local
304 bundleMgrProxy.GetOdid(odid); in DoSomethingInterestingWithMyAPI()
331 bundleMgrProxy.GetOdidByBundleName(bundleName, odid); in DoSomethingInterestingWithMyAPI()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_service_fwk/
H A Dapp_service_fwk_installer.cpp459 std::string odid; in GenerateOdid() local
460 dataMgr_->GenerateOdid(developerId, odid); in GenerateOdid()
463 item.second.UpdateOdid(developerId, odid); in GenerateOdid()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/include/bundlemgr/
H A Dbundle_mgr_interface.h1482 virtual ErrCode GetOdid(std::string &odid) in GetOdid() argument
1566 virtual ErrCode GetOdidByBundleName(const std::string &bundleName, std::string &odid) in GetOdidByBundleName() argument
H A Dbundle_mgr_proxy.h1021 * @brief Get odid of the current application.
1022 * @param odid Indicates the odid of application.
1025 virtual ErrCode GetOdid(std::string &odid) override;
1093 virtual ErrCode GetOdidByBundleName(const std::string &bundleName, std::string &odid) override;
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinner_bundle_info.cpp129 constexpr const char* ODID = "odid";
4180 void InnerBundleInfo::UpdateOdid(const std::string &developerId, const std::string &odid) in UpdateOdid() argument
4183 odid_ = odid; in UpdateOdid()
4189 std::string odid; in UpdateOdidByBundleInfo() local
4190 info.GetDeveloperidAndOdid(developerId, odid); in UpdateOdidByBundleInfo()
4192 odid_ = odid; in UpdateOdidByBundleInfo()
4195 void InnerBundleInfo::GetDeveloperidAndOdid(std::string &developerId, std::string &odid) const in GetDeveloperidAndOdid()
4198 odid = odid_; in GetDeveloperidAndOdid()
4201 void InnerBundleInfo::GetOdid(std::string &odid) const in GetOdid()
4203 odid in GetOdid()
[all...]
H A Dbundle_mgr_host_impl.cpp3988 ErrCode BundleMgrHostImpl::GetOdid(std::string &odid) in GetOdid() argument
3996 return dataMgr->GetOdid(odid); in GetOdid()
4427 ErrCode BundleMgrHostImpl::GetOdidByBundleName(const std::string &bundleName, std::string &odid) in GetOdidByBundleName() argument
4439 return dataMgr->GetOdidByBundleName(bundleName, odid); in GetOdidByBundleName()
H A Dbundle_data_mgr.cpp7920 void BundleDataMgr::GenerateOdid(const std::string &developerId, std::string &odid) const in GenerateOdid()
7935 odid = odidExist; in GenerateOdid()
7939 odid = BundleUtil::GenerateUuid(); in GenerateOdid()
7940 APP_LOGI("developerId:%{public}s is not existed local, need to generate an odid %{private}s", in GenerateOdid()
7941 developerId.c_str(), odid.c_str()); in GenerateOdid()
7944 ErrCode BundleDataMgr::GetOdid(std::string &odid) const in GetOdid()
7959 innerBundleInfo.GetDeveloperidAndOdid(developerId, odid); in GetOdid()
7963 ErrCode BundleDataMgr::GetOdidByBundleName(const std::string &bundleName, std::string &odid) const in GetOdidByBundleName()
7974 bundleInfo.GetOdid(odid); in GetOdidByBundleName()
H A Dbase_bundle_installer.cpp3991 std::string odid; in GenerateOdid() local
3992 dataMgr->GenerateOdid(developerId, odid); in GenerateOdid()
3995 item.second.UpdateOdid(developerId, odid); in GenerateOdid()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_host.cpp3737 std::string odid; in HandleGetOdid() local
3738 auto ret = GetOdid(odid); in HandleGetOdid()
3743 if (!reply.WriteString(odid)) { in HandleGetOdid()
3747 APP_LOGD("odid is %{private}s", odid.c_str()); in HandleGetOdid()
4048 std::string odid; in HandleGetOdidByBundleName() local
4049 auto ret = GetOdidByBundleName(bundleName, odid); in HandleGetOdidByBundleName()
4054 if (!reply.WriteString(odid)) { in HandleGetOdidByBundleName()
4058 APP_LOGD("odid is %{private}s", odid in HandleGetOdidByBundleName()
[all...]
H A Dbundle_mgr_proxy.cpp4323 ErrCode BundleMgrProxy::GetOdid(std::string &odid) in GetOdid() argument
4339 odid = reply.ReadString(); in GetOdid()
4341 APP_LOGD("GetOdid ret: %{public}d, odid: %{private}s", ret, odid.c_str()); in GetOdid()
5218 ErrCode BundleMgrProxy::GetOdidByBundleName(const std::string &bundleName, std::string &odid) in GetOdidByBundleName() argument
5238 odid = reply.ReadString(); in GetOdidByBundleName()
5240 APP_LOGD("GetOdidByBundleName ret: %{public}d, odid: %{private}s", ret, odid.c_str()); in GetOdidByBundleName()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dbundle_mgr_host_impl.h967 virtual ErrCode GetOdid(std::string &odid) override;
1011 virtual ErrCode GetOdidByBundleName(const std::string &bundleName, std::string &odid) override;
H A Dbundle_data_mgr.h926 void GenerateOdid(const std::string &developerId, std::string &odid) const;
927 ErrCode GetOdid(std::string &odid) const;
928 ErrCode GetOdidByBundleName(const std::string &bundleName, std::string &odid) const;
H A Dinner_bundle_info.h2195 void UpdateOdid(const std::string &developerId, const std::string &odid);
2197 void GetDeveloperidAndOdid(std::string &developerId, std::string &odid) const;
2198 void GetOdid(std::string &odid) const;
2308 // for odid
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/acts_bms_kit_system_test/
H A Dacts_bms_kit_system_test.cpp9037 std::string odid; in HWTEST_F() local
9038 auto queryResult = bundleMgrProxy->GetOdid(odid); in HWTEST_F()
9042 EXPECT_EQ(odid.size(), ODID_LENGTH); in HWTEST_F()
9063 std::string odid; in HWTEST_F() local
9064 auto queryResult = bundleMgrProxy->GetOdid(odid); in HWTEST_F()
9067 EXPECT_TRUE(odid.empty()); in HWTEST_F()
9532 std::string odid; in HWTEST_F() local
9533 auto queryResult = bundleMgrProxy->GetOdidByBundleName(appName, odid); in HWTEST_F()
9536 EXPECT_EQ(odid.size(), ODID_LENGTH); in HWTEST_F()
9557 std::string odid; in HWTEST_F() local
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
H A Dbms_data_mgr_test.cpp2347 * @tc.desc: 1.test get odid
2353 std::string odid = ""; in HWTEST_F() local
2355 dataMgr->GenerateOdid(developerId, odid); in HWTEST_F()
2356 ErrCode ret = dataMgr->GetOdid(odid); in HWTEST_F()
/foundation/bundlemanager/bundle_tool/frameworks/src/
H A Dbundle_test_tool.cpp169 " getOdid obtain the odid of the application\n"
4256 std::string odid; in RunAsGetOdid() local
4258 auto result = bundleMgrProxy_->GetOdid(odid); in RunAsGetOdid()
4262 resultReceiver_.append(odid + "\n"); in RunAsGetOdid()

Completed in 98 milliseconds