/foundation/resourceschedule/device_standby/utils/policy/src/ |
H A D | standby_config_manager.cpp | 432 uint32_t condition, bool isApp) in GetMaxDuration() 434 auto eligibleAllowTimeList = GetEligibleAllowTimeConfig(paramName, condition, true, isApp); in GetMaxDuration() 450 uint32_t condition, bool isAllow, bool isApp, const std::function<void(bool, std::set<T>&, in GetEligibleAllowConfig() 474 func(isApp, eligibleResCtrlConfig, config); in GetEligibleAllowConfig() 482 uint32_t condition, bool isAllow, bool isApp) in GetEligibleAllowTimeConfig() 484 auto func = [](bool isApp, std::set<TimeLtdProcess>& eligibleResCtrlConfig, in GetEligibleAllowTimeConfig() 486 if (isApp) { in GetEligibleAllowTimeConfig() 494 return GetEligibleAllowConfig<TimeLtdProcess>(paramName, condition, isAllow, isApp, func); in GetEligibleAllowTimeConfig() 498 uint32_t condition, bool isAllow, bool isApp) in GetEligiblePersistAllowConfig() 500 auto func = [](bool isApp, st in GetEligiblePersistAllowConfig() 431 GetMaxDuration(const std::string& name, const std::string& paramName, uint32_t condition, bool isApp) GetMaxDuration() argument 449 GetEligibleAllowConfig(const std::string& paramName, uint32_t condition, bool isAllow, bool isApp, const std::function<void(bool, std::set<T>&, const DefaultResourceConfig&)>& func) GetEligibleAllowConfig() argument 481 GetEligibleAllowTimeConfig(const std::string& paramName, uint32_t condition, bool isAllow, bool isApp) GetEligibleAllowTimeConfig() argument 497 GetEligiblePersistAllowConfig(const std::string& paramName, uint32_t condition, bool isAllow, bool isApp) GetEligiblePersistAllowConfig() argument [all...] |
/foundation/barrierfree/accessibility/services/test/mock/ |
H A D | mock_accessible_ability_manager_service_stub.cpp | 94 int32_t windowId, const sptr<IAccessibilityElementOperator> &operation, bool isApp) in RegisterElementOperator() 98 (void)isApp; in RegisterElementOperator() 103 const sptr<IAccessibilityElementOperator> &operation, bool isApp) in RegisterElementOperator() 107 (void)isApp; in RegisterElementOperator() 93 RegisterElementOperator( int32_t windowId, const sptr<IAccessibilityElementOperator> &operation, bool isApp) RegisterElementOperator() argument 102 RegisterElementOperator(Registration parameter, const sptr<IAccessibilityElementOperator> &operation, bool isApp) RegisterElementOperator() argument
|
H A D | mock_accessible_ability_manager_service_stub.h | 50 const sptr<IAccessibilityElementOperator> &operation, bool isApp) override; 53 const sptr<IAccessibilityElementOperator> &operation, bool isApp) override;
|
/foundation/resourceschedule/device_standby/utils/policy/include/ |
H A D | standby_config_manager.h | 95 uint32_t condition, bool isAllow, bool isApp); 97 uint32_t condition, bool isAllow, bool isApp); 98 int32_t GetMaxDuration(const std::string& name, const std::string& paramName, uint32_t condition, bool isApp); 116 uint32_t condition, bool isAllow, bool isApp, const std::function<void(bool, std::set<T>&,
|
/foundation/barrierfree/accessibility/services/aams/test/mock/include/ |
H A D | mock_accessible_ability_manager_service.h | 39 RetError(const int32_t windowId, const sptr<IAccessibilityElementOperator>& operation, bool isApp)); 41 const sptr<IAccessibilityElementOperator>& operation, bool isApp));
|
/foundation/barrierfree/accessibility/services/aams/test/mock/src/ |
H A D | mock_accessible_ability_manager_service.cpp | 120 const int32_t windowId, const sptr<IAccessibilityElementOperator>& operation, bool isApp) in RegisterElementOperator() 124 (void)isApp; in RegisterElementOperator() 129 const sptr<IAccessibilityElementOperator> &operation, bool isApp) in RegisterElementOperator() 133 (void)isApp; in RegisterElementOperator() 119 RegisterElementOperator( const int32_t windowId, const sptr<IAccessibilityElementOperator>& operation, bool isApp) RegisterElementOperator() argument 128 RegisterElementOperator(Registration parameter, const sptr<IAccessibilityElementOperator> &operation, bool isApp) RegisterElementOperator() argument
|
/foundation/barrierfree/accessibility/interfaces/innerkits/test/mock/ |
H A D | mock_a11y_ability_manager_service.cpp | 120 const int32_t windowId, const sptr<IA11yElementOperator>& operation, bool isApp) in RegisterElementOperator() 124 (void)isApp; in RegisterElementOperator() 129 const sptr<IA11yElementOperator> &operation, bool isApp) in RegisterElementOperator() 133 (void)isApp; in RegisterElementOperator() 119 RegisterElementOperator( const int32_t windowId, const sptr<IA11yElementOperator>& operation, bool isApp) RegisterElementOperator() argument 128 RegisterElementOperator(Registration parameter, const sptr<IA11yElementOperator> &operation, bool isApp) RegisterElementOperator() argument
|
/foundation/barrierfree/accessibility/common/interface/include/ |
H A D | i_accessible_ability_manager_service.h | 99 * @param isApp Whether an application. 103 const sptr<IAccessibilityElementOperator> &operation, bool isApp = true) = 0; 109 * @param isApp whether an application. 113 const sptr<IAccessibilityElementOperator> &operation, bool isApp = false) = 0;
|
H A D | accessible_ability_manager_service_proxy.h | 77 * @param isApp Whether an application. 81 const sptr<IAccessibilityElementOperator> &operation, bool isApp) override; 87 * @param isApp Whether an application. 91 const sptr<IAccessibilityElementOperator> &operation, bool isApp) override;
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | standby_service_impl.cpp | 623 bool isApp = (resourceRequest->GetReasonCode() == ReasonCodeEnum::REASON_APP_API); in UpdateRecord() local 635 GetMaxDuration(name, AllowTypeName[allowTypeIndex], condition, isApp)) * TimeConstant::MSEC_PER_SEC; in UpdateRecord() 794 bool isApp = (reasonCode == ReasonCodeEnum::REASON_APP_API); in GetAllowListInner() local 795 GetPersistAllowList(allowTypeIndex, allowInfoList, true, isApp); in GetAllowListInner() 822 bool isAllow, bool isApp) in GetPersistAllowList() 826 if (isApp) { in GetPersistAllowList() 912 bool isApp = (reasonCode == ReasonCodeEnum::REASON_APP_API); in GetRestrictListInner() local 913 GetPersistAllowList(restrictTypeIndex, restrictInfoList, false, isApp); in GetRestrictListInner() 1270 " --get {type} {isApp} get allow list info\n" in DumpUsage() 1378 bool isApp in DumpModifyAllowList() local 821 GetPersistAllowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& allowInfoList, bool isAllow, bool isApp) GetPersistAllowList() argument [all...] |
/foundation/barrierfree/accessibility/common/interface/test/fuzztest/accessibleabilitymanagerservicestub_fuzzer/ |
H A D | accessibleabilitymanagerservicestub_fuzzer.cpp | 69 const int32_t windowId, const sptr<IAccessibilityElementOperator> &operation, bool isApp = false) override 75 Registration parameter, const sptr<IAccessibilityElementOperator> &operation, bool isApp = false) override
|
/foundation/barrierfree/accessibility/services/aams/include/ |
H A D | accessible_ability_manager_service.h | 105 const sptr<IAccessibilityElementOperator> &operation, bool isApp) override; 108 const sptr<IAccessibilityElementOperator> &operation, bool isApp) override; 314 const uint32_t tokenId, bool isApp);
|
/foundation/barrierfree/accessibility/services/test/xts/src/asac_register_elemnt_operator_test/ |
H A D | asac_register_element_operator_xts.cpp | 104 const sptr<IA11yElementOperator> &operation, bool isApp) in RegisterElementOperator() 108 (void)isApp; in RegisterElementOperator() 103 RegisterElementOperator(Registration parameter, const sptr<IA11yElementOperator> &operation, bool isApp) RegisterElementOperator() argument
|
/foundation/barrierfree/accessibility/services/test/xts/src/sa_get_attribute_value/ |
H A D | sa_get_attribute_value_xts.cpp | 104 const sptr<IA11yElementOperator> &operation, bool isApp) in RegisterElementOperator() 108 (void)isApp; in RegisterElementOperator() 103 RegisterElementOperator(Registration parameter, const sptr<IA11yElementOperator> &operation, bool isApp) RegisterElementOperator() argument
|
/foundation/resourceschedule/device_standby/utils/test/fuzztest/configmanager_fuzzer/ |
H A D | configmanager_fuzzer.cpp | 50 auto func = [](bool isApp, std::set<TimeLtdProcess>& eligibleResCtrlConfig, in PreciseCoverageParseTimeLimitedConfig()
|
/foundation/barrierfree/accessibility/services/test/xts/src/sa_perform_action_test/ |
H A D | sa_perform_action_xts.cpp | 761 const int32_t windowId, const sptr<IA11yElementOperator> &operation, bool isApp) in RegisterElementOperator() 786 if (isApp && oldConnection) { in RegisterElementOperator() 831 const uint32_t tokenId, bool isApp) in RegisterElementOperatorChildWork() 843 if (isApp && parentConnection) { in RegisterElementOperatorChildWork() 859 if (isApp && oldConnection) { in RegisterElementOperatorChildWork() 880 const sptr<IA11yElementOperator> &operation, bool isApp) in RegisterElementOperator() 908 if (RET_OK != RegisterElementOperatorChildWork(parameter, treeIdSingle, nodeId, operation, tokenId, isApp)) { in RegisterElementOperator() 760 RegisterElementOperator( const int32_t windowId, const sptr<IA11yElementOperator> &operation, bool isApp) RegisterElementOperator() argument 829 RegisterElementOperatorChildWork(const Registration ¶meter, const int32_t treeId, const int64_t nodeId, const sptr<IA11yElementOperator> &operation, const uint32_t tokenId, bool isApp) RegisterElementOperatorChildWork() argument 879 RegisterElementOperator(Registration parameter, const sptr<IA11yElementOperator> &operation, bool isApp) RegisterElementOperator() argument
|
/foundation/barrierfree/accessibility/services/test/xts/src/samgr_register_element_test/ |
H A D | samgr_register_element_test.cpp | 761 const int32_t windowId, const sptr<IA11yRegisterElementElementOperator> &operation, bool isApp) in RegisterElementOperator() 786 if (isApp && oldConnection) { in RegisterElementOperator() 831 const uint32_t tokenId, bool isApp) in RegisterElementOperatorChildWork() 843 if (isApp && parentConnection) { in RegisterElementOperatorChildWork() 859 if (isApp && oldConnection) { in RegisterElementOperatorChildWork() 880 const sptr<IA11yRegisterElementElementOperator> &operation, bool isApp) in RegisterElementOperator() 908 if (RET_OK != RegisterElementOperatorChildWork(parameter, treeIdSingle, nodeId, operation, tokenId, isApp)) { in RegisterElementOperator() 760 RegisterElementOperator( const int32_t windowId, const sptr<IA11yRegisterElementElementOperator> &operation, bool isApp) RegisterElementOperator() argument 829 RegisterElementOperatorChildWork(const Registration ¶meter, const int32_t treeId, const int64_t nodeId, const sptr<IA11yRegisterElementElementOperator> &operation, const uint32_t tokenId, bool isApp) RegisterElementOperatorChildWork() argument 879 RegisterElementOperator(Registration parameter, const sptr<IA11yRegisterElementElementOperator> &operation, bool isApp) RegisterElementOperator() argument
|
/foundation/barrierfree/accessibility/common/interface/src/ |
H A D | accessible_ability_manager_service_stub.cpp | 277 bool isApp = IsApp(); in HandleRegisterAccessibilityElementOperator() local 278 RegisterElementOperator(windowId, operation, isApp); in HandleRegisterAccessibilityElementOperator() 300 bool isApp = IsApp(); in HandleMultiRegisterAccessibilityElementOperator() local 301 RegisterElementOperator(parameter, operation, isApp); in HandleMultiRegisterAccessibilityElementOperator()
|
H A D | accessible_ability_manager_service_proxy.cpp | 222 int32_t windowId, const sptr<IAccessibilityElementOperator> &operation, bool isApp) in RegisterElementOperator() 258 const sptr<IAccessibilityElementOperator> &operation, bool isApp) in RegisterElementOperator() 221 RegisterElementOperator( int32_t windowId, const sptr<IAccessibilityElementOperator> &operation, bool isApp) RegisterElementOperator() argument 257 RegisterElementOperator(Registration parameter, const sptr<IAccessibilityElementOperator> &operation, bool isApp) RegisterElementOperator() argument
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessible_ability_manager_service.cpp | 761 const int32_t windowId, const sptr<IAccessibilityElementOperator> &operation, bool isApp) in RegisterElementOperator() 786 if (isApp && oldConnection) { in RegisterElementOperator() 831 const uint32_t tokenId, bool isApp) in RegisterElementOperatorChildWork() 843 if (isApp && parentConnection) { in RegisterElementOperatorChildWork() 859 if (isApp && oldConnection) { in RegisterElementOperatorChildWork() 880 const sptr<IAccessibilityElementOperator> &operation, bool isApp) in RegisterElementOperator() 908 if (RET_OK != RegisterElementOperatorChildWork(parameter, treeIdSingle, nodeId, operation, tokenId, isApp)) { in RegisterElementOperator() 760 RegisterElementOperator( const int32_t windowId, const sptr<IAccessibilityElementOperator> &operation, bool isApp) RegisterElementOperator() argument 829 RegisterElementOperatorChildWork(const Registration ¶meter, const int32_t treeId, const int64_t nodeId, const sptr<IAccessibilityElementOperator> &operation, const uint32_t tokenId, bool isApp) RegisterElementOperatorChildWork() argument 879 RegisterElementOperator(Registration parameter, const sptr<IAccessibilityElementOperator> &operation, bool isApp) RegisterElementOperator() argument
|
/foundation/resourceschedule/device_standby/services/core/include/ |
H A D | standby_service_impl.h | 149 void GetPersistAllowList(uint32_t allowTypeIndex, std::vector<AllowInfo>& allowInfoList, bool isAllow, bool isApp);
|