Home
last modified time | relevance | path

Searched refs:bundleNameList (Results 1 – 25 of 68) sorted by relevance

123

/ohos5.0/foundation/ability/ability_runtime/test/unittest/app_state_observer_manager_test/
H A Dapp_state_observer_manager_test.cpp129 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 Dbundle_manager_internal.cpp37 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 Dregisterapplicationstateobserver_fuzzer.cpp43 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 Dapp_config_data_manager.cpp138 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 Dcontext_appstate_observer.cpp77 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 Db_json_service_disposal_config_test.cpp295 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 Dapp_config_data_manager_test.cpp122 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 Dapp_manager_access_proxy.h52 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 Dui_extension_stability_test.cpp137 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 Dservice.cpp111 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 Dappstateobservermanager_fuzzer.cpp52 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 Db_json_service_disposal_config.cpp233 vector<string> bundleNameList; in GetBundleNameFromConfigFile() local
258 bundleNameList.push_back(cJSON_GetObjectItem(item, "bundleName")->valuestring); in GetBundleNameFromConfigFile()
262 return bundleNameList; in GetBundleNameFromConfigFile()
H A Db_json_clear_data_config.cpp257 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 Dbundle_manager_internal.h39 …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 Dui_extension_connect_module_test.cpp137 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 Dapp_manager_access_client.cpp79 std::vector<std::string> bundleNameList; in RegisterApplicationStateObserver() local
80 return proxy->RegisterApplicationStateObserver(observer, bundleNameList); in RegisterApplicationStateObserver()
H A Dapp_manager_access_proxy.cpp57 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 Djs-apis-app-ability-appManager.md420 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 Ddisposed_rule_interceptor.cpp183 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 Dapp_mgr_interface.h29 const std::vector<std::string> &bundleNameList = {}) = 0;
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_ipc_interface_test/
H A Dams_ipc_appmgr_interface_test.cpp202 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 Dapp_config_data_manager.h37 int32_t GetAppWaitingDebugList(std::vector<std::string> &bundleNameList);
/ohos5.0/base/security/access_token/services/test/mock/aafwk/
H A Dmock_app_mgr_service.cpp33 const std::vector<std::string>& bundleNameList) in RegisterApplicationStateObserver() argument
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-appManager.md420 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 Ddms_continue_recv_manager.cpp268 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()

123