/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_state_observer_manager_test/ |
H A D | app_state_observer_manager_test.cpp | 129 vector<std::string> bundleNameList; variable 145 vector<std::string> bundleNameList; variable 147 bundleNameList.push_back("a"); 367 bundleNameList.push_back(bundleName); 430 bundleNameList.push_back(bundleName); 452 bundleNameList.push_back(bundleName); 515 bundleNameList.push_back(bundleName); 538 bundleNameList.push_back(bundleName); 561 bundleNameList.push_back(bundleName); 628 bundleNameList.push_back(bundleName); [all …]
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/ |
H A D | bundle_manager_internal.cpp | 37 std::vector<std::string> bundleNameList; in GetCallerAppIdFromBms() local 38 if (!GetBundleNameListFromBms(callingUid, bundleNameList)) { in GetCallerAppIdFromBms() 42 if (bundleNameList.empty()) { in GetCallerAppIdFromBms() 47 return GetCallerAppIdFromBms(bundleNameList.front(), appId); in GetCallerAppIdFromBms() 89 bool result = bundleMgr->GetBundlesForUid(callingUid, bundleNameList); in GetBundleNameListFromBms() 100 std::vector<std::string> bundleNameList; in GetBundleNameListFromBms() local 101 if (!GetBundleNameListFromBms(callingUid, bundleNameList)) { in GetBundleNameListFromBms() 105 for (const std::string& bundleName : bundleNameList) { in GetBundleNameListFromBms() 258 std::vector<std::string> &bundleNameList) in GetContinueBundle4Src() argument 272 ret = bundleMgr->GetContinueBundleNames(srcBundleName, bundleNameList, activeAccountId); in GetContinueBundle4Src() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/registerapplicationstateobserver_fuzzer/ |
H A D | registerapplicationstateobserver_fuzzer.cpp | 43 std::vector<std::string> bundleNameList; in DoSomethingInterestingWithMyAPI() local 45 bundleNameList.emplace_back(bundleName); in DoSomethingInterestingWithMyAPI() 47 if (appMgrService->RegisterApplicationStateObserver(observer, bundleNameList) != 0) { in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_config_data_manager.cpp | 138 int32_t AppConfigDataManager::GetAppWaitingDebugList(std::vector<std::string> &bundleNameList) in GetAppWaitingDebugList() argument 163 bundleNameList.emplace_back(item.value.ToString()); in GetAppWaitingDebugList() 166 TAG_LOGD(AAFwkTag::APPMGR, "The bundle name list size is %{public}zu.", bundleNameList.size()); in GetAppWaitingDebugList()
|
/ohos5.0/base/useriam/user_auth_framework/services/context/src/ |
H A D | context_appstate_observer.cpp | 77 std::vector<std::string> bundleNameList; in SubscribeAppState() local 78 bundleNameList.emplace_back(bundleName); in SubscribeAppState() 79 … int32_t result = appManager->RegisterApplicationStateObserver(appStateObserver_, bundleNameList); in SubscribeAppState()
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_service_disposal_config_test.cpp | 295 vector<string> bundleNameList = config.GetBundleNameFromConfigFile(); variable 297 if (bundleNameList.size() == 1) { 324 vector<string> bundleNameList = config.GetBundleNameFromConfigFile(); variable 326 if (bundleNameList.size() == 0) {
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_config_data_manager_test/ |
H A D | app_config_data_manager_test.cpp | 122 std::vector<std::string> bundleNameList; variable 123 auto iret = manager->GetAppWaitingDebugList(bundleNameList);
|
/ohos5.0/base/security/access_token/services/common/app_manager/include/ |
H A D | app_manager_access_proxy.h | 52 const std::vector<std::string>& bundleNameList = {}) = 0; 72 const std::vector<std::string> &bundleNameList = {}) override;
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_stability_test/ |
H A D | ui_extension_stability_test.cpp | 137 std::vector<std::string> bundleNameList; in RegisterApplicationStateObserver() local 138 bundleNameList.push_back(TARGET_BUNDLE_NAME); in RegisterApplicationStateObserver() 139 bundleNameList.push_back(USER_BUNDLE_NAME); in RegisterApplicationStateObserver() 140 auto ret = appMgr_->RegisterApplicationStateObserver(observer, bundleNameList); in RegisterApplicationStateObserver()
|
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/ |
H A D | service.cpp | 111 for (auto &bundleName : bundleNameList) { in OnStartResRadarReport() 211 std::vector<std::string> bundleNameList; in OnStart() local 220 if (!bundleNameList.empty()) { in OnStart() 221 OnStartResRadarReport(bundleNameList, in OnStart() 1443 if (bundleNameList.empty()) { in SendErrAppGalleryNotify() 1447 for (vector<string>::iterator it = bundleNameList.begin(); it != bundleNameList.end(); ++it) { in SendErrAppGalleryNotify() 1457 if (!bundleNameList.empty()) { in ClearDisposalOnSaStart() 1458 … for (vector<string>::iterator it = bundleNameList.begin(); it != bundleNameList.end(); ++it) { in ClearDisposalOnSaStart() 1475 if (!bundleNameList.empty()) { in DeleteDisConfigFile() 1502 if (!bundleNameList.empty()) { in SessionDeactive() [all …]
|
/ohos5.0/foundation/ability/ability_runtime/test/fuzztest/appstateobservermanager_fuzzer/ |
H A D | appstateobservermanager_fuzzer.cpp | 52 std::vector<std::string> bundleNameList; in DoSomethingInterestingWithMyAPI() local 53 appStateObserverManager->RegisterApplicationStateObserver(observer, bundleNameList); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_json/ |
H A D | b_json_service_disposal_config.cpp | 233 vector<string> bundleNameList; in GetBundleNameFromConfigFile() local 258 bundleNameList.push_back(cJSON_GetObjectItem(item, "bundleName")->valuestring); in GetBundleNameFromConfigFile() 262 return bundleNameList; in GetBundleNameFromConfigFile()
|
H A D | b_json_clear_data_config.cpp | 257 vector<string> bundleNameList; in GetAllClearBundleRecords() local 282 bundleNameList.push_back(cJSON_GetObjectItem(item, "bundleName")->valuestring); in GetAllClearBundleRecords() 286 return bundleNameList; in GetAllClearBundleRecords()
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/bundle/ |
H A D | bundle_manager_internal.h | 39 …static bool GetBundleNameListFromBms(int32_t callingUid, std::vector<std::string>& bundleNameList); 51 std::vector<std::string>& bundleNameList);
|
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_connect_module_test/ |
H A D | ui_extension_connect_module_test.cpp | 137 std::vector<std::string> bundleNameList; in RegisterApplicationStateObserver() local 138 bundleNameList.push_back(TARGET_BUNDLE_NAME); in RegisterApplicationStateObserver() 139 bundleNameList.push_back(USER_BUNDLE_NAME); in RegisterApplicationStateObserver() 140 auto ret = appMgr_->RegisterApplicationStateObserver(observer, bundleNameList); in RegisterApplicationStateObserver()
|
/ohos5.0/base/security/access_token/services/common/app_manager/src/ |
H A D | app_manager_access_client.cpp | 79 std::vector<std::string> bundleNameList; in RegisterApplicationStateObserver() local 80 return proxy->RegisterApplicationStateObserver(observer, bundleNameList); in RegisterApplicationStateObserver()
|
H A D | app_manager_access_proxy.cpp | 57 const std::vector<std::string>& bundleNameList) in RegisterApplicationStateObserver() argument 70 if (!data.WriteStringVector(bundleNameList)) { in RegisterApplicationStateObserver()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-app-ability-appManager.md | 420 on(type: 'applicationState', observer: ApplicationStateObserver, bundleNameList: Array\<string>): n… 434 | bundleNameList | `Array<string>` | 是 | 表示需要注册监听的bundleName数组。最大值128。 | 482 let bundleNameList = ['bundleName1', 'bundleName2']; 485 const observerId = appManager.on('applicationState', applicationStateObserver, bundleNameList); 559 let bundleNameList = ['bundleName1', 'bundleName2']; 562 observerId = appManager.on('applicationState', applicationStateObserver, bundleNameList);
|
/ohos5.0/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/ |
H A D | disposed_rule_interceptor.cpp | 183 std::vector<std::string> bundleNameList; in StartNonBlockRule() local 184 bundleNameList.push_back(bundleName); in StartNonBlockRule() 185 … = IN_PROCESS_CALL(appManager->RegisterApplicationStateObserver(disposedObserver, bundleNameList)); in StartNonBlockRule()
|
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/ |
H A D | app_mgr_interface.h | 29 const std::vector<std::string> &bundleNameList = {}) = 0;
|
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_ipc_interface_test/ |
H A D | ams_ipc_appmgr_interface_test.cpp | 202 std::vector<std::string> bundleNameList; variable 208 int32_t err = appMgrClient->RegisterApplicationStateObserver(observer, bundleNameList);
|
/ohos5.0/foundation/ability/ability_runtime/services/appmgr/include/ |
H A D | app_config_data_manager.h | 37 int32_t GetAppWaitingDebugList(std::vector<std::string> &bundleNameList);
|
/ohos5.0/base/security/access_token/services/test/mock/aafwk/ |
H A D | mock_app_mgr_service.cpp | 33 const std::vector<std::string>& bundleNameList) in RegisterApplicationStateObserver() argument
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-app-ability-appManager.md | 420 on(type: 'applicationState', observer: ApplicationStateObserver, bundleNameList: Array\<string>): n… 434 | bundleNameList | `Array<string>` | Yes| **bundleName** array of the application. A maximum of 128… 482 let bundleNameList = ['bundleName1', 'bundleName2']; 485 const observerId = appManager.on('applicationState', applicationStateObserver, bundleNameList); 559 let bundleNameList = ['bundleName1', 'bundleName2']; 562 observerId = appManager.on('applicationState', applicationStateObserver, bundleNameList);
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
H A D | dms_continue_recv_manager.cpp | 268 std::vector<std::string> bundleNameList; in GetFinalBundleName() local 269 … bool continueBundleGot = BundleManagerInternal::GetContinueBundle4Src(bundleName, bundleNameList); in GetFinalBundleName() 275 for (std::string &bundleNameItem: bundleNameList) { in GetFinalBundleName()
|