/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/ |
H A D | bundlemgrproxy_fuzzer.cpp | 303 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 D | app_service_fwk_installer.cpp | 459 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 D | bundle_mgr_interface.h | 1482 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 D | bundle_mgr_proxy.h | 1021 * @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 D | inner_bundle_info.cpp | 129 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 D | bundle_mgr_host_impl.cpp | 3988 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 D | bundle_data_mgr.cpp | 7920 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 D | base_bundle_installer.cpp | 3991 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 D | bundle_mgr_host.cpp | 3737 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 D | bundle_mgr_proxy.cpp | 4323 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 D | bundle_mgr_host_impl.h | 967 virtual ErrCode GetOdid(std::string &odid) override; 1011 virtual ErrCode GetOdidByBundleName(const std::string &bundleName, std::string &odid) override;
|
H A D | bundle_data_mgr.h | 926 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 D | inner_bundle_info.h | 2195 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 D | acts_bms_kit_system_test.cpp | 9037 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 D | bms_data_mgr_test.cpp | 2347 * @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 D | bundle_test_tool.cpp | 169 " 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()
|