Home
last modified time | relevance | path

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

/base/usb/usb_manager/services/native/src/
Dusb_right_manager.cpp434 std::vector<std::string> apps; in CleanUpRightAppUninstalled() local
436 int32_t ret = helper->QueryRightRecordApps(uid, apps); in CleanUpRightAppUninstalled()
441 totalApps = static_cast<int32_t>(apps.size()); in CleanUpRightAppUninstalled()
444 std::string app = apps.at(i); in CleanUpRightAppUninstalled()
461 std::vector<std::string> apps; in CleanUpRightAppUninstalled() local
463 int32_t ret = helper->QueryRightRecordApps(uid, apps); in CleanUpRightAppUninstalled()
469 if (!StringVectorFound(apps, bundleName, index)) { in CleanUpRightAppUninstalled()
473 ret = helper->DeleteAppRightRecord(uid, apps.at(index)); in CleanUpRightAppUninstalled()
475 index, apps.size(), uid, bundleName.c_str(), ret); in CleanUpRightAppUninstalled()
501 std::vector<std::string> apps; in CleanUpRightAppReinstalled() local
[all …]
Dusb_right_db_helper.cpp210 int32_t UsbRightDbHelper::QueryRightRecordApps(int32_t uid, std::vector<std::string> &apps) in QueryRightRecordApps() argument
216 return QueryAndGetResultColumnValues(rdbPredicates, columns, "bundleName", apps); in QueryRightRecordApps()
/base/security/permission_lite/
DREADME.md5apps and system services run in independent sandboxes. Both processes and data are isolated from e…
9 …s, allowing system services and apps to define new permissions for their sensitive APIs. To access…
11apps to request permissions defined by the system or other applications. Upon obtaining the permis…
19 …rmission management for the app framework subsystem and provides APIs for apps to request permissi…
43 …ion management of the mini and small systems can be called only by system apps and services. The f…
255 …nent to obtain the access policy for the services. When other services or apps access these servic…
/base/account/os_account/services/accountmgr/test/unittest/app_account/
Dapp_account_data_storage_test.cpp133 std::set<std::string> apps; variable
134 appAccountInfoPtr->GetAuthorizedApps(apps);
135 EXPECT_EQ(apps.size(), SIZE_ONE);
136 EXPECT_EQ(*(apps.begin()), STRING_BUNDLE_NAME);
Dapp_account_info_test.cpp282 std::set<std::string> apps; variable
283 apps.emplace(bundleName);
287 appAccountInfo.authorizedApps_ = apps;
312 std::set<std::string> apps; variable
313 apps.emplace(bundleName);
319 appAccountInfo.SetAuthorizedApps(apps);
/base/account/os_account/frameworks/appaccount/native/include/
Dapp_account_info.h59 void GetAuthorizedApps(std::set<std::string> &apps) const;
60 void SetAuthorizedApps(const std::set<std::string> &apps);
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account_info.cpp148 void AppAccountInfo::GetAuthorizedApps(std::set<std::string> &apps) const in GetAuthorizedApps()
150 apps = authorizedApps_; in GetAuthorizedApps()
153 void AppAccountInfo::SetAuthorizedApps(const std::set<std::string> &apps) in SetAuthorizedApps() argument
155 authorizedApps_ = apps; in SetAuthorizedApps()
/base/usb/usb_manager/services/native/include/
Dusb_right_db_helper.h85 int32_t QueryRightRecordApps(int32_t uid, std::vector<std::string> &apps);
/base/security/access_token/
DREADME.md74 ATM provides unified access control for apps and allows apps or service abilities to obtain and ver…
/base/security/device_security_level/
DREADME.md68 …the APIs are native C interfaces for implementing underlying capabilities and are not open to apps.
/base/account/os_account/
DREADME.md63 …ides APIs to query and update the account login status. These APIs can be used only by system apps.