/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
H A D | net_policy_rule.cpp | 303 int32_t NetPolicyRule::GetBackgroundPolicyByUid(uint32_t uid, uint32_t &backgroundPolicyOfUid) in GetBackgroundPolicyByUid() argument 309 backgroundPolicyOfUid = NET_BACKGROUND_POLICY_DISABLE; in GetBackgroundPolicyByUid() 314 backgroundPolicyOfUid = NET_BACKGROUND_POLICY_ENABLE; in GetBackgroundPolicyByUid() 319 backgroundPolicyOfUid = NET_BACKGROUND_POLICY_TRUSTLIST; in GetBackgroundPolicyByUid() 322 backgroundPolicyOfUid = NET_BACKGROUND_POLICY_DISABLE; in GetBackgroundPolicyByUid()
|
/ohos5.0/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/ |
H A D | net_policy_manager_test.cpp | 403 uint32_t backgroundPolicyOfUid = 0; variable 405 BACKGROUND_POLICY_TEST_UID, backgroundPolicyOfUid); 406 …std::cout << "NetPolicyManager017 GetBackgroundPolicyByUid " << backgroundPolicyOfUid << std::endl; 409 ASSERT_EQ(backgroundPolicyOfUid, NET_BACKGROUND_POLICY_DISABLE); 421 uint32_t backgroundPolicyOfUid = 0; variable 423 BACKGROUND_POLICY_TEST_UID, backgroundPolicyOfUid); 424 …std::cout << "NetPolicyManager0018 GetBackgroundPolicyByUid " << backgroundPolicyOfUid << std::end… 427 ASSERT_EQ(backgroundPolicyOfUid, NET_BACKGROUND_POLICY_ENABLE);
|
H A D | ut_net_policy_rule.cpp | 199 uint32_t backgroundPolicyOfUid = 0; variable 200 g_netPolicyRule->GetBackgroundPolicyByUid(TEST_UID2, backgroundPolicyOfUid); 201 ASSERT_EQ(backgroundPolicyOfUid, NetBackgroundPolicy::NET_BACKGROUND_POLICY_DISABLE);
|
H A D | ut_net_policy_client.cpp | 321 uint32_t backgroundPolicyOfUid = 0; variable 323 int32_t ret2 = g_netPolicyClient->GetBackgroundPolicyByUid(TEST_UID, backgroundPolicyOfUid); 325 ASSERT_EQ(backgroundPolicyOfUid, NET_BACKGROUND_POLICY_DISABLE);
|
H A D | ut_net_policy_service.cpp | 169 uint32_t backgroundPolicyOfUid = 0; variable 170 int32_t ret = instance_->GetBackgroundPolicyByUid(uid, backgroundPolicyOfUid);
|
H A D | net_policy_service_stub_test.cpp | 116 int32_t GetBackgroundPolicyByUid(uint32_t uid, uint32_t &backgroundPolicyOfUid) override in GetBackgroundPolicyByUid() argument
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/innerkits/netpolicyclient/include/ |
H A D | i_net_policy_service.h | 186 virtual int32_t GetBackgroundPolicyByUid(uint32_t uid, uint32_t &backgroundPolicyOfUid) = 0;
|
H A D | net_policy_service_proxy.h | 43 int32_t GetBackgroundPolicyByUid(uint32_t uid, uint32_t &backgroundPolicyOfUid) override;
|
H A D | net_policy_client.h | 191 [[nodiscard]] int32_t GetBackgroundPolicyByUid(uint32_t uid, uint32_t &backgroundPolicyOfUid);
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netpolicyclient/src/ |
H A D | net_policy_client.cpp | 289 int32_t NetPolicyClient::GetBackgroundPolicyByUid(uint32_t uid, uint32_t &backgroundPolicyOfUid) in GetBackgroundPolicyByUid() argument 296 return proxy->GetBackgroundPolicyByUid(uid, backgroundPolicyOfUid); in GetBackgroundPolicyByUid()
|
H A D | net_policy_service_proxy.cpp | 419 …32_t NetPolicyServiceProxy::GetBackgroundPolicyByUid(uint32_t uid, uint32_t &backgroundPolicyOfUid) in GetBackgroundPolicyByUid() argument 447 if (!reply.ReadUint32(backgroundPolicyOfUid)) { in GetBackgroundPolicyByUid()
|
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/include/ |
H A D | net_policy_rule.h | 129 int32_t GetBackgroundPolicyByUid(uint32_t uid, uint32_t &backgroundPolicyOfUid);
|
H A D | net_policy_service.h | 157 int32_t GetBackgroundPolicyByUid(uint32_t uid, uint32_t &backgroundPolicyOfUid) override;
|
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/stub/ |
H A D | net_policy_service_stub.cpp | 489 uint32_t backgroundPolicyOfUid = 0; in OnGetBackgroundPolicyByUid() local 490 int32_t result = GetBackgroundPolicyByUid(uid, backgroundPolicyOfUid); in OnGetBackgroundPolicyByUid() 496 if (!reply.WriteUint32(backgroundPolicyOfUid)) { in OnGetBackgroundPolicyByUid()
|
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/ |
H A D | net_policy_service.cpp | 261 int32_t NetPolicyService::GetBackgroundPolicyByUid(uint32_t uid, uint32_t &backgroundPolicyOfUid) in GetBackgroundPolicyByUid() argument 268 return netPolicyRule_->GetBackgroundPolicyByUid(uid, backgroundPolicyOfUid); in GetBackgroundPolicyByUid()
|