Home
last modified time | relevance | path

Searched refs:ComponentPrivacy (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentmanager/
H A Dcomponent_privacy.cpp35 ComponentPrivacy::ComponentPrivacy() in ComponentPrivacy() function in OHOS::DistributedHardware::ComponentPrivacy
39 eventHandler_ = std::make_shared<ComponentPrivacy::ComponentEventHandler>(runner, this); in ComponentPrivacy()
42 ComponentPrivacy::~ComponentPrivacy() in ~ComponentPrivacy()
94 void ComponentPrivacy::HandleClosePage(const std::string &subtype) in HandleClosePage()
192 int32_t ComponentPrivacy::StopPrivacePage(const std::string &subtype) in StopPrivacePage()
219 std::string ComponentPrivacy::DeviceTypeToString(uint16_t deviceTypeId) in DeviceTypeToString()
249 void ComponentPrivacy::SetPageFlagTrue() in SetPageFlagTrue()
254 void ComponentPrivacy::SetPageFlagFalse() in SetPageFlagFalse()
259 bool ComponentPrivacy::GetPageFlag() in GetPageFlag()
283 ComponentPrivacy::ComponentEventHandler::ComponentEventHandler( in ComponentEventHandler()
[all …]
H A Dcomponent_manager.cpp367 cameraCompPrivacy_ = std::make_shared<ComponentPrivacy>(); in StartSink()
371 audioCompPrivacy_ = std::make_shared<ComponentPrivacy>(); in StartSink()
401 cameraCompPrivacy_ = std::make_shared<ComponentPrivacy>(); in StartSink()
405 audioCompPrivacy_ = std::make_shared<ComponentPrivacy>(); in StartSink()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/componentmanager/
H A Dcomponent_privacy.h29 class ComponentPrivacy : public PrivacyResourcesListener {
31 ComponentPrivacy();
32 virtual ~ComponentPrivacy();
46 ComponentPrivacy *comPrivacy);
54 ComponentPrivacy *comPrivacyObj_;
62 std::shared_ptr<ComponentPrivacy::ComponentEventHandler> eventHandler_;
H A Dcomponent_manager.h145 std::shared_ptr<ComponentPrivacy> audioCompPrivacy_ = nullptr;
146 std::shared_ptr<ComponentPrivacy> cameraCompPrivacy_ = nullptr;
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_privacy/
H A Dcomponent_privacy_test.cpp38 std::shared_ptr<ComponentPrivacy> compPrivacy_ = nullptr;
51 compPrivacy_ = std::make_shared<ComponentPrivacy>(); in SetUp()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_manager/src/
H A Dcomponent_manager_test.cpp153 ComponentManager::GetInstance().cameraCompPrivacy_ = std::make_shared<ComponentPrivacy>();