Home
last modified time | relevance | path

Searched refs:callingName (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/app_control/
H A Dapp_control_manager_rdb.h36 virtual ErrCode GetAppInstallControlRule(const std::string &callingName,
39 virtual ErrCode AddAppRunningControlRule(const std::string &callingName,
41 virtual ErrCode DeleteAppRunningControlRule(const std::string &callingName,
44 virtual ErrCode GetAppRunningControlRule(const std::string &callingName,
49 virtual ErrCode SetDisposedStatus(const std::string &callingName,
51 virtual ErrCode DeleteDisposedStatus(const std::string &callingName,
53 virtual ErrCode GetDisposedStatus(const std::string &callingName,
55 virtual ErrCode SetDisposedRule(const std::string &callingName,
57 virtual ErrCode GetDisposedRule(const std::string &callingName,
59 virtual ErrCode DeleteDisposedRule(const std::string &callingName,
[all …]
H A Dapp_control_manager_db_interface.h34 virtual ErrCode AddAppInstallControlRule(const std::string &callingName,
38 virtual ErrCode DeleteAppInstallControlRule(const std::string &callingName,
40 virtual ErrCode GetAppInstallControlRule(const std::string &callingName,
42 virtual ErrCode AddAppRunningControlRule(const std::string &callingName,
44 virtual ErrCode DeleteAppRunningControlRule(const std::string &callingName,
47 virtual ErrCode GetAppRunningControlRule(const std::string &callingName,
52 virtual ErrCode SetDisposedStatus(const std::string &callingName,
54 virtual ErrCode DeleteDisposedStatus(const std::string &callingName,
58 virtual ErrCode SetDisposedRule(const std::string &callingName,
60 virtual ErrCode GetDisposedRule(const std::string &callingName,
[all …]
H A Dapp_control_manager.h37 ErrCode AddAppInstallControlRule(const std::string &callingName,
40 …ErrCode DeleteAppInstallControlRule(const std::string &callingName, const std::string &controlRule…
43 ErrCode DeleteAppInstallControlRule(const std::string &callingName,
46 ErrCode GetAppInstallControlRule(const std::string &callingName,
49 ErrCode AddAppRunningControlRule(const std::string &callingName,
51 ErrCode DeleteAppRunningControlRule(const std::string &callingName,
53 ErrCode DeleteAppRunningControlRule(const std::string &callingName, int32_t userId);
54 …ErrCode GetAppRunningControlRule(const std::string &callingName, int32_t userId, std::vector<std::…
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_control/
H A Dapp_control_manager_rdb.cpp89 valuesBucket.PutString(CALLING_NAME, callingName); in AddAppInstallControlRule()
132 absRdbPredicates.EqualTo(CALLING_NAME, callingName); in DeleteAppInstallControlRule()
148 absRdbPredicates.EqualTo(CALLING_NAME, callingName); in GetAppInstallControlRule()
246 callingName.c_str(), userId); in DeleteAppRunningControlRule()
323 std::string callingName; in GetAppRunningControlRule() local
361 valuesBucket.PutString(CALLING_NAME, callingName); in SetDisposedStatus()
371 callingName.c_str(), appId.c_str()); in SetDisposedStatus()
389 callingName.c_str(), appId.c_str()); in DeleteDisposedStatus()
462 valuesBucket.PutString(CALLING_NAME, callingName); in SetDisposedRule()
473 callingName.c_str(), appId.c_str()); in SetDisposedRule()
[all …]
H A Dapp_control_manager_host_impl.cpp55 std::string callingName = GetCallingName(); in AddAppInstallControlRule() local
57 if (callingName.empty()) { in AddAppInstallControlRule()
85 std::string callingName = GetCallingName(); in DeleteAppInstallControlRule() local
86 if (callingName.empty()) { in DeleteAppInstallControlRule()
105 std::string callingName = GetCallingName(); in DeleteAppInstallControlRule() local
107 if (callingName.empty()) { in DeleteAppInstallControlRule()
132 if (callingName.empty()) { in GetAppInstallControlRule()
148 if (callingName.empty()) { in AddAppRunningControlRule()
159 if (callingName.empty()) { in DeleteAppRunningControlRule()
169 if (callingName.empty()) { in DeleteAppRunningControlRule()
[all …]
H A Dapp_control_manager.cpp60 ErrCode AppControlManager::AddAppInstallControlRule(const std::string &callingName, in AddAppInstallControlRule() argument
71 ErrCode AppControlManager::DeleteAppInstallControlRule(const std::string &callingName, in DeleteAppInstallControlRule() argument
82 ErrCode AppControlManager::DeleteAppInstallControlRule(const std::string &callingName, in DeleteAppInstallControlRule() argument
93 ErrCode AppControlManager::GetAppInstallControlRule(const std::string &callingName, in GetAppInstallControlRule() argument
100 ErrCode AppControlManager::AddAppRunningControlRule(const std::string &callingName, in AddAppRunningControlRule() argument
105 ErrCode ret = appControlManagerDb_->AddAppRunningControlRule(callingName, controlRules, userId); in AddAppRunningControlRule()
119 ErrCode AppControlManager::DeleteAppRunningControlRule(const std::string &callingName, in DeleteAppRunningControlRule() argument
123 auto ret = appControlManagerDb_->DeleteAppRunningControlRule(callingName, controlRules, userId); in DeleteAppRunningControlRule()
138 ErrCode res = appControlManagerDb_->DeleteAppRunningControlRule(callingName, userId); in DeleteAppRunningControlRule()
158 const std::string &callingName, int32_t userId, std::vector<std::string> &appIds) in GetAppRunningControlRule() argument
[all …]
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/dfx/
H A Dhiview_fault_adapter.cpp70 std::string callingName; in GetCallingName() local
77 callingName = tokenInfo.bundleName; in GetCallingName()
83 callingName = tokenInfo.processName; in GetCallingName()
88 return std::make_pair(callingName, result); in GetCallingName()
H A Dhiview_adapter.cpp58 std::string callingName = HiViewFaultAdapter::GetCallingName(key).first; in ReportDataStatistic() local
59 … value.callerName = callingName.empty() ? std::to_string(callerInfo.callerPid) : callingName; in ReportDataStatistic()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Devent_report.h213 int32_t userId, bool isEnable, int32_t appIndex, const std::string &callingName);
223 int32_t userId, bool isEnable, int32_t appIndex, const std::string &callingName);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bms_extension/
H A Dbms_extension_client.h66 ErrCode OptimizeDisposedPredicates(const std::string &callingName, const std::string &appId,
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/include/
H A Dbms_extension_data_mgr.h63 ErrCode OptimizeDisposedPredicates(const std::string &callingName, const std::string &appId,
H A Dbundle_mgr_ext.h115 …virtual ErrCode OptimizeDisposedPredicates(const std::string &callingName, const std::string &appI… in OptimizeDisposedPredicates() argument
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bms_extension/
H A Dbms_extension_client.cpp381 ErrCode BmsExtensionClient::OptimizeDisposedPredicates(const std::string &callingName, const std::s… in OptimizeDisposedPredicates() argument
388 …return bmsExtensionImpl_->OptimizeDisposedPredicates(callingName, appId, userId, appIndex, absRdbP… in OptimizeDisposedPredicates()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/bundlemgr_extension/src/
H A Dbms_extension_data_mgr.cpp418 ErrCode BmsExtensionDataMgr::OptimizeDisposedPredicates(const std::string &callingName, const std::… in OptimizeDisposedPredicates() argument
431 …ErrCode ret = bundleMgrExtPtr->OptimizeDisposedPredicates(callingName, appId, userId, appIndex, ab… in OptimizeDisposedPredicates()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_data_mgr_test/
H A Dbms_extension_data_mgr_test.cpp656 std::string callingName = ""; variable
659 …ErrCode res = bundleMgrExtTest.OptimizeDisposedPredicates(callingName, appId, USERID, 0, absRdbPre…