| /foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
| H A D | bgtask_manager_unit_test.cpp | 65 int32_t GetUidByBundleName(const std::string &bundleName, const int32_t userId) in GetUidByBundleName() argument
|
| /foundation/resourceschedule/device_standby/services/test/unittest/mock/ |
| H A D | mock_helper.cpp | 51 GetApplicationInfo(const std::string &appName, const AppExecFwk::ApplicationFlag flag, const int userId, AppExecFwk::ApplicationInfo &appInfo) GetApplicationInfo() argument
|
| /foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/ |
| H A D | bundle_active_user_history.cpp | 46 void BundleActiveUserHistory::WriteBundleUsage(const int32_t userId) in WriteBundleUsage() argument 57 void BundleActiveUserHistory::OnBundleUninstalled(const int32_t userId, const std::string bundleName, in OnBundleUninstalled() argument 78 int32_t BundleActiveUserHistory::GetLevelIndex(const string& bundleName, const int32_t userId, in GetLevelIndex() argument 117 GetUserHistory( const int32_t userId, const bool create) GetUserHistory() argument 164 GetUsageHistoryForBundle( const string& bundleName, const int32_t userId, const int64_t bootBasedTimeStamp, const bool create, const int32_t uid) GetUsageHistoryForBundle() argument 179 ReportUsage(shared_ptr<BundleActivePackageHistory> oneBundleUsageHistory, const string& bundleName, const int32_t newGroup, const uint32_t groupReason, const int64_t bootBasedTimeStamp, const int64_t timeUntilNextCheck, const int32_t userId, const int32_t uid) ReportUsage() argument 222 SetAppGroup(const string& bundleName, const int32_t userId, const int32_t uid, const int64_t bootBasedTimeStamp, int32_t newGroup, uint32_t groupReason, const bool isFlush) SetAppGroup() argument 278 PrintData(int32_t userId) PrintData() argument [all...] |
| /foundation/resourceschedule/device_usage_statistics/test/fuzztest/bundleactivepowerstatecallbackproxy_fuzzer/ |
| H A D | bundleactivepowerstatecallbackproxy_fuzzer.cpp | 105 int32_t userId = GetData<int32_t>(); in BundleActiveClientFuzzTest() local
|
| /foundation/resourceschedule/device_usage_statistics/interfaces/innerkits/src/ |
| H A D | bundle_active_client.cpp | 65 ErrCode BundleActiveClient::ReportEvent(BundleActiveEvent event, const int32_t userId) in ReportEvent() argument 76 ErrCode BundleActiveClient::IsBundleIdle(bool& isBundleIdle, const std::string& bundleName, int32_t userId) in IsBundleIdle() argument 110 ErrCode BundleActiveClient::SetAppGroup(std::string bundleName, const int32_t newGroup, int32_t userId) in SetAppGroup() argument 86 QueryBundleStatsInfoByInterval(std::vector<BundleActivePackageStats>& PackageStats, const int32_t intervalType, const int64_t beginTime, const int64_t endTime, int32_t userId) QueryBundleStatsInfoByInterval() argument 97 QueryBundleEvents(std::vector<BundleActiveEvent>& bundleActiveEvents, const int64_t beginTime, const int64_t endTime, int32_t userId) QueryBundleEvents() argument 142 QueryAppGroup(int32_t& appGroup, std::string& bundleName, const int32_t userId) QueryAppGroup() argument 152 QueryModuleUsageRecords(int32_t maxNum, std::vector<BundleActiveModuleRecord>& results, int32_t userId) QueryModuleUsageRecords() argument 195 QueryDeviceEventStats(int64_t beginTime, int64_t endTime, std::vector<BundleActiveEventStats>& eventStats, int32_t userId) QueryDeviceEventStats() argument 206 QueryNotificationEventStats(int64_t beginTime, int64_t endTime, std::vector<BundleActiveEventStats>& eventStats, int32_t userId) QueryNotificationEventStats() argument [all...] |
| /foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/ |
| H A D | bundle_state_data.h | 66 int32_t userId = -1; member
|
| /foundation/resourceschedule/device_usage_statistics/test/unittest/ |
| H A D | device_usage_statistics_mock_test.cpp | 283 int32_t userId = 101; in HWTEST_F() local 382 int32_t userId = 100; in HWTEST_F() local 428 int32_t userId = 100; HWTEST_F() local [all...] |
| /foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/common_event/src/ |
| H A D | event_controller.cpp | 91 int32_t EventController::GetUid(const int32_t &userId, const std::string &bundleName) const in GetUid() argument 231 int32_t userId = data.GetCode(); in OnReceiveEvent() local 236 int32_t userId = data.GetCode(); in OnReceiveEvent() local 261 void EventController::handleEvent(int32_t userId, const std::string &action, nlohmann::json &payload) in handleEvent() argument 306 handleOtherEvent(int32_t userId, const std::string &action, nlohmann::json &payload) handleOtherEvent() argument [all...] |
| /foundation/window/window_manager/window_scene/common/src/ |
| H A D | session_permission.cpp | 246 int userId = uid / 200000; // 200000 use uid to caculate userId in IsSameAppAsCalling() local 282 int userId = uid / 200000; // 200000 use uid to caculate userId in IsStartedByUIExtension() local [all...] |
| /foundation/communication/netmanager_base/services/netmanagernative/src/manager/ |
| H A D | dns_manager.cpp | 224 int32_t DnsManager::SetFirewallCurrentUserId(int32_t userId) in SetFirewallCurrentUserId() argument
|
| /foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/ |
| H A D | netfirewall_service_stub_test.cpp | 347 int32_t userId = USER_ID; in HWTEST_F() local 442 int32_t userId = -1; in HWTEST_F() local 452 int32_t userId = USER_ID; in HWTEST_F() local 463 int32_t userId = USER_ID; in HWTEST_F() local 480 int32_t userId in HWTEST_F() local 490 int32_t userId = USER_ID; HWTEST_F() local 505 int32_t userId = USER_ID; HWTEST_F() local 519 int32_t userId = USER_ID; HWTEST_F() local [all...] |
| /foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
| H A D | wifi_app_state_aware.cpp | 201 int32_t userId = static_cast<int32_t>(uid / UID_CALLINGUID_TRANSFORM_DIVISOR); in GetRunningProcessNameByPid() local
|
| /foundation/communication/netmanager_ext/services/netfirewallmanager/src/ |
| H A D | netfirewall_default_rule_parser.cpp | 70 cJSON *userId = cJSON_GetObjectItem(mem, NET_FIREWALL_USER_ID.c_str()); in ConvertFirewallRuleToConfig() local
|
| /foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
| H A D | netfirewall_service_stub_test.cpp | 347 int32_t userId = USER_ID;
in HWTEST_F() local 442 int32_t userId = -1;
in HWTEST_F() local 452 int32_t userId = USER_ID;
in HWTEST_F() local 463 int32_t userId = USER_ID;
in HWTEST_F() local 480 int32_t userId in HWTEST_F() local 490 int32_t userId = USER_ID; HWTEST_F() local 505 int32_t userId = USER_ID; HWTEST_F() local 519 int32_t userId = USER_ID; HWTEST_F() local [all...] |
| H A D | netfirewall_service_proxy_test.cpp | 263 int32_t userId = USER_ID;
in HWTEST_F() local 281 int32_t userId = USER_ID;
in HWTEST_F() local 298 int32_t userId = USER_ID;
in HWTEST_F() local 313 int32_t userId = USER_ID;
in HWTEST_F() local 322 int32_t userId in HWTEST_F() local 331 int32_t userId = USER_ID; HWTEST_F() local [all...] |
| /foundation/communication/netmanager_ext/services/vpnmanager/src/ |
| H A D | open_vpn_ctl.cpp | 27 OpenvpnCtl::OpenvpnCtl(sptr<VpnConfig> config, const std::string &pkg, int32_t userId,
in OpenvpnCtl() argument
|
| /foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/wifi_asset/ |
| H A D | wifi_asset_manager.cpp | 183 static void WifiAssetAttrQuery(const AssetResultSet &resultSet, int32_t userId,
in WifiAssetAttrQuery() argument 264 void WifiAssetManager::WifiAssetAdd(const WifiDeviceConfig &config, int32_t userId, bool flagSync)
in WifiAssetAdd() argument 279 void WifiAssetManager::WifiAssetQuery(int32_t userId)
in WifiAssetQuery() argument 313 void WifiAssetManager::WifiAssetUpdate(const WifiDeviceConfig &config, int32_t userId)
in WifiAssetUpdate() argument 319 void WifiAssetManager::WifiAssetRemove(const WifiDeviceConfig &config, int32_t userId, bool flagSync)
in WifiAssetRemove() argument 345 WifiAssetAddPack(const std::vector<WifiDeviceConfig> &wifiDeviceConfigs, int32_t userId, bool flagSync, bool firstSync) WifiAssetAddPack() argument 381 WifiAssetRemovePackInner(const std::vector<WifiDeviceConfig> &wifiDeviceConfigs, int32_t userId, bool flagSync) WifiAssetRemovePackInner() argument 408 WifiAssetUpdatePack(const std::vector<WifiDeviceConfig> &wifiDeviceConfigs, int32_t userId) WifiAssetUpdatePack() argument 414 WifiAssetRemovePack(const std::vector<WifiDeviceConfig> &wifiDeviceConfigs, int32_t userId, bool flagSync) WifiAssetRemovePack() argument 423 WifiAssetRemoveAll(int32_t userId, bool flagSync) WifiAssetRemoveAll() argument [all...] |
| /foundation/communication/netmanager_ext/test/vpnmanager/unittest/sys_vpn_manager_test/ |
| H A D | networkvpn_service_test.cpp | 206 int32_t userId = TEST_USERID; in HWTEST_F() local 217 int32_t userId = TEST_USERID; in HWTEST_F() local 228 int32_t userId = TEST_USERID; in HWTEST_F() local 253 int32_t userId = AppExecFwk::Constants::UNSPECIFIED_USERID; in HWTEST_F() local 275 int32_t userId in HWTEST_F() local 306 int32_t userId = 0; HWTEST_F() local 371 int32_t userId = 1; HWTEST_F() local [all...] |
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/ |
| H A D | relational_store_manager.cpp | 43 RelationalStoreManager::RelationalStoreManager(const std::string &appId, const std::string &userId, int32_t instanceId) in RelationalStoreManager() argument 49 RelationalStoreManager::RelationalStoreManager(const std::string &appId, const std::string &userId, in RelationalStoreManager() argument 237 std::string RelationalStoreManager::GetRelationalStoreIdentifier(const std::string &userId, const std::string &appId, in GetRelationalStoreIdentifier() argument
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
| H A D | distributeddb_nb_autolaunch_test.cpp | 145 vector<string> userId = {"", appId1, appId2}; in HWTEST_F() local 714 string userId = ""; in HWTEST_F() local [all...] |
| /foundation/distributeddatamgr/kv_store/test/fuzztest/distributedkvdatamanager_fuzzer/ |
| H A D | distributedkvdatamanager_fuzzer.cpp | 38 static UserId userId; member
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/ |
| H A D | db_status_adapter.cpp | 164 bool DBStatusAdapter::IsNeedAutoSync(const std::string &userId, const std::string &appId, const std::string &storeId, in IsNeedAutoSync() argument
|
| /foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/ |
| H A D | join_test.cpp | 223 int userId; HWTEST_F() local 273 int userId; HWTEST_F() local 323 int userId; HWTEST_F() local [all...] |
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/ |
| H A D | rdb_subscriber_manager.cpp | 31 bool TemplateManager::Get(const Key &key, int32_t userId, Template &tpl)
in Get() argument 36 int32_t TemplateManager::Add(const Key &key, int32_t userId, const Template &tpl)
in Add() argument 46 int32_t TemplateManager::Delete(const Key &key, int32_t userId)
in Delete() argument 245 void RdbSubscriberManager::Emit(const std::string &uri, int32_t userId,
in Emit() argument 290 EmitByKey(const Key &key, int32_t userId, const std::string &rdbPath, int version) EmitByKey() argument 317 Notify(const Key &key, int32_t userId, const std::vector<ObserverNode> &val, const std::string &rdbDir, int rdbVersion) Notify() argument [all...] |
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/ |
| H A D | object_manager.h | 199 inline std::string GetMetaUserIdKey(const std::string &userId, const std::string &appId)
in GetMetaUserIdKey() argument
|