Home
last modified time | relevance | path

Searched refs:PERSIST_BLUETOOTH_CONTROL (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Ddisable_bluetooth_plugin.cpp30 const std::string DisableBluetoothPlugin::PERSIST_BLUETOOTH_CONTROL = "persist.edm.prohibit_bluetoo… member in OHOS::EDM::DisableBluetoothPlugin
49 std::string originalPara = system::GetParameter(PERSIST_BLUETOOTH_CONTROL, "false"); in OnSetPolicy()
51 bool setParaRet = system::SetParameter(PERSIST_BLUETOOTH_CONTROL, newPara); in OnSetPolicy()
60 setParaRet = system::SetParameter(PERSIST_BLUETOOTH_CONTROL, originalPara); in OnSetPolicy()
73 bool paraValue = system::GetBoolParameter(PERSIST_BLUETOOTH_CONTROL, false); in OnGetPolicy()
H A Dallowed_bluetooth_devices_plugin.cpp28 const char *const PERSIST_BLUETOOTH_CONTROL = "persist.edm.prohibit_bluetooth"; variable
49 bool isDisabled = system::GetBoolParameter(PERSIST_BLUETOOTH_CONTROL, false); in OnSetPolicy()
/ohos5.0/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/
H A Ddisable_bluetooth_plugin_test.cpp73 …ASSERT_TRUE(OHOS::system::GetBoolParameter(DisableBluetoothPlugin::PERSIST_BLUETOOTH_CONTROL, fals…
92 …ASSERT_FALSE(OHOS::system::GetBoolParameter(DisableBluetoothPlugin::PERSIST_BLUETOOTH_CONTROL, tru…
111 …ASSERT_FALSE(OHOS::system::GetBoolParameter(DisableBluetoothPlugin::PERSIST_BLUETOOTH_CONTROL, tru…
118 …ASSERT_TRUE(OHOS::system::GetBoolParameter(DisableBluetoothPlugin::PERSIST_BLUETOOTH_CONTROL, fals…
136 …ASSERT_EQ(OHOS::system::GetBoolParameter(DisableBluetoothPlugin::PERSIST_BLUETOOTH_CONTROL, false),
/ohos5.0/base/customization/enterprise_device_management/test/unittest/utils/src/
H A Dutils.cpp52 const std::string PERSIST_BLUETOOTH_CONTROL = "persist.edm.prohibit_bluetooth"; variable
167 system::SetParameter(PERSIST_BLUETOOTH_CONTROL, "false"); in SetBluetoothEnable()
172 system::SetParameter(PERSIST_BLUETOOTH_CONTROL, "true"); in SetBluetoothDisable()
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/include/
H A Ddisable_bluetooth_plugin.h25 static const std::string PERSIST_BLUETOOTH_CONTROL;