Home
last modified time | relevance | path

Searched refs:apps (Results 1 - 11 of 11) sorted by relevance

/base/request/request/services/src/manage/scheduler/qos/
H A Dmod.rs14 mod apps; modules
18 use apps::SortedApps;
27 pub(crate) apps: SortedApps,
34 apps: SortedApps::init(),
42 self.apps.insert_task(uid, task);
46 self.apps.remove_task(uid, task_id)
50 self.apps.reload_all_tasks();
61 self.apps.sort(state.top_uid(), state.top_user());
82 for (i, task) in self.apps.iter().enumerate().flat_map(|(i, app)| { in reschedule_inner()
117 for tasks in self.apps in reschedule_inner()
[all...]
/base/customization/enterprise_device_management/test/unittest/interface/inner_api/proxy/
H A Dapplication_manager_proxy_test.cpp169 std::vector<OHOS::AppExecFwk::ElementName> apps; in HWTEST_F() local
170 ErrCode ret = applicationManagerProxy_->AddAutoStartApps(admin, apps); in HWTEST_F()
183 std::vector<OHOS::AppExecFwk::ElementName> apps{app}; in HWTEST_F()
187 ErrCode ret = applicationManagerProxy_->AddAutoStartApps(admin, apps); in HWTEST_F()
200 std::vector<OHOS::AppExecFwk::ElementName> apps; in HWTEST_F() local
201 ErrCode ret = applicationManagerProxy_->RemoveAutoStartApps(admin, apps); in HWTEST_F()
214 std::vector<OHOS::AppExecFwk::ElementName> apps{app}; in HWTEST_F()
218 ErrCode ret = applicationManagerProxy_->RemoveAutoStartApps(admin, apps); in HWTEST_F()
230 std::vector<OHOS::AppExecFwk::ElementName> apps; in HWTEST_F() local
234 ErrCode ret = applicationManagerProxy_->GetAutoStartApps(admin, apps); in HWTEST_F()
248 std::vector<OHOS::AppExecFwk::ElementName> apps; HWTEST_F() local
[all...]
/base/usb/usb_manager/services/native/src/
H A Dusb_right_manager.cpp524 std::vector<std::string> apps; in CleanUpRightAppUninstalled() local
530 int32_t ret = helper->QueryRightRecordApps(uid, apps); in CleanUpRightAppUninstalled()
535 totalApps = static_cast<int32_t>(apps.size()); in CleanUpRightAppUninstalled()
538 std::string app = apps.at(i); in CleanUpRightAppUninstalled()
555 std::vector<std::string> apps; in CleanUpRightAppUninstalled() local
561 int32_t ret = helper->QueryRightRecordApps(uid, apps); in CleanUpRightAppUninstalled()
567 if (!StringVectorFound(apps, bundleName, index)) { in CleanUpRightAppUninstalled()
571 ret = helper->DeleteAppRightRecord(uid, apps.at(index)); in CleanUpRightAppUninstalled()
573 index, apps.size(), uid, bundleName.c_str(), ret); in CleanUpRightAppUninstalled()
599 std::vector<std::string> apps; in CleanUpRightAppReinstalled() local
[all...]
H A Dusb_right_db_helper.cpp219 int32_t UsbRightDbHelper::QueryRightRecordApps(int32_t uid, std::vector<std::string> &apps) in QueryRightRecordApps() argument
225 return QueryAndGetResultColumnValues(rdbPredicates, columns, "bundleName", apps); in QueryRightRecordApps()
/base/account/os_account/services/accountmgr/test/unittest/app_account/
H A Dapp_account_data_storage_test.cpp143 std::set<std::string> apps; in HWTEST_F() local
144 appAccountInfoPtr->GetAuthorizedApps(apps); in HWTEST_F()
145 EXPECT_EQ(apps.size(), SIZE_ONE); in HWTEST_F()
146 EXPECT_EQ(*(apps.begin()), STRING_BUNDLE_NAME); in HWTEST_F()
H A Dapp_account_info_test.cpp277 * @tc.desc: Get the authorized apps with valid data.
288 // make authorized apps in HWTEST_F()
289 std::set<std::string> apps; in HWTEST_F() local
290 apps.emplace(bundleName); in HWTEST_F()
292 // make info with authorized apps in HWTEST_F()
294 appAccountInfo.authorizedApps_ = apps; in HWTEST_F()
296 // get the authorized apps in HWTEST_F()
300 // check the authorized apps in HWTEST_F()
307 * @tc.desc: Set the authorized apps with valid data.
318 // make authorized apps in HWTEST_F()
319 std::set<std::string> apps; HWTEST_F() local
[all...]
/base/account/os_account/frameworks/appaccount/native/include/
H A Dapp_account_info.h61 void GetAuthorizedApps(std::set<std::string> &apps) const;
62 void SetAuthorizedApps(const std::set<std::string> &apps);
/base/account/os_account/frameworks/appaccount/native/src/
H A Dapp_account_info.cpp183 void AppAccountInfo::GetAuthorizedApps(std::set<std::string> &apps) const in GetAuthorizedApps()
185 apps = authorizedApps_; in GetAuthorizedApps()
188 void AppAccountInfo::SetAuthorizedApps(const std::set<std::string> &apps) in SetAuthorizedApps() argument
190 authorizedApps_ = apps; in SetAuthorizedApps()
/base/usb/usb_manager/services/native/include/
H A Dusb_right_db_helper.h82 /* query apps */
83 int32_t QueryRightRecordApps(int32_t uid, std::vector<std::string> &apps);
100 /* delete (user, apps) record */
/base/request/request/services/src/manage/scheduler/
H A Dmod.rs397 self.qos.apps.remove_task(*uid, *task_id);
448 self.qos.apps.remove_task(task.uid(), task.task_id());
/base/security/security_guard/test/unittest/data_collect/sa/
H A Dsecurity_guard_data_collect_sa_test.cpp1436 "apps":"" in HWTEST_F()
1454 "apps":"" in HWTEST_F()

Completed in 10 milliseconds