Home
last modified time | relevance | path

Searched refs:ActionResult (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/componentmanager/
H A Dcomponent_manager.h45 using ActionResult = std::unordered_map<DHType, std::shared_future<int32_t>>; variable
100 ActionResult StartSource();
101 ActionResult StartSource(DHType dhType);
102 ActionResult StopSource();
103 ActionResult StartSink();
104 ActionResult StartSink(DHType dhType);
105 ActionResult StopSink();
106 bool WaitForResult(const Action &action, ActionResult result);
/ohos5.0/base/powermgr/power_manager/test/unittest/src/
H A Ddevice_state_action_native_test.cpp63 EXPECT_TRUE(deviceStateAction->SetDisplayState(state, reason) == ActionResult::SUCCESS);
66 EXPECT_TRUE(deviceStateAction->SetDisplayState(state, reason) == ActionResult::SUCCESS);
69 EXPECT_TRUE(deviceStateAction->SetDisplayState(state, reason) == ActionResult::SUCCESS);
72 EXPECT_TRUE(deviceStateAction->SetDisplayState(state, reason) == ActionResult::SUCCESS);
H A Dpower_mgr_fail_check_test.cpp80 .WillOnce(::testing::Return(ActionResult::FAILED));
113 .WillOnce(::testing::Return(ActionResult::FAILED));
/ohos5.0/base/powermgr/power_manager/services/native/src/actions/default/display/
H A Ddevice_state_action.cpp200 return ActionResult::SUCCESS; in SetDisplayState()
230 return ActionResult::FAILED; in SetDisplayState()
245 return ret ? ActionResult::SUCCESS : ActionResult::FAILED; in SetDisplayState()
259 return ActionResult::SUCCESS; in GoToSleep()
H A Ddefault_device_state_action.cpp55 return ActionResult::SUCCESS; in SetDisplayState()
67 return ActionResult::SUCCESS; in GoToSleep()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/
H A Djs-apis-system-notification.md16 ## ActionResult section
35 | clickAction | ActionResult | 否 | 通知被点击后触发的行为。 |
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/
H A Djs-apis-system-notification.md16 ## ActionResult section
35 | clickAction | ActionResult | No | Action triggered when the…
/ohos5.0/base/powermgr/power_manager/test/systemtest/src/
H A Dpower_mgr_st_mock_test.cpp281 .WillOnce(::testing::Return(ActionResult::SUCCESS));
289 .WillOnce(::testing::Return(ActionResult::SUCCESS));
329 .WillOnce(::testing::Return(ActionResult::SUCCESS));
523 .WillOnce(::testing::Return(ActionResult::SUCCESS));
556 .WillOnce(::testing::Return(ActionResult::SUCCESS));
/ohos5.0/base/powermgr/power_manager/services/native/include/actions/
H A Didevice_state_action.h26 enum ActionResult { enum
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/componentmanager/
H A Dcomponent_manager.cpp298 ActionResult ComponentManager::StartSource() in StartSource()
321 ActionResult ComponentManager::StartSource(DHType dhType) in StartSource()
347 ActionResult ComponentManager::StartSink() in StartSink()
378 ActionResult ComponentManager::StartSink(DHType dhType) in StartSink()
412 ActionResult ComponentManager::StopSource() in StopSource()
431 ActionResult ComponentManager::StopSink() in StopSink()
458 bool ComponentManager::WaitForResult(const Action &action, ActionResult actionsResult) in WaitForResult()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-notification.md130 |type有变化|类名:ActionResult;<br>方法or属性:bundleName: string;<br>旧版本信息:|类名:ActionResult;<br>方法or属性:bundle…
131 |type有变化|类名:ActionResult;<br>方法or属性:abilityName: string;<br>旧版本信息:|类名:ActionResult;<br>方法or属性:abili…
132 |type有变化|类名:ActionResult;<br>方法or属性:uri: string;<br>旧版本信息:|类名:ActionResult;<br>方法or属性:uri: string;<…
135 …法or属性:clickAction?: ActionResult;<br>旧版本信息:|类名:ShowNotificationOptions;<br>方法or属性:clickAction?: Ac…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-notification.md295 |type有变化|类名:ActionResult;<br>方法or属性:bundleName: string;<br>旧版本信息:|类名:ActionResult;<br>方法or属性:bundle…
296 |type有变化|类名:ActionResult;<br>方法or属性:abilityName: string;<br>旧版本信息:|类名:ActionResult;<br>方法or属性:abili…
297 |type有变化|类名:ActionResult;<br>方法or属性:uri: string;<br>旧版本信息:|类名:ActionResult;<br>方法or属性:uri: string;<…
300 …法or属性:clickAction?: ActionResult;<br>旧版本信息:|类名:ShowNotificationOptions;<br>方法or属性:clickAction?: Ac…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-notification.md130 …anged|Class name: ActionResult;<br>Method or attribute name: bundleName: string;<br>Old version in…
131 …anged|Class name: ActionResult;<br>Method or attribute name: abilityName: string;<br>Old version i…
132 …e changed|Class name: ActionResult;<br>Method or attribute name: uri: string;<br>Old version infor…
135ActionResult;<br>Old version information: |Class name: ShowNotificationOptions;<br>Method or attri…
/ohos5.0/base/powermgr/power_manager/services/native/src/
H A Dpower_state_machine.cpp245 if (ret != ActionResult::SUCCESS) { in EmplaceAwake()
283 if (ret != ActionResult::SUCCESS) { in EmplaceInactive()
359 if (ret != ActionResult::SUCCESS) { in EmplaceDim()
376 return ret == ActionResult::SUCCESS ? TransitResult::SUCCESS : TransitResult::OTHER_ERR; in EmplaceDim()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/componentmanager/component_manager/src/
H A Dcomponent_manager_test.cpp401 ActionResult actionsResult;
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-notification.md295 …anged|Class name: ActionResult;<br>Method or attribute name: bundleName: string;<br>Old version in…
296 …anged|Class name: ActionResult;<br>Method or attribute name: abilityName: string;<br>Old version i…
297 …e changed|Class name: ActionResult;<br>Method or attribute name: uri: string;<br>Old version infor…
300ActionResult;<br>Old version information: |Class name: ShowNotificationOptions;<br>Method or attri…