/base/customization/enterprise_device_management/test/unittest/src/ |
D | policy_manager_test.cpp | 71 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);
|
D | enterprise_device_mgr_ability_test.cpp | 571 …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 …]
|
D | policy_serializer_test.cpp | 56 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/ |
D | network_manager_proxy.cpp | 60 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/ |
D | thermal_mgr_dumper.cpp | 63 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/ |
D | ipolicy_serializer.h | 63 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/ |
D | bool_serializer.h | 36 bool GetPolicy(MessageParcel &data, bool &result) override;
|
D | int_serializer.h | 33 bool GetPolicy(MessageParcel &data, int32_t &result) override;
|
D | long_serializer.h | 33 bool GetPolicy(MessageParcel &data, int64_t &result) override;
|
D | string_serializer.h | 33 bool GetPolicy(MessageParcel &data, std::string &result) override;
|
D | json_serializer.h | 33 bool GetPolicy(MessageParcel &data, Json::Value &result) override;
|
/base/customization/enterprise_device_management/services/edm_plugin/src/utils/ |
D | wifi_device_config_serializer.cpp | 31 bool WifiDeviceConfigSerializer::GetPolicy(MessageParcel &data, Wifi::WifiDeviceConfig &result) in GetPolicy() function in OHOS::EDM::WifiDeviceConfigSerializer
|
D | http_proxy_serializer.cpp | 30 bool HttpProxySerializer::GetPolicy(MessageParcel &data, NetManagerStandard::HttpProxy &httpProxy) in GetPolicy() function in OHOS::EDM::HttpProxySerializer
|
D | install_param_serializer.cpp | 30 bool InstallParamSerializer::GetPolicy(MessageParcel &data, InstallParam &result) in GetPolicy() function in OHOS::EDM::InstallParamSerializer
|
D | uninstall_param_serializer.cpp | 30 bool UninstallParamSerializer::GetPolicy(MessageParcel &data, UninstallParam &result) in GetPolicy() function in OHOS::EDM::UninstallParamSerializer
|
/base/powermgr/thermal_manager/application/protector/src/action/ |
D | thermal_device_control.cpp | 30 auto policy = service.GetPolicy(); in Init()
|
/base/customization/enterprise_device_management/interfaces/inner_api/plugin_kits/src/utils/ |
D | int_serializer.cpp | 36 bool IntSerializer::GetPolicy(MessageParcel &data, int32_t &result) in GetPolicy() function in OHOS::EDM::IntSerializer
|
D | long_serializer.cpp | 35 bool LongSerializer::GetPolicy(MessageParcel &data, int64_t &result) in GetPolicy() function in OHOS::EDM::LongSerializer
|
D | string_serializer.cpp | 39 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/ |
D | install_param_serializer.h | 41 bool GetPolicy(MessageParcel &data, InstallParam &result) override;
|
D | uninstall_param_serializer.h | 41 bool GetPolicy(MessageParcel &data, UninstallParam &result) override;
|
D | http_proxy_serializer.h | 36 bool GetPolicy(MessageParcel &data, OHOS::NetManagerStandard::HttpProxy &result) override;
|
D | wifi_device_config_serializer.h | 36 bool GetPolicy(MessageParcel &data, Wifi::WifiDeviceConfig &result) override;
|
/base/powermgr/thermal_manager/application/protector/include/ |
D | thermal_kernel_service.h | 42 std::shared_ptr<ThermalKernelPolicy> GetPolicy() const in GetPolicy() function
|
/base/powermgr/thermal_manager/application/protector/src/ |
D | thermal_sensor_provision.cpp | 203 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()
|