Home
last modified time | relevance | path

Searched refs:GetPolicy (Results 1 – 25 of 47) sorted by relevance

12

/base/customization/enterprise_device_management/test/unittest/src/
Dpolicy_manager_test.cpp71 res = policyMgr_->GetPolicy(TEST_ADMIN_NAME, TEST_BOOL_POLICY_NAME, policyValue);
74 res = policyMgr_->GetPolicy("", TEST_BOOL_POLICY_NAME, policyValue);
80 res = policyMgr_->GetPolicy(TEST_ADMIN_NAME1, TEST_BOOL_POLICY_NAME, policyValue);
83 res = policyMgr_->GetPolicy("", TEST_BOOL_POLICY_NAME, policyValue);
106 res = policyMgr_->GetPolicy(TEST_ADMIN_NAME, TEST_STRING_POLICY_NAME, policyValue);
109 res = policyMgr_->GetPolicy("", TEST_STRING_POLICY_NAME, policyValue);
117 res = policyMgr_->GetPolicy(TEST_ADMIN_NAME1, TEST_STRING_POLICY_NAME, policyValue);
120 res = policyMgr_->GetPolicy("", TEST_STRING_POLICY_NAME, policyValue);
Denterprise_device_mgr_ability_test.cpp571 …EXPECT_TRUE(FAILED(edmMgr_->policyMgr_->GetPolicy(subSuperAdmin, plugin->GetPolicyName(), policyVa…
573 …FAILED(edmMgr_->policyMgr_->GetPolicy(superAdmin.GetBundleName(), plugin->GetPolicyName(), policyV…
574 EXPECT_TRUE(FAILED(edmMgr_->policyMgr_->GetPolicy("", plugin->GetPolicyName(), policyValue)));
577 …EXPECT_TRUE(SUCCEEDED(edmMgr_->policyMgr_->GetPolicy(subSuperAdmin, plugin->GetPolicyName(), polic…
581 …SUCCEEDED(edmMgr_->policyMgr_->GetPolicy(superAdmin.GetBundleName(), plugin->GetPolicyName(), poli…
584 … EXPECT_TRUE(SUCCEEDED(edmMgr_->policyMgr_->GetPolicy("", plugin->GetPolicyName(), policyValue)));
664 …EXPECT_TRUE(SUCCEEDED(edmMgr_->policyMgr_->GetPolicy(subSuperAdmin, plugin->GetPolicyName(), polic…
669 …EXPECT_TRUE(SUCCEEDED(edmMgr_->policyMgr_->GetPolicy(subSuperAdmin, plugin->GetPolicyName(), polic…
679 …EXPECT_TRUE(FAILED(edmMgr_->policyMgr_->GetPolicy(subSuperAdmin, plugin->GetPolicyName(), policyVa…
682 …EXPECT_TRUE(FAILED(edmMgr_->policyMgr_->GetPolicy(subSuperAdmin, plugin->GetPolicyName(), policyVa…
[all …]
Dpolicy_serializer_test.cpp56 ASSERT_TRUE(serializer->GetPolicy(messageParcel1, boolValue));
97 ASSERT_TRUE(serializer->GetPolicy(messageParcel1, value));
136 ASSERT_TRUE(serializer->GetPolicy(messageParcel1, value));
/base/customization/enterprise_device_management/interfaces/inner_api/network_manager/src/
Dnetwork_manager_proxy.cpp60 proxy->GetPolicy(EdmInterfaceCode::GET_NETWORK_INTERFACES, data, reply); in GetAllNetworkInterfaces()
92 proxy->GetPolicy(policyCode, data, reply); in GetIpOrMacAddress()
141 proxy->GetPolicy(EdmInterfaceCode::DISABLED_NETWORK_INTERFACE, data, reply); in IsNetworkInterfaceDisabled()
187 … EnterpriseDeviceMgrProxy::GetInstance()->GetPolicy(EdmInterfaceCode::IPTABLES_RULE, data, reply); in ListIptablesFilterRules()
233 EnterpriseDeviceMgrProxy::GetInstance()->GetPolicy(EdmInterfaceCode::GLOBAL_PROXY, data, reply); in GetGlobalHttpProxy()
/base/powermgr/thermal_manager/services/native/src/
Dthermal_mgr_dumper.cpp63 std::shared_ptr<ThermalPolicy> policy = tms->GetPolicy(); in Dump()
69 std::shared_ptr<ThermalPolicy> policy = tms->GetPolicy(); in Dump()
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/include/
Dipolicy_serializer.h63 virtual bool GetPolicy(MessageParcel &data, DT &result) = 0;
99 virtual bool GetPolicy(MessageParcel &data, T_ARRAY &result) override;
163 bool ArraySerializer<DT, T_ARRAY>::GetPolicy(MessageParcel &data, T_ARRAY &result) in GetPolicy() function
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/include/utils/
Dbool_serializer.h36 bool GetPolicy(MessageParcel &data, bool &result) override;
Dint_serializer.h33 bool GetPolicy(MessageParcel &data, int32_t &result) override;
Dlong_serializer.h33 bool GetPolicy(MessageParcel &data, int64_t &result) override;
Dstring_serializer.h33 bool GetPolicy(MessageParcel &data, std::string &result) override;
Djson_serializer.h33 bool GetPolicy(MessageParcel &data, Json::Value &result) override;
/base/customization/enterprise_device_management/services/edm_plugin/src/utils/
Dwifi_device_config_serializer.cpp31 bool WifiDeviceConfigSerializer::GetPolicy(MessageParcel &data, Wifi::WifiDeviceConfig &result) in GetPolicy() function in OHOS::EDM::WifiDeviceConfigSerializer
Dhttp_proxy_serializer.cpp30 bool HttpProxySerializer::GetPolicy(MessageParcel &data, NetManagerStandard::HttpProxy &httpProxy) in GetPolicy() function in OHOS::EDM::HttpProxySerializer
Dinstall_param_serializer.cpp30 bool InstallParamSerializer::GetPolicy(MessageParcel &data, InstallParam &result) in GetPolicy() function in OHOS::EDM::InstallParamSerializer
Duninstall_param_serializer.cpp30 bool UninstallParamSerializer::GetPolicy(MessageParcel &data, UninstallParam &result) in GetPolicy() function in OHOS::EDM::UninstallParamSerializer
/base/powermgr/thermal_manager/application/protector/src/action/
Dthermal_device_control.cpp30 auto policy = service.GetPolicy(); in Init()
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/
Dint_serializer.cpp36 bool IntSerializer::GetPolicy(MessageParcel &data, int32_t &result) in GetPolicy() function in OHOS::EDM::IntSerializer
Dlong_serializer.cpp35 bool LongSerializer::GetPolicy(MessageParcel &data, int64_t &result) in GetPolicy() function in OHOS::EDM::LongSerializer
Dstring_serializer.cpp39 bool StringSerializer::GetPolicy(MessageParcel &data, std::string &result) in GetPolicy() function in OHOS::EDM::StringSerializer
/base/customization/enterprise_device_management/services/edm_plugin/include/utils/
Dinstall_param_serializer.h41 bool GetPolicy(MessageParcel &data, InstallParam &result) override;
Duninstall_param_serializer.h41 bool GetPolicy(MessageParcel &data, UninstallParam &result) override;
Dhttp_proxy_serializer.h36 bool GetPolicy(MessageParcel &data, OHOS::NetManagerStandard::HttpProxy &result) override;
Dwifi_device_config_serializer.h36 bool GetPolicy(MessageParcel &data, Wifi::WifiDeviceConfig &result) override;
/base/powermgr/thermal_manager/application/protector/include/
Dthermal_kernel_service.h42 std::shared_ptr<ThermalKernelPolicy> GetPolicy() const in GetPolicy() function
/base/powermgr/thermal_manager/application/protector/src/
Dthermal_sensor_provision.cpp203 auto tzInfoMap = g_service.GetPolicy()->GetThermalZoneMap(); in ParseThermalZoneInfo()
222 auto tzInfoMap = g_service.GetPolicy()->GetThermalZoneMap(); in ReportThermalZoneData()
251 return g_service.GetPolicy()->GetMaxCd(); in GetMaxCd()

12