Home
last modified time | relevance | path

Searched refs:delegator (Results 1 – 25 of 45) sorted by relevance

12

/ohos5.0/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dproducer_surface_delegator_test.cpp348 bool ret = delegator->HasSlotInSet(0);
350 delegator->InsertSlotIntoSet(0);
351 ret = delegator->HasSlotInSet(0);
366 delegator->InsertSlotIntoSet(0);
367 delegator->InsertSlotIntoSet(1);
368 ASSERT_EQ(delegator->HasSlotInSet(0), true);
369 ASSERT_EQ(delegator->HasSlotInSet(1), true);
370 ASSERT_EQ(delegator->HasSlotInSet(2), false);
384 delegator->InsertSlotIntoSet(0);
385 ASSERT_EQ(delegator->HasSlotInSet(0), true);
[all …]
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/ability_delegator/
H A Djs_ability_delegator.cpp122 if (delegator) { in JSAbilityDelegator()
269 if (!delegator) { in OnAddAbilityMonitor()
295 if (delegator) { in OnAddAbilityMonitorSync()
318 if (!delegator) { in OnAddAbilityStageMonitor()
349 if (!delegator) { in OnAddAbilityStageMonitorSync()
375 if (!delegator) { in OnRemoveAbilityMonitor()
415 if (!delegator) { in OnRemoveAbilityMonitorSync()
481 if (!delegator) { in OnRemoveAbilityStageMonitorSync()
646 if (!delegator) { in OnPrintSync()
717 if (!delegator) { in OnGetAppContext()
[all …]
H A DBUILD.gn17 template("delegator") {
70 delegator("abilitydelegatorregistry_napi") {
74 delegator("abilitydelegatorregistry") {
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/runner_runtime/
H A Dcj_test_runner.cpp103 auto delegator = AbilityDelegatorRegistry::GetAbilityDelegator(); in ReportFinished() local
104 if (!delegator) { in ReportFinished()
109 delegator->FinishUserTest(msg, -1); in ReportFinished()
115 auto delegator = AbilityDelegatorRegistry::GetAbilityDelegator(); in ReportStatus() local
116 if (!delegator) { in ReportStatus()
121 delegator->Print(msg); in ReportStatus()
H A Djs_test_runner.cpp224 auto delegator = AbilityDelegatorRegistry::GetAbilityDelegator(); in ReportFinished() local
225 if (!delegator) { in ReportFinished()
230 delegator->FinishUserTest(msg, -1); in ReportFinished()
236 auto delegator = AbilityDelegatorRegistry::GetAbilityDelegator(); in ReportStatus() local
237 if (!delegator) { in ReportStatus()
242 delegator->Print(msg); in ReportStatus()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/
H A Dcj_ui_ability.cpp156 if (delegator) { in OnStart()
158 delegator->PostPerformStart(CreateADelegatorAbilityProperty()); in OnStart()
224 if (delegator) { in OnStopCallback()
226 delegator->PostPerformStop(CreateADelegatorAbilityProperty()); in OnStopCallback()
263 if (delegator) { in OnSceneCreated()
291 if (delegator) { in OnSceneRestored()
317 if (delegator) { in OnSceneDestroyed()
345 if (delegator) { in CallOnForegroundFunc()
347 delegator->PostPerformForeground(CreateADelegatorAbilityProperty()); in CallOnForegroundFunc()
370 if (delegator) { in OnBackground()
[all …]
H A Djs_ability.cpp261 if (delegator) { in OnStart()
263 delegator->PostPerformStart(CreateADelegatorAbilityProperty()); in OnStart()
369 if (delegator) { in OnStopCallback()
371 delegator->PostPerformStop(CreateADelegatorAbilityProperty()); in OnStopCallback()
412 if (delegator) { in OnSceneCreated()
440 if (delegator) { in OnSceneRestored()
464 if (delegator) { in onSceneDestroyed()
511 if (delegator) { in OnForeground()
513 delegator->PostPerformForeground(CreateADelegatorAbilityProperty()); in OnForeground()
536 if (delegator) { in OnBackground()
[all …]
H A Djs_ui_ability.cpp348 if (delegator) { in OnStart()
350 delegator->PostPerformStart(CreateADelegatorAbilityProperty()); in OnStart()
468 if (delegator) { in OnStopCallback()
470 delegator->PostPerformStop(CreateADelegatorAbilityProperty()); in OnStopCallback()
514 if (delegator) { in OnSceneCreated()
551 if (delegator) { in OnSceneRestored()
595 if (delegator) { in onSceneDestroyed()
655 if (delegator) { in CallOnForegroundFunc()
657 delegator->PostPerformForeground(CreateADelegatorAbilityProperty()); in CallOnForegroundFunc()
684 if (delegator) { in OnBackground()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/cj_ability_delegator_test/
H A Dcj_ability_delegator_test.cpp219 auto delegator = OHOS::AppExecFwk::AbilityDelegatorRegistry::GetAbilityDelegator(); variable
220 auto cjDelegator = FFI::FFIData::Create<CJAbilityDelegator>(delegator);
235 auto delegator = OHOS::AppExecFwk::AbilityDelegatorRegistry::GetAbilityDelegator(); variable
236 auto cjDelegator = FFI::FFIData::Create<CJAbilityDelegator>(delegator);
298 auto delegator = OHOS::AppExecFwk::AbilityDelegatorRegistry::GetAbilityDelegator(); variable
299 auto cjDelegator = FFI::FFIData::Create<CJAbilityDelegator>(delegator);
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/
H A Dability_delegator_registry.cpp34 …const std::shared_ptr<AbilityDelegator> &delegator, const std::shared_ptr<AbilityDelegatorArgs> &a… in RegisterInstance() argument
36 abilityDelegator_ = delegator; in RegisterInstance()
/ohos5.0/foundation/ability/ability_runtime/frameworks/cj/ffi/
H A Dcj_ability_delegator.cpp75 auto delegator = OHOS::AppExecFwk::AbilityDelegatorRegistry::GetAbilityDelegator(); in FFIAbilityDelegatorRegistryGetAbilityDelegator() local
76 if (delegator == nullptr) { in FFIAbilityDelegatorRegistryGetAbilityDelegator()
80 auto cjDelegator = FFI::FFIData::Create<CJAbilityDelegator>(delegator); in FFIAbilityDelegatorRegistryGetAbilityDelegator()
/ohos5.0/foundation/window/window_manager/dm_lite/include/
H A Ddisplay_manager_adapter_lite.h78 static inline SingletonDelegator<DisplayManagerAdapterLite> delegator;
91 static inline SingletonDelegator<ScreenManagerAdapterLite> delegator;
/ohos5.0/base/powermgr/power_manager/services/zidl/src/
H A Dpower_mgr_proxy.cpp1332 … auto delegator = std::make_unique<ShutdownProxyDelegator>(remote, PowerMgrProxy::GetDescriptor()); in RegisterShutdownCallback() local
1333 delegator->RegisterShutdownCallback(callback, priority); in RegisterShutdownCallback()
1340 … auto delegator = std::make_unique<ShutdownProxyDelegator>(remote, PowerMgrProxy::GetDescriptor()); in UnRegisterShutdownCallback() local
1341 delegator->UnRegisterShutdownCallback(callback); in UnRegisterShutdownCallback()
1348 … auto delegator = std::make_unique<ShutdownProxyDelegator>(remote, PowerMgrProxy::GetDescriptor()); in RegisterShutdownCallback() local
1349 delegator->RegisterShutdownCallback(callback, priority); in RegisterShutdownCallback()
1356 … auto delegator = std::make_unique<ShutdownProxyDelegator>(remote, PowerMgrProxy::GetDescriptor()); in UnRegisterShutdownCallback() local
1357 delegator->UnRegisterShutdownCallback(callback); in UnRegisterShutdownCallback()
1364 … auto delegator = std::make_unique<ShutdownProxyDelegator>(remote, PowerMgrProxy::GetDescriptor()); in RegisterShutdownCallback() local
1365 delegator->RegisterShutdownCallback(callback, priority); in RegisterShutdownCallback()
[all …]
/ohos5.0/foundation/barrierfree/accessibility/common/interface/include/
H A Daccessible_ability_manager_state_observer_proxy.h52 static inline BrokerDelegator<AccessibleAbilityManagerStateObserverProxy> delegator; variable
H A Daccessibility_enable_ability_lists_observer_proxy.h53 static inline BrokerDelegator<AccessibilityEnableAbilityListsObserverProxy> delegator; variable
H A Daccessible_ability_manager_caption_observer_proxy.h49 static inline BrokerDelegator<AccessibleAbilityManagerCaptionObserverProxy> delegator; variable
H A Daccessible_ability_client_proxy.h70 static inline BrokerDelegator<AccessibleAbilityClientProxy> delegator; variable
H A Daccessible_ability_manager_config_observer_proxy.h55 static inline BrokerDelegator<AccessibleAbilityManagerConfigObserverProxy> delegator; variable
H A Daccessibility_element_operator_callback_proxy.h105 static inline BrokerDelegator<AccessibilityElementOperatorCallbackProxy> delegator; variable
H A Daccessibility_element_operator_proxy.h187 static inline BrokerDelegator<AccessibilityElementOperatorProxy> delegator; variable
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_delegator/
H A Dability_delegator_registry.h49 …const std::shared_ptr<AbilityDelegator> &delegator, const std::shared_ptr<AbilityDelegatorArgs> &a…
/ohos5.0/docs/zh-cn/application-dev/application-test/
H A Darkxtest-guidelines.md64 const delegator = abilityDelegatorRegistry.getAbilityDelegator()
78 await delegator.startAbility(want);
81 const ability: UIAbility = await delegator.getCurrentTopAbility();
132 …const delegator: abilityDelegatorRegistry.AbilityDelegator = abilityDelegatorRegistry.getAbilityDe…
146 await delegator.startAbility(want);
149 const ability: UIAbility = await delegator.getCurrentTopAbility();
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p_sa/
H A Dwifi_p2p_callback_proxy.h122 static inline BrokerDelegator<WifiP2pCallbackProxy> delegator;
/ohos5.0/foundation/barrierfree/accessibility/interfaces/innerkits/acfwk/
H A Dlibaccessibility_acfwk.map13 OHOS::Accessibility::AccessibleAbilityManagerServiceProxy::delegator*;
/ohos5.0/foundation/barrierfree/accessibility/services/test/mock/
H A Dmock_accessibility_element_operator_proxy.h190 static inline BrokerDelegator<MockAccessibilityElementOperatorProxy> delegator; variable

12